This commit is contained in:
2026-04-29 08:30:52 -07:00
commit b053d27321
1660 changed files with 329972 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
import { EmptyDrop } from '../drop';
export declare class BlankDrop extends EmptyDrop {
equals(value: any): boolean;
static is(value: unknown): boolean;
}
+11
View File
@@ -0,0 +1,11 @@
import { Emitter } from '../emitters';
import { Drop } from './drop';
export declare class BlockDrop extends Drop {
private superBlockRender;
constructor(superBlockRender?: (emitter: Emitter) => IterableIterator<unknown> | string);
/**
* Provide parent access in child block by
* {{ block.super }}
*/
super(): IterableIterator<unknown>;
}
+8
View File
@@ -0,0 +1,8 @@
export interface Comparable {
equals: (rhs: any) => boolean;
gt: (rhs: any) => boolean;
geq: (rhs: any) => boolean;
lt: (rhs: any) => boolean;
leq: (rhs: any) => boolean;
}
export declare function isComparable(arg: any): arg is Comparable;
+4
View File
@@ -0,0 +1,4 @@
import { Context } from '../context';
export declare abstract class Drop {
liquidMethodMissing(key: string | number, context: Context): Promise<any> | any;
}
+11
View File
@@ -0,0 +1,11 @@
import { Drop } from './drop';
import { Comparable } from './comparable';
export declare class EmptyDrop extends Drop implements Comparable {
equals(value: any): boolean;
gt(): boolean;
geq(): boolean;
lt(): boolean;
leq(): boolean;
valueOf(): string;
static is(value: unknown): boolean;
}
+15
View File
@@ -0,0 +1,15 @@
import { Drop } from './drop';
export declare class ForloopDrop extends Drop {
protected i: number;
name: string;
length: number;
constructor(length: number, collection: string, variable: string);
next(): void;
index0(): number;
index(): number;
first(): boolean;
last(): boolean;
rindex(): number;
rindex0(): number;
valueOf(): string;
}
+7
View File
@@ -0,0 +1,7 @@
export * from './drop';
export * from './null-drop';
export * from './empty-drop';
export * from './blank-drop';
export * from './forloop-drop';
export * from './block-drop';
export * from './comparable';
+10
View File
@@ -0,0 +1,10 @@
import { Drop } from './drop';
import { Comparable } from './comparable';
export declare class NullDrop extends Drop implements Comparable {
equals(value: any): boolean;
gt(): boolean;
geq(): boolean;
lt(): boolean;
leq(): boolean;
valueOf(): null;
}
+10
View File
@@ -0,0 +1,10 @@
import { ForloopDrop } from './forloop-drop';
export declare class TablerowloopDrop extends ForloopDrop {
private cols;
constructor(length: number, cols: number, collection: string, variable: string);
row(): number;
col0(): number;
col(): number;
col_first(): boolean;
col_last(): boolean;
}