UNPKG

594 BTypeScriptView Raw
1/**
2 * Gets the next order value 1 based for the provided collection
3 *
4 * @param collection Collection of orderable things
5 */
6export declare function getNextOrder(collection: {
7 order: number;
8}[]): number;
9/**
10 * Normalizes the order value for all the sections, columns, and controls to be 1 based and stepped (1, 2, 3...)
11 *
12 * @param collection The collection to normalize
13 */
14export declare function reindex(collection: {
15 order: number;
16 columns?: {
17 order: number;
18 }[];
19 controls?: {
20 order: number;
21 }[];
22}[]): void;
23//# sourceMappingURL=funcs.d.ts.map
\No newline at end of file