Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import { pathParams } from 'src/bootstrapper/routes/pathParams';
/**
 * @todo import route params to keep in sync
 */
const wording = {
    // only in classic
    // only in wr
    signin: 'Sign In',
    hello: 'Hello ',
    // @todo this should be routing export...
    myAccountPath: '/myaccount/welcome',
    signUpPath: '/register',
    adminSignUpPath: '/adminRegister',
    signOutPath: '/logout',
    orderLookUpPath: '/orderlookup',
    // === extended ===
    orderLookup: '',
    community: 'Customer Support',
    classesAndEvents: 'Track Your Order',
    giftCards: 'Gift Cards',
    account: 'Account',
    signUp: 'Sign Up',
    // @todo @fixme move to routing
    signIn: '/signin',
    signOut: 'Sign Out',
    customerSupportPath: 'marketing',
    giftCardsPath: 'marketing',
};
const routing = {
    signIn: '/signin',
    adminSignIn: '/adminSignIn',
    signOut: '/logout',
    customerSupportPath: '/marketing',
    giftCardsPath: '/marketing',
};
const defaultProps = {
    wording,
    // @TODO className should not be sent through props...
    // @james -> we want to make this externally configurable
    // in a more powerful way than hardcoding classnames
    guestDropdownList: [
        {
            text: 'Sign In',
            icon: 'account',
            label: 'signin',
            identifier: '@signin',
        },
        {
            text: 'Register',
            // has an icon...
            icon: 'account',
            label: 'register',
            identifier: '@register',
        },
    ],
    secureDropdownList: [
        {
            text: 'My Account',
            icon: 'home',
            label: 'myaccount',
            identifier: '@myaccount',
            link: `${pathParams.myaccountLanding}`,
        },
        {
            text: 'Order History',
            icon: 'orderhistory',
            label: 'orderhistory',
            identifier: '@orderhistory',
            link: `${pathParams.myaccountOrders}`,
        },
        {
            text: 'Sign Out',
            icon: 'account',
            label: 'signout',
            identifier: '@signout',
        },
    ],
};
const { guestDropdownList, secureDropdownList } = defaultProps;
export { defaultProps, wording, guestDropdownList, secureDropdownList, routing };
export default defaultProps;
//# sourceMappingURL=fixture.js.map