aport-tools 4.4.3 → 4.4.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/forms/FormContext.d.ts +108 -3
- package/dist/forms/Stepper.d.ts +41 -0
- package/dist/index.esm.js +56 -14
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +56 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../node_modules/tslib/tslib.es6.js","../src/fonts/Text.tsx","../src/forms/Stepper.tsx","../src/forms/FormContext.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/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","import { ThemeContext } from \"aport-themes\";\nimport React, { useContext } from \"react\";\nimport {\n View,\n StyleSheet,\n Animated,\n TouchableOpacity,\n Image,\n} from \"react-native\";\nimport { Text } from \"../fonts\";\n\ninterface StepperProps {\n steps?: string[]; // Labels for steps (optional)\n currentStep: number; // Current step index (e.g., 0 for step 1)\n presseable?: boolean; // Whether steps are clickable\n onPress?: (stepIndex: number) => void; // Function for handling step clicks\n stepStyle?: \"circular\" | \"square\"; // Shape of the step indicator\n totalSteps: number; // Total number of steps\n stepType?: \"number\" | \"icon\" | \"empty\"; // New step type\n icon?: React.ReactNode | React.ReactNode[]; // Icon(s) for the step\n}\n\nconst Stepper: React.FC<StepperProps> = ({\n steps,\n currentStep,\n presseable = false,\n onPress,\n stepStyle = \"circular\",\n totalSteps,\n stepType = \"number\",\n icon,\n}) => {\n const progressAnim = React.useRef(new Animated.Value(0)).current;\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n\n React.useEffect(() => {\n Animated.timing(progressAnim, {\n toValue: currentStep,\n duration: 300,\n useNativeDriver: false,\n }).start();\n }, [currentStep]);\n\n React.useEffect(() => {\n if (stepType === \"icon\") {\n if (!icon) {\n console.error(\"Stepper: `icon` is required when stepType is 'icon'.\");\n } else if (Array.isArray(icon) && icon.length !== totalSteps) {\n console.error(\n `Stepper: Number of icons (${icon.length}) must match totalSteps (${totalSteps}).`\n );\n }\n }\n }, [stepType, icon, totalSteps]);\n\n const getSeparatorWidth = (index: number): `${number}%` => {\n if (currentStep > index && currentStep < index + 1) {\n // Return the fractional percentage for odd steps\n return `${((currentStep - index) * 100).toFixed(0)}%` as `${number}%`;\n }\n return currentStep > index ? \"100%\" : \"0%\";\n };\n\n const renderStepContent = (index: number) => {\n switch (stepType) {\n case \"icon\":\n if (Array.isArray(icon)) {\n const stepIcon = icon[index];\n if (typeof stepIcon === \"string\") {\n return (\n <Image\n source={{ uri: stepIcon }}\n style={{ width: 24, height: 24 }}\n resizeMode=\"contain\"\n />\n );\n } else {\n console.error(\n `Invalid icon value for step ${index}. Expected a string URI.`\n );\n return null;\n }\n }\n if (typeof icon === \"string\") {\n return (\n <Image\n source={{ uri: icon }}\n style={{ width: 24, height: 24 }}\n resizeMode=\"contain\"\n />\n );\n }\n console.error(\"Icon prop must be a string or an array of strings.\");\n return null;\n\n case \"empty\":\n return null;\n\n case \"number\":\n default:\n return (\n <Text style={{ fontSize: 16, fontWeight: \"bold\" }}>{index + 1}</Text>\n );\n }\n };\n\n return (\n <View style={styles.container}>\n {Array.from({ length: totalSteps }, (_, index) => (\n <React.Fragment key={index}>\n <TouchableOpacity\n style={[styles.stepContainer, presseable && { cursor: \"pointer\" }]}\n disabled={!presseable}\n onPress={() => onPress && onPress(index)}\n >\n <View\n style={[\n styles.step,\n stepStyle === \"square\" && styles.squareStep,\n currentStep >= index && { backgroundColor: colors.primary.hex },\n { backgroundColor: colors.body.hex },\n ]}\n >\n {renderStepContent(index)}\n </View>\n {steps && <Text style={styles.stepText}>{steps[index]}</Text>}\n </TouchableOpacity>\n {index < totalSteps - 1 && (\n <View style={styles.separatorContainer}>\n <View style={styles.separatorBackground} />\n <Animated.View\n style={[\n styles.separatorProgress,\n {\n width: getSeparatorWidth(index),\n backgroundColor: colors.primary.hex,\n },\n ]}\n />\n </View>\n )}\n </React.Fragment>\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 step: {\n width: 30,\n height: 30,\n borderRadius: 15, // Default to circular\n alignItems: \"center\",\n justifyContent: \"center\",\n marginBottom: 4,\n },\n squareStep: {\n borderRadius: 5, // Square shape\n },\n stepLabel: {\n color: \"#ffffff\",\n fontWeight: \"bold\",\n },\n stepText: {\n fontSize: 12,\n textAlign: \"center\",\n marginTop: 4,\n },\n separatorContainer: {\n flex: 1,\n height: 4,\n marginHorizontal: 8,\n position: \"relative\",\n },\n separatorBackground: {\n position: \"absolute\",\n width: \"100%\",\n height: \"100%\",\n backgroundColor: \"#aaaaaa\",\n borderRadius: 2,\n },\n separatorProgress: {\n position: \"absolute\",\n height: \"100%\",\n borderRadius: 2,\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 totalSteps: number;\n stepType?: \"number\" | \"icon\" | \"empty\"; // New step type\n icon?: React.ReactNode | React.ReactNode[]; // Icon(s) for the step\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 totalSteps={stepper.totalSteps}\n stepType={stepper.stepType}\n icon={stepper.icon}\n />\n )}\n {children}\n </FormContext.Provider>\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":["Text","_a","children","_c","size","_d","b","_e","i","_f","u","_g","align","_h","type","_j","typeFont","_k","h","style","theme","useContext","ThemeContext","colors","fonts","fontSettings","body","fontFamily","fontSize","fontWeight","fontStyle","textDecorationLine","textAlign","textColor","_b","hex","text","textStyles","color","React","createElement","RNText","StyleSheet","create","Stepper","steps","currentStep","presseable","onPress","stepStyle","totalSteps","stepType","icon","progressAnim","useRef","Animated","Value","current","useEffect","timing","toValue","duration","useNativeDriver","start","console","error","Array","isArray","length","concat","getSeparatorWidth","index","toFixed","renderStepContent","stepIcon","Image","source","uri","width","height","resizeMode","View","styles","container","from","_","Fragment","key","TouchableOpacity","stepContainer","cursor","disabled","step","squareStep","backgroundColor","primary","stepText","separatorContainer","separatorBackground","separatorProgress","flexDirection","alignItems","justifyContent","marginBottom","flex","borderRadius","stepLabel","marginTop","marginHorizontal","position","FormContext","createContext","undefined","useFormContext","context","Error","Form","onSubmit","stepper","useState","formValues","setFormValues","errors","setErrors","setFormValue","name","value","prev","handleSubmit","__awaiter","validationErrors","sent","Object","keys","Provider","ErrorList","map","errorItem","bullet","errorText","marginRight","Input","label","inputType","rest","__rest","formErrors","handleChange","formattedText","replace","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","disabledText","ItemSeparatorComponent","scrollEnabled","marginVertical","padding","top","alignSelf","elevation","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","iconColumn","textButton","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"],"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,CAAC,CAAC,CAAC,CAAC,CAAC;AACzF,SAAS;AACT,QAAQ,OAAO,CAAC,CAAC;AACjB,MAAK;AACL,IAAI,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AAC3C,EAAC;AACD;AACO,SAAS,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE;AAC7B,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;AACf,IAAI,KAAK,IAAI,CAAC,I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AAO,CAACjE,QAAQ,CAAC,GAAGA,QAAQ,CAACgM,IAAI,CAAC,EAAE,CAAC,CAAC3C,WAAW,EAAE,GAAGrJ,QAAQ,KAAA,IAAA,IAARA,QAAQ,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAARA,QAAQ,CAAEqJ,WAAW,EAAE,CAC/E,CACR,CACgB,CAAA;AAEvB,EAAC;AAED,IAAMrE,MAAM,GAAGxC,sBAAU,CAACC,MAAM,CAAC;AAC/BgR,EAAAA,MAAM,EAAE;AACNrN,IAAAA,cAAc,EAAE,QAAQ;AACxBD,IAAAA,UAAU,EAAE,QAAQ;AACpBkE,IAAAA,eAAe,EAAE,EAAE;AACnBN,IAAAA,iBAAiB,EAAE,EAAA;GACpB;AACDtE,EAAAA,QAAQ,EAAE;AACRyK,IAAAA,OAAO,EAAE,GAAA;AACV,GAAA;AACF,CAAA,CAAC;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.js","sources":["../node_modules/tslib/tslib.es6.js","../src/fonts/Text.tsx","../src/forms/Stepper.tsx","../src/forms/FormContext.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/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","import { ThemeContext } from \"aport-themes\";\nimport React, { useContext } from \"react\";\nimport {\n View,\n StyleSheet,\n Animated,\n TouchableOpacity,\n Image,\n} from \"react-native\";\nimport { Text } from \"../fonts\";\nimport { useFormContext } from \"./FormContext\";\n\ninterface StepperProps {\n /**\n * Labels for each step (optional). If provided, these labels will display below each step indicator.\n * Example: ['Step 1', 'Step 2', 'Step 3']\n */\n steps?: string[];\n\n /**\n * Current step index (e.g., 0 for step 1, 1 for step 2).\n * Determines the active step and progress display.\n */\n currentStep: number;\n\n /**\n * Enables or disables the ability to click on a step to navigate to it.\n * Default is `false`.\n */\n presseable?: boolean;\n\n /**\n * Callback function that gets triggered when a step is clicked.\n * Passes the index of the clicked step as an argument.\n * Example: (stepIndex) => console.log(`Step ${stepIndex} clicked!`)\n */\n onPress?: (stepIndex: number) => void;\n\n /**\n * Determines the shape of the step indicator.\n * Options: \n * - `'circular'` (default)\n * - `'square'`\n */\n stepStyle?: \"circular\" | \"square\";\n\n /**\n * Total number of steps in the stepper.\n * Must be greater than or equal to 1.\n */\n totalSteps: number;\n\n /**\n * Type of content displayed inside the step indicator.\n * Options:\n * - `'number'` (default): Displays the step index (e.g., 1, 2, 3).\n * - `'icon'`: Displays a custom icon (requires the `icon` prop).\n * - `'empty'`: Displays no content inside the step indicator.\n */\n stepType?: \"number\" | \"icon\" | \"empty\";\n\n /**\n * Custom icon(s) to display inside step indicators when `stepType` is set to `'icon'`.\n * Accepts:\n * - A single icon for all steps (ReactNode or string URI).\n * - An array of icons (ReactNode[] or string[]), one for each step.\n * Example: ['https://example.com/icon1.png', 'https://example.com/icon2.png']\n */\n icon?: React.ReactNode | React.ReactNode[];\n}\n\nconst Stepper: React.FC<StepperProps> = ({\n steps,\n currentStep,\n presseable = false,\n onPress,\n stepStyle = \"circular\",\n totalSteps,\n stepType = \"number\",\n icon,\n}) => {\n const progressAnim = React.useRef(new Animated.Value(0)).current;\n const { theme } = useContext(ThemeContext);\n const { colors } = theme;\n const { formValues, handleFormSubmit } = useFormContext();\n\n const handleStepPress = async (stepIndex: number) => {\n if (!presseable || stepIndex === currentStep) return;\n\n // Validate current step\n const errors = await handleFormSubmit(formValues);\n if (Object.keys(errors).length > 0) {\n console.log(\"Validation failed. Cannot proceed to step\", stepIndex);\n return; // Prevent step change\n }\n\n // Proceed to change step\n onPress?.(stepIndex);\n };\n\n React.useEffect(() => {\n Animated.timing(progressAnim, {\n toValue: currentStep,\n duration: 300,\n useNativeDriver: false,\n }).start();\n }, [currentStep]);\n\n React.useEffect(() => {\n if (stepType === \"icon\") {\n if (!icon) {\n console.error(\"Stepper: `icon` is required when stepType is 'icon'.\");\n } else if (Array.isArray(icon) && icon.length !== totalSteps) {\n console.error(\n `Stepper: Number of icons (${icon.length}) must match totalSteps (${totalSteps}).`\n );\n }\n }\n }, [stepType, icon, totalSteps]);\n\n const getSeparatorWidth = (index: number): `${number}%` => {\n if (currentStep > index && currentStep < index + 1) {\n // Return the fractional percentage for odd steps\n return `${((currentStep - index) * 100).toFixed(0)}%` as `${number}%`;\n }\n return currentStep > index ? \"100%\" : \"0%\";\n };\n\n const renderStepContent = (index: number) => {\n switch (stepType) {\n case \"icon\":\n if (Array.isArray(icon)) {\n const stepIcon = icon[index];\n if (typeof stepIcon === \"string\") {\n return (\n <Image\n source={{ uri: stepIcon }}\n style={{ width: 24, height: 24 }}\n resizeMode=\"contain\"\n />\n );\n } else {\n console.error(\n `Invalid icon value for step ${index}. Expected a string URI.`\n );\n return null;\n }\n }\n if (typeof icon === \"string\") {\n return (\n <Image\n source={{ uri: icon }}\n style={{ width: 24, height: 24 }}\n resizeMode=\"contain\"\n />\n );\n }\n console.error(\"Icon prop must be a string or an array of strings.\");\n return null;\n\n case \"empty\":\n return null;\n\n case \"number\":\n default:\n return (\n <Text b typeFont=\"primary\" style={[\n currentStep >= index ? { color: colors.textButton.hex } : { color: colors.text.hex },\n ]}>{index + 1}</Text>\n );\n }\n };\n\n return (\n <View style={styles.container}>\n {Array.from({ length: totalSteps }, (_, index) => (\n <React.Fragment key={index}>\n <TouchableOpacity\n style={[styles.stepContainer, presseable && { cursor: \"pointer\" }]}\n disabled={!presseable}\n onPress={() => handleStepPress(index)}\n >\n <View\n style={[\n styles.step,\n stepStyle === \"square\" && styles.squareStep,\n {\n backgroundColor:\n currentStep >= index ? colors.primary.hex : colors.body.hex,\n },\n ]}\n >\n {renderStepContent(index)}\n </View>\n {steps && <Text style={styles.stepText}>{steps[index]}</Text>}\n </TouchableOpacity>\n {index < totalSteps - 1 && (\n <View style={styles.separatorContainer}>\n <View style={styles.separatorBackground} />\n <Animated.View\n style={[\n styles.separatorProgress,\n {\n width: getSeparatorWidth(index),\n backgroundColor: colors.primary.hex,\n },\n ]}\n />\n </View>\n )}\n </React.Fragment>\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 step: {\n width: 30,\n height: 30,\n borderRadius: 15, // Default to circular\n alignItems: \"center\",\n justifyContent: \"center\",\n marginBottom: 4,\n },\n squareStep: {\n borderRadius: 5, // Square shape\n },\n stepLabel: {\n color: \"#ffffff\",\n fontWeight: \"bold\",\n },\n stepText: {\n fontSize: 12,\n textAlign: \"center\",\n marginTop: 4,\n },\n separatorContainer: {\n flex: 1,\n height: 4,\n marginHorizontal: 8,\n position: \"relative\",\n },\n separatorBackground: {\n position: \"absolute\",\n width: \"100%\",\n height: \"100%\",\n backgroundColor: \"#aaaaaa\",\n borderRadius: 2,\n },\n separatorProgress: {\n position: \"absolute\",\n height: \"100%\",\n borderRadius: 2,\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 /**\n * Stores the current form values as an object.\n * Each key is a form field name and each value is the current value of that field.\n * Example:\n * ```ts\n * formValues = { name: \"John\", email: \"john@example.com\" };\n * ```\n */\n formValues: Record<string, any>;\n\n /**\n * A function to update a specific form field value.\n * It takes the `name` of the form field and the new `value` to be set.\n * Example usage:\n * ```ts\n * setFormValue('email', 'newemail@example.com');\n * ```\n */\n setFormValue: (name: string, value: any) => void;\n\n /**\n * Stores the current form errors as an object.\n * Each key is a form field name and the value is an array of error messages for that field.\n * Example:\n * ```ts\n * errors = { email: ['Email is required', 'Invalid email format'] };\n * ```\n */\n errors: Record<string, string[]>;\n\n /**\n * A function to update the errors for all form fields.\n * It takes an object where each key is a form field name and the value is an array of error messages for that field.\n * Example usage:\n * ```ts\n * setErrors({ email: ['Email is required', 'Invalid email format'] });\n * ```\n */\n setErrors: (errors: Record<string, string[]>) => void;\n\n /**\n * A function to trigger the form submission.\n * It will invoke the `onSubmit` handler and handle form validation errors.\n * Typically, this function would call `onSubmit` and handle errors by updating the `errors` state.\n */\n handleSubmit: () => void;\n\n handleFormSubmit: (formValues: Record<string, any>) => Promise<Record<string, string[]>>;\n\n}\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 /**\n * Labels for each step (optional). If provided, these labels will display below each step indicator.\n * Example: ['Step 1', 'Step 2', 'Step 3']\n */\n steps?: string[];\n\n /**\n * Current step index (e.g., 0 for step 1, 1 for step 2).\n * Determines the active step and progress display.\n */\n currentStep: number;\n\n /**\n * Enables or disables the ability to click on a step to navigate to it.\n * Default is `false`.\n */\n presseable?: boolean;\n\n /**\n * Callback function that gets triggered when a step is clicked.\n * Passes the index of the clicked step as an argument.\n * Example: (stepIndex) => console.log(`Step ${stepIndex} clicked!`)\n */\n onPress?: (stepIndex: number) => void;\n\n /**\n * Determines the shape of the step indicator.\n * Options: \n * - `'circular'` (default)\n * - `'square'`\n */\n stepStyle?: \"circular\" | \"square\";\n\n /**\n * Total number of steps in the stepper.\n * Must be greater than or equal to 1.\n */\n totalSteps: number;\n\n /**\n * Type of content displayed inside the step indicator.\n * Options:\n * - `'number'` (default): Displays the step index (e.g., 1, 2, 3).\n * - `'icon'`: Displays a custom icon (requires the `icon` prop).\n * - `'empty'`: Displays no content inside the step indicator.\n */\n stepType?: \"number\" | \"icon\" | \"empty\";\n\n /**\n * Custom icon(s) to display inside step indicators when `stepType` is set to `'icon'`.\n * Accepts:\n * - A single icon for all steps (ReactNode or string URI).\n * - An array of icons (ReactNode[] or string[]), one for each step.\n * Example: ['https://example.com/icon1.png', 'https://example.com/icon2.png']\n */\n icon?: React.ReactNode | React.ReactNode[];\n}\n\ninterface FormProps {\n /**\n * The children elements to render inside the form.\n * Typically this will be form fields or custom form components.\n * This prop is required and must be passed as ReactNode(s).\n */\n children: React.ReactNode;\n\n /**\n * The callback function to handle form submission.\n * It receives the form values as an object (`values`) and must return a promise \n * that resolves to an object containing errors for the form fields.\n * Example: \n * ```ts\n * const onSubmit = async (values: Record<string, any>) => {\n * // handle the submission and return errors if any\n * return { fieldName: ['Error message'] };\n * }\n * ```\n * The return value should be an object where the keys are form field names \n * and the values are arrays of error messages for those fields.\n */\n onSubmit: (values: Record<string, any>) => Promise<Record<string, string[]>>;\n\n /**\n * Optional stepper configuration for the form.\n * If provided, it will integrate a stepper component to display form steps.\n * This is an optional prop, so the form can be used without it.\n * The `StepperProps` interface will define the expected props for the stepper.\n */\n stepper?: StepperProps; // Add stepper prop (optional)\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 const handleFormSubmit = async (formValues: Record<string, any>) => {\n const validationErrors = await onSubmit(formValues);\n setErrors(validationErrors);\n return validationErrors;\n };\n\n\n return (\n <FormContext.Provider value={{ formValues, setFormValue, errors, setErrors, handleSubmit, handleFormSubmit }}>\n {stepper && (\n <Stepper\n steps={stepper.steps}\n currentStep={stepper.currentStep}\n presseable={stepper.presseable}\n onPress={stepper.onPress}\n totalSteps={stepper.totalSteps}\n stepType={stepper.stepType}\n icon={stepper.icon}\n stepStyle={stepper.stepStyle}\n />\n )}\n {children}\n </FormContext.Provider>\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":["Text","_a","children","_c","size","_d","b","_e","i","_f","u","_g","align","_h","type","_j","typeFont","_k","h","style","theme","useContext","ThemeContext","colors","fonts","fontSettings","body","fontFamily","fontSize","fontWeight","fontStyle","textDecorationLine","textAlign","textColor","_b","hex","text","textStyles","color","React","createElement","RNText","StyleSheet","create","Stepper","steps","currentStep","presseable","onPress","stepStyle","totalSteps","stepType","icon","progressAnim","useRef","Animated","Value","current","useFormContext","formValues","handleFormSubmit","handleStepPress","stepIndex","__awaiter","errors","sent","Object","keys","length","console","log","useEffect","timing","toValue","duration","useNativeDriver","start","error","Array","isArray","concat","getSeparatorWidth","index","toFixed","renderStepContent","stepIcon","Image","source","uri","width","height","resizeMode","textButton","View","styles","container","from","_","Fragment","key","TouchableOpacity","stepContainer","cursor","disabled","step","squareStep","backgroundColor","primary","stepText","separatorContainer","separatorBackground","separatorProgress","flexDirection","alignItems","justifyContent","marginBottom","flex","borderRadius","stepLabel","marginTop","marginHorizontal","position","FormContext","createContext","undefined","context","Error","Form","onSubmit","stepper","useState","setFormValues","setErrors","setFormValue","name","value","prev","handleSubmit","validationErrors","Provider","ErrorList","map","errorItem","bullet","errorText","marginRight","Input","label","inputType","rest","__rest","formErrors","handleChange","formattedText","replace","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","disabledText","ItemSeparatorComponent","scrollEnabled","marginVertical","padding","top","alignSelf","elevation","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","iconColumn","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"],"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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