{"version":3,"sources":["../../../src/nodes/AreText.ts"],"names":[],"mappings":";;;;AASO,IAAM,OAAA,GAAN,cAAsB,WAAA,CAAY;AAAA,EAGrC,QAAQ,SAAA,EAAkC;AACtC,IAAA,KAAA,CAAM,OAAA,CAAQ;AAAA,MACV,GAAG,SAAA;AAAA,MACH,OAAA,EAAS;AAAA,QACL,GAAI,SAAA,CAAU,OAAA,IAAW,EAAC;AAAA,QAC1B,MAAA,EAAQ;AAAA;AACZ,KACH,CAAA;AAAA,EACL;AACJ;AAZa,OAAA,GAAN,eAAA,CAAA;AAAA,EAJN,QAAQ,MAAA,CAAO;AAAA,IACZ,SAAA,EAAW,YAAA;AAAA,IACX,WAAA,EAAa;AAAA,GAChB;AAAA,CAAA,EACY,OAAA,CAAA","file":"AreText.mjs","sourcesContent":["import { AreNodeNewProps } from \"@adaas/are\";\nimport { AreHTMLNode } from \"@adaas/are-html/node\";\nimport { A_Frame } from \"@adaas/a-frame/core\";\n\n\n@A_Frame.Define({\n    namespace: 'a-are-html',\n    description: 'Node type representing a plain or partially-dynamic text segment in the AreHTMLNode tree. Emits an AddText instruction that sets or updates the corresponding DOM text node; the content may carry a store getter for any dynamic portion.'\n})\nexport class AreText extends AreHTMLNode {\n\n\n    fromNew(newEntity: AreNodeNewProps): void {\n        super.fromNew({\n            ...newEntity,\n            payload: {\n                ...(newEntity.payload || {}),\n                entity: 'are-text',\n            }\n        });\n    }\n}"]}