import { Atom } from "../../atom";
import { Helpers } from "../../setup";
export class BreadcrumbAtom extends Atom {
    static { this.CSS_CLASS = "nui-breadcrumb"; }
    getAllItems() {
        return super
            .getLocator()
            .locator(Helpers.page.locator(".nui-breadcrumb__wrapper"));
    }
    getLink(link) {
        return link.locator(".nui-breadcrumb__crumb");
    }
    getUrlState() {
        const fullUrl = Helpers.page.url();
        return fullUrl.split("#")[1];
    }
}
//# sourceMappingURL=breadcrumb.atom.js.map