aport-tools 4.3.5 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/forms/FormContext.d.ts +7 -0
- package/dist/forms/Stepper.d.ts +9 -0
- package/dist/index.esm.js +82 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +81 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../node_modules/tslib/tslib.es6.js","../src/forms/FormContext.tsx","../src/fonts/Text.tsx","../src/forms/ErrorList.tsx","../src/forms/Input.tsx","../src/forms/TextArea.tsx","../src/forms/Label.tsx","../src/forms/InputList.tsx","../src/cards/Card.tsx","../src/forms/InputCheck.tsx","../src/forms/InputAttach.tsx","../src/components/Button.tsx"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n};\r\n","// src/forms/FormContext.tsx\n\nimport React, { createContext, useState, ReactNode, useContext } from 'react';\n\ninterface FormContextProps {\n formValues: Record<string, any>;\n setFormValue: (name: string, value: any) => void;\n errors: Record<string, string[]>;\n setErrors: (errors: Record<string, string[]>) => void;\n handleSubmit: () => void;\n}\n\nconst FormContext = createContext<FormContextProps | undefined>(undefined);\n\nexport const useFormContext = () => {\n const context = useContext(FormContext);\n if (!context) {\n throw new Error(\"useFormContext must be used within a Form\");\n }\n return context;\n};\n\ninterface FormProps {\n children: ReactNode;\n onSubmit: (values: Record<string, any>) => Promise<Record<string, string[]>>; // Returns errors\n}\n\nexport const Form: React.FC<FormProps> = ({ children, onSubmit }) => {\n const [formValues, setFormValues] = useState<Record<string, any>>({});\n const [errors, setErrors] = useState<Record<string, string[]>>({});\n\n const setFormValue = (name: string, value: any) => {\n setFormValues(prev => ({ ...prev, [name]: value }));\n };\n\n const handleSubmit = async () => {\n const validationErrors = await onSubmit(formValues);\n \n // Set the validation errors in state\n setErrors(validationErrors);\n \n // Prevent submission if there are any errors\n if (Object.keys(validationErrors).length > 0) {\n return; // Prevent submission\n }\n \n };\n \n\n return (\n <FormContext.Provider value={{ formValues, setFormValue, errors, setErrors, handleSubmit }}>\n {children}\n </FormContext.Provider>\n );\n};\n","// src/fonts/Text.tsx\n\nimport { ThemeColors, ThemeContext, ThemeFonts } from 'aport-themes';\nimport React, { useContext } from 'react';\nimport { Text as RNText, StyleSheet, TextProps, TextStyle } from 'react-native';\n\ninterface CustomTextProps extends TextProps {\n /**\n * Content to be displayed inside the Text component.\n */\n children: React.ReactNode;\n\n /**\n * Size of the text. Defaults to 14.\n */\n size?: number;\n\n /**\n * If true, applies bold styling to the text.\n */\n b?: boolean;\n\n /**\n * If true, applies italic styling to the text.\n */\n i?: boolean;\n\n /**\n * If true, applies underline styling to the text.\n */\n u?: boolean;\n\n /**\n * Paragraph alignment. Can be 'left', 'center', or 'right'. Defaults to 'left'.\n */\n align?: 'left' | 'center' | 'right' | 'justify'; // Paragraph alignment\n\n /**\n * Text type. Defaults to 'text'. Should match the keys in ThemeColors.\n * This restricts type to known color keys like 'primary', 'error', etc.\n */\n type?: keyof ThemeColors;\n \n /**\n * Text font type. Defaults to 'body'. Should match the keys in ThemeFonts.\n * This restricts type to known fonts keys like 'primary', 'secundary', etc.\n */\n typeFont?: keyof ThemeFonts; // <-- New prop to select font type\n\n /**\n * Header level. Accepts 0 (none), 1, 2, or 3. Defaults to 0.\n */\n h?: 0 | 1 | 2 | 3;\n\n /**\n * Additional styles to apply to the Text component.\n */\n style?: TextStyle | TextStyle[];\n}\n\n/**\n * A dynamic Text component that supports HTML-like formatting.\n * Integrates with the Theme system for consistent styling.\n *\n * @param children - The content to be displayed inside the Text component.\n * @param size - Size of the text. Defaults to 'medium'.\n * @param b - If true, applies bold styling.\n * @param i - If true, applies italic styling.\n * @param type - Type of Text component. Defaults to 'text'.\n * @param typeFont - Type of Font component. Defaults to 'body'.\n * @param u - If true, applies underline styling.\n * @param align - Paragraph alignment. Defaults to 'left'.\n * @param h - Header level. Accepts 0 (none), 1, 2, or 3. Defaults to 0.\n * @param style - Additional styles to apply.\n */\nexport const Text: React.FC<CustomTextProps> = ({\n children,\n size = 14,\n b = false,\n i = false,\n u = false,\n align = 'left',\n type = 'text',\n typeFont = 'body',\n h = 0,\n style,\n}) => {\n const { theme } = useContext(ThemeContext);\n const { colors, fonts } = theme;\n\n // Determine font family and size based on 'typeFont'\n const fontSettings = fonts[typeFont] || fonts.body;\n const fontFamily = fontSettings.fontFamily;\n let fontSize = fontSettings.fontSize || size;\n\n // Calculate header size based on 'h' prop\n if (h === 1) fontSize = 32;\n else if (h === 2) fontSize = 24;\n else if (h === 3) fontSize = 18;\n \n // Define font weight based on bold prop\n const fontWeight = b ? '700' : fontSettings.fontWeight || '400';\n\n // Define font style based on italic prop\n const fontStyle = i ? 'italic' : 'normal';\n\n // Define text decoration based on underline prop\n const textDecorationLine = u ? 'underline' : 'none';\n\n // Define text alignment\n const textAlign: TextStyle['textAlign'] = align;\n // Map the 'type' prop to the correct color from the theme\n const textColor = colors[type]?.hex || colors.text.hex;\n \n // Combine all styles\n const textStyles: TextStyle = {\n fontSize,\n fontWeight,\n fontFamily,\n fontStyle,\n textDecorationLine,\n textAlign,\n color: textColor,\n };\n\n \n return (\n <RNText style={[textStyles, style]}>\n {children}\n </RNText>\n );\n};\n\nconst styles = StyleSheet.create({\n // Define any default styles if needed\n});\n\n","// src/forms/ErrorList.tsx\n\nimport React, { useContext } from 'react';\nimport { View, StyleSheet } from 'react-native';\nimport { Text } from '../fonts/Text';\nimport { ThemeContext } from 'aport-themes';\n\ninterface ErrorListProps {\n errors: string[];\n}\n\nconst ErrorList: React.FC<ErrorListProps> = ({ errors }) => {\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n\n return (\n <View style={styles.container}>\n {errors.map((error, index) => (\n <View key={index} style={styles.errorItem}>\n <Text style={[styles.bullet, { color: colors.error.hex }]}>•</Text>\n <Text style={[styles.errorText, { color: colors.error.hex }]}>{error}</Text>\n </View>\n ))}\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n marginTop: 4,\n },\n errorItem: {\n flexDirection: 'row',\n alignItems: 'flex-start',\n marginBottom: 2,\n },\n bullet: {\n marginRight: 4,\n fontSize: 12,\n },\n errorText: {\n flex: 1,\n fontSize: 12,\n },\n});\n\nexport default ErrorList;\n","// src/forms/Input.tsx\n\nimport React, { useContext } from \"react\";\nimport {\n TextInput,\n StyleSheet,\n View,\n TextInputProps,\n} from \"react-native\";\nimport { useFormContext } from \"./FormContext\";\nimport { Text } from \"../fonts/Text\";\nimport ErrorList from \"./ErrorList\";\nimport { ThemeContext } from \"aport-themes\";\n\n/**\n * Defines the props for the Input component.\n */\ninterface InputProps extends TextInputProps {\n /**\n * The unique identifier for the input field, used to manage its state within the form.\n */\n name: string;\n\n /**\n * The text label displayed above the input field.\n */\n label: string;\n\n /**\n * Specifies the type of input and applies corresponding formatting.\n * - 'phone': Formats input as a phone number (xxx-xxx-xxxx).\n * - 'id': Converts all input characters to uppercase (useful for IDs, passports).\n * - 'uppercase': Forces all input characters to uppercase (useful for codes).\n * - 'numeric': Restricts input to numeric characters only.\n */\n inputType?: \"phone\" | \"id\" | \"uppercase\" | \"numeric\";\n}\n\n/**\n * Input component that supports labels, error messages, and integrates with the Theme system.\n *\n * @param {InputProps} props - Props passed to the component.\n * @returns {JSX.Element} The rendered Input component.\n *\n * @example\n * <Input\n * name=\"email\"\n * label=\"Email\"\n * keyboardType=\"email-address\"\n * inputType=\"id\"\n * />\n */\nexport const Input: React.FC<InputProps> = ({\n name,\n label,\n inputType,\n style,\n ...rest\n}) => {\n const { formValues, setFormValue, errors: formErrors } = useFormContext();\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n\n /**\n * Handles text changes in the input field, applying formatting based on the inputType.\n *\n * @param {string} text - The current text input by the user.\n */\n const handleChange = (text: string) => {\n let formattedText = text;\n\n // Apply different formatting based on inputType\n switch (inputType) {\n case \"phone\":\n // Remove all non-digit characters\n formattedText = text.replace(/\\D/g, \"\");\n // Insert hyphens to format as xxx-xxx-xxxx\n if (formattedText.length > 3 && formattedText.length <= 6) {\n formattedText = `${formattedText.slice(0, 3)}-${formattedText.slice(3)}`;\n } else if (formattedText.length > 6) {\n formattedText = `${formattedText.slice(0, 3)}-${formattedText.slice(\n 3,\n 6\n )}-${formattedText.slice(6, 10)}`;\n }\n break;\n case \"id\":\n case \"uppercase\":\n // Convert all input to uppercase\n formattedText = text.toUpperCase();\n break;\n case \"numeric\":\n // Allow only numeric input\n formattedText = text.replace(/\\D/g, \"\");\n break;\n default:\n break;\n }\n\n setFormValue(name, formattedText);\n };\n\n return (\n <View style={styles.container}>\n {/* Label */}\n <Text style={[styles.label, { color: colors.text.hex }]}>{label}</Text>\n\n {/* Input Field */}\n <TextInput\n style={[\n styles.input,\n {\n backgroundColor: colors.body.hex,\n borderColor: formErrors[name] ? colors.error.hex : \"#CCC\",\n color: colors.text.hex,\n },\n style,\n ]}\n value={formValues[name] || \"\"}\n onChangeText={handleChange}\n placeholder={label}\n placeholderTextColor={colors.placeHolder.hex} // Can use a lighter version if needed\n {...rest}\n />\n\n {/* Display errors only if form has been submitted and there are errors */}\n {formErrors[name] && formErrors[name].length > 0 && (\n <ErrorList errors={formErrors[name]} />\n )}\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n marginBottom: 16,\n },\n label: {\n marginBottom: 4,\n fontSize: 14,\n },\n input: {\n height: 40,\n borderWidth: 1,\n borderRadius: 4,\n paddingHorizontal: 8,\n },\n});\n","// src/forms/TextArea.tsx\n\nimport React, { useContext } from 'react';\nimport { TextInput, StyleSheet, View, TextInputProps } from 'react-native';\nimport { useFormContext } from './FormContext';\nimport { Text } from '../fonts/Text'; // Assuming the Text component is exported from fonts\nimport ErrorList from './ErrorList';\nimport { ThemeContext } from 'aport-themes';\n\ninterface TextAreaProps extends TextInputProps {\n name: string;\n label: string;\n errors?: string[]; // Optional prop to directly pass errors\n}\n\nconst TextArea: React.FC<TextAreaProps> = ({ name, label, errors, style, ...rest }) => {\n const { formValues, setFormValue, errors: formErrors } = useFormContext();\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n\n const handleChange = (text: string) => {\n setFormValue(name, text);\n };\n\n return (\n <View style={styles.container}>\n <Text style={[styles.label, {color: colors.text.hex}]}>{label}</Text>\n <TextInput\n style={[\n styles.textArea,\n style,\n {backgroundColor: colors.body.hex, color: colors.text.hex, borderColor: formErrors[name] ? colors.error.hex : \"#CCC\",}\n ]}\n value={formValues[name] || ''}\n onChangeText={handleChange}\n placeholder={label}\n placeholderTextColor={colors.placeHolder.hex} // Can use a lighter version if needed\n multiline\n numberOfLines={4}\n textAlignVertical=\"top\"\n {...rest}\n />\n {/* Display errors only if form has been submitted and there are errors */}\n {formErrors[name] && formErrors[name].length > 0 && (\n <ErrorList errors={formErrors[name]} />\n )}\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n marginBottom: 16,\n },\n label: {\n marginBottom: 4,\n },\n textArea: {\n height: 100,\n borderWidth: 1,\n borderRadius: 4,\n paddingHorizontal: 8,\n paddingVertical: 8,\n },\n});\n\nexport default TextArea;\n","// src/forms/Label.tsx\n\nimport React, { useContext } from 'react';\nimport { StyleSheet } from 'react-native';\nimport { Text } from '../fonts/Text';\nimport { ThemeContext } from 'aport-themes';\n\ninterface LabelProps {\n text: string;\n style?: any;\n}\n\nconst Label: React.FC<LabelProps> = ({ text, style }) => {\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n return <Text style={[styles.label, style, { color: colors.text.hex }]}>{text}</Text>;\n};\n\nconst styles = StyleSheet.create({\n label: {\n marginBottom: 4,\n fontWeight: '500',\n },\n});\n\nexport default Label;\n","import React, { useState, useCallback, useContext } from 'react';\nimport { View, Text, TouchableOpacity, FlatList, StyleSheet, Modal, Pressable, Keyboard } from 'react-native';\nimport { ThemeContext } from \"aport-themes\";\nimport { useFormContext } from '../forms/FormContext';\nimport ErrorList from \"./ErrorList\";\n\ninterface Option {\n id: number | string;\n label: string;\n value: any;\n}\n\ninterface InputListProps {\n name: string;\n /**\n * Placeholder text displayed in the input box when no selection is made.\n * @type {string}\n * @default \"Choose value/s\"\n */\n placeholder?: string;\n \n /**\n * Custom styles for the component.\n * @type {object}\n */\n style?: object;\n\n /**\n * Array of options to display in the dropdown. Each option should have an id, label, and value.\n * @type {Option[]}\n */\n options: Option[];\n\n /**\n * Enables multi-selection mode when true. If enabled, users can select multiple values.\n * @type {boolean}\n * @default false\n */\n multi?: boolean;\n\n /**\n * Disables the dropdown input when true.\n * @type {boolean}\n * @default false\n */\n disabled?: boolean;\n\n /**\n * Key used to sort options in the dropdown (e.g., by 'id', 'label').\n * @type {keyof Option}\n */\n sortBy?: keyof Option;\n\n /**\n * If true, displays a separator line between each option.\n * @type {boolean}\n * @default false\n */\n separator?: boolean;\n\n /**\n * Closes the dropdown if the user scrolls the list.\n * @type {boolean}\n * @default false\n */\n closeOnScroll?: boolean;\n\n /**\n * Closes the dropdown after selecting an item if true (only relevant when multi is false).\n * @type {boolean}\n * @default true\n */\n closeOnSelect?: boolean;\n\n /**\n * Limits the maximum number of items that can be selected when multi is true.\n * Once the limit is reached, the dropdown closes, and no further selections can be made until\n * an item is deselected.\n * @type {number}\n */\n maxSelection?: number;\n\n /**\n * Callback function called when the selection changes. Useful for conditional field enabling.\n * @param {Option | Option[] | null} selection - The updated selection.\n */\n onChange?: (selection: Option | Option[] | null) => void;\n}\n\n/**\n * InputList component - A custom dropdown list component for React Native with multi-selection support,\n * customizable styling, sorting, and configurable close behavior on selection or scrolling.\n *\n * @param {string} placeholder - Placeholder text for the input.\n * @param {object} style - Custom styles for the component.\n * @param {Option[]} options - Array of options to display in the dropdown.\n * @param {boolean} multi - Enables multi-selection mode.\n * @param {boolean} disabled - Disables the dropdown input.\n * @param {keyof Option} sortBy - Key to sort options by (e.g., 'id').\n * @param {boolean} separator - If true, adds a separator line between options.\n * @param {boolean} closeOnScroll - Closes the dropdown if the user scrolls the list.\n * @param {boolean} closeOnSelect - Closes the dropdown on selection in single-select mode.\n * @param {number} maxSelection - Maximum number of items selectable in multi-select mode.\n */\nexport const InputList: React.FC<InputListProps> = ({\n name,\n placeholder = \"Choose value/s\",\n style,\n options,\n multi = false,\n disabled = false,\n sortBy,\n separator = false,\n closeOnScroll = false,\n closeOnSelect = true,\n maxSelection,\n onChange,\n}) => {\n const { formValues, setFormValue, errors: formErrors } = useFormContext();\n const [isDropdownVisible, setIsDropdownVisible] = useState(false);\n \n const selectedOptions = formValues[name] || (multi ? [] : null);\n const sortedOptions = sortBy ? [...options].sort((a, b) => (a[sortBy] > b[sortBy] ? 1 : -1)) : options;\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n\n /**\n * Handles selection of an option. Adds or removes the option from selectedOptions based on\n * multi-selection and maxSelection criteria.\n * @param {Option} option - The selected option object.\n */\n const handleSelectOption = (option: Option) => {\n let updatedSelections;\n\n if (multi) {\n const alreadySelected = selectedOptions.some((opt: Option) => opt.id === option.id);\n updatedSelections = alreadySelected\n ? selectedOptions.filter((opt: Option) => opt.id !== option.id)\n : [...selectedOptions, option];\n\n if (!alreadySelected && maxSelection && updatedSelections.length >= maxSelection) {\n setIsDropdownVisible(false);\n }\n\n setFormValue(name, updatedSelections);\n } else {\n updatedSelections = option;\n setFormValue(name, option);\n if (closeOnSelect) setIsDropdownVisible(false);\n }\n\n // Trigger onChange callback with the updated selection\n if (onChange) {\n onChange(updatedSelections);\n }\n };\n\n\n\n /**\n * Renders selected options as a comma-separated string or the placeholder if none selected.\n * @returns {string} - The display text for selected options or placeholder.\n */\n const renderSelectedText = () => {\n if (multi) return selectedOptions.map((opt: Option) => opt.label).join(', ') || placeholder;\n return selectedOptions?.label || placeholder;\n };\n\n /**\n * Toggles dropdown visibility. Disables toggle if the component is disabled.\n */\n const toggleDropdown = () => {\n if (!disabled) {\n setIsDropdownVisible(!isDropdownVisible);\n if (!isDropdownVisible) Keyboard.dismiss();\n }\n };\n\n /**\n * Closes the dropdown when pressing outside.\n */\n const handleCloseDropdown = useCallback(() => {\n if (isDropdownVisible) setIsDropdownVisible(false);\n }, [isDropdownVisible]);\n\n // Conditionally render item as disabled if max selection reached and item is unselected\n const isItemDisabled = (option: Option) => {\n return (\n multi &&\n maxSelection &&\n selectedOptions.length >= maxSelection &&\n !selectedOptions.some((opt: Option) => opt.id === option.id)\n );\n };\n\n\n return (\n <View style={[styles.container, style]}>\n <Text style={{color: colors.text.hex,marginBottom: 4,\n}}>{name}</Text>\n\n <TouchableOpacity style={[styles.inputContainer,{borderColor: formErrors[name] ? colors.error.hex : \"#CCC\",}]} onPress={toggleDropdown} disabled={disabled}>\n <Text style={{color: colors.text.hex}}>{renderSelectedText()}</Text>\n </TouchableOpacity>\n \n {/* Display errors only if form has been submitted and there are errors */}\n {formErrors[name] && formErrors[name].length > 0 && (\n <ErrorList errors={formErrors[name]} />\n )}\n <Modal visible={isDropdownVisible} transparent animationType=\"fade\">\n <Pressable style={styles.overlay} onPress={handleCloseDropdown} />\n <View style={[styles.dropdownContainer,{backgroundColor: colors.body.hex,\n}]}>\n <FlatList\n data={sortedOptions}\n keyExtractor={(item) => item.id.toString()}\n renderItem={({ item }) => {\nconst isSelected = multi\n ? (selectedOptions as Option[]).some((opt: Option) => opt.id === item.id)\n : selectedOptions?.id === item.id;\n const isDisabled = isItemDisabled(item);\n\n return (\n <TouchableOpacity\n onPress={() => handleSelectOption(item)}\n style={[\n styles.optionItem,\n isSelected ? {backgroundColor: colors.primary.hex} : {},\n isDisabled ? {backgroundColor: colors.placeHolder.hex} : {},\n ]}\n disabled={!!isDisabled} // Ensure disabled prop is a boolean\n >\n <Text style={[isSelected ? {color: colors.body.hex}: {color: colors.text.hex}, isDisabled ? styles.disabledText : {}]}>\n {item.label}\n </Text>\n </TouchableOpacity>\n );\n }}\n ItemSeparatorComponent={() => (separator ? <View style={styles.separator} /> : null)}\n scrollEnabled={!closeOnScroll}\n />\n </View>\n </Modal>\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n container: {marginVertical: 10 },\n inputContainer: { padding: 12, borderWidth: 1, borderRadius: 5 },\n dropdownContainer: {\n position: 'absolute',\n top: '30%', // Center the dropdown vertically\n alignSelf: 'center',\n width: '90%',\n backgroundColor: '#fff',\n borderRadius: 8,\n elevation: 5,\n paddingVertical: 10,\n },\n optionItem: { padding: 12 },\n disabledText: { color: '#999' },\n separator: { height: 1, backgroundColor: '#ddd', marginHorizontal: 8 },\n overlay: { flex: 1, backgroundColor: 'rgba(0,0,0,0.3)' },\n});\n","// src/cards/Card.tsx\n\nimport { ThemeContext } from 'aport-themes';\nimport React, { useContext } from 'react';\nimport {\n View,\n StyleSheet,\n StyleProp,\n ViewStyle,\n Platform,\n TouchableOpacity,\n GestureResponderEvent,\n} from 'react-native';\n\n/**\n * Interface for the props that the Card component accepts.\n */\ninterface CardProps {\n /**\n * Content to be rendered inside the Card.\n */\n children: React.ReactNode;\n\n /**\n * Style to be applied to the Card container.\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Function to call when the Card is pressed.\n */\n onPress?: (event: GestureResponderEvent) => void;\n\n /**\n * Whether the Card is pressable. Defaults to false.\n */\n pressable?: boolean;\n\n /**\n * Border radius of the Card. Defaults to 12.\n */\n borderRadius?: number;\n\n /**\n * Elevation of the Card (Android only).\n */\n elevation?: number;\n\n /**\n * Shadow properties for iOS.\n */\n shadowProps?: {\n shadowColor?: string;\n shadowOffset?: { width: number; height: number };\n shadowOpacity?: number;\n shadowRadius?: number;\n };\n}\n\n/**\n * Card component that adapts its styles based on the current theme.\n * Supports dynamic styling, shadows, and press animations.\n *\n * @param children - The content to be displayed inside the Card.\n * @param style - Additional styles to apply to the Card.\n * @param onPress - Function to execute when the Card is pressed.\n * @param pressable - Determines if the Card is pressable. Defaults to false.\n * @param borderRadius - Border radius of the Card. Defaults to 12.\n * @param elevation - Elevation for Android shadow. Overrides default.\n * @param shadowProps - Custom shadow properties for iOS. Overrides defaults.\n */\nexport const Card: React.FC<CardProps> = ({\n children,\n style,\n onPress,\n pressable = false,\n borderRadius = 12,\n elevation = 4,\n shadowProps = {},\n }) => {\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n \n // Animation state for pressable effect\n // Default shadow styles (improved platform-specific handling)\n const defaultShadow = Platform.select({\n ios: {\n shadowColor: shadowProps?.shadowColor || colors.text.hex, // Defaulting to theme text color\n shadowOffset: shadowProps?.shadowOffset || { width: 0, height: 2 },\n shadowOpacity: shadowProps?.shadowOpacity || 0.1,\n shadowRadius: shadowProps?.shadowRadius || 4,\n },\n android: {\n elevation: elevation, // Only applies to Android\n },\n });\n \n const cardStyles = [\n styles.container,\n { borderRadius, backgroundColor: colors.background.hex },\n defaultShadow, // Dynamic shadows based on platform\n style, // External styles\n ];\n \n return pressable ? (\n <TouchableOpacity\n activeOpacity={0.8}\n onPress={onPress}\n \n style={cardStyles}\n >\n \n {children}\n </TouchableOpacity>\n ) : (\n <View style={cardStyles}>\n {children}\n </View>\n );\n };\n \n const styles = StyleSheet.create({\n container: {\n padding: 16,\n borderRadius: 12,\n // Shadows handled dynamically with platform logic\n },\n });\n\n","import React, { useContext, useState } from \"react\";\nimport { useFormContext } from \"../forms/FormContext\";\nimport {\n Image,\n StyleSheet,\n FlatList,\n} from \"react-native\";\nimport { ThemeContext } from \"aport-themes\";\nimport { Text } from \"../fonts\";\nimport { Card } from \"../cards\";\n\ninterface InputCheckProps {\n name: string;\n options: { id: string ; label: string; icon?: string; value: string }[]; // Added `value` key\n multi?: boolean; // Allows multiple selection (checkbox behavior)\n max?: number; // Maximum number of selections\n rowAmount?: number; // Number of items per row\n iconPosition?: \"row\" | \"column\"; // Icon and label layout\n disabled?: boolean; // Disable the input\n}\n\nconst InputCheck: React.FC<InputCheckProps> = ({\n name,\n options,\n multi = false,\n max,\n rowAmount = 3,\n iconPosition = \"row\",\n disabled = false,\n}) => {\n const { formValues, setFormValue } = useFormContext();\n const [selectedValues, setSelectedValues] = useState<\n { id: string; value: string }[]\n>(formValues[name] || []);\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n\n const handleSelect = (id: string, value: string) => {\n if (disabled) return;\n \n let updatedSelection;\n if (multi) {\n const alreadySelected = selectedValues.find((item) => item.id === id);\n if (alreadySelected) {\n updatedSelection = selectedValues.filter((item) => item.id !== id);\n } else {\n if (max && selectedValues.length >= max) return; // Prevent selection beyond max\n updatedSelection = [...selectedValues, { id, value }];\n }\n } else {\n updatedSelection = [{ id, value }];\n }\n \n setSelectedValues(updatedSelection);\n setFormValue(name, updatedSelection);\n };\n \n const renderItem = ({\n item,\n }: {\n item: { id: string ; label: string; icon?: string; value: string };\n }) => {\n const isSelected = selectedValues.some(\n (selected) => selected.id === item.id.toString()\n );\n \n return (\n <Card\n pressable\n onPress={() => handleSelect(item.id.toString(), item.value)}\n style={[\n styles.card,\n isSelected && { backgroundColor: colors.primary.hex }, // Replace with colors.primary.hex if available\n disabled && styles.cardDisabled,\n ]}\n >\n {item.icon && (\n <Image\n source={{ uri: item.icon }}\n style={[\n styles.icon,\n iconPosition === \"column\" && styles.iconColumn,\n ]}\n />\n )}\n <Text\n style={[\n styles.label,\n { color: isSelected ? colors.textButton.hex : colors.text.hex },\n ]}\n >\n {item.label}\n </Text>\n </Card>\n \n );};\n\n return (\n <FlatList\n data={options}\n renderItem={renderItem}\n keyExtractor={(item) => item.id}\n numColumns={rowAmount}\n columnWrapperStyle={rowAmount > 1 ? styles.row : undefined}\n scrollEnabled={false}\n />\n );\n};\n\nexport default InputCheck;\n\nconst styles = StyleSheet.create({\n card: {\n flex: 1,\n margin: 5,\n padding: 10,\n borderWidth: 1,\n borderColor: \"#ccc\",\n borderRadius: 8,\n alignItems: \"center\",\n justifyContent: \"center\",\n },\n cardDisabled: {\n opacity: 0.5,\n },\n icon: {\n width: 40,\n height: 40,\n marginBottom: 5,\n },\n iconColumn: {\n marginBottom: 10,\n },\n label: {\n fontSize: 14,\n textAlign: \"center\",\n },\n row: {\n justifyContent: \"space-between\",\n },\n});\n","// src/components/InputAttach.tsx\n\nimport React, { useContext, useState } from \"react\";\nimport { View, TouchableOpacity, Image, StyleSheet, Alert } from \"react-native\";\nimport { useFormContext } from \"./FormContext\";\nimport * as ImagePicker from \"expo-image-picker\";\nimport { Text } from \"../fonts\";\nimport { ThemeContext } from \"aport-themes\";\nimport ErrorList from \"./ErrorList\";\n\ninterface FileData {\n uri: string;\n name: string;\n type: string;\n}\n\ninterface InputAttachProps {\n name: string;\n type?: string[]; // Accepted file types\n amount?: number; // Maximum number of files\n disabled?: boolean; // If the input is pressable\n placeholder?: string; // Placeholder text\n}\n\nconst InputAttach: React.FC<InputAttachProps> = ({\n name,\n type = [\"png\", \"jpg\", \"jpeg\"],\n amount = 1,\n disabled = false,\n placeholder = \"Upload an image\",\n}) => {\n const { setFormValue, errors: formErrors } = useFormContext();\n const [selectedFiles, setSelectedFiles] = useState<FileData[]>([]);\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n\n const pickImage = async () => {\n if (disabled) return;\n\n const permissionResult =\n await ImagePicker.requestMediaLibraryPermissionsAsync();\n if (!permissionResult.granted) {\n Alert.alert(\n \"Permission Required\",\n \"We need access to your photos to upload images.\"\n );\n return;\n }\n\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: [\"images\"], // Updated usage\n allowsEditing: true,\n allowsMultipleSelection: amount > 1,\n quality: 1,\n });\n\n if (!result.canceled) {\n const selectedAssets = result.assets || [result]; // Handle different return formats\n const newFiles: FileData[] = selectedAssets.map((asset) => ({\n uri: asset.uri,\n name: asset.fileName || \"unknown.jpg\",\n type: asset.mimeType || \"image/jpeg\",\n }));\n\n // Validate file types\n const invalidFiles = newFiles.filter(\n (file) => !type.some((ext) => file.name.toLowerCase().endsWith(ext))\n );\n if (invalidFiles.length > 0) {\n Alert.alert(\n \"Invalid File Type\",\n `Please upload files of type: ${type.join(\", \")}`\n );\n return;\n }\n\n // Check max amount\n if (selectedFiles.length + newFiles.length > amount) {\n Alert.alert(\"Limit Exceeded\", `You can upload up to ${amount} files.`);\n return;\n }\n\n const updatedFiles = [...selectedFiles, ...newFiles].slice(0, amount);\n setSelectedFiles(updatedFiles);\n setFormValue(name, updatedFiles); // Update form context\n }\n };\n\n const removeFile = (index: number) => {\n const updatedFiles = selectedFiles.filter((_, i) => i !== index);\n setSelectedFiles(updatedFiles);\n setFormValue(name, updatedFiles); // Update form context\n };\n\n return (\n <View style={styles.container}>\n <Text style={[styles.label, { color: colors.text.hex }]}>\n {placeholder}\n </Text>\n <View style={styles.fileContainer}>\n {selectedFiles.map((file, index) => (\n <View key={index} style={styles.fileItem}>\n <Image source={{ uri: file.uri }} style={styles.imagePreview} />\n <TouchableOpacity\n onPress={() => removeFile(index)}\n style={[\n styles.removeButton,\n { backgroundColor: colors.error.hex },\n ]}\n >\n <Text style={styles.removeButtonText}>X</Text>\n </TouchableOpacity>\n </View>\n ))}\n {selectedFiles.length < amount && (\n <TouchableOpacity\n onPress={pickImage}\n style={[\n styles.addButton,\n {\n backgroundColor: colors.body.hex,\n borderColor: formErrors[name] && colors.error.hex,\n },\n ]}\n disabled={disabled}\n >\n <Text\n style={[styles.addButtonText, { color: colors.placeHolder.hex }]}\n >+</Text>\n </TouchableOpacity>\n )}\n </View>\n {formErrors[name] && formErrors[name].length > 0 && (\n <ErrorList errors={formErrors[name]} />\n )}\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n container: { marginVertical: 10 },\n label: { marginTop: 5 },\n fileContainer: { flexDirection: \"row\", flexWrap: \"wrap\", gap: 10 },\n fileItem: { position: \"relative\", width: 100, height: 100, marginRight: 10 },\n imagePreview: { width: \"100%\", height: \"100%\", borderRadius: 5 },\n removeButton: {\n position: \"absolute\",\n top: 0,\n right: 0,\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\",\n borderRadius: 10,\n },\n removeButtonText: { color: \"#fff\", fontWeight: \"bold\" },\n addButton: {\n width: 100,\n height: 100,\n justifyContent: \"center\",\n alignItems: \"center\",\n borderRadius: 5,\n },\n addButtonText: { fontSize: 24 },\n error: { marginTop: 5 },\n});\n\nexport default InputAttach;\n","// src/components/Button.tsx\n\nimport React, { useMemo, useContext } from 'react';\nimport { Text, ViewStyle, StyleSheet, TouchableOpacity, ActivityIndicator } from 'react-native';\nimport { useFormContext } from '../forms';\nimport { ThemeColors, ThemeContext } from 'aport-themes';\n\n/**\n * Interface for the props that the Button component accepts.\n */\ninterface ButtonProps {\n /**\n * If true, the button is disabled and not pressable.\n */\n disabled?: boolean;\n\n /**\n * If true, the button expands to full width of its container.\n */\n isFullWidth?: boolean;\n\n /**\n * Text content of the button.\n */\n children?: string;\n\n /**\n * Function to call when the button is pressed.\n */\n onPress?: () => void;\n\n /**\n * If true, the button has rounded corners.\n */\n rounded?: boolean;\n\n /**\n * Custom border radius value. Overrides the `rounded` prop if provided.\n */\n borderRadius?: number;\n\n /**\n * Specifies the button type for styling. Can be 'submit', 'button', or 'cancel'.\n */\n type?: 'submit' | 'button' | 'cancel';\n\n /**\n * If true, a loading spinner is shown and the button is disabled.\n */\n loading?: boolean;\n}\n\n/**\n * Determines the styles based on the button type and whether it is disabled.\n *\n * @param type - The type of the button ('submit', 'button', 'cancel').\n * @param disabled - Whether the button is disabled.\n * @param themeColors - The theme colors.\n * @returns The computed style for the button.\n */\nfunction typeStyles(\n type?: string,\n disabled?: boolean,\n themeColors?: ThemeColors\n): ViewStyle {\n switch (type) {\n case 'submit':\n return {\n backgroundColor: `rgba(${themeColors?.primary.rgb.r}, ${themeColors?.primary.rgb.g}, ${themeColors?.primary.rgb.b}, ${\n disabled ? 0.5 : 1\n })`,\n borderWidth: 2,\n borderColor: themeColors?.primary.hex,\n };\n case 'button':\n return {\n backgroundColor: themeColors?.primary.hex,\n borderColor: themeColors?.secondary.hex,\n opacity: disabled ? 0.5 : 1,\n borderWidth: 2,\n };\n case 'cancel':\n return {\n backgroundColor: themeColors?.background.hex,\n borderWidth: 0,\n };\n default:\n return {};\n }\n}\n\n/**\n * Button component that adapts its styles based on the current theme.\n * Supports dynamic styling, full-width option, rounded corners, and different types.\n *\n * @param disabled - If true, the button is disabled and not pressable.\n * @param isFullWidth - If true, the button expands to full width of its container.\n * @param children - Text content of the button.\n * @param onPress - Function to call when the button is pressed.\n * @param rounded - If true, the button has rounded corners.\n * @param borderRadius - Custom border radius value. Overrides the `rounded` prop if provided.\n * @param type - Specifies the button type for styling ('submit', 'button', 'cancel').\n */\nexport const Button: React.FC<ButtonProps> = ({\n children,\n disabled = false,\n type = 'button',\n rounded = true,\n borderRadius = 30,\n isFullWidth = false,\n loading = false,\n onPress,\n}) => {\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n const { handleSubmit } = useFormContext();\n\n const computedStyles = useMemo(() => {\n return StyleSheet.flatten([\n styles.button,\n typeStyles(type, disabled, colors),\n rounded && { borderRadius },\n isFullWidth && { width: '100%' },\n (disabled || loading) && styles.disabled,\n ]);\n }, [type, disabled, loading, rounded, borderRadius, isFullWidth, colors]);\n\n const textColor = useMemo(() => {\n return type === \"cancel\" ? { color: colors.text.hex } : { color: colors.textButton.hex };\n }, [type, colors]);\n\n const handlePress = () => {\n if (type === 'submit') {\n handleSubmit(); // Call the form's submit handler\n } else if (onPress) {\n onPress(); // Call a custom handler if needed\n }\n };\n\n\n return (\n <TouchableOpacity\n style={computedStyles as ViewStyle}\n disabled={disabled || loading}\n onPress={handlePress}\n activeOpacity={0.7}\n >\n {loading ? ( // Show loading spinner if loading\n <ActivityIndicator size=\"small\" color={colors.textButton.hex} />\n ) : (\n <Text style={textColor}>\n {Array.isArray(children) ? children.join('').toUpperCase() : children?.toUpperCase()}\n </Text>\n )}\n </TouchableOpacity>\n );\n};\n\nconst styles = StyleSheet.create({\n button: {\n justifyContent: 'center',\n alignItems: 'center',\n paddingVertical: 10,\n paddingHorizontal: 20,\n },\n disabled: {\n opacity: 0.6,\n },\n});\n\n"],"names":["FormContext","createContext","undefined","useFormContext","context","useContext","Error","Form","_a","children","onSubmit","_b","useState","formValues","setFormValues","_c","errors","setErrors","setFormValue","name","value","prev","handleSubmit","__awaiter","validationErrors","sent","Object","keys","length","React","createElement","Provider","Text","size","_d","b","_e","i","_f","u","_g","align","_h","type","_j","typeFont","_k","h","style","theme","ThemeContext","colors","fonts","fontSettings","body","fontFamily","fontSize","fontWeight","fontStyle","textDecorationLine","textAlign","textColor","hex","text","textStyles","color","RNText","StyleSheet","create","ErrorList","View","styles","container","map","error","index","key","errorItem","bullet","errorText","marginTop","flexDirection","alignItems","marginBottom","marginRight","flex","Input","label","inputType","rest","__rest","formErrors","handleChange","formattedText","replace","concat","slice","toUpperCase","TextInput","__assign","input","backgroundColor","borderColor","onChangeText","placeholder","placeholderTextColor","placeHolder","height","borderWidth","borderRadius","paddingHorizontal","TextArea","textArea","multiline","numberOfLines","textAlignVertical","paddingVertical","Label","InputList","options","multi","disabled","sortBy","separator","closeOnScroll","closeOnSelect","maxSelection","onChange","isDropdownVisible","setIsDropdownVisible","selectedOptions","sortedOptions","__spreadArray","sort","a","handleSelectOption","option","updatedSelections","alreadySelected","some","opt","id","filter","renderSelectedText","join","toggleDropdown","Keyboard","dismiss","handleCloseDropdown","useCallback","isItemDisabled","TouchableOpacity","inputContainer","onPress","Modal","visible","transparent","animationType","Pressable","overlay","dropdownContainer","FlatList","data","keyExtractor","item","toString","renderItem","isSelected","isDisabled","optionItem","primary","disabledText","ItemSeparatorComponent","scrollEnabled","marginVertical","padding","position","top","alignSelf","width","elevation","marginHorizontal","Card","pressable","shadowProps","defaultShadow","Platform","select","ios","shadowColor","shadowOffset","shadowOpacity","shadowRadius","android","cardStyles","background","activeOpacity","InputCheck","max","rowAmount","iconPosition","selectedValues","setSelectedValues","handleSelect","updatedSelection","find","selected","card","cardDisabled","icon","Image","source","uri","iconColumn","textButton","numColumns","columnWrapperStyle","row","margin","justifyContent","opacity","InputAttach","amount","selectedFiles","setSelectedFiles","pickImage","ImagePicker","requestMediaLibraryPermissionsAsync","permissionResult","granted","Alert","alert","launchImageLibraryAsync","mediaTypes","allowsEditing","allowsMultipleSelection","quality","result","canceled","selectedAssets","assets","newFiles","asset","fileName","mimeType","invalidFiles","file","ext","toLowerCase","endsWith","updatedFiles","removeFile","_","fileContainer","fileItem","imagePreview","removeButton","removeButtonText","addButton","addButtonText","flexWrap","gap","right","typeStyles","themeColors","rgb","r","g","secondary","Button","rounded","isFullWidth","loading","computedStyles","useMemo","flatten","button","handlePress","ActivityIndicator","Array","isArray"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAeA;AACO,IAAI,QAAQ,GAAG,WAAW;AACjC,IAAI,QAAQ,GAAG,MAAM,CAAC,MAAM,IAAI,SAAS,QAAQ,CAAC,CAAC,EAAE;AACrD,QAAQ,KAAK,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;AAC7D,YAAY,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAC7B,YAAY,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,C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AAA,GAAA,KAAA,CAAA,GAARA,QAAQ,CAAEwF,WAAW,EAAE,CAC/E,CACR,CACgB,CAAA;AAEvB,EAAC;AAED,IAAM1B,MAAM,GAAGJ,UAAU,CAACC,MAAM,CAAC;AAC/BgN,EAAAA,MAAM,EAAE;AACNzD,IAAAA,cAAc,EAAE,QAAQ;AACxBzI,IAAAA,UAAU,EAAE,QAAQ;AACpBkC,IAAAA,eAAe,EAAE,EAAE;AACnBN,IAAAA,iBAAiB,EAAE,EAAA;GACpB;AACDW,EAAAA,QAAQ,EAAE;AACRmG,IAAAA,OAAO,EAAE,GAAA;AACV,GAAA;AACF,CAAA,CAAC;;;;","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../node_modules/tslib/tslib.es6.js","../src/forms/Stepper.tsx","../src/forms/FormContext.tsx","../src/fonts/Text.tsx","../src/forms/ErrorList.tsx","../src/forms/Input.tsx","../src/forms/TextArea.tsx","../src/forms/Label.tsx","../src/forms/InputList.tsx","../src/cards/Card.tsx","../src/forms/InputCheck.tsx","../src/forms/InputAttach.tsx","../src/components/Button.tsx"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n};\r\n","import React from \"react\";\nimport { TouchableOpacity, StyleSheet, View, Text } from \"react-native\";\n\ninterface StepperProps {\n steps: string[];\n currentStep: number;\n presseable?: boolean;\n onPress?: (stepIndex: number) => void;\n}\n\nconst Stepper: React.FC<StepperProps> = ({\n steps,\n currentStep,\n presseable = false,\n onPress,\n}) => {\n return (\n <View style={styles.container}>\n {steps.map((label, index) => (\n <TouchableOpacity\n key={index}\n style={[\n styles.stepContainer,\n index <= currentStep ? styles.activeStep : styles.inactiveStep,\n ]}\n disabled={!presseable}\n onPress={() => onPress && onPress(index)}\n >\n <View style={styles.stepCircle}>\n <Text style={styles.stepLabel}>{index + 1}</Text>\n </View>\n <Text style={styles.stepText}>{label}</Text>\n </TouchableOpacity>\n ))}\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n marginBottom: 16,\n },\n stepContainer: {\n alignItems: \"center\",\n flex: 1,\n },\n stepCircle: {\n width: 30,\n height: 30,\n borderRadius: 15,\n alignItems: \"center\",\n justifyContent: \"center\",\n marginBottom: 4,\n },\n activeStep: {\n backgroundColor: \"#3498db\",\n },\n inactiveStep: {\n backgroundColor: \"#aaaaaa\",\n },\n stepLabel: {\n color: \"#ffffff\",\n fontWeight: \"bold\",\n },\n stepText: {\n fontSize: 12,\n textAlign: \"center\",\n },\n});\n\nexport default Stepper;\n","// src/forms/FormContext.tsx\n\nimport React, { createContext, useState, ReactNode, useContext } from 'react';\nimport Stepper from './Stepper';\n\ninterface FormContextProps {\n formValues: Record<string, any>;\n setFormValue: (name: string, value: any) => void;\n errors: Record<string, string[]>;\n setErrors: (errors: Record<string, string[]>) => void;\n handleSubmit: () => void;\n}\n\nconst FormContext = createContext<FormContextProps | undefined>(undefined);\n\nexport const useFormContext = () => {\n const context = useContext(FormContext);\n if (!context) {\n throw new Error(\"useFormContext must be used within a Form\");\n }\n return context;\n};\n\ninterface StepperProps {\n steps: string[];\n presseable?: boolean;\n onPress?: (stepIndex: number) => void;\n step: number;\n}\n\ninterface FormProps {\n children: ReactNode;\n onSubmit: (values: Record<string, any>) => Promise<Record<string, string[]>>; // Returns errors\n stepper?: StepperProps; // Add stepper prop\n\n}\n\nexport const Form: React.FC<FormProps> = ({ children, onSubmit, stepper }) => {\n const [formValues, setFormValues] = useState<Record<string, any>>({});\n const [errors, setErrors] = useState<Record<string, string[]>>({});\n\n const setFormValue = (name: string, value: any) => {\n setFormValues(prev => ({ ...prev, [name]: value }));\n };\n\n const handleSubmit = async () => {\n const validationErrors = await onSubmit(formValues);\n \n // Set the validation errors in state\n setErrors(validationErrors);\n \n // Prevent submission if there are any errors\n if (Object.keys(validationErrors).length > 0) {\n return; // Prevent submission\n }\n \n };\n \n\n return (\n <FormContext.Provider value={{ formValues, setFormValue, errors, setErrors, handleSubmit }}>\n {stepper && (\n <Stepper\n steps={stepper.steps}\n currentStep={stepper.step}\n presseable={stepper.presseable}\n onPress={stepper.onPress}\n />\n )}\n {children}\n </FormContext.Provider>\n );\n};\n","// src/fonts/Text.tsx\n\nimport { ThemeColors, ThemeContext, ThemeFonts } from 'aport-themes';\nimport React, { useContext } from 'react';\nimport { Text as RNText, StyleSheet, TextProps, TextStyle } from 'react-native';\n\ninterface CustomTextProps extends TextProps {\n /**\n * Content to be displayed inside the Text component.\n */\n children: React.ReactNode;\n\n /**\n * Size of the text. Defaults to 14.\n */\n size?: number;\n\n /**\n * If true, applies bold styling to the text.\n */\n b?: boolean;\n\n /**\n * If true, applies italic styling to the text.\n */\n i?: boolean;\n\n /**\n * If true, applies underline styling to the text.\n */\n u?: boolean;\n\n /**\n * Paragraph alignment. Can be 'left', 'center', or 'right'. Defaults to 'left'.\n */\n align?: 'left' | 'center' | 'right' | 'justify'; // Paragraph alignment\n\n /**\n * Text type. Defaults to 'text'. Should match the keys in ThemeColors.\n * This restricts type to known color keys like 'primary', 'error', etc.\n */\n type?: keyof ThemeColors;\n \n /**\n * Text font type. Defaults to 'body'. Should match the keys in ThemeFonts.\n * This restricts type to known fonts keys like 'primary', 'secundary', etc.\n */\n typeFont?: keyof ThemeFonts; // <-- New prop to select font type\n\n /**\n * Header level. Accepts 0 (none), 1, 2, or 3. Defaults to 0.\n */\n h?: 0 | 1 | 2 | 3;\n\n /**\n * Additional styles to apply to the Text component.\n */\n style?: TextStyle | TextStyle[];\n}\n\n/**\n * A dynamic Text component that supports HTML-like formatting.\n * Integrates with the Theme system for consistent styling.\n *\n * @param children - The content to be displayed inside the Text component.\n * @param size - Size of the text. Defaults to 'medium'.\n * @param b - If true, applies bold styling.\n * @param i - If true, applies italic styling.\n * @param type - Type of Text component. Defaults to 'text'.\n * @param typeFont - Type of Font component. Defaults to 'body'.\n * @param u - If true, applies underline styling.\n * @param align - Paragraph alignment. Defaults to 'left'.\n * @param h - Header level. Accepts 0 (none), 1, 2, or 3. Defaults to 0.\n * @param style - Additional styles to apply.\n */\nexport const Text: React.FC<CustomTextProps> = ({\n children,\n size = 14,\n b = false,\n i = false,\n u = false,\n align = 'left',\n type = 'text',\n typeFont = 'body',\n h = 0,\n style,\n}) => {\n const { theme } = useContext(ThemeContext);\n const { colors, fonts } = theme;\n\n // Determine font family and size based on 'typeFont'\n const fontSettings = fonts[typeFont] || fonts.body;\n const fontFamily = fontSettings.fontFamily;\n let fontSize = fontSettings.fontSize || size;\n\n // Calculate header size based on 'h' prop\n if (h === 1) fontSize = 32;\n else if (h === 2) fontSize = 24;\n else if (h === 3) fontSize = 18;\n \n // Define font weight based on bold prop\n const fontWeight = b ? '700' : fontSettings.fontWeight || '400';\n\n // Define font style based on italic prop\n const fontStyle = i ? 'italic' : 'normal';\n\n // Define text decoration based on underline prop\n const textDecorationLine = u ? 'underline' : 'none';\n\n // Define text alignment\n const textAlign: TextStyle['textAlign'] = align;\n // Map the 'type' prop to the correct color from the theme\n const textColor = colors[type]?.hex || colors.text.hex;\n \n // Combine all styles\n const textStyles: TextStyle = {\n fontSize,\n fontWeight,\n fontFamily,\n fontStyle,\n textDecorationLine,\n textAlign,\n color: textColor,\n };\n\n \n return (\n <RNText style={[textStyles, style]}>\n {children}\n </RNText>\n );\n};\n\nconst styles = StyleSheet.create({\n // Define any default styles if needed\n});\n\n","// src/forms/ErrorList.tsx\n\nimport React, { useContext } from 'react';\nimport { View, StyleSheet } from 'react-native';\nimport { Text } from '../fonts/Text';\nimport { ThemeContext } from 'aport-themes';\n\ninterface ErrorListProps {\n errors: string[];\n}\n\nconst ErrorList: React.FC<ErrorListProps> = ({ errors }) => {\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n\n return (\n <View style={styles.container}>\n {errors.map((error, index) => (\n <View key={index} style={styles.errorItem}>\n <Text style={[styles.bullet, { color: colors.error.hex }]}>•</Text>\n <Text style={[styles.errorText, { color: colors.error.hex }]}>{error}</Text>\n </View>\n ))}\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n marginTop: 4,\n },\n errorItem: {\n flexDirection: 'row',\n alignItems: 'flex-start',\n marginBottom: 2,\n },\n bullet: {\n marginRight: 4,\n fontSize: 12,\n },\n errorText: {\n flex: 1,\n fontSize: 12,\n },\n});\n\nexport default ErrorList;\n","// src/forms/Input.tsx\n\nimport React, { useContext } from \"react\";\nimport {\n TextInput,\n StyleSheet,\n View,\n TextInputProps,\n} from \"react-native\";\nimport { useFormContext } from \"./FormContext\";\nimport { Text } from \"../fonts/Text\";\nimport ErrorList from \"./ErrorList\";\nimport { ThemeContext } from \"aport-themes\";\n\n/**\n * Defines the props for the Input component.\n */\ninterface InputProps extends TextInputProps {\n /**\n * The unique identifier for the input field, used to manage its state within the form.\n */\n name: string;\n\n /**\n * The text label displayed above the input field.\n */\n label: string;\n\n /**\n * Specifies the type of input and applies corresponding formatting.\n * - 'phone': Formats input as a phone number (xxx-xxx-xxxx).\n * - 'id': Converts all input characters to uppercase (useful for IDs, passports).\n * - 'uppercase': Forces all input characters to uppercase (useful for codes).\n * - 'numeric': Restricts input to numeric characters only.\n */\n inputType?: \"phone\" | \"id\" | \"uppercase\" | \"numeric\";\n}\n\n/**\n * Input component that supports labels, error messages, and integrates with the Theme system.\n *\n * @param {InputProps} props - Props passed to the component.\n * @returns {JSX.Element} The rendered Input component.\n *\n * @example\n * <Input\n * name=\"email\"\n * label=\"Email\"\n * keyboardType=\"email-address\"\n * inputType=\"id\"\n * />\n */\nexport const Input: React.FC<InputProps> = ({\n name,\n label,\n inputType,\n style,\n ...rest\n}) => {\n const { formValues, setFormValue, errors: formErrors } = useFormContext();\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n\n /**\n * Handles text changes in the input field, applying formatting based on the inputType.\n *\n * @param {string} text - The current text input by the user.\n */\n const handleChange = (text: string) => {\n let formattedText = text;\n\n // Apply different formatting based on inputType\n switch (inputType) {\n case \"phone\":\n // Remove all non-digit characters\n formattedText = text.replace(/\\D/g, \"\");\n // Insert hyphens to format as xxx-xxx-xxxx\n if (formattedText.length > 3 && formattedText.length <= 6) {\n formattedText = `${formattedText.slice(0, 3)}-${formattedText.slice(3)}`;\n } else if (formattedText.length > 6) {\n formattedText = `${formattedText.slice(0, 3)}-${formattedText.slice(\n 3,\n 6\n )}-${formattedText.slice(6, 10)}`;\n }\n break;\n case \"id\":\n case \"uppercase\":\n // Convert all input to uppercase\n formattedText = text.toUpperCase();\n break;\n case \"numeric\":\n // Allow only numeric input\n formattedText = text.replace(/\\D/g, \"\");\n break;\n default:\n break;\n }\n\n setFormValue(name, formattedText);\n };\n\n return (\n <View style={styles.container}>\n {/* Label */}\n <Text style={[styles.label, { color: colors.text.hex }]}>{label}</Text>\n\n {/* Input Field */}\n <TextInput\n style={[\n styles.input,\n {\n backgroundColor: colors.body.hex,\n borderColor: formErrors[name] ? colors.error.hex : \"#CCC\",\n color: colors.text.hex,\n },\n style,\n ]}\n value={formValues[name] || \"\"}\n onChangeText={handleChange}\n placeholder={label}\n placeholderTextColor={colors.placeHolder.hex} // Can use a lighter version if needed\n {...rest}\n />\n\n {/* Display errors only if form has been submitted and there are errors */}\n {formErrors[name] && formErrors[name].length > 0 && (\n <ErrorList errors={formErrors[name]} />\n )}\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n marginBottom: 16,\n },\n label: {\n marginBottom: 4,\n fontSize: 14,\n },\n input: {\n height: 40,\n borderWidth: 1,\n borderRadius: 4,\n paddingHorizontal: 8,\n },\n});\n","// src/forms/TextArea.tsx\n\nimport React, { useContext } from 'react';\nimport { TextInput, StyleSheet, View, TextInputProps } from 'react-native';\nimport { useFormContext } from './FormContext';\nimport { Text } from '../fonts/Text'; // Assuming the Text component is exported from fonts\nimport ErrorList from './ErrorList';\nimport { ThemeContext } from 'aport-themes';\n\ninterface TextAreaProps extends TextInputProps {\n name: string;\n label: string;\n errors?: string[]; // Optional prop to directly pass errors\n}\n\nconst TextArea: React.FC<TextAreaProps> = ({ name, label, errors, style, ...rest }) => {\n const { formValues, setFormValue, errors: formErrors } = useFormContext();\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n\n const handleChange = (text: string) => {\n setFormValue(name, text);\n };\n\n return (\n <View style={styles.container}>\n <Text style={[styles.label, {color: colors.text.hex}]}>{label}</Text>\n <TextInput\n style={[\n styles.textArea,\n style,\n {backgroundColor: colors.body.hex, color: colors.text.hex, borderColor: formErrors[name] ? colors.error.hex : \"#CCC\",}\n ]}\n value={formValues[name] || ''}\n onChangeText={handleChange}\n placeholder={label}\n placeholderTextColor={colors.placeHolder.hex} // Can use a lighter version if needed\n multiline\n numberOfLines={4}\n textAlignVertical=\"top\"\n {...rest}\n />\n {/* Display errors only if form has been submitted and there are errors */}\n {formErrors[name] && formErrors[name].length > 0 && (\n <ErrorList errors={formErrors[name]} />\n )}\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n marginBottom: 16,\n },\n label: {\n marginBottom: 4,\n },\n textArea: {\n height: 100,\n borderWidth: 1,\n borderRadius: 4,\n paddingHorizontal: 8,\n paddingVertical: 8,\n },\n});\n\nexport default TextArea;\n","// src/forms/Label.tsx\n\nimport React, { useContext } from 'react';\nimport { StyleSheet } from 'react-native';\nimport { Text } from '../fonts/Text';\nimport { ThemeContext } from 'aport-themes';\n\ninterface LabelProps {\n text: string;\n style?: any;\n}\n\nconst Label: React.FC<LabelProps> = ({ text, style }) => {\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n return <Text style={[styles.label, style, { color: colors.text.hex }]}>{text}</Text>;\n};\n\nconst styles = StyleSheet.create({\n label: {\n marginBottom: 4,\n fontWeight: '500',\n },\n});\n\nexport default Label;\n","import React, { useState, useCallback, useContext } from 'react';\nimport { View, Text, TouchableOpacity, FlatList, StyleSheet, Modal, Pressable, Keyboard } from 'react-native';\nimport { ThemeContext } from \"aport-themes\";\nimport { useFormContext } from '../forms/FormContext';\nimport ErrorList from \"./ErrorList\";\n\ninterface Option {\n id: number | string;\n label: string;\n value: any;\n}\n\ninterface InputListProps {\n name: string;\n /**\n * Placeholder text displayed in the input box when no selection is made.\n * @type {string}\n * @default \"Choose value/s\"\n */\n placeholder?: string;\n \n /**\n * Custom styles for the component.\n * @type {object}\n */\n style?: object;\n\n /**\n * Array of options to display in the dropdown. Each option should have an id, label, and value.\n * @type {Option[]}\n */\n options: Option[];\n\n /**\n * Enables multi-selection mode when true. If enabled, users can select multiple values.\n * @type {boolean}\n * @default false\n */\n multi?: boolean;\n\n /**\n * Disables the dropdown input when true.\n * @type {boolean}\n * @default false\n */\n disabled?: boolean;\n\n /**\n * Key used to sort options in the dropdown (e.g., by 'id', 'label').\n * @type {keyof Option}\n */\n sortBy?: keyof Option;\n\n /**\n * If true, displays a separator line between each option.\n * @type {boolean}\n * @default false\n */\n separator?: boolean;\n\n /**\n * Closes the dropdown if the user scrolls the list.\n * @type {boolean}\n * @default false\n */\n closeOnScroll?: boolean;\n\n /**\n * Closes the dropdown after selecting an item if true (only relevant when multi is false).\n * @type {boolean}\n * @default true\n */\n closeOnSelect?: boolean;\n\n /**\n * Limits the maximum number of items that can be selected when multi is true.\n * Once the limit is reached, the dropdown closes, and no further selections can be made until\n * an item is deselected.\n * @type {number}\n */\n maxSelection?: number;\n\n /**\n * Callback function called when the selection changes. Useful for conditional field enabling.\n * @param {Option | Option[] | null} selection - The updated selection.\n */\n onChange?: (selection: Option | Option[] | null) => void;\n}\n\n/**\n * InputList component - A custom dropdown list component for React Native with multi-selection support,\n * customizable styling, sorting, and configurable close behavior on selection or scrolling.\n *\n * @param {string} placeholder - Placeholder text for the input.\n * @param {object} style - Custom styles for the component.\n * @param {Option[]} options - Array of options to display in the dropdown.\n * @param {boolean} multi - Enables multi-selection mode.\n * @param {boolean} disabled - Disables the dropdown input.\n * @param {keyof Option} sortBy - Key to sort options by (e.g., 'id').\n * @param {boolean} separator - If true, adds a separator line between options.\n * @param {boolean} closeOnScroll - Closes the dropdown if the user scrolls the list.\n * @param {boolean} closeOnSelect - Closes the dropdown on selection in single-select mode.\n * @param {number} maxSelection - Maximum number of items selectable in multi-select mode.\n */\nexport const InputList: React.FC<InputListProps> = ({\n name,\n placeholder = \"Choose value/s\",\n style,\n options,\n multi = false,\n disabled = false,\n sortBy,\n separator = false,\n closeOnScroll = false,\n closeOnSelect = true,\n maxSelection,\n onChange,\n}) => {\n const { formValues, setFormValue, errors: formErrors } = useFormContext();\n const [isDropdownVisible, setIsDropdownVisible] = useState(false);\n \n const selectedOptions = formValues[name] || (multi ? [] : null);\n const sortedOptions = sortBy ? [...options].sort((a, b) => (a[sortBy] > b[sortBy] ? 1 : -1)) : options;\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n\n /**\n * Handles selection of an option. Adds or removes the option from selectedOptions based on\n * multi-selection and maxSelection criteria.\n * @param {Option} option - The selected option object.\n */\n const handleSelectOption = (option: Option) => {\n let updatedSelections;\n\n if (multi) {\n const alreadySelected = selectedOptions.some((opt: Option) => opt.id === option.id);\n updatedSelections = alreadySelected\n ? selectedOptions.filter((opt: Option) => opt.id !== option.id)\n : [...selectedOptions, option];\n\n if (!alreadySelected && maxSelection && updatedSelections.length >= maxSelection) {\n setIsDropdownVisible(false);\n }\n\n setFormValue(name, updatedSelections);\n } else {\n updatedSelections = option;\n setFormValue(name, option);\n if (closeOnSelect) setIsDropdownVisible(false);\n }\n\n // Trigger onChange callback with the updated selection\n if (onChange) {\n onChange(updatedSelections);\n }\n };\n\n\n\n /**\n * Renders selected options as a comma-separated string or the placeholder if none selected.\n * @returns {string} - The display text for selected options or placeholder.\n */\n const renderSelectedText = () => {\n if (multi) return selectedOptions.map((opt: Option) => opt.label).join(', ') || placeholder;\n return selectedOptions?.label || placeholder;\n };\n\n /**\n * Toggles dropdown visibility. Disables toggle if the component is disabled.\n */\n const toggleDropdown = () => {\n if (!disabled) {\n setIsDropdownVisible(!isDropdownVisible);\n if (!isDropdownVisible) Keyboard.dismiss();\n }\n };\n\n /**\n * Closes the dropdown when pressing outside.\n */\n const handleCloseDropdown = useCallback(() => {\n if (isDropdownVisible) setIsDropdownVisible(false);\n }, [isDropdownVisible]);\n\n // Conditionally render item as disabled if max selection reached and item is unselected\n const isItemDisabled = (option: Option) => {\n return (\n multi &&\n maxSelection &&\n selectedOptions.length >= maxSelection &&\n !selectedOptions.some((opt: Option) => opt.id === option.id)\n );\n };\n\n\n return (\n <View style={[styles.container, style]}>\n <Text style={{color: colors.text.hex,marginBottom: 4,\n}}>{name}</Text>\n\n <TouchableOpacity style={[styles.inputContainer,{borderColor: formErrors[name] ? colors.error.hex : \"#CCC\",}]} onPress={toggleDropdown} disabled={disabled}>\n <Text style={{color: colors.text.hex}}>{renderSelectedText()}</Text>\n </TouchableOpacity>\n \n {/* Display errors only if form has been submitted and there are errors */}\n {formErrors[name] && formErrors[name].length > 0 && (\n <ErrorList errors={formErrors[name]} />\n )}\n <Modal visible={isDropdownVisible} transparent animationType=\"fade\">\n <Pressable style={styles.overlay} onPress={handleCloseDropdown} />\n <View style={[styles.dropdownContainer,{backgroundColor: colors.body.hex,\n}]}>\n <FlatList\n data={sortedOptions}\n keyExtractor={(item) => item.id.toString()}\n renderItem={({ item }) => {\nconst isSelected = multi\n ? (selectedOptions as Option[]).some((opt: Option) => opt.id === item.id)\n : selectedOptions?.id === item.id;\n const isDisabled = isItemDisabled(item);\n\n return (\n <TouchableOpacity\n onPress={() => handleSelectOption(item)}\n style={[\n styles.optionItem,\n isSelected ? {backgroundColor: colors.primary.hex} : {},\n isDisabled ? {backgroundColor: colors.placeHolder.hex} : {},\n ]}\n disabled={!!isDisabled} // Ensure disabled prop is a boolean\n >\n <Text style={[isSelected ? {color: colors.body.hex}: {color: colors.text.hex}, isDisabled ? styles.disabledText : {}]}>\n {item.label}\n </Text>\n </TouchableOpacity>\n );\n }}\n ItemSeparatorComponent={() => (separator ? <View style={styles.separator} /> : null)}\n scrollEnabled={!closeOnScroll}\n />\n </View>\n </Modal>\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n container: {marginVertical: 10 },\n inputContainer: { padding: 12, borderWidth: 1, borderRadius: 5 },\n dropdownContainer: {\n position: 'absolute',\n top: '30%', // Center the dropdown vertically\n alignSelf: 'center',\n width: '90%',\n backgroundColor: '#fff',\n borderRadius: 8,\n elevation: 5,\n paddingVertical: 10,\n },\n optionItem: { padding: 12 },\n disabledText: { color: '#999' },\n separator: { height: 1, backgroundColor: '#ddd', marginHorizontal: 8 },\n overlay: { flex: 1, backgroundColor: 'rgba(0,0,0,0.3)' },\n});\n","// src/cards/Card.tsx\n\nimport { ThemeContext } from 'aport-themes';\nimport React, { useContext } from 'react';\nimport {\n View,\n StyleSheet,\n StyleProp,\n ViewStyle,\n Platform,\n TouchableOpacity,\n GestureResponderEvent,\n} from 'react-native';\n\n/**\n * Interface for the props that the Card component accepts.\n */\ninterface CardProps {\n /**\n * Content to be rendered inside the Card.\n */\n children: React.ReactNode;\n\n /**\n * Style to be applied to the Card container.\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Function to call when the Card is pressed.\n */\n onPress?: (event: GestureResponderEvent) => void;\n\n /**\n * Whether the Card is pressable. Defaults to false.\n */\n pressable?: boolean;\n\n /**\n * Border radius of the Card. Defaults to 12.\n */\n borderRadius?: number;\n\n /**\n * Elevation of the Card (Android only).\n */\n elevation?: number;\n\n /**\n * Shadow properties for iOS.\n */\n shadowProps?: {\n shadowColor?: string;\n shadowOffset?: { width: number; height: number };\n shadowOpacity?: number;\n shadowRadius?: number;\n };\n}\n\n/**\n * Card component that adapts its styles based on the current theme.\n * Supports dynamic styling, shadows, and press animations.\n *\n * @param children - The content to be displayed inside the Card.\n * @param style - Additional styles to apply to the Card.\n * @param onPress - Function to execute when the Card is pressed.\n * @param pressable - Determines if the Card is pressable. Defaults to false.\n * @param borderRadius - Border radius of the Card. Defaults to 12.\n * @param elevation - Elevation for Android shadow. Overrides default.\n * @param shadowProps - Custom shadow properties for iOS. Overrides defaults.\n */\nexport const Card: React.FC<CardProps> = ({\n children,\n style,\n onPress,\n pressable = false,\n borderRadius = 12,\n elevation = 4,\n shadowProps = {},\n }) => {\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n \n // Animation state for pressable effect\n // Default shadow styles (improved platform-specific handling)\n const defaultShadow = Platform.select({\n ios: {\n shadowColor: shadowProps?.shadowColor || colors.text.hex, // Defaulting to theme text color\n shadowOffset: shadowProps?.shadowOffset || { width: 0, height: 2 },\n shadowOpacity: shadowProps?.shadowOpacity || 0.1,\n shadowRadius: shadowProps?.shadowRadius || 4,\n },\n android: {\n elevation: elevation, // Only applies to Android\n },\n });\n \n const cardStyles = [\n styles.container,\n { borderRadius, backgroundColor: colors.background.hex },\n defaultShadow, // Dynamic shadows based on platform\n style, // External styles\n ];\n \n return pressable ? (\n <TouchableOpacity\n activeOpacity={0.8}\n onPress={onPress}\n \n style={cardStyles}\n >\n \n {children}\n </TouchableOpacity>\n ) : (\n <View style={cardStyles}>\n {children}\n </View>\n );\n };\n \n const styles = StyleSheet.create({\n container: {\n padding: 16,\n borderRadius: 12,\n // Shadows handled dynamically with platform logic\n },\n });\n\n","import React, { useContext, useState } from \"react\";\nimport { useFormContext } from \"../forms/FormContext\";\nimport { Image, StyleSheet, FlatList } from \"react-native\";\nimport { ThemeContext } from \"aport-themes\";\nimport { Text } from \"../fonts\";\nimport { Card } from \"../cards\";\nimport ErrorList from \"./ErrorList\";\n\ninterface InputCheckProps {\n name: string;\n options: { id: string; label: string; icon?: string; value: string }[]; // Added `value` key\n multi?: boolean; // Allows multiple selection (checkbox behavior)\n max?: number; // Maximum number of selections\n rowAmount?: number; // Number of items per row\n iconPosition?: \"row\" | \"column\"; // Icon and label layout\n disabled?: boolean; // Disable the input\n}\n\nconst InputCheck: React.FC<InputCheckProps> = ({\n name,\n options,\n multi = false,\n max,\n rowAmount = 3,\n iconPosition = \"row\",\n disabled = false,\n}) => {\n const { formValues, setFormValue, errors: formErrors } = useFormContext();\n const [selectedValues, setSelectedValues] = useState<\n { id: string; value: string }[]\n >(formValues[name] || []);\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n\n const handleSelect = (id: string, value: string) => {\n if (disabled) return;\n\n let updatedSelection;\n if (multi) {\n const alreadySelected = selectedValues.find((item) => item.id === id);\n if (alreadySelected) {\n updatedSelection = selectedValues.filter((item) => item.id !== id);\n } else {\n if (max && selectedValues.length >= max) return; // Prevent selection beyond max\n updatedSelection = [...selectedValues, { id, value }];\n }\n } else {\n updatedSelection = [{ id, value }];\n }\n\n setSelectedValues(updatedSelection);\n setFormValue(name, updatedSelection);\n };\n\n const renderItem = ({\n item,\n }: {\n item: { id: string; label: string; icon?: string; value: string };\n }) => {\n const isSelected = selectedValues.some(\n (selected) => selected.id === item.id.toString()\n );\n\n return (\n <Card\n pressable\n onPress={() => handleSelect(item.id.toString(), item.value)}\n style={[\n styles.card,\n isSelected && { backgroundColor: colors.primary.hex }, // Replace with colors.primary.hex if available\n disabled && styles.cardDisabled,\n ]}\n >\n {item.icon && (\n <Image\n source={{ uri: item.icon }}\n style={[\n styles.icon,\n iconPosition === \"column\" && styles.iconColumn,\n ]}\n />\n )}\n <Text\n style={[\n styles.label,\n { color: isSelected ? colors.textButton.hex : colors.text.hex },\n ]}\n >\n {item.label}\n </Text>\n </Card>\n );\n };\n\n return (\n <>\n {/* Display the name as a title */}\n <Text style={styles.title}>{name}</Text>\n \n <FlatList\n data={options}\n renderItem={renderItem}\n keyExtractor={(item) => item.id}\n numColumns={rowAmount}\n columnWrapperStyle={rowAmount > 1 ? styles.row : undefined}\n scrollEnabled={false}\n />\n {formErrors[name] && formErrors[name].length > 0 && (\n <ErrorList errors={formErrors[name]} />\n )}\n </>\n );\n};\n\nexport default InputCheck;\n\nconst styles = StyleSheet.create({\n card: {\n flex: 1,\n margin: 5,\n padding: 10,\n borderWidth: 1,\n borderColor: \"#ccc\",\n borderRadius: 8,\n alignItems: \"center\",\n justifyContent: \"center\",\n },\n title: {\n marginBottom: 4,\n fontSize: 14,\n },\n cardDisabled: {\n opacity: 0.5,\n },\n icon: {\n width: 40,\n height: 40,\n marginBottom: 5,\n },\n iconColumn: {\n marginBottom: 10,\n },\n label: {\n fontSize: 14,\n textAlign: \"center\",\n },\n row: {\n justifyContent: \"space-between\",\n },\n});\n","// src/components/InputAttach.tsx\n\nimport React, { useContext, useState } from \"react\";\nimport { View, TouchableOpacity, Image, StyleSheet, Alert } from \"react-native\";\nimport { useFormContext } from \"./FormContext\";\nimport * as ImagePicker from \"expo-image-picker\";\nimport { Text } from \"../fonts\";\nimport { ThemeContext } from \"aport-themes\";\nimport ErrorList from \"./ErrorList\";\n\ninterface FileData {\n uri: string;\n name: string;\n type: string;\n}\n\ninterface InputAttachProps {\n name: string;\n type?: string[]; // Accepted file types\n amount?: number; // Maximum number of files\n disabled?: boolean; // If the input is pressable\n placeholder?: string; // Placeholder text\n}\n\nconst InputAttach: React.FC<InputAttachProps> = ({\n name,\n type = [\"png\", \"jpg\", \"jpeg\"],\n amount = 1,\n disabled = false,\n placeholder = \"Upload an image\",\n}) => {\n const { setFormValue, errors: formErrors } = useFormContext();\n const [selectedFiles, setSelectedFiles] = useState<FileData[]>([]);\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n\n const pickImage = async () => {\n if (disabled) return;\n\n const permissionResult =\n await ImagePicker.requestMediaLibraryPermissionsAsync();\n if (!permissionResult.granted) {\n Alert.alert(\n \"Permission Required\",\n \"We need access to your photos to upload images.\"\n );\n return;\n }\n\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: [\"images\"], // Updated usage\n allowsEditing: true,\n allowsMultipleSelection: amount > 1,\n quality: 1,\n });\n\n if (!result.canceled) {\n const selectedAssets = result.assets || [result]; // Handle different return formats\n const newFiles: FileData[] = selectedAssets.map((asset) => ({\n uri: asset.uri,\n name: asset.fileName || \"unknown.jpg\",\n type: asset.mimeType || \"image/jpeg\",\n }));\n\n // Validate file types\n const invalidFiles = newFiles.filter(\n (file) => !type.some((ext) => file.name.toLowerCase().endsWith(ext))\n );\n if (invalidFiles.length > 0) {\n Alert.alert(\n \"Invalid File Type\",\n `Please upload files of type: ${type.join(\", \")}`\n );\n return;\n }\n\n // Check max amount\n if (selectedFiles.length + newFiles.length > amount) {\n Alert.alert(\"Limit Exceeded\", `You can upload up to ${amount} files.`);\n return;\n }\n\n const updatedFiles = [...selectedFiles, ...newFiles].slice(0, amount);\n setSelectedFiles(updatedFiles);\n setFormValue(name, updatedFiles); // Update form context\n }\n };\n\n const removeFile = (index: number) => {\n const updatedFiles = selectedFiles.filter((_, i) => i !== index);\n setSelectedFiles(updatedFiles);\n setFormValue(name, updatedFiles); // Update form context\n };\n\n return (\n <View style={styles.container}>\n <Text style={[styles.label, { color: colors.text.hex }]}>\n {placeholder}\n </Text>\n <View style={styles.fileContainer}>\n {selectedFiles.map((file, index) => (\n <View key={index} style={styles.fileItem}>\n <Image source={{ uri: file.uri }} style={styles.imagePreview} />\n <TouchableOpacity\n onPress={() => removeFile(index)}\n style={[\n styles.removeButton,\n { backgroundColor: colors.error.hex },\n ]}\n >\n <Text style={styles.removeButtonText}>X</Text>\n </TouchableOpacity>\n </View>\n ))}\n {selectedFiles.length < amount && (\n <TouchableOpacity\n onPress={pickImage}\n style={[\n styles.addButton,\n {\n backgroundColor: colors.body.hex,\n borderColor: formErrors[name] && colors.error.hex,\n },\n ]}\n disabled={disabled}\n >\n <Text\n style={[styles.addButtonText, { color: colors.placeHolder.hex }]}\n >+</Text>\n </TouchableOpacity>\n )}\n </View>\n {formErrors[name] && formErrors[name].length > 0 && (\n <ErrorList errors={formErrors[name]} />\n )}\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n container: { marginVertical: 10 },\n label: { marginTop: 5 },\n fileContainer: { flexDirection: \"row\", flexWrap: \"wrap\", gap: 10 },\n fileItem: { position: \"relative\", width: 100, height: 100, marginRight: 10 },\n imagePreview: { width: \"100%\", height: \"100%\", borderRadius: 5 },\n removeButton: {\n position: \"absolute\",\n top: 0,\n right: 0,\n width: 20,\n height: 20,\n justifyContent: \"center\",\n alignItems: \"center\",\n borderRadius: 10,\n },\n removeButtonText: { color: \"#fff\", fontWeight: \"bold\" },\n addButton: {\n width: 100,\n height: 100,\n justifyContent: \"center\",\n alignItems: \"center\",\n borderRadius: 5,\n },\n addButtonText: { fontSize: 24 },\n error: { marginTop: 5 },\n});\n\nexport default InputAttach;\n","// src/components/Button.tsx\n\nimport React, { useMemo, useContext } from 'react';\nimport { Text, ViewStyle, StyleSheet, TouchableOpacity, ActivityIndicator } from 'react-native';\nimport { useFormContext } from '../forms';\nimport { ThemeColors, ThemeContext } from 'aport-themes';\n\n/**\n * Interface for the props that the Button component accepts.\n */\ninterface ButtonProps {\n /**\n * If true, the button is disabled and not pressable.\n */\n disabled?: boolean;\n\n /**\n * If true, the button expands to full width of its container.\n */\n isFullWidth?: boolean;\n\n /**\n * Text content of the button.\n */\n children?: string;\n\n /**\n * Function to call when the button is pressed.\n */\n onPress?: () => void;\n\n /**\n * If true, the button has rounded corners.\n */\n rounded?: boolean;\n\n /**\n * Custom border radius value. Overrides the `rounded` prop if provided.\n */\n borderRadius?: number;\n\n /**\n * Specifies the button type for styling. Can be 'submit', 'button', or 'cancel'.\n */\n type?: 'submit' | 'button' | 'cancel';\n\n /**\n * If true, a loading spinner is shown and the button is disabled.\n */\n loading?: boolean;\n}\n\n/**\n * Determines the styles based on the button type and whether it is disabled.\n *\n * @param type - The type of the button ('submit', 'button', 'cancel').\n * @param disabled - Whether the button is disabled.\n * @param themeColors - The theme colors.\n * @returns The computed style for the button.\n */\nfunction typeStyles(\n type?: string,\n disabled?: boolean,\n themeColors?: ThemeColors\n): ViewStyle {\n switch (type) {\n case 'submit':\n return {\n backgroundColor: `rgba(${themeColors?.primary.rgb.r}, ${themeColors?.primary.rgb.g}, ${themeColors?.primary.rgb.b}, ${\n disabled ? 0.5 : 1\n })`,\n borderWidth: 2,\n borderColor: themeColors?.primary.hex,\n };\n case 'button':\n return {\n backgroundColor: themeColors?.primary.hex,\n borderColor: themeColors?.secondary.hex,\n opacity: disabled ? 0.5 : 1,\n borderWidth: 2,\n };\n case 'cancel':\n return {\n backgroundColor: themeColors?.background.hex,\n borderWidth: 0,\n };\n default:\n return {};\n }\n}\n\n/**\n * Button component that adapts its styles based on the current theme.\n * Supports dynamic styling, full-width option, rounded corners, and different types.\n *\n * @param disabled - If true, the button is disabled and not pressable.\n * @param isFullWidth - If true, the button expands to full width of its container.\n * @param children - Text content of the button.\n * @param onPress - Function to call when the button is pressed.\n * @param rounded - If true, the button has rounded corners.\n * @param borderRadius - Custom border radius value. Overrides the `rounded` prop if provided.\n * @param type - Specifies the button type for styling ('submit', 'button', 'cancel').\n */\nexport const Button: React.FC<ButtonProps> = ({\n children,\n disabled = false,\n type = 'button',\n rounded = true,\n borderRadius = 30,\n isFullWidth = false,\n loading = false,\n onPress,\n}) => {\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n const { handleSubmit } = useFormContext();\n\n const computedStyles = useMemo(() => {\n return StyleSheet.flatten([\n styles.button,\n typeStyles(type, disabled, colors),\n rounded && { borderRadius },\n isFullWidth && { width: '100%' },\n (disabled || loading) && styles.disabled,\n ]);\n }, [type, disabled, loading, rounded, borderRadius, isFullWidth, colors]);\n\n const textColor = useMemo(() => {\n return type === \"cancel\" ? { color: colors.text.hex } : { color: colors.textButton.hex };\n }, [type, colors]);\n\n const handlePress = () => {\n if (type === 'submit') {\n handleSubmit(); // Call the form's submit handler\n } else if (onPress) {\n onPress(); // Call a custom handler if needed\n }\n };\n\n\n return (\n <TouchableOpacity\n style={computedStyles as ViewStyle}\n disabled={disabled || loading}\n onPress={handlePress}\n activeOpacity={0.7}\n >\n {loading ? ( // Show loading spinner if loading\n <ActivityIndicator size=\"small\" color={colors.textButton.hex} />\n ) : (\n <Text style={textColor}>\n {Array.isArray(children) ? children.join('').toUpperCase() : children?.toUpperCase()}\n </Text>\n )}\n </TouchableOpacity>\n );\n};\n\nconst styles = StyleSheet.create({\n button: {\n justifyContent: 'center',\n alignItems: 'center',\n paddingVertical: 10,\n paddingHorizontal: 20,\n },\n disabled: {\n opacity: 0.6,\n },\n});\n\n"],"names":["Stepper","_a","steps","currentStep","_b","presseable","onPress","React","createElement","View","style","styles","container","map","label","index","TouchableOpacity","key","stepContainer","activeStep","inactiveStep","disabled","stepCircle","Text","stepLabel","stepText","StyleSheet","create","flexDirection","alignItems","justifyContent","marginBottom","flex","width","height","borderRadius","backgroundColor","color","fontWeight","fontSize","textAlign","FormContext","createContext","undefined","useFormContext","context","useContext","Error","Form","children","onSubmit","stepper","useState","formValues","setFormValues","_c","errors","setErrors","setFormValue","name","value","prev","handleSubmit","__awaiter","validationErrors","sent","Object","keys","length","Provider","step","size","_d","b","_e","i","_f","u","_g","align","_h","type","_j","typeFont","_k","h","theme","ThemeContext","colors","fonts","fontSettings","body","fontFamily","fontStyle","textDecorationLine","textColor","hex","text","textStyles","RNText","ErrorList","error","errorItem","bullet","errorText","marginTop","marginRight","Input","inputType","rest","__rest","formErrors","handleChange","formattedText","replace","concat","slice","toUpperCase","TextInput","__assign","input","borderColor","onChangeText","placeholder","placeholderTextColor","placeHolder","borderWidth","paddingHorizontal","TextArea","textArea","multiline","numberOfLines","textAlignVertical","paddingVertical","Label","InputList","options","multi","sortBy","separator","closeOnScroll","closeOnSelect","maxSelection","onChange","isDropdownVisible","setIsDropdownVisible","selectedOptions","sortedOptions","__spreadArray","sort","a","handleSelectOption","option","updatedSelections","alreadySelected","some","opt","id","filter","renderSelectedText","join","toggleDropdown","Keyboard","dismiss","handleCloseDropdown","useCallback","isItemDisabled","inputContainer","Modal","visible","transparent","animationType","Pressable","overlay","dropdownContainer","FlatList","data","keyExtractor","item","toString","renderItem","isSelected","isDisabled","optionItem","primary","disabledText","ItemSeparatorComponent","scrollEnabled","marginVertical","padding","position","top","alignSelf","elevation","marginHorizontal","Card","pressable","shadowProps","defaultShadow","Platform","select","ios","shadowColor","shadowOffset","shadowOpacity","shadowRadius","android","cardStyles","background","activeOpacity","InputCheck","max","rowAmount","iconPosition","selectedValues","setSelectedValues","handleSelect","updatedSelection","find","selected","card","cardDisabled","icon","Image","source","uri","iconColumn","textButton","Fragment","title","numColumns","columnWrapperStyle","row","margin","opacity","InputAttach","amount","selectedFiles","setSelectedFiles","pickImage","ImagePicker","requestMediaLibraryPermissionsAsync","permissionResult","granted","Alert","alert","launchImageLibraryAsync","mediaTypes","allowsEditing","allowsMultipleSelection","quality","result","canceled","selectedAssets","assets","newFiles","asset","fileName","mimeType","invalidFiles","file","ext","toLowerCase","endsWith","updatedFiles","removeFile","_","fileContainer","fileItem","imagePreview","removeButton","removeButtonText","addButton","addButtonText","flexWrap","gap","right","typeStyles","themeColors","rgb","r","g","secondary","Button","rounded","isFullWidth","loading","computedStyles","useMemo","flatten","button","handlePress","ActivityIndicator","Array","isArray"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAeA;AACO,IAAI,QAAQ,GAAG,WAAW;AACjC,IAAI,QAAQ,GAAG,MAAM,CAAC,MAAM,IAAI,SAAS,QAAQ,CAAC,CAAC,EAAE;AACrD,QAAQ,KAAK,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GA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