|
|
|
@ -10,12 +10,12 @@ export interface BlockOptions {
|
|
|
|
|
generator?: DomGenerator;
|
|
|
|
|
expression?: Node;
|
|
|
|
|
context?: string;
|
|
|
|
|
destructuredContexts?: string[];
|
|
|
|
|
comment?: string;
|
|
|
|
|
key?: string;
|
|
|
|
|
contexts?: Map<string, string>;
|
|
|
|
|
indexes?: Map<string, string>;
|
|
|
|
|
changeableIndexes?: Map<string, boolean>;
|
|
|
|
|
contextDependencies?: Map<string, string[]>;
|
|
|
|
|
params?: string[];
|
|
|
|
|
indexNames?: Map<string, string>;
|
|
|
|
|
listNames?: Map<string, string>;
|
|
|
|
@ -38,7 +38,6 @@ export default class Block {
|
|
|
|
|
contexts: Map<string, string>;
|
|
|
|
|
indexes: Map<string, string>;
|
|
|
|
|
changeableIndexes: Map<string, boolean>;
|
|
|
|
|
contextDependencies: Map<string, string[]>;
|
|
|
|
|
dependencies: Set<string>;
|
|
|
|
|
params: string[];
|
|
|
|
|
indexNames: Map<string, string>;
|
|
|
|
@ -86,7 +85,6 @@ export default class Block {
|
|
|
|
|
this.contexts = options.contexts;
|
|
|
|
|
this.indexes = options.indexes;
|
|
|
|
|
this.changeableIndexes = options.changeableIndexes;
|
|
|
|
|
this.contextDependencies = options.contextDependencies;
|
|
|
|
|
this.dependencies = new Set();
|
|
|
|
|
|
|
|
|
|
this.params = options.params;
|
|
|
|
|