Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
1 line
2.7 KiB
Plaintext
1 line
2.7 KiB
Plaintext
{"version":3,"sources":["../../../src/admin/fields/Textarea.ts"],"sourcesContent":["import type React from 'react'\nimport type { MarkOptional } from 'ts-essentials'\n\nimport type { TextareaField, TextareaFieldClient } from '../../fields/config/types.js'\nimport type { TextareaFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldDiffClientComponent,\n FieldDiffServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype TextareaFieldClientWithoutType = MarkOptional<TextareaFieldClient, 'type'>\n\ntype TextareaFieldBaseClientProps = {\n readonly inputRef?: React.Ref<HTMLInputElement>\n readonly onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>\n readonly path: string\n readonly validate?: TextareaFieldValidation\n}\n\ntype TextareaFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type TextareaFieldClientProps = ClientFieldBase<TextareaFieldClientWithoutType> &\n TextareaFieldBaseClientProps\n\nexport type TextareaFieldServerProps = ServerFieldBase<\n TextareaField,\n TextareaFieldClientWithoutType\n> &\n TextareaFieldBaseServerProps\n\nexport type TextareaFieldServerComponent = FieldServerComponent<\n TextareaField,\n TextareaFieldClientWithoutType,\n TextareaFieldBaseServerProps\n>\n\nexport type TextareaFieldClientComponent = FieldClientComponent<\n TextareaFieldClientWithoutType,\n TextareaFieldBaseClientProps\n>\n\nexport type TextareaFieldLabelServerComponent = FieldLabelServerComponent<\n TextareaField,\n TextareaFieldClientWithoutType\n>\n\nexport type TextareaFieldLabelClientComponent =\n FieldLabelClientComponent<TextareaFieldClientWithoutType>\n\nexport type TextareaFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n TextareaField,\n TextareaFieldClientWithoutType\n>\n\nexport type TextareaFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<TextareaFieldClientWithoutType>\n\nexport type TextareaFieldErrorServerComponent = FieldErrorServerComponent<\n TextareaField,\n TextareaFieldClientWithoutType\n>\n\nexport type TextareaFieldErrorClientComponent =\n FieldErrorClientComponent<TextareaFieldClientWithoutType>\n\nexport type TextareaFieldDiffServerComponent = FieldDiffServerComponent<\n TextareaField,\n TextareaFieldClient\n>\n\nexport type TextareaFieldDiffClientComponent = FieldDiffClientComponent<TextareaFieldClient>\n"],"names":[],"mappings":"AAkFA,WAA4F"} |