/**
 * @license MIT
 * author: Cube Dev Team
 * @cube-dev/ui-kit v0.0.0-canary-d4047d7
 * Released under the MIT license.
 */

export var Bucket;
(function (Bucket) {
    Bucket[Bucket["Color"] = 0] = "Color";
    Bucket[Bucket["Value"] = 1] = "Value";
    Bucket[Bucket["Mod"] = 2] = "Mod";
})(Bucket || (Bucket = {}));
export const makeEmptyDetails = () => ({
    input: '',
    output: '',
    mods: [],
    values: [],
    colors: [],
    all: [],
});
export const finalizeGroup = (d) => {
    // Join processed pieces already stored in `all` with single spaces.
    d.output = d.all.join(' ');
    return d;
};

        