{"version":3,"file":"index.mjs","sources":["../src/index.ts"],"sourcesContent":["import { extensions } from 'pixi.js';\nimport { LayoutSystem } from './core/LayoutSystem';\nimport './core/mixins/ContainerMixin';\nimport './core/mixins/TextMixin';\nimport './core/mixins/ViewContainerMixin';\n\n// layout\nexport * from './core/debug/DebugRenderer';\nexport * from './core/Layout';\nexport * from './core/LayoutSystem';\n// layout utils\nexport * from './core/style/applyStyle';\nexport * from './core/style/formatStyles';\nexport * from './core/utils/getNumberFromStyle';\nexport * from './core/utils/getPixiSize';\nexport * from './core/utils/nearlyEqual';\nexport * from './core/utils/sort-children';\n// types\nexport * from './core/style/layoutStyles';\nexport * from './core/style/yogaStyles';\nexport * from './core/types';\n// misc\nexport * from './yoga';\n\ndeclare global {\n    // eslint-disable-next-line @typescript-eslint/no-namespace\n    namespace PixiMixins {\n        interface Container {\n            _layout: import('./core/Layout').Layout | null;\n            get layout(): import('./core/Layout').Layout | null;\n            set layout(value: Omit<import('./core/Layout').LayoutOptions, 'target'> | null | boolean);\n            onLayout(value: import('./core/Layout').Layout): void;\n            computeLayoutData(\n                computedLayout: import('./core/types').ComputedLayout,\n            ): import('./core/types').ComputedPixiLayout;\n            updateLocalTransformWithLayout: () => void;\n        }\n\n        interface ContainerEvents {\n            layout: [event: import('./core/Layout').Layout];\n        }\n\n        interface ContainerOptions {\n            layout?: Omit<import('./core/Layout').LayoutOptions, 'target'> | null | boolean;\n        }\n\n        interface RendererSystems {\n            layout: import('./core/LayoutSystem').LayoutSystem;\n        }\n\n        interface RendererOptions {\n            layout?: import('./core/LayoutSystem').LayoutSystemOptions;\n        }\n    }\n}\n\nextensions.add(LayoutSystem);\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAwDA,WAAW,IAAI,YAAY;"}