1 line
63 KiB
Plaintext
1 line
63 KiB
Plaintext
|
{"version":3,"file":"ng-dynamic-component.mjs","sources":["../../../projects/ng-dynamic-component/src/lib/io/event-argument.ts","../../../projects/ng-dynamic-component/src/lib/io/event-context.ts","../../../projects/ng-dynamic-component/src/lib/component-injector/token.ts","../../../projects/ng-dynamic-component/src/lib/io/io.service.ts","../../../projects/ng-dynamic-component/src/lib/io/io-factory.service.ts","../../../projects/ng-dynamic-component/src/lib/component-outlet/component-outlet-io.directive.ts","../../../projects/ng-dynamic-component/src/lib/component-outlet/component-outlet-injector.directive.ts","../../../projects/ng-dynamic-component/src/lib/component-outlet/component-outlet-injector.module.ts","../../../projects/ng-dynamic-component/src/lib/dynamic-io/dynamic-io.directive.ts","../../../projects/ng-dynamic-component/src/lib/dynamic-io/dynamic-io.module.ts","../../../projects/ng-dynamic-component/src/lib/dynamic.component.ts","../../../projects/ng-dynamic-component/src/lib/dynamic.module.ts","../../../projects/ng-dynamic-component/src/lib/dynamic-attributes/dynamic-attributes.directive.ts","../../../projects/ng-dynamic-component/src/lib/dynamic-attributes/dynamic-attributes.module.ts","../../../projects/ng-dynamic-component/src/lib/util.ts","../../../projects/ng-dynamic-component/src/lib/reflect/reflect.service.ts","../../../projects/ng-dynamic-component/src/lib/dynamic-directives/dynamic-directives.directive.ts","../../../projects/ng-dynamic-component/src/lib/dynamic-directives/dynamic-directives.module.ts","../../../projects/ng-dynamic-component/src/public-api.ts","../../../projects/ng-dynamic-component/src/ng-dynamic-component.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\n/**\n * @public\n */\nexport function defaultEventArgumentFactory() {\n return '$event';\n}\n\n/**\n * @public\n */\nexport const IoEventArgumentToken = new InjectionToken<string>(\n 'EventArgument',\n {\n providedIn: 'root',\n factory: defaultEventArgumentFactory,\n },\n);\n\n/**\n * @public\n * @deprecated Since v10.4.0 - Use {@link IoEventArgumentToken} instead!\n */\nexport const EventArgumentToken = IoEventArgumentToken;\n","import { InjectionToken, StaticProvider } from '@angular/core';\n\n/**\n * A token that holds custom context of the output handlers\n *\n * @public\n */\nexport const IoEventContextToken = new InjectionToken<unknown>(\n 'IoEventContext',\n);\n\n/**\n * A token that holds provider for custom context of the output handlers\n * which should be provided using {@link IoEventContextToken} token\n *\n * @public\n */\nexport const IoEventContextProviderToken = new InjectionToken<StaticProvider>(\n 'IoEventContextProvider',\n);\n","import { InjectionToken } from '@angular/core';\nimport { DynamicComponentInjector } from './component-injector';\n\n/**\n * @public\n */\nexport const DynamicComponentInjectorToken =\n new InjectionToken<DynamicComponentInjector>('DynamicComponentInjector');\n","import {\n ChangeDetectorRef,\n ComponentFactory,\n ComponentFactoryResolver,\n Inject,\n Injectable,\n Injector,\n KeyValueChangeRecord,\n KeyValueChanges,\n KeyValueDiffers,\n OnDestroy,\n Optional,\n StaticProvider,\n Type,\n} from '@angular/core';\nimport { Observable, Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport {\n DynamicComponentInjector,\n DynamicComponentInjectorToken,\n} from '../component-injector';\nimport { IoEventArgumentToken } from './event-argument';\nimport {\n IoEventContextProviderToken,\n IoEventContextToken,\n} from './event-context';\nimport { EventHandler, InputsType, OutputsType, OutputWithArgs } from './types';\n\ninterface IOMapInfo {\n propName: string;\n templateName: string;\n}\n\ntype IOMappingList = IOMapInfo[];\n\ntype KeyValueChangesAny = KeyValueChanges<string, unknown>;\n\ninterface OutputsTypeProcessed extends OutputsType {\n [k: string]: EventHandler;\n}\n\n/**\n * @public\n */\n@Injectable({ providedIn: 'root' })\nexport class IoServiceOptions {\n trackOutputChanges = false;\n}\n\n/**\n * @public\n
|