@yomotech/view-toolkit 1.0.37 → 1.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/yomotech-view-toolkit-catalog.mjs +674 -0
- package/fesm2022/yomotech-view-toolkit-catalog.mjs.map +1 -0
- package/fesm2022/yomotech-view-toolkit.mjs +5767 -3195
- package/fesm2022/yomotech-view-toolkit.mjs.map +1 -1
- package/package.json +5 -1
- package/types/yomotech-view-toolkit-catalog.d.ts +216 -0
- package/types/yomotech-view-toolkit.d.ts +765 -57
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"yomotech-view-toolkit-catalog.mjs","sources":["../../../projects/view-toolkit/catalog/src/field-catalog.ts","../../../projects/view-toolkit/catalog/src/test-flow.ts","../../../projects/view-toolkit/catalog/src/public-api.ts","../../../projects/view-toolkit/catalog/src/yomotech-view-toolkit-catalog.ts"],"sourcesContent":["// Faramarz Yousefian and Agent Toni (Claude Opus 5.5) 2026-10-18\r\n// - new: the period - type dateRange (stored [from, to]) with its control dateRangepicker, the date\r\n// keyboard, placeholder and the date display settings (#166 E4)\r\n// Faramarz Yousefian and Agent Toni (Claude Opus 5.5) 2026-10-17\r\n// - new: the field catalog - the ONE place that says which controls exist, which data they fit,\r\n// which settings they offer, how dates/times/decimals/currencies are encoded and how a field\r\n// layout is checked. The Designer, the renderer, the AI contract (capabilities.json, schemas,\r\n// validator, prompt) are to read it from here instead of keeping their own copies (CONTROLS-PLAN.md,\r\n// step 1, #165).\r\n// Taken over unchanged from the Designer's field-settings.ts (shuaib, the most complete rules so\r\n// far) - so the Designer behaves exactly as before once it reads them from here - plus:\r\n// - basicType: the aliases of the data types (image -> media, checkbox -> boolean, date&time ->\r\n// datetime, decimal -> bigdecimal), from the developer's field-policy.ts (12248aef, reverted)\r\n// - placeholder for every control a value is typed or chosen in (before: textInput, textArea,\r\n// password, dropdown, combobox only)\r\n// - the keyboard: option.keyboardType per field (string, alpha, numeric, email, date, time; native\r\n// or none keep the system keyboard); without one the control's default, then the data type's\r\n// It only describes and checks; nothing renders from it yet (step 2).\r\n// - change 2026-10-18: effectiveControl - the control the app really uses when option.control is\r\n// missing (most fields of TM, Paperfeed, Luv2shop, Hotel): the old switches (password, email,\r\n// timeOnly), DTO types that are a control themselves (dropdown, creditCard, quantity), then the\r\n// data type. A date with its own pattern (format \"yy-mm-dd\") stays a date. The old option.keyboard\r\n// counts when keyboardType is missing (#166)\r\n\r\n/** Pure policy shared by inspectors and layout validation. No DTO mutation. */\r\nexport type Bag = Record<string, any>;\r\nexport interface Setting { key: string; label: string; kind: 'text' | 'number' | 'select' | 'json'; values?: string[]; hint?: string; }\r\nexport const clone = <T>(value: T): T => JSON.parse(JSON.stringify(value));\r\nconst own = (o: Bag, k: string) => Object.prototype.hasOwnProperty.call(o, k);\r\nexport function resolveProperty(root: Bag | any, reference: string): Bag {\r\n const parts = (reference || '').replace(/^#\\/?/, '').split('/').filter(Boolean).map(p => p.replace(/~1/g, '/').replace(/~0/g, '~'));\r\n let node: any = root;\r\n for (const part of parts) node = node?.[part] ?? node?.properties?.[part];\r\n if (node?.type) return node;\r\n const name = parts[parts.length - 1];\r\n const objectName: any = parts.find(p => p !== 'properties');\r\n return root?.[objectName]?.[name] ?? root?.[objectName]?.properties?.[name] ?? root?.properties?.[name] ?? {};\r\n}\r\nexport function normalizeFormat(value: string): string {\r\n return ({ date: 'iso-date', time: 'iso-time', 'date-time': 'iso-datetime', datetime: 'iso-datetime', 'date&time': 'iso-datetime', bigdecimal: 'decimal' } as Bag)[String(value).toLowerCase()] || value || '';\r\n}\r\nexport function baseType(schema: Bag | any, fallback: string): string {\r\n const t = String(schema.type || fallback || '').toLowerCase();\r\n if (t === 'dropdown') return 'string';\r\n if (t === 'quantity') return 'integer';\r\n return ['date', 'time', 'datetime', 'date-time', 'date&time'].includes(t) ? 'string' : ['decimal', 'bigdecimal'].includes(t) ? 'string' : t;\r\n}\r\nexport function effectiveFormat(schema: Bag | any, fallback: string, data: Bag | any): string {\r\n const semantic = String(schema.type || fallback || '').toLowerCase();\r\n const temporal = ['date', 'time', 'datetime', 'date-time', 'date&time', 'decimal', 'bigdecimal'].includes(semantic);\r\n const declared = normalizeFormat(schema.format || data.format || '');\r\n // A date with its own display pattern (format \"yy-mm-dd\") is still a date.\r\n if (temporal && declared && !(DATA_FORMATS as readonly string[]).includes(declared)) return normalizeFormat(semantic);\r\n return declared || (temporal ? normalizeFormat(semantic) : '');\r\n}\r\nexport function rulesFor(schema: Bag | any, data: Bag | any): Bag {\r\n // The document's array enum is an item enum, unlike JSON Schema's whole-array enum.\r\n const source = schema.type === 'array' ? { ...schema, enum: schema.items?.enum } : schema;\r\n const rules = { ...(data.validation || {}) };\r\n for (const k of ['enum', 'pattern', 'minLength', 'maxLength', 'minimum', 'maximum', 'multipleOf', 'minItems', 'maxItems', 'uniqueItems']) {\r\n if (source[k] !== undefined) rules[k] = source[k];\r\n }\r\n return rules;\r\n}\r\nexport function controlsFor(schema: Bag, fallback: string, option: Bag | any): { value: string; label: string }[] {\r\n const d = option.fieldData || {}, t = baseType(schema, fallback), f = effectiveFormat(schema, fallback, d), r: any = rulesFor(schema, d);\r\n let values: string[] = [];\r\n const declared = String(schema[\"type\"] || fallback || '').toLowerCase();\r\n if (declared === 'creditcard') values = ['creditCard'];\r\n else if (declared === 'quantity') values = ['quantity', 'spinner', 'textInput'];\r\n else if (declared === 'dropdown') values = ['dropdown', 'combobox', 'autocomplete', 'radiobutton'];\r\n // a period from - to, stored as the pair [from, to] (#166 E4)\r\n else if (declared === 'daterange') values = ['dateRangepicker'];\r\n else if (f === 'flag' || t === 'boolean') values = ['checkbox', 'switch', 'radiobutton'];\r\n else if (f === 'iso-date') values = ['datepicker', 'textInput'];\r\n else if (f === 'iso-time') values = ['timepicker', 'textInput'];\r\n else if (f === 'iso-datetime') values = ['dateTimepicker', 'textInput'];\r\n else if (f === 'decimal') values = ['textInput', 'spinner'];\r\n else if (t === 'array') values = ['picklist', 'multiselect'];\r\n else if (r.enum) values = ['dropdown', 'radiobutton', 'combobox', 'autocomplete'];\r\n else if (t === 'string') values = ['textInput', 'textArea', 'password', 'combobox', 'autocomplete', 'email'];\r\n else if (t === 'integer' || t === 'number') values = ['textInput', 'spinner', 'slider'];\r\n if (values.length) values.push('output');\r\n const labels: Bag = { textInput: 'Text field', textArea: 'Text area', dateTimepicker: 'Date and time picker', dateRangepicker: 'Date range picker', radiobutton: 'Radio buttons', datepicker: 'Date picker', timepicker: 'Time picker', output: 'Read-only output', creditCard: 'Credit card', quantity: 'Quantity' };\r\n return values.map(value => ({ value, label: labels[value] || value[0].toUpperCase() + value.slice(1) }));\r\n}\r\nexport const canonicalControl = (c: string) => ({ textfield: 'textInput', textarea: 'textArea', radioButton: 'radiobutton', datetimepicker: 'dateTimepicker', daterangepicker: 'dateRangepicker', date: 'datepicker', time: 'timepicker' } as Bag)[c] || c;\r\n\r\n// ---------------------------------------------------------------------------------------------\r\n// Data types, controls, placeholder and keyboard\r\n// ---------------------------------------------------------------------------------------------\r\n\r\n/** The data types of a property after its aliases. */\r\nexport const BASIC_TYPES = ['string', 'number', 'integer', 'bigdecimal', 'boolean', 'date', 'time', 'datetime', 'dateRange', 'media', 'array'] as const;\r\n\r\n/** Older or other names of a data type and the type they mean. */\r\nexport const TYPE_ALIASES: Bag = { daterange: 'dateRange', image: 'media', checkbox: 'boolean', 'date-time': 'datetime', 'date&time': 'datetime', decimal: 'bigdecimal' };\r\n\r\n/** The data type of a property, aliases resolved (\"image\" -> \"media\"). */\r\nexport function basicType(property: Bag | any): string {\r\n const value = String(property?.type || 'string').toLowerCase();\r\n return TYPE_ALIASES[value] || value;\r\n}\r\n\r\n/** Every control the Designer offers (option.control), with the name it is shown under. */\r\nexport const CONTROLS: Bag = {\r\n textInput: 'Text field', textArea: 'Text area', password: 'Password', email: 'Email',\r\n combobox: 'Combobox', autocomplete: 'Autocomplete', dropdown: 'Dropdown',\r\n checkbox: 'Checkbox', switch: 'Switch', radiobutton: 'Radio buttons',\r\n spinner: 'Spinner', slider: 'Slider',\r\n datepicker: 'Date picker', timepicker: 'Time picker', dateTimepicker: 'Date and time picker',\r\n dateRangepicker: 'Date range picker',\r\n picklist: 'Picklist', multiselect: 'Multiselect', output: 'Read-only output',\r\n creditCard: 'Credit card', quantity: 'Quantity',\r\n};\r\n\r\n/** DTO types that name their control themselves (older projects). */\r\nexport const CONTROL_TYPES: Bag = { dropdown: 'dropdown', creditcard: 'creditCard', quantity: 'quantity' };\r\n\r\n/**\r\n * The control a field is shown with: option.control; without one what the app uses - an old switch\r\n * (password, email, timeOnly), a DTO type that is a control (dropdown, creditCard, quantity), else\r\n * the first control that fits the data (date -> datepicker, boolean -> checkbox, text -> textInput).\r\n * '' when nothing fits (media, objects).\r\n */\r\nexport function effectiveControl(option: Bag | any, schema: Bag | any = {}, fallback = ''): string {\r\n const o = option || {};\r\n if (o.control) return canonicalControl(o.control);\r\n const allowed = controlsFor(schema || {}, fallback, o).map(c => c.value);\r\n const legacy = o.password ? 'password' : o.email ? 'email' : o.timeOnly ? 'timepicker' : '';\r\n if (legacy && allowed.includes(legacy)) return legacy;\r\n const own = CONTROL_TYPES[String(schema?.type || fallback || '').toLowerCase()];\r\n if (own) return own;\r\n return allowed.find(c => c !== 'output') || '';\r\n}\r\n\r\n/** Controls a value is typed or chosen in - they take a placeholder. */\r\nexport const PLACEHOLDER_CONTROLS: string[] = [\r\n 'textInput', 'textArea', 'password', 'email', 'dropdown', 'combobox', 'autocomplete',\r\n 'spinner', 'datepicker', 'timepicker', 'dateTimepicker', 'dateRangepicker', 'multiselect',\r\n];\r\n\r\n/** The toolkit keyboards a field can ask for (option.keyboardType). */\r\nexport const KEYBOARD_TYPES = ['string', 'alpha', 'numeric', 'email', 'date', 'time'] as const;\r\n/** keyboardType values that keep the device's system keyboard. */\r\nexport const SYSTEM_KEYBOARDS = ['native', 'none'] as const;\r\n\r\n/** Controls a keyboard is chosen for. */\r\nexport const KEYBOARD_CONTROLS: string[] = [\r\n 'textInput', 'textArea', 'password', 'email', 'combobox', 'autocomplete',\r\n 'spinner', 'datepicker', 'timepicker', 'dateTimepicker', 'dateRangepicker', 'quantity',\r\n];\r\n\r\n/** The keyboard a control brings when the field names none (as the Designer preselects it). */\r\nexport function defaultKeyboard(control: string, schema: Bag | any = {}, fallback = '', data: Bag | any = {}): string {\r\n const c = canonicalControl(control), t = baseType(schema, fallback), f = effectiveFormat(schema, fallback, data);\r\n if (c === 'email') return 'email';\r\n if (c === 'timepicker') return 'time';\r\n if (['datepicker', 'dateTimepicker', 'dateRangepicker'].includes(c)) return 'date';\r\n if (['textArea', 'password', 'combobox', 'autocomplete'].includes(c)) return 'string';\r\n if (f === 'iso-time') return 'time';\r\n if (['iso-date', 'iso-datetime'].includes(f)) return 'date';\r\n if (['spinner', 'quantity'].includes(c) || ['number', 'integer'].includes(t) || f === 'decimal') return 'numeric';\r\n return 'string';\r\n}\r\n\r\n/**\r\n * The keyboard of a field: its keyboardType; native/none (and a password without one) keep the\r\n * system keyboard (null); without keyboardType the control's default; without a control the data\r\n * type's (date, time, number/integer, string, email format). The per-type keyboards are only the\r\n * fallback.\r\n */\r\nexport function keyboardFor(option: Bag | any, property: Bag | any = {}): string | null {\r\n const explicit = option?.keyboardType ?? option?.keyboard;\r\n if ((SYSTEM_KEYBOARDS as readonly string[]).includes(explicit)) return null;\r\n if ((KEYBOARD_TYPES as readonly string[]).includes(explicit)) return explicit;\r\n const control = canonicalControl(option?.control || '');\r\n if (control === 'password' || option?.password) return null;\r\n if (control && KEYBOARD_CONTROLS.includes(control)) return defaultKeyboard(control, property, '', option?.fieldData || {});\r\n if (option?.email || property?.format === 'email') return 'email';\r\n switch (basicType(property)) {\r\n case 'date': return 'date';\r\n case 'time': return 'time';\r\n case 'number': case 'integer': case 'bigdecimal': return 'numeric';\r\n case 'string': return 'string';\r\n default: return null;\r\n }\r\n}\r\n\r\n// ---------------------------------------------------------------------------------------------\r\n// Date and time: type = what is shown and entered, storage = how the value travels\r\n// (CONTROLS-PLAN.md C1, decided 2026-10-18). Descriptive only - the renderer reads it in step 3+.\r\n// ---------------------------------------------------------------------------------------------\r\n\r\n/** What a date/time property shows and takes: date and time stay separate fields. */\r\nexport type TemporalPart = 'date' | 'time' | 'datetime';\r\n\r\n/** The part of a date/time a property shows and takes (DTO type date / time / date&time), else null. */\r\nexport function temporalPart(property: Bag | any): TemporalPart | null {\r\n const t = basicType(property);\r\n return t === 'date' || t === 'time' || t === 'datetime' ? t : null;\r\n}\r\n\r\n/**\r\n * How date and time values travel - the same for every project:\r\n * - every value is a string (JSON has no date type); the app turns it into a date for showing and\r\n * back into a string for sending, steered by the DTO type alone\r\n * - read: ISO, date and time, a value without timezone is local wall time; Z or an offset is\r\n * dropped (wall time) - P5W1 sends 2025-11-04T16:30:00\r\n * - send: ISO with the device's offset, 2026-10-18T08:00:00+02:00 (the daily split of the time\r\n * recording, convertToDailyLogs, stays as it is)\r\n * - shown and typed: the app language, year with four digits (de 18.10.2026, time 08:05);\r\n * lists: displayFormat short / medium (default) / long / custom\r\n */\r\nexport const TEMPORAL_TRANSFER = {\r\n read: 'iso, local wall time, offset dropped',\r\n send: 'iso with local offset',\r\n show: 'app language, four-digit year',\r\n listStyles: ['short', 'medium', 'long', 'custom'],\r\n listDefault: 'medium',\r\n} as const;\r\n\r\n/** The encodings a field can declare (option.fieldData.format). */\r\nexport const DATA_FORMATS = ['iso-date', 'iso-time', 'iso-datetime', 'flag', 'decimal'] as const;\r\n/** How a date or time is shown (option.displayFormat). */\r\nexport const DISPLAY_FORMATS = ['short', 'medium', 'long', 'custom'] as const;\r\n/** How a number is shown (option.numberStyle). */\r\nexport const NUMBER_STYLES = ['decimal', 'currency', 'percent'] as const;\r\nconst setting = (key: string, label: string, kind: Setting['kind'] = 'text', values?: string[], hint?: string): Setting => ({ key, label, kind, values, hint });\r\nconst yesNo = (key: string, label: string) => setting(key, label, 'select', ['true', 'false']);\r\nexport function displaySettings(schema: Bag, fallback: string, option: Bag | any): Setting[] {\r\n const c = canonicalControl(option.control), t = baseType(schema, fallback), f = effectiveFormat(schema, fallback, option.fieldData || {}), r = rulesFor(schema, option.fieldData || {});\r\n const result = [yesNo('readonly', 'Read only'), setting('messages', 'Validation messages', 'json', undefined, 'JSON object: validation rule names mapped to messages or translation keys.')];\r\n if (PLACEHOLDER_CONTROLS.includes(c)) result.push(setting('placeholder', 'Placeholder'));\r\n if (c === 'textInput') result.push(setting('mask', 'Input mask'));\r\n if (c === 'textArea') result.push(setting('rows', 'Visible rows', 'number'));\r\n if (['spinner', 'slider'].includes(c)) result.push(setting('step', 'Step', 'number'));\r\n if (c === 'slider') result.push(yesNo('showValue', 'Show slider value'));\r\n if (['checkbox','switch'].includes(c)) result.push(setting('labelPosition', 'Label position', 'select', ['left', 'right']));\r\n if (c === 'switch') result.push(setting('labelOn', 'On label'), setting('labelOff', 'Off label'));\r\n if (['checkbox', 'switch', 'radiobutton'].includes(c) && t === 'boolean') result.push(setting('checkedBooleanValue', 'Value represented by the active state', 'select', ['true', 'false'], 'Stores a Boolean. Choose false to invert the visual state; this does not change the DTO type.'));\r\n if (['checkbox', 'switch', 'radiobutton'].includes(c) && f === 'flag') result.push(setting('checkedValue', 'Active value'), setting('uncheckedValue', 'Inactive value'));\r\n if (['radiobutton', 'dropdown', 'combobox', 'autocomplete', 'picklist', 'multiselect'].includes(c)) result.push(setting('labels', 'Value labels', 'json', undefined, 'JSON object mapping allowed stored values to captions or translation keys.'));\r\n if (c === 'radiobutton') result.push(setting('orientation', 'Orientation', 'select', ['horizontal', 'vertical']));\r\n if (c === 'combobox') result.push(yesNo('allowCustom', 'Allow values outside the list'));\r\n if (c === 'autocomplete') result.push(setting('source', 'Suggestion source URL'), setting('minChars', 'Minimum characters', 'number'));\r\n if (c === 'picklist') result.push(yesNo('sortable', 'Allow item reordering'));\r\n if (c === 'multiselect') result.push(setting('maxVisible', 'Visible selected items', 'number'));\r\n if ((['iso-date', 'iso-time', 'iso-datetime'].includes(f) && ['textInput', 'datepicker', 'timepicker', 'dateTimepicker', 'output'].includes(c)) || c === 'dateRangepicker') {\r\n result.push(setting('displayFormat', 'Display style', 'select', ['short', 'medium', 'long', 'custom']));\r\n if (option.displayFormat === 'custom') result.push(setting('customDisplayFormat', 'Fixed display pattern', 'text', undefined, 'Use only when every locale must show the same pattern.'));\r\n result.push(setting('displayTimezone', 'Display timezone', 'text', undefined, 'local, UTC, or an IANA timezone such as Asia/Karachi.'));\r\n }\r\n if ((['integer', 'number'].includes(t) || f === 'decimal') && ['textInput', 'spinner', 'slider', 'output'].includes(c)) {\r\n result.push(setting('numberStyle', 'Number style', 'select', ['decimal', 'currency', 'percent']), yesNo('grouping', 'Group digits'));\r\n if (!option.numberStyle || option.numberStyle === 'decimal') result.push(setting('decimals', 'Displayed decimal places', 'number'));\r\n result.push(setting('unit', 'Standard unit', 'text', undefined, 'An Intl unit identifier, for example kilogram or liter.'), setting('unitLabel', 'Custom unit translation key'));\r\n }\r\n if (c === 'dropdown') result.push(setting('optionlabel', 'Response label field'), setting('optionvalue', 'Response value field'));\r\n return result;\r\n}\r\nexport function dataSettings(schema: Bag, fallback: string, option: Bag | any): Setting[] {\r\n const t = baseType(schema, fallback), f = effectiveFormat(schema, fallback, option.fieldData || {});\r\n const result: Setting[] = [];\r\n if (['integer', 'number'].includes(t) || f === 'decimal') {\r\n result.push(setting('currency', 'Fixed currency code', 'text', undefined, 'ISO currency code. Independent of the user locale.'), setting('currencyField', 'Currency property reference'));\r\n if (t === 'integer') result.push(yesNo('minorUnits', 'Store in currency minor units'));\r\n }\r\n return result;\r\n}\r\nexport function validationSettings(schema: Bag, fallback: string, option: Bag | any): Setting[] {\r\n const t = baseType(schema, fallback), f = effectiveFormat(schema, fallback, option.fieldData || {});\r\n const result = [setting('enum', 'Allowed values', 'json', undefined, t === 'array' ? 'JSON array of allowed item values.' : 'JSON array; preserve each value’s data type.')];\r\n if (t === 'string') result.push(setting('minLength', 'Minimum length', 'number'), setting('maxLength', 'Maximum length', 'number'), setting('pattern', 'Validation pattern'));\r\n if (['integer', 'number'].includes(t) || f === 'decimal') result.push(setting('minimum', 'Minimum value', f === 'decimal' ? 'text' : 'number'), setting('maximum', 'Maximum value', f === 'decimal' ? 'text' : 'number'), setting('multipleOf', 'Value increment', f === 'decimal' ? 'text' : 'number'));\r\n if (t === 'array') result.push(setting('minItems', 'Minimum items', 'number'), setting('maxItems', 'Maximum items', 'number'), yesNo('uniqueItems', 'Require unique items'));\r\n return result;\r\n}\r\nfunction decimalParts(value: any): [bigint, number] | null {\r\n const m = /^(-?)(\\d+)(?:\\.(\\d+))?$/.exec(String(value));\r\n return m ? [BigInt((m[1] || '') + m[2] + (m[3] || '')), (m[3] || '').length] : null;\r\n}\r\nfunction decimalPair(a: any, b: any): [bigint, bigint] | null {\r\n const x = decimalParts(a), y = decimalParts(b); if (!x || !y) return null;\r\n const scale = Math.max(x[1], y[1]); return [x[0] * 10n ** BigInt(scale - x[1]), y[0] * 10n ** BigInt(scale - y[1])];\r\n}\r\nfunction validDate(v: string): boolean {\r\n const m = /^(\\d{4})-(\\d{2})-(\\d{2})$/.exec(v); if (!m) return false;\r\n const year = +m[1], month = +m[2], day = +m[3];\r\n const leap = year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);\r\n return month >= 1 && month <= 12 && day >= 1 && day <= [31, leap ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month - 1];\r\n}\r\nfunction validTime(v: string): boolean {\r\n const m = /^(\\d{2}):(\\d{2}):(\\d{2})(?:\\.\\d+)?(Z|[+-](\\d{2}):(\\d{2}))$/.exec(v);\r\n return !!m && +m[1] < 24 && +m[2] < 60 && +m[3] < 60 && (!m[5] || (+m[5] < 24 && +m[6] < 60));\r\n}\r\nexport function validateSettings(schema: Bag | any, fallback: string, option: Bag | any, context?: { propertySchema: Bag; reference: string; allowPendingValues?: boolean }): string[] {\r\n const errors: string[] = [], d = option.fieldData || {}, r: any = rulesFor(schema, d), t = baseType(schema, fallback), f = effectiveFormat(schema, fallback, d), c = canonicalControl(option.control);\r\n const fail = (condition: boolean, message: string) => { if (condition) errors.push(message); };\r\n fail(!t, 'The property type could not be resolved. Provide propertySchema or propertyType.');\r\n fail(d.format !== undefined && !['iso-date', 'iso-time', 'iso-datetime', 'flag', 'decimal'].includes(d.format), 'Choose a supported data meaning.');\r\n fail(['iso-date', 'iso-time', 'iso-datetime', 'flag'].includes(f) && t !== 'string', 'Date, time, and flag formats require a string property.');\r\n fail(f === 'decimal' && !['string', 'number'].includes(t), 'Exact decimal format requires string or number.');\r\n fail(!!schema.format && !!d.format && normalizeFormat(schema.format) !== normalizeFormat(d.format), 'The format conflicts with the property schema.');\r\n for (const k of Object.keys(d.validation || {})) {\r\n const source = t === 'array' && k === 'enum' ? schema.items?.enum : schema[k];\r\n fail(source !== undefined && JSON.stringify(source) !== JSON.stringify(d.validation[k]), `${k} conflicts with the property schema; keep the source constraint.`);\r\n }\r\n const pendingDropdown = context?.allowPendingValues && c === 'dropdown' && t === 'string' && !f && r.enum === undefined;\r\n fail(!pendingDropdown && !controlsFor(schema, fallback, option).some(x => x.value === c), 'Select a control compatible with the effective data type.');\r\n fail(!!r.pattern && t !== 'string', 'Patterns are only supported for strings.');\r\n try { if (r.pattern) new RegExp(r.pattern); } catch { errors.push('The validation pattern is not a valid regular expression.'); }\r\n for (const k of ['minimum', 'maximum', 'multipleOf']) fail(r[k] !== undefined && !(['integer', 'number'].includes(t) || f === 'decimal'), `${k} requires a numeric or decimal property.`);\r\n for (const k of ['minLength', 'maxLength']) fail(r[k] !== undefined && t !== 'string', `${k} requires a string property.`);\r\n for (const k of ['minItems', 'maxItems', 'uniqueItems']) fail(r[k] !== undefined && t !== 'array', `${k} requires an array property.`);\r\n for (const k of ['minLength', 'maxLength', 'minItems', 'maxItems']) fail(r[k] !== undefined && (!Number.isInteger(r[k]) || r[k] < 0), `${k} must be a nonnegative integer.`);\r\n for (const [a, b] of [['minLength', 'maxLength'], ['minItems', 'maxItems']]) fail(r[a] !== undefined && r[b] !== undefined && r[a] > r[b], `${a} cannot exceed ${b}.`);\r\n for (const k of ['minimum', 'maximum', 'multipleOf']) if (r[k] !== undefined) fail(f === 'decimal' ? !decimalParts(r[k]) : typeof r[k] !== 'number' || !Number.isFinite(r[k]), `${k} must be a valid numeric value.`);\r\n if (r.minimum !== undefined && r.maximum !== undefined) { const pair = decimalPair(r.minimum, r.maximum); fail(pair ? pair[0] > pair[1] : r.minimum > r.maximum, 'Minimum cannot exceed maximum.'); }\r\n if (r.multipleOf !== undefined) { const p = decimalParts(r.multipleOf); fail(!p || p[0] <= 0n, 'Value increment must be greater than zero.'); }\r\n if (r.enum !== undefined) {\r\n fail(!Array.isArray(r.enum) || !r.enum.length, 'Allowed values must be a nonempty JSON array.');\r\n if (Array.isArray(r.enum)) {\r\n fail(new Set(r.enum.map((v: any) => JSON.stringify(v))).size !== r.enum.length, 'Allowed values must not contain duplicates.');\r\n const et = t === 'array' ? schema.items?.type || 'string' : t;\r\n fail(r.enum.some((v: any) => et === 'integer' ? !Number.isInteger(v) : et === 'array' ? !Array.isArray(v) : typeof v !== et), 'Allowed values must match the property or item type.');\r\n }\r\n }\r\n fail(c === 'combobox' && !!r.enum && option.allowCustom === true, 'Custom values cannot be enabled for an enum.');\r\n fail(!!d.currency && !!d.currencyField, 'Choose a fixed currency OR a currency property, not both.');\r\n fail(option.numberStyle === 'currency' && !d.currency && !d.currencyField, 'Currency display requires a currency code or currency property.');\r\n fail(d.minorUnits === true && (t !== 'integer' || (!d.currency && !d.currencyField)), 'Minor units require integer storage and a currency.');\r\n fail(option.numberStyle !== 'decimal' && !!option.numberStyle && option.decimals !== undefined, 'Decimal places apply only to decimal display; currency precision comes from the currency.');\r\n fail(!!option.unit && !!option.unitLabel, 'Choose a standard unit OR a custom unit translation key.');\r\n if (d.currency) {\r\n const currencies: string[] | undefined = (Intl as any).supportedValuesOf?.('currency');\r\n fail(!/^[A-Z]{3}$/.test(d.currency) || (!!currencies && !currencies.includes(d.currency)), 'Choose a supported uppercase ISO currency code.');\r\n }\r\n if (d.currencyField && context?.propertySchema) {\r\n const siblingRef = context.reference.slice(0, context.reference.lastIndexOf('/') + 1) + String(d.currencyField).replace(/~/g, '~0').replace(/\\//g, '~1');\r\n const currencyProperty: any = resolveProperty(context.propertySchema, String(d.currencyField).includes('/') ? d.currencyField : siblingRef);\r\n fail(currencyProperty.type !== 'string', 'The currency property must exist in the property schema and have string storage.');\r\n }\r\n fail(option.checkedBooleanValue !== undefined && typeof option.checkedBooleanValue !== 'boolean', 'The active Boolean value must be true or false.');\r\n for (const k of ['required', 'readonly', 'allowCustom', 'showValue', 'grouping']) fail(option[k] !== undefined && typeof option[k] !== 'boolean', `${k} must be a Boolean.`);\r\n for (const k of ['minorUnits']) fail(d[k] !== undefined && typeof d[k] !== 'boolean', `${k} must be a Boolean.`);\r\n fail(r.uniqueItems !== undefined && typeof r.uniqueItems !== 'boolean', 'uniqueItems must be a Boolean.');\r\n if (option.unit) { try { new Intl.NumberFormat('en', { style: 'unit', unit: option.unit }); } catch { errors.push('The standard unit is not supported by Intl.'); } }\r\n if (option.displayTimezone && option.displayTimezone !== 'local') { try { new Intl.DateTimeFormat('en', { timeZone: option.displayTimezone }); } catch { errors.push('Enter a valid display timezone.'); } }\r\n fail(option.displayFormat === 'custom' && !option.customDisplayFormat, 'Enter a fixed display pattern.');\r\n for (const k of ['rows', 'maxVisible', 'step']) fail(option[k] !== undefined && (typeof option[k] !== 'number' || !Number.isFinite(option[k]) || option[k] <= 0), `${k} must be greater than zero.`);\r\n for (const k of ['rows', 'maxVisible', 'minChars', 'decimals']) fail(option[k] !== undefined && (!Number.isInteger(option[k]) || option[k] < 0), `${k} must be a nonnegative integer.`);\r\n fail(t === 'integer' && option.step !== undefined && !Number.isInteger(option.step), 'Integer controls require a whole-number step.');\r\n if (f === 'flag') {\r\n fail(!Array.isArray(r.enum) || r.enum.length !== 2, 'A flag requires exactly two allowed string values.');\r\n fail(option.checkedValue === undefined || option.uncheckedValue === undefined || option.checkedValue === option.uncheckedValue, 'Set different active and inactive flag values.');\r\n if (Array.isArray(r.enum)) for (const k of ['checkedValue', 'uncheckedValue']) fail(!r.enum.includes(option[k]), `${k} must exist in the allowed values.`);\r\n }\r\n if (option.labels !== undefined) {\r\n fail(!option.labels || typeof option.labels !== 'object' || Array.isArray(option.labels), 'Value labels must be a JSON object.');\r\n if (option.labels && typeof option.labels === 'object') fail(Object.values(option.labels).some(v => typeof v !== 'string'), 'Label captions must be strings.');\r\n const values = t === 'boolean' ? [true, false] : r.enum;\r\n if (values && option.labels) fail(Object.keys(option.labels).some(k => !values.some((v: any) => String(v) === k)), 'Every label key must match an allowed value.');\r\n }\r\n if (option.messages && typeof option.messages === 'object') fail(Object.values(option.messages).some(v => typeof v !== 'string'), 'Validation messages must contain string captions or translation keys.');\r\n for (const [key, values] of [['labelPosition', ['left', 'right']], ['orientation', ['horizontal', 'vertical']], ['numberStyle', ['decimal', 'currency', 'percent']]] as [string, string[]][]) fail(option[key] !== undefined && !values.includes(option[key]), `Choose a supported ${key}.`);\r\n fail(option.messages !== undefined && (!option.messages || typeof option.messages !== 'object' || Array.isArray(option.messages)), 'Validation messages must be a JSON object.');\r\n const allowed = new Set(displaySettings(schema, fallback, option).map(s => s.key));\r\n for (const k of ['placeholder', 'rows', 'mask', 'step', 'showValue', 'labelPosition', 'labelOn', 'labelOff', 'orientation', 'allowCustom', 'source', 'minChars', 'labels', 'maxVisible', 'displayFormat', 'displayTimezone', 'customDisplayFormat', 'numberStyle', 'decimals', 'grouping', 'unit', 'unitLabel', 'checkedValue', 'uncheckedValue', 'checkedBooleanValue']) fail(option[k] !== undefined && !allowed.has(k), `${k} is not applicable to this control and data meaning.`);\r\n for (const k of ['currency', 'currencyField', 'minorUnits']) fail(d[k] !== undefined && !dataSettings(schema, fallback, option).some(s => s.key === k), `${k} requires the appropriate numeric type.`);\r\n const validateValue = (value: any, name: string, valueType: string, item = false) => {\r\n fail(valueType === 'integer' ? !Number.isInteger(value) : valueType === 'array' ? !Array.isArray(value) : typeof value !== valueType, `${name} must match ${valueType} storage.`);\r\n if (Array.isArray(r.enum) && !r.enum.some((v: any) => JSON.stringify(v) === JSON.stringify(value))) fail(valueType !== 'array', `${name} is outside the allowed values.`);\r\n if (valueType === 'string') {\r\n const v = String(value);\r\n if (!item) {\r\n fail(f === 'iso-date' && !validDate(v), `${name} must be an existing ISO date.`);\r\n fail(f === 'iso-time' && !validTime(v), `${name} must be an ISO time with timezone.`);\r\n const parts = v.split('T');\r\n fail(f === 'iso-datetime' && (parts.length !== 2 || !validDate(parts[0]) || !validTime(parts[1])), `${name} must be an ISO date and time with timezone.`);\r\n fail(r.minLength !== undefined && [...v].length < r.minLength, `${name} is too short.`);\r\n fail(r.maxLength !== undefined && [...v].length > r.maxLength, `${name} is too long.`);\r\n try { if (r.pattern) fail(!new RegExp(r.pattern).test(v), `${name} does not match the pattern.`); } catch { }\r\n }\r\n }\r\n if (!item && (['integer', 'number'].includes(valueType) || f === 'decimal')) {\r\n fail(valueType !== 'string' && !Number.isFinite(value), `${name} must be finite.`);\r\n fail(f === 'decimal' && !decimalParts(value), `${name} must be a plain decimal value.`);\r\n for (const k of ['minimum', 'maximum', 'multipleOf']) if (r[k] !== undefined) { const p = decimalPair(value, r[k]); if (p) fail(k === 'minimum' ? p[0] < p[1] : k === 'maximum' ? p[0] > p[1] : p[1] !== 0n && p[0] % p[1] !== 0n, `${name} violates ${k}.`); }\r\n }\r\n if (valueType === 'array' && Array.isArray(value)) {\r\n fail(r.minItems !== undefined && value.length < r.minItems, `${name} has too few items.`);\r\n fail(r.maxItems !== undefined && value.length > r.maxItems, `${name} has too many items.`);\r\n fail(r.uniqueItems === true && new Set(value.map(v => JSON.stringify(v))).size !== value.length, `${name} contains duplicate items.`);\r\n value.forEach(v => validateValue(v, `${name} item`, schema.items?.type || 'string', true));\r\n }\r\n };\r\n if (option.keyboardType !== undefined) {\r\n fail(![...KEYBOARD_TYPES, ...SYSTEM_KEYBOARDS].includes(option.keyboardType), 'Choose a supported keyboard.');\r\n fail(!!c && !KEYBOARD_CONTROLS.includes(c), 'This control has no keyboard.');\r\n }\r\n if (own(d, 'default') && own(schema, 'default')) fail(JSON.stringify(d.default) !== JSON.stringify(schema.default), 'Default conflicts with the property schema.');\r\n const defaultValue = own(schema, 'default') ? schema.default : d.default;\r\n if (own(schema, 'default') || own(d, 'default')) validateValue(defaultValue, 'Default value', t);\r\n return [...new Set(errors)];\r\n}\r\n\r\n/** Call before activating a saved field layout; throws rather than warning. */\r\nexport function assertFieldSettings(schema: Bag, fallback: string, option: Bag, context?: { propertySchema: Bag; reference: string; allowPendingValues?: boolean }): void {\r\n const errors = validateSettings(schema, fallback, option, context);\r\n if (errors.length) throw new Error('Invalid field layout: ' + errors.join(' '));\r\n}\r\n","// Faramarz Yousefian and Agent Toni (Claude Opus 5.5) 2026-10-19\r\n// - new: the format of an app's test flows (#166). Every app brings its own test suite in its hidden\r\n// system folder .liveforge/tests/ - one JSON file per flow. The same steps are run by the test\r\n// runner inside the app (Designer preview, \"Run tests\") and by viewdefinition-e2e on simulators.\r\n// Pages and fields are named by their name in the project (page folder, field key), never by a\r\n// caption - a test runs in every language. Buttons by their action (Save, Add, Delete).\r\n// A flow that writes real data says so (\"books\": true) and only runs after an explicit confirmation.\r\n// checkTestFlow returns codes with parameters, the editor translates them.\r\n// - new: a run can be stopped (FlowResult.stopped, TestRun.stopped)\r\n// - new: expect blocked - a writing button is there and the flow may not press it\r\n\r\nexport const TESTS_DIR = '.liveforge/tests';\r\nexport const RESULTS_DIR = '.liveforge/results';\r\n\r\nexport const TEST_DEVICES = ['phone', 'tablet', 'laptop', 'desktop'] as const;\r\nexport const ORIENTATIONS = ['portrait', 'landscape'] as const;\r\nexport const STEP_KINDS = ['open', 'tap', 'type', 'pick', 'press', 'rotate', 'device', 'wait', 'expect'] as const;\r\n/** What an expect step can check - one of them per step. */\r\nexport const EXPECT_KINDS = ['value', 'shows', 'keyboard', 'list', 'message', 'visible', 'hidden', 'locked', 'blocked', 'inFrame'] as const;\r\n/** What has to stay inside the page frame (safe areas, top gap). */\r\nexport const FRAME_PARTS = ['keyboard', 'dialog', 'calendar', 'list', 'menu'] as const;\r\nexport const LIST_STATES = ['open', 'closed'] as const;\r\n\r\nexport type TestDevice = typeof TEST_DEVICES[number];\r\nexport type Orientation = typeof ORIENTATIONS[number];\r\n\r\nexport interface TestExpect {\r\n field?: string;\r\n /** stored value of the field */\r\n value?: unknown;\r\n /** text the field shows (formatted: \"12,34 €\", \"01:00 PM\") */\r\n shows?: string;\r\n /** keyboard type that is open (string, alpha, numeric, email, date, time) or \"none\" */\r\n keyboard?: string;\r\n list?: typeof LIST_STATES[number];\r\n /** message key of a check (required, minLength, dateOrder …) */\r\n message?: string;\r\n visible?: string;\r\n hidden?: string;\r\n locked?: string;\r\n /** a button that writes real data is there and this flow may not press it (the runner's lock) */\r\n blocked?: string;\r\n inFrame?: typeof FRAME_PARTS[number];\r\n}\r\n\r\nexport interface TestStep {\r\n open?: string;\r\n tap?: string;\r\n type?: string;\r\n into?: string;\r\n pick?: string;\r\n in?: string;\r\n press?: string;\r\n rotate?: Orientation;\r\n device?: string;\r\n /** milliseconds */\r\n wait?: number;\r\n expect?: TestExpect;\r\n}\r\n\r\nexport interface TestFlow {\r\n name: string;\r\n description?: string;\r\n /** writes real data - runs only after an explicit confirmation */\r\n books?: boolean;\r\n /** \"phone\", \"tablet:landscape\" … - without orientation portrait; none means phone and tablet */\r\n devices?: string[];\r\n steps: TestStep[];\r\n}\r\n\r\nexport interface TestProblem {\r\n code: string;\r\n step?: number;\r\n params?: Record<string, string>;\r\n}\r\n\r\n/** One step's outcome in a run. image: screenshot of a failed step (data URL or file in results). */\r\nexport interface StepResult {\r\n step: number;\r\n ok: boolean;\r\n reason?: string;\r\n image?: string;\r\n}\r\n\r\nexport interface FlowResult {\r\n file: string;\r\n name: string;\r\n device: string;\r\n ok: boolean;\r\n skipped?: 'books';\r\n /** stopped by the person (\"Stop\") after this flow's last step in steps */\r\n stopped?: boolean;\r\n steps: StepResult[];\r\n}\r\n\r\n/** One run, stored as .liveforge/results/<date-time>.json (the backend keeps the latest runs). */\r\nexport interface TestRun {\r\n project: string;\r\n tenant: string;\r\n startedAt: string;\r\n finishedAt?: string;\r\n /** the person stopped the run - flows after it did not run */\r\n stopped?: boolean;\r\n flows: FlowResult[];\r\n}\r\n\r\nexport const DEFAULT_DEVICES = ['phone', 'tablet'];\r\n\r\n/**\r\n * How many runs the backend keeps in .liveforge/results - defaults, the project configuration can\r\n * change them: at most `max` runs; while they together are bigger than `maxBytes` (mostly images of\r\n * failed steps) the oldest go, but `min` runs always stay. Results are not exported.\r\n */\r\nexport const RESULTS_KEEP = { max: 10, min: 5, maxBytes: 20 * 1024 * 1024 };\r\n\r\n/** The runs to delete, oldest first; runs: name (sortable by date-time) and size in bytes. */\r\nexport function resultsToDelete(runs: { name: string; size: number }[], keep = RESULTS_KEEP): string[] {\r\n const sorted = [...runs].sort((a, b) => a.name.localeCompare(b.name));\r\n const gone: string[] = [];\r\n let total = sorted.reduce((sum, r) => sum + r.size, 0);\r\n while (sorted.length > keep.min && (sorted.length > keep.max || total > keep.maxBytes)) {\r\n const old = sorted.shift()!;\r\n total -= old.size;\r\n gone.push(old.name);\r\n }\r\n return gone;\r\n}\r\n\r\n/** \"tablet:landscape\" → { device: 'tablet', orientation: 'landscape' }; null when unknown. */\r\nexport function parseDevice(text: string): { device: TestDevice; orientation: Orientation } | null {\r\n const [device, orientation = 'portrait'] = String(text || '').split(':');\r\n if (!(TEST_DEVICES as readonly string[]).includes(device)) return null;\r\n if (!(ORIENTATIONS as readonly string[]).includes(orientation)) return null;\r\n return { device: device as TestDevice, orientation: orientation as Orientation };\r\n}\r\n\r\n/** The devices a flow runs on. */\r\nexport function flowDevices(flow: TestFlow): string[] {\r\n return flow.devices?.length ? flow.devices : DEFAULT_DEVICES;\r\n}\r\n\r\n/** The kind of a step - the first step key it has. */\r\nexport function stepKind(step: TestStep): string | null {\r\n return (STEP_KINDS as readonly string[]).find((k) => step && Object.prototype.hasOwnProperty.call(step, k)) || null;\r\n}\r\n\r\nconst text = (v: unknown) => typeof v === 'string' && v.trim().length > 0;\r\n\r\n/** The problems of a flow; an empty list means it can run. */\r\nexport function checkTestFlow(flow: any): TestProblem[] {\r\n const problems: TestProblem[] = [];\r\n const add = (code: string, step?: number, params?: Record<string, string>) => problems.push({ code, step, params });\r\n if (!flow || typeof flow !== 'object' || Array.isArray(flow)) return [{ code: 'notAnObject' }];\r\n if (!text(flow.name)) add('nameMissing');\r\n if (flow.books !== undefined && typeof flow.books !== 'boolean') add('booksNotBoolean');\r\n if (flow.devices !== undefined) {\r\n if (!Array.isArray(flow.devices)) add('devicesNotList');\r\n else flow.devices.filter((d: string) => !parseDevice(d)).forEach((d: string) => add('unknownDevice', undefined, { device: String(d) }));\r\n }\r\n if (!Array.isArray(flow.steps) || !flow.steps.length) {\r\n add('stepsMissing');\r\n return problems;\r\n }\r\n flow.steps.forEach((step: any, i: number) => {\r\n const n = i + 1;\r\n if (!step || typeof step !== 'object' || Array.isArray(step)) { add('stepNotAnObject', n); return; }\r\n const kinds = (STEP_KINDS as readonly string[]).filter((k) => k in step);\r\n if (kinds.length !== 1) { add(kinds.length ? 'stepSeveralKinds' : 'stepUnknown', n, { keys: Object.keys(step).join(', ') }); return; }\r\n const kind = kinds[0];\r\n switch (kind) {\r\n case 'open': case 'tap': case 'press':\r\n if (!text(step[kind])) add('stepNameMissing', n, { kind });\r\n break;\r\n case 'type':\r\n if (typeof step.type !== 'string') add('typeNotText', n);\r\n if (!text(step.into)) add('intoMissing', n);\r\n break;\r\n case 'pick':\r\n if (!text(step.pick)) add('stepNameMissing', n, { kind });\r\n if (!text(step.in)) add('inMissing', n);\r\n break;\r\n case 'rotate':\r\n if (!(ORIENTATIONS as readonly string[]).includes(step.rotate)) add('unknownOrientation', n, { orientation: String(step.rotate) });\r\n break;\r\n case 'device':\r\n if (!parseDevice(step.device)) add('unknownDevice', n, { device: String(step.device) });\r\n break;\r\n case 'wait':\r\n if (typeof step.wait !== 'number' || step.wait < 0 || step.wait > 60000) add('waitOutOfRange', n);\r\n break;\r\n case 'expect':\r\n checkExpect(step.expect, n, add);\r\n break;\r\n }\r\n });\r\n return problems;\r\n}\r\n\r\nfunction checkExpect(e: any, n: number, add: (code: string, step?: number, params?: Record<string, string>) => void) {\r\n if (!e || typeof e !== 'object' || Array.isArray(e)) { add('expectNotAnObject', n); return; }\r\n const kinds = (EXPECT_KINDS as readonly string[]).filter((k) => k in e);\r\n if (kinds.length !== 1) { add(kinds.length ? 'expectSeveralKinds' : 'expectUnknown', n, { keys: Object.keys(e).join(', ') }); return; }\r\n const kind = kinds[0];\r\n if ((kind === 'value' || kind === 'shows') && !text(e.field)) add('fieldMissing', n, { kind });\r\n if (kind === 'shows' && typeof e.shows !== 'string') add('showsNotText', n);\r\n if (kind === 'keyboard' && !text(e.keyboard)) add('keyboardMissing', n);\r\n if (kind === 'list' && !(LIST_STATES as readonly string[]).includes(e.list)) add('unknownListState', n, { list: String(e.list) });\r\n if (kind === 'message' && !text(e.message)) add('messageMissing', n);\r\n if ((kind === 'visible' || kind === 'hidden' || kind === 'locked' || kind === 'blocked') && !text(e[kind])) add('stepNameMissing', n, { kind });\r\n if (kind === 'inFrame' && !(FRAME_PARTS as readonly string[]).includes(e.inFrame)) add('unknownFramePart', n, { part: String(e.inFrame) });\r\n}\r\n","// Faramarz Yousefian and Agent Toni (Claude Opus 5.5) 2026-10-19\r\n// - new: the test flow format of an app's .liveforge/tests (#166)\r\n// Faramarz Yousefian and Agent Toni (Claude Opus 5.5) 2026-10-18\r\n// - new: @yomotech/view-toolkit/catalog - the field catalog without Angular, for the Designer,\r\n// node tests and the AI contract tools (#166)\r\nexport * from './field-catalog';\r\nexport * from './test-flow';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA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