marketFluxModule.constant('specificationTypeConstants', {
TextBoxSingle: 1,
TextBoxMultiple: 2,
SelectionListDropdown: 3,
SelectionListRadioButton: 4,
SelectionListCheckboxList: 5,
FileUpload: 6,
HtmlBlock: 7,
Constant: 8,
FileAttachment: 9,
Calendar: 10,
});
marketFluxModule.constant('customFieldTypeConstants', {
TextBoxSingle: 1,
TextBoxMultiple: 2,
SelectionListDropdown: 3,
SelectionListRadioButton: 4,
SelectionListCheckboxList: 5,
FileUpload: 6,
HtmlBlock: 7,
Constant: 8,
FileAttachment: 9,
Calendar: 10,
});
marketFluxModule.constant('addToCartTemplateBehaviorConstants', {
SingleInstanceOfDefinedTemplate: 1,
RepeatDefinedTemplateSpecifiedTimes: 2,
RepeatDefinedTemplateAsNeeded: 3,
GeneratedTemplate: 4,
VariantGrid: 5,
VariantList: 6,
VariantGridWithDefinedTemplate: 7,
VariantListWithDefinedTemplate: 8,
});
marketFluxModule.constant('productTypeConstants', {
Static: 1,
Variable: 2,
Bundle: 3,
Adjustment: 4,
});
marketFluxModule.constant('pagingBehaviorConstants', {
AlwaysPage: 1,
PageAboveLimit: 2,
NeverPage: 3,
});
marketFluxModule.constant('orderApprovalRequirementConstants', {
NoApprovalRequired: 1,
ApprovalMayBeRequired: 2,
ApprovalIsRequired: 3,
});
marketFluxModule.constant('valueRestrictionTypeConstants', {
NotRestricted: 1,
RestrictToQuantityValues: 2,
RestrictToBasePriceBreaks: 3,
});
marketFluxModule.constant('UserProfile', JSON.parse(Base64.decode('bnVsbA==')));
marketFluxModule.run(function ($rootScope, specificationTypeConstants, customFieldTypeConstants, addToCartTemplateBehaviorConstants, productTypeConstants, orderApprovalRequirementConstants, valueRestrictionTypeConstants, UserProfile) {
$rootScope.specificationTypeConstants = specificationTypeConstants;
$rootScope.customFieldTypeConstants = customFieldTypeConstants;
$rootScope.addToCartTemplateBehaviorConstants = addToCartTemplateBehaviorConstants;
$rootScope.productTypeConstants = productTypeConstants;
$rootScope.orderApprovalRequirementConstants = orderApprovalRequirementConstants;
$rootScope.valueRestrictionTypeConstants = valueRestrictionTypeConstants;
$rootScope.UserProfile = UserProfile;
});
var FoundryCommerce = FoundryCommerce || {};
FoundryCommerce.DefaultCurrencyCode = 'USD';