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,EAAEU,KAAKtvE,KAAK,iBAAkB+uE,EAAgBA,EAAgB5T,aAAmC,qBAAfA,aAA2BA,kBAAalzD,EAAU,SAAU8mE,EAAgBA,EAAgBlvE,KAAmB,qBAAPA,KAAmBA,UAAKoI,GAAoB4mE,CAAS,C","sources":["../../../../shopping-campaign/packages/coupon-control-view/src/coupon-control-view.js","../../../../shopping-campaign/packages/cashback-settings/src/view-model.js","../../../../shopping-campaign/packages/cashback-settings/src/view.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/index.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/brand-grid/brand-grid.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/brand-grid/grid-columns.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/brand-grid/grid-config.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/brand-grid/grid-plugins-config.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/brand-grid-deps.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/brand-grid-factory.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/link-store-toolbar/viewmodel.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/link-store-toolbar/view.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/linked-store-grid/linked-store-grid.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/linked-store-grid/grid-columns.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/linked-store-grid/grid-config.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/linked-store-grid-deps.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/linked-store-grid-factory.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/linked-store-grid/grid-plugins-config.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/upload-feed-toolbar/view.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/shared/upload-feed-status.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/upload-progress-bar/view.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/product-feed-grid/product-feed-grid.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/product-feed-grid/grid-columns.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/product-feed-grid/grid-config.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/product-feed-grid/grid-plugins-config.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/product-feed-grid-deps.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/product-feed-grid-factory.js","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/shared/util.js","../../../../shopping-campaign/packages/feed-filter/src/confirm-dialog.js","../../../../shopping-campaign/packages/feed-filter/src/constants.js","../../../../shopping-campaign/packages/feed-filter/src/feed-label-selector.js","../../../../shopping-campaign/packages/feed-filter/src/feed-filter.js","../../../../shopping-campaign/packages/feed-filter/src/feed-filter-picker.js","../../../../shopping-campaign/packages/feed-filter/src/wrapped-feed-filter-picker.js","../../../../shopping-campaign/packages/feed-filter/src/wrapped-feed-filter.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/inline-editors/cashback-percent-base-view.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/inline-editors/viewmodel/cashback-percent-base-viewmodel.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/inline-editors/ad-group/ad-group-cashback-percent-view.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/inline-editors/criterion/criterion-cashback-percent-view.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/cashback-percent.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/cashback-budget.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/inline-editors/cashback-scope-base-view.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/inline-editors/viewmodel/cashback-scope-base-viewmodel.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/inline-editors/ad-group/ad-group-cashback-scope-view.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/cashback-scope.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/common-styles/cashback-percent-editor.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/inline-editors/coupon-base-view.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/inline-editors/viewmodel/coupon-base-viewmodel.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/inline-editors/ad-group/ad-group-coupon-view.js","../../../../shopping-campaign/packages/personalized-offer-columns/src/coupon.js","../../../../shopping-campaign/packages/product-services/src/odata-config.js","../../../../shopping-campaign/packages/product-services/src/fetch-product-scope-data.js","../../../../shopping-campaign/packages/spa-tutorial/src/tutorial.js","../../../../shopping-campaign/packages/spa-tutorial/src/spa-tutorial.js","../../../../shopping-campaign/packages/spa-tutorial/src/spav2-tutorial.js","../../../../shopping-campaign/packages/spa-tutorial/src/ms-store-ads-tutorial.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/no-store.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/model/default-values.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/model/campaign-criterions.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/model/campaign.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/model/crud.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/styles/get-campaign-creation-styles.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/styles/index.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/model/api-errors.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/controls/validated-shared-budget.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/controls/validated-devices.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/controls/validated-product-filter.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/controls/validated-bid-setting.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/basic-settings.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/controls/validated-ad-distribution.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/more-settings.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/page.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/shared/styles/collapsible-panel.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/shared/styles/brand-panel.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/shared/components/panels/brand-panel.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/shared/components/category-selector.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/shared/styles/category-panel.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/shared/components/panels/category-panel.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/shared/utils.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/shared/components/product-settings/use-data-source.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/shared/styles/product-id-panel.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/shared/components/panels/product-id-panel.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/shared/styles/product-settings.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/shared/components/product-settings/index.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/adgoup-settings/utils.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/adgoup-settings/shell.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/adgoup-settings/use-target-repository.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/budget-and-bid/styles.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/budget-and-bid/shell.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/budget-and-bid/use-budget-bid-repository.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/campaign-settings/styles.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/campaign-settings/shell.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/campaign-settings/use-campaign-repository.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/summary/use-summary-schema-data.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/constants.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/summary/shell.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/summary/schema.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/summary/use-summary-repository.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/step-lists.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/steps/step-config.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/footer.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/wizard/index.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/index.js","../../../../shopping-campaign/packages/sponsored-campaign-creation/src/model/location-criterions.js","../../../../shopping-campaign/packages/sponsored-campaign-shared/src/rules.js","../../../../shopping-campaign/packages/sponsored-campaign-shared/src/utils.js","../../../../shopping-campaign/packages/top-panel-cashback-settings/src/view-model.js","../../../../shopping-campaign/packages/top-panel-cashback-settings/src/view.js","../../shopping-coupon-callout/src/constants.js","../../shopping-coupon-callout/src/use-shopping-fac.js","../../shopping-coupon-callout/src/index.js","../../shopping-coupon-callout/src/with-shopping-fac.js","../../../../shopping-campaign/packages/cashback-settings/src/template.pug","../../../../shopping-campaign/packages/coupon-control-view/src/coupon-control-view.pug","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/brand-grid/dropdown-column.pug","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/link-store-toolbar/template.pug","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/linked-store-grid/action-column.pug","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/linked-store-grid/status-column.pug","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/upload-feed-toolbar/template.pug","../../../../shopping-campaign/packages/cpg-product-feed-grid/src/upload-progress-bar/template.pug","../../../../shopping-campaign/packages/personalized-offer-columns/src/cashback-budget.pug","../../../../shopping-campaign/packages/personalized-offer-columns/src/cashback-scope.pug","../../../../shopping-campaign/packages/personalized-offer-columns/src/coupon.pug","../../../../shopping-campaign/packages/personalized-offer-columns/src/inline-editors/template/adgroup-cashback-percent.pug","../../../../shopping-campaign/packages/personalized-offer-columns/src/inline-editors/template/cashback-percent.pug","../../../../shopping-campaign/packages/personalized-offer-columns/src/inline-editors/template/cashback-scope.pug","../../../../shopping-campaign/packages/personalized-offer-columns/src/inline-editors/template/coupon.pug","../../../../shopping-campaign/packages/top-panel-cashback-settings/src/error-message.pug","../../../../shopping-campaign/packages/top-panel-cashback-settings/src/template.pug"],"sourcesContent":["import Backbone from 'backbone';\r\nimport template from './coupon-control-view.pug';\r\n\r\nexport class CouponControlView extends Backbone.View {\r\n initialize({\r\n CouponsEnabled,\r\n ParentCouponsEnabled,\r\n currentLevel,\r\n deps = {\r\n i18n: {\r\n getString: a => a,\r\n },\r\n },\r\n }) {\r\n this.parentOption = ParentCouponsEnabled;\r\n this.option = CouponsEnabled;\r\n this.currentLevel = currentLevel;\r\n this.deps = deps;\r\n this.errorMsg = null;\r\n this.initOptions();\r\n }\r\n\r\n events() {\r\n return {\r\n 'change input[type=\\'checkbox\\']': e => this.handleOption(e),\r\n 'change input[type=\\'radio\\']': e => this.handleOption(e),\r\n };\r\n }\r\n\r\n handleOption(e) {\r\n if (e.target.type === 'checkbox') {\r\n this.setValue(e.target.checked ? 'Enabled' : 'Disabled');\r\n } else {\r\n this.setValue(e.target.value);\r\n }\r\n }\r\n\r\n getI18n() {\r\n return this.deps.i18n || ({ getString: a => a });\r\n }\r\n\r\n getI18nKeyMap() {\r\n // TODO: sync the value with UI mock\r\n return {\r\n None: 'CashbackOption_InheritFromCampaign',\r\n Enabled: 'CouponOption_Enabled',\r\n Disabled: 'CouponOption_Disabled',\r\n };\r\n }\r\n\r\n initOptions() {\r\n const i18n = this.getI18n();\r\n const keyMap = this.getI18nKeyMap();\r\n if (this.currentLevel === 'campaign') {\r\n this.options = ['Enabled', 'Disabled'].map(key => ({\r\n text: i18n.getString(keyMap[key]) || key,\r\n value: key,\r\n }));\r\n } else if (this.currentLevel === 'adgroup') {\r\n const parentOption = (this.parentOption == null || this.parentOption === 'None') ? '-' :\r\n (i18n.getString(`CouponOption_${this.parentOption}`) || this.parentOption);\r\n this.options = ['None', 'Enabled', 'Disabled'].map((key) => {\r\n let textData = i18n.getString(keyMap[key]);\r\n if (key === 'None') {\r\n textData = textData && `${textData} (${parentOption})`;\r\n }\r\n return ({\r\n text: textData || key,\r\n value: key,\r\n });\r\n });\r\n }\r\n }\r\n\r\n getValue() {\r\n return this.option;\r\n }\r\n\r\n showError() {\r\n this.$('.error').text(this.errorMsg);\r\n }\r\n\r\n hideError() {\r\n this.$('.error').empty().hide();\r\n }\r\n\r\n setValue(option) {\r\n this.option = option;\r\n if (!this.validate()) {\r\n // this should not happen\r\n this.errorMsg = `option ${this.option} is not valid`;\r\n } else {\r\n this.errorMsg = null;\r\n }\r\n this.render();\r\n }\r\n\r\n validate() {\r\n return this.options.map(x => x.value).includes(this.option);\r\n }\r\n\r\n render() {\r\n this.$el.html(template({\r\n options: this.options,\r\n i18n: this.getI18n(),\r\n selectedOption: this.option,\r\n isCampaign: this.currentLevel === 'campaign',\r\n }));\r\n if (this.errorMsg) {\r\n this.showError();\r\n } else {\r\n this.hideError();\r\n }\r\n return this;\r\n }\r\n}\r\n","import ko from 'knockout';\r\n\r\nexport default class ViewModel {\r\n constructor({\r\n i18n,\r\n decimal,\r\n PersonalizedOffersEnabled,\r\n CashbackPercent = '',\r\n CashbackMonthlyBudget = '',\r\n CashbackScope = 'None',\r\n isEnablePersonalizedOffersDisabled = false,\r\n showEnableCashbackSettingsCheckbox = true,\r\n showCashbackBudget = true,\r\n ParentLevelCashbackScope = 'None',\r\n cashbackPercentControlView,\r\n couponControlView,\r\n isPersonalizedOffersV2Enabled,\r\n isPersonalizedOffersV3Enabled,\r\n isReadOnly,\r\n }) {\r\n this.i18n = i18n;\r\n this.decimal = decimal;\r\n this.isEnablePersonalizedOffersDisabled = ko.observable(isEnablePersonalizedOffersDisabled);\r\n this.isReadOnly = ko.observable(isReadOnly);\r\n\r\n this.cashbackPercentControlView = cashbackPercentControlView;\r\n this.couponControlView = couponControlView;\r\n\r\n const enablePersonalizedOffersByDefault =\r\n (this.decimal.fromLocalToFloat(CashbackMonthlyBudget) > 0 ||\r\n (isPersonalizedOffersV3Enabled && PersonalizedOffersEnabled)) ||\r\n !showEnableCashbackSettingsCheckbox;\r\n // we need to set budget to empty or the validation cannot work\r\n if (!enablePersonalizedOffersByDefault) {\r\n CashbackMonthlyBudget = ''; // eslint-disable-line\r\n }\r\n\r\n this.isEnablePersonalizedOffersChecked = ko.observable(enablePersonalizedOffersByDefault);\r\n this.CashbackPercent = ko.observable(CashbackPercent);\r\n this.CashbackMonthlyBudget = ko.observable(CashbackMonthlyBudget);\r\n this.CashbackScope = ko.observable(CashbackScope);\r\n this.ScopeOptions = {\r\n Store: 'Store',\r\n Product: 'Product',\r\n None: 'None',\r\n };\r\n this.InheritCashbackScope = ParentLevelCashbackScope;\r\n this.cashbackBudgetError = ko.observable(null);\r\n\r\n this.CashbackMonthlyBudget.subscribe((v) => {\r\n this.validateCashbackMonthlyBudget(v);\r\n });\r\n this.showCashbackBudget = ko.observable(showCashbackBudget);\r\n this.isPersonalizedOffersV2Enabled = isPersonalizedOffersV2Enabled;\r\n this.isPersonalizedOffersV3Enabled = isPersonalizedOffersV3Enabled;\r\n }\r\n\r\n validate() {\r\n const cashbackPercentValid = this.validateCashbackPercent();\r\n const cashbackBudgetValid = this.validateCashbackMonthlyBudget(this.CashbackMonthlyBudget());\r\n const couponValid = this.validateCoupon();\r\n return cashbackPercentValid && cashbackBudgetValid && couponValid;\r\n }\r\n\r\n validateCashbackPercent() {\r\n return this.cashbackPercentControlView.validate();\r\n }\r\n\r\n validateCashbackMonthlyBudget(v) {\r\n // since the cashback budget is hide in V2, here we can simply bypass the validation\r\n if (this.isPersonalizedOffersV2Enabled) {\r\n return true;\r\n }\r\n\r\n if (!this.showCashbackBudget()) {\r\n this.cashbackBudgetError(null);\r\n return true;\r\n }\r\n\r\n if (v == null || v === '') {\r\n this.cashbackBudgetError(this.i18n.getString('Validation_NotEmpty_Required_Field'));\r\n return false;\r\n } else if (!this.decimal.isValid(v)) {\r\n this.cashbackBudgetError(this.i18n.getString('Campaigns_InlineValidBudgetInputMsg'));\r\n return false;\r\n } else if (this.decimal.fromLocalToFloat(v) <= 0) {\r\n this.cashbackBudgetError(this.i18n.getString('Validation_Number_Range_Min').replace('{{min}}', 0));\r\n return false;\r\n }\r\n this.cashbackBudgetError(null);\r\n return true;\r\n }\r\n\r\n validateCoupon() {\r\n return (this.couponControlView == null) || this.couponControlView.validate();\r\n }\r\n}\r\n","/* eslint-disable no-param-reassign */\r\nimport Backbone from 'backbone';\r\nimport ko from 'knockout';\r\nimport { CashbackPercentControlView } from '@bingads-webui-campaign/cashback-percent-control-view';\r\nimport { CouponControlView } from '@bingads-webui-campaign/coupon-control-view';\r\nimport ViewModel from './view-model';\r\nimport tmpl from './template.pug';\r\n\r\nexport class CashbackSettings extends Backbone.View {\r\n initialize({\r\n PersonalizedOffersEnabled = false, // Campaign attribute\r\n CashbackPercent,\r\n CashbackMonthlyBudget, // Campaign attribute\r\n CashbackScope = 'Store',\r\n showEnableCashbackSettingsCheckbox = true,\r\n showCashbackBudget = true,\r\n isCashbackScopeReadonly = false,\r\n showInheritFromParentOption = false,\r\n ParentLevelCashbackPercent,\r\n ParentLevelCashbackScope = 'Store',\r\n ParentLevel = 'Campaign',\r\n isCreationScenario,\r\n showCoupon = false,\r\n CouponsEnabled = 'None',\r\n ParentCouponsEnabled,\r\n isReadOnly = false,\r\n deps = {},\r\n }) {\r\n // for campaign level setting, there is no None option, reset it to Store\r\n if (CashbackScope === 'None' && !showInheritFromParentOption) {\r\n CashbackScope = 'Store'; // eslint-disable-line\r\n }\r\n\r\n this.showCoupon = showCoupon;\r\n this.isCampaign = !showInheritFromParentOption;\r\n\r\n if (CouponsEnabled === null) {\r\n CouponsEnabled = 'None'; // eslint-disable-line\r\n }\r\n // for campaign level setting, there is no none option, reset it to enabled\r\n if (CouponsEnabled === 'None' && !showInheritFromParentOption && this.showCoupon) {\r\n CouponsEnabled = 'Disabled'; // eslint-disable-line\r\n }\r\n\r\n const {\r\n i18n,\r\n pageContext,\r\n decimal,\r\n } = deps;\r\n this.ParentLevel = ParentLevel;\r\n this.ParentLevelCashbackScope = ParentLevelCashbackScope;\r\n this.i18n = i18n;\r\n this.decimal = decimal;\r\n this.pageContext = pageContext;\r\n const budgetAmountPlaceholder = i18n.getString('CampaignSetting_Placeholder_Budget')\r\n .replace('{0}', decimal.fromLocalToString(this.getDefaultBudget()));\r\n\r\n this.budgetAmountPlaceholder = budgetAmountPlaceholder;\r\n this.showCashbackBudget = this.pageContext.Permissions.IsPersonalizedOffersV3Enabled ?\r\n false : showCashbackBudget;\r\n this.isCashbackScopeReadonly = isCashbackScopeReadonly;\r\n this.showInheritFromParentOption = showInheritFromParentOption;\r\n this.accountCurrencyCode = `${pageContext.AccountCurrencyCode} ${i18n.getString('Control_CampaignBudgetControl_MonthlyBudgetOption')}`;\r\n this.showEnableCashbackSettingsCheckbox = showEnableCashbackSettingsCheckbox;\r\n this.cashbackPercentControlView = new CashbackPercentControlView({\r\n viewContext: showInheritFromParentOption ? {\r\n currentCampaign: {\r\n CampaignCashback: {\r\n Percent: ParentLevelCashbackPercent,\r\n },\r\n },\r\n } : {},\r\n i18n,\r\n decimal,\r\n CashbackPercent,\r\n showInheritFromParentOption,\r\n isCreationScenario,\r\n allowEmptyCashbackPercent: !showInheritFromParentOption,\r\n });\r\n\r\n if (this.pageContext.Permissions.IsPersonalizedOffersV3Enabled && this.showCoupon) {\r\n this.couponControlView = new CouponControlView({\r\n CouponsEnabled,\r\n ParentCouponsEnabled,\r\n currentLevel: showInheritFromParentOption ? 'adgroup' : 'campaign',\r\n deps,\r\n useSelect: false,\r\n });\r\n }\r\n\r\n this.viewModel = new ViewModel({\r\n PersonalizedOffersEnabled,\r\n CashbackMonthlyBudget: CashbackMonthlyBudget != null ?\r\n decimal.fromFloatToString(CashbackMonthlyBudget, 2) : CashbackMonthlyBudget,\r\n CashbackScope,\r\n ParentLevelCashbackScope,\r\n i18n,\r\n showEnableCashbackSettingsCheckbox,\r\n showCashbackBudget: this.showCashbackBudget,\r\n showInheritFromParentOption,\r\n isCreationScenario,\r\n decimal,\r\n cashbackPercentControlView: this.cashbackPercentControlView,\r\n couponControlView: this.couponControlView,\r\n isPersonalizedOffersV2Enabled: this.pageContext.Permissions.IsPersonalizedOffersV2Enabled,\r\n isPersonalizedOffersV3Enabled: this.pageContext.Permissions.IsPersonalizedOffersV3Enabled,\r\n isReadOnly,\r\n });\r\n }\r\n\r\n get className() { return 'cashback-settings-root'; }\r\n\r\n getDefaultBudget() {\r\n const { pageContext } = this;\r\n const USDefaultBudget = pageContext.Permissions.IsDefaultBudgetExperimentationEnabled ? 25 : 20;\r\n const budgetRange = pageContext.BudgetRange;\r\n if (pageContext.AccountCurrencyCode && pageContext.AccountCurrencyCode === 'USD') {\r\n return USDefaultBudget;\r\n } else if (budgetRange.DailyRange.FloorValue > 20) {\r\n return budgetRange.DailyRange.FloorValue;\r\n }\r\n return 20;\r\n }\r\n\r\n getHelpId(target) {\r\n if (this.isCampaign) {\r\n switch (target) {\r\n case 'Campaign_Personalized_Promotions_Title':\r\n if (this.showCoupon) {\r\n return 'pop_BA_CampaignCreate_Settings_PP_PersonalizedPromotions';\r\n }\r\n return 'pop_BA_CampaignCreate_Settings_PP_SearchCampaign';\r\n case 'Campaign_Maximum_Cashback_Offer':\r\n return 'pop_BA_CampaignCreate_Settings_PP_CashbackOffer';\r\n case 'Campaign_Cashback_Offer_Scope':\r\n if (!this.isCashbackScopeReadonly) {\r\n return 'pop_BA_CampaignCreate_Settings_PP_CashbackOfferScope ';\r\n }\r\n return 'pop_BA_CampaignCreate_Settings_PP_Scope_SearchCampaign';\r\n case 'Campaign_Cashback_Coupon':\r\n return 'pop_BA_CampaignCreate_Settings_PP_Coupons';\r\n default:\r\n throw new Error('Out of scope');\r\n }\r\n } else {\r\n switch (target) {\r\n case 'Campaign_Personalized_Promotions_Title':\r\n // preserve this in case out of scope\r\n if (this.showCoupon) {\r\n return 'pop_BA_CampaignCreate_Settings_PP_PersonalizedPromotions';\r\n }\r\n return 'pop_BA_CampaignCreate_Settings_PP_SearchCampaign';\r\n case 'Campaign_Maximum_Cashback_Offer':\r\n return 'pop_BA_CampaignGrids_CashbackOffer';\r\n case 'Campaign_Cashback_Offer_Scope':\r\n if (!this.isCashbackScopeReadonly) {\r\n return 'pop_BA_CampaignCreate_PP_ShoppingCampaign_Scope';\r\n }\r\n return 'pop_BA_CampaignCreate_Settings_PP_Scope_SearchCampaign';\r\n case 'Campaign_Cashback_Coupon':\r\n return 'pop_BA_CampaignGrids_Coupons';\r\n default:\r\n throw new Error('Out of scope');\r\n }\r\n }\r\n }\r\n\r\n render() {\r\n const inheritOptionText = this.showInheritFromParentOption ?\r\n `${this.i18n.getString(`CashbackOption_InheritFrom${this.ParentLevel}`)}\r\n (${this.i18n.getString(`ColumnField_CashbackScope_${this.ParentLevelCashbackScope}`)})`\r\n : null;\r\n this.$el.html(tmpl({\r\n i18n: this.i18n,\r\n showEnableCashbackSettingsCheckbox: this.showEnableCashbackSettingsCheckbox,\r\n showCashbackBudget: this.showCashbackBudget,\r\n isCashbackScopeReadonly: this.isCashbackScopeReadonly,\r\n showCoupon: this.showCoupon,\r\n accountCurrencyCode: this.accountCurrencyCode,\r\n budgetAmountPlaceholder: this.budgetAmountPlaceholder,\r\n showInheritFromParentOption: this.showInheritFromParentOption,\r\n isPersonalizedOffersV2Enabled: this.pageContext.Permissions.IsPersonalizedOffersV2Enabled,\r\n isPersonalizedOffersV3Enabled: this.pageContext.Permissions.IsPersonalizedOffersV3Enabled,\r\n getHelpId: this.getHelpId.bind(this),\r\n inheritOptionText,\r\n }));\r\n const cashbackPercentControlViewContainer = this.$('.cashback-percent-container');\r\n cashbackPercentControlViewContainer\r\n .empty()\r\n .append(this.cashbackPercentControlView.render().$el);\r\n\r\n if (this.couponControlView) {\r\n this.$('.coupon-container').empty().append(this.couponControlView.render().$el);\r\n }\r\n\r\n this.cashbackPercentControlView.on('change', (validated, cashbackPercent) => {\r\n if (validated) {\r\n this.viewModel.CashbackPercent(cashbackPercent);\r\n }\r\n });\r\n\r\n ko.applyBindings(this.viewModel, this.el);\r\n return this;\r\n }\r\n\r\n validate() {\r\n return !this.viewModel.isEnablePersonalizedOffersChecked() ||\r\n this.viewModel.validate();\r\n }\r\n\r\n setValues({\r\n PersonalizedOffersEnabled,\r\n CashbackPercent,\r\n CashbackMonthlyBudget,\r\n CashbackScope,\r\n CouponsEnabled,\r\n }) {\r\n // this function is used for Copy\r\n if (this.pageContext.Permissions.IsPersonalizedOffersV3Enabled &&\r\n this.showEnableCashbackSettingsCheckbox) {\r\n this.viewModel.isEnablePersonalizedOffersChecked(PersonalizedOffersEnabled);\r\n }\r\n\r\n if (!this.viewModel.isEnablePersonalizedOffersChecked()) {\r\n return;\r\n }\r\n\r\n if (CouponsEnabled !== undefined && this.couponControlView) {\r\n this.couponControlView.setValue(CouponsEnabled);\r\n }\r\n if (CashbackPercent !== undefined) { // null is a valid value for cashback percent!\r\n this.cashbackPercentControlView.setValues(CashbackPercent);\r\n }\r\n if (CashbackMonthlyBudget != null && this.showCashbackBudget) {\r\n this.viewModel.CashbackMonthlyBudget(CashbackMonthlyBudget);\r\n }\r\n if (CashbackScope != null &&\r\n // invalid situation: no product option but cashback scope is product\r\n !(this.isCashbackScopeReadonly && CashbackScope === 'Product')\r\n // invalid situation: no inherit option but cashback scope is inherit\r\n && !(!this.showInheritFromParentOption && CashbackScope === 'None')) {\r\n this.viewModel.CashbackScope(CashbackScope);\r\n }\r\n }\r\n\r\n getValues() {\r\n if (this.viewModel.isEnablePersonalizedOffersDisabled()) {\r\n return {};\r\n }\r\n\r\n if (this.validate()) {\r\n const cashbackPercent = this.cashbackPercentControlView.getCashbackPercentValue();\r\n let result;\r\n\r\n if (this.viewModel.isEnablePersonalizedOffersChecked()) {\r\n result = {\r\n // for July pilot we temporarily hide the cashback budget and send a fake value to MT\r\n // this should be re-implemented in August pilot\r\n CashbackMonthlyBudget: this.pageContext.Permissions.IsPersonalizedOffersV2Enabled ?\r\n 1 : this.decimal.fromLocalToFloat(this.viewModel.CashbackMonthlyBudget()),\r\n CashbackPercent: cashbackPercent,\r\n CashbackScope: this.viewModel.CashbackScope(),\r\n };\r\n } else {\r\n result = {\r\n CashbackMonthlyBudget: 0,\r\n CashbackScope: 'None',\r\n CashbackPercent: -1,\r\n };\r\n }\r\n if (this.pageContext.Permissions.IsPersonalizedOffersV3Enabled) {\r\n if (this.viewModel.isEnablePersonalizedOffersChecked()) {\r\n if (this.couponControlView) {\r\n result.CouponsEnabled = this.couponControlView.getValue();\r\n }\r\n result.PersonalizedOffersEnabled = true;\r\n } else {\r\n if (this.showCoupon) {\r\n result.CouponsEnabled = 'None';\r\n }\r\n result.PersonalizedOffersEnabled = false;\r\n }\r\n }\r\n if (!this.showCashbackBudget) {\r\n delete result.CashbackMonthlyBudget;\r\n }\r\n return result;\r\n }\r\n return null;\r\n }\r\n\r\n remove() {\r\n super.remove();\r\n this.cashbackPercentControlView.remove();\r\n if (this.couponControlView) {\r\n this.couponControlView.remove();\r\n }\r\n }\r\n}\r\n","/* eslint-disable @typescript-eslint/no-unused-vars */\r\nimport { uncheckedInjectionContext as globalContext } from '@bingads-webui-campaign/injection-context';\r\nimport pkg from './package.json';\r\n\r\nexport { getBmcMtEndpoint, hasError } from './src/shared/util';\r\n\r\nexport function getProductFeedGridFactory(initializeGlobalContext = true) {\r\n if (initializeGlobalContext) {\r\n const pfgDeps = [\r\n 'component/azure-upload/index',\r\n ];\r\n return globalContext.define(\r\n pkg.legacyDependencies.concat(pfgDeps),\r\n Promise => import(/* webpackMode: 'eager' */ './src/product-feed-grid-factory') // eslint-disable-line no-unused-vars\r\n );\r\n }\r\n return import(/* webpackMode: 'eager' */ './src/product-feed-grid-factory'); // eslint-disable-line no-unused-vars\r\n}\r\n\r\nexport function getLinkedStoreGridFactory(initializeGlobalContext = true) {\r\n if (initializeGlobalContext) {\r\n return globalContext.define(\r\n pkg.legacyDependencies,\r\n Promise => import(/* webpackMode: 'eager' */ './src/linked-store-grid-factory') // eslint-disable-line no-unused-vars\r\n );\r\n }\r\n return import(/* webpackMode: 'eager' */ './src/linked-store-grid-factory'); // eslint-disable-line no-unused-vars\r\n}\r\n\r\nexport function getBrandGridFactory(initializeGlobalContext = true) {\r\n if (initializeGlobalContext) {\r\n return globalContext.define(\r\n pkg.legacyDependencies,\r\n Promise => import(/* webpackMode: 'eager' */ './src/brand-grid-factory') // eslint-disable-line no-unused-vars\r\n );\r\n }\r\n return import(/* webpackMode: 'eager' */ './src/brand-grid-factory'); // eslint-disable-line no-unused-vars\r\n}\r\n","/* eslint-disable import/extensions */\r\n/* eslint-disable import/no-unresolved */\r\n\r\n/* eslint-disable valid-jsdoc */\r\nimport $ from 'jquery';\r\nimport Events from 'events';\r\nimport { DeterministicWrapperView } from '@bingads-webui/deterministic-wrapper-view';\r\nimport { withUiBlock } from '@bingads-webui/uiblocker';\r\nimport { pgridFactory } from '@bingads-webui-campaign/pgrid-factory';\r\nimport { hasError, getBmcMtEndpoint } from '../shared/util';\r\n\r\n/**\r\n * CPG Brands grid\r\n */\r\nexport class BrandGrid extends DeterministicWrapperView {\r\n eventHub = new Events();\r\n\r\n get className() { return 'brand-grid'; }\r\n\r\n viewFactory({\r\n deps,\r\n preferenceConfig,\r\n getGridConfig,\r\n getPlugins,\r\n }) {\r\n this.EVENT_NAMES = {\r\n SHOW_ADD_BRAND_PANEL: 'SHOW_ADD_BRAND_PANEL',\r\n SHOW_ERRORS: 'SHOW_ERRORS',\r\n DATA_REFRESHED: 'DATA_REFRESHED',\r\n };\r\n const gridConfig = getGridConfig(this);\r\n this.grid = pgridFactory({\r\n gridConfig,\r\n plugins: getPlugins(this),\r\n preferenceConfig,\r\n });\r\n this.fetchGridData = true;\r\n this.getBmcMtEndpoint = getBmcMtEndpoint;\r\n this.hasError = hasError;\r\n this.deps = deps;\r\n this.i18n = deps.i18n;\r\n this.customerId = deps.pageContext.CurrentCustomer.Id;\r\n this.accountId = deps.pageContext.CurrentAccount.Id;\r\n this.userId = deps.pageContext.CurrentUser.Id;\r\n\r\n return this.grid.gridView;\r\n }\r\n\r\n get events() {\r\n return {\r\n 'click .show-brand-dropdown': 'switchDisplayBrandDropdown',\r\n 'mouseleave .brand-dropdown': 'closeBrandDropdown',\r\n 'click .delete-brand': 'deleteBrand',\r\n };\r\n }\r\n\r\n AddBrandToolbar() {\r\n this.grid.gridView.trigger(this.EVENT_NAMES.SHOW_ADD_BRAND_PANEL, {\r\n displayName: this.i18n.getString('CPG_AddBrandoolbar_Title'),\r\n });\r\n\r\n // not support add brand functionality in old UI\r\n }\r\n\r\n onBrandSearch(searchText) {\r\n this.grid.dataSource.setQueryString(searchText.trim());\r\n this.grid.gridView.refresh(true);\r\n }\r\n\r\n switchDisplayBrandDropdown(e) {\r\n const dropdown = e.currentTarget.getElementsByClassName('brand-dropdown');\r\n if (dropdown.length !== 0) {\r\n if (dropdown[0].style.display === 'none') {\r\n dropdown[0].style.display = '';\r\n } else {\r\n dropdown[0].style.display = 'none';\r\n }\r\n }\r\n }\r\n\r\n closeBrandDropdown(e) {\r\n const dropdown = e.currentTarget;\r\n if (dropdown.style.display !== 'none') {\r\n dropdown.style.display = 'none';\r\n }\r\n }\r\n\r\n deleteBrand(e) {\r\n const unblock = withUiBlock(this.grid.gridView.$el);\r\n const item = this.grid.gridView.itemOfElement(e.target);\r\n if (!item) {\r\n return;\r\n }\r\n $.ajax({\r\n url: `${this.getBmcMtEndpoint()}/api/v1/manufacturers/${this.customerId}/brands/${item.MmcBrandId}?cid=${this.customerId}&aid=${this.accountId}&uid=${this.userId}`,\r\n type: 'DELETE',\r\n xhrFields: {\r\n withCredentials: true,\r\n },\r\n success: () => {\r\n unblock();\r\n this.fetchGridData = true;\r\n this.grid.gridView.refresh(true);\r\n this.grid.gridView.trigger(this.EVENT_NAMES.DATA_REFRESHED, true);\r\n },\r\n error: () => {\r\n unblock();\r\n this.setErrors([this.i18n.getString('CPG_Error_RequestFailed')], false);\r\n },\r\n });\r\n }\r\n\r\n setErrors(errors = []) {\r\n this.showErrors(errors);\r\n }\r\n\r\n showErrors(errors) {\r\n this.eventHub.emit(this.EVENT_NAMES.SHOW_ERRORS, errors);\r\n }\r\n}\r\n","import { CampaignuiBaseColumn } from '@bingads-webui-campaign/campaignui-base-column';\r\nimport DropdownColumnTemplate from './dropdown-column.pug';\r\n\r\nconst StatusMap = {\r\n 0: 'Pending',\r\n 1: 'Verified',\r\n 2: 'Rejected', // link request was rejected by retailer\r\n};\r\n\r\nexport const ColumnsName = {\r\n SubBrands: 'Sub-brands',\r\n};\r\n\r\nclass BrandNameColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_BrandName');\r\n\r\n super({\r\n name: 'Brand Name',\r\n property: 'BrandName',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_ProductFeed_Brand',\r\n sortable: true,\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n }\r\n}\r\n\r\nclass BrandWebsiteColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_BrandWebsite');\r\n\r\n super({\r\n name: 'Brand Website',\r\n property: 'BrandUrl',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_ProductFeed_BrandWebsite',\r\n sortable: true,\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n }\r\n}\r\n\r\nclass SubBrandsColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_SubBrands');\r\n\r\n super({\r\n name: ColumnsName.SubBrands,\r\n property: 'SubBrands',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_ProductFeed_SubBrands',\r\n sortable: true,\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n }\r\n\r\n pickProperty(item) {\r\n return item.SubBrands ? item.SubBrands.join(', ') : null;\r\n }\r\n}\r\n\r\nclass BrandStatusColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_BrandStatus');\r\n\r\n super({\r\n name: 'Status',\r\n property: 'Status',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_MSCBrands_Status',\r\n sortable: true,\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n this.i18n = i18n;\r\n }\r\n\r\n pickProperty(item) {\r\n return StatusMap[item.Status];\r\n }\r\n\r\n template({ value }) {\r\n return super.template({ value: this.i18n.getString(`Brand_Status_${value}`) || value });\r\n }\r\n}\r\n\r\nclass MatchedProductCountColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_MatchedProductCount');\r\n\r\n super({\r\n name: 'Matched Products',\r\n property: 'MatchedProductCount',\r\n title,\r\n type: 'number',\r\n helpId: 'pop_BA_ProductFeed_MatchedProducts',\r\n sortable: true,\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n\r\n this.i18n = i18n;\r\n }\r\n\r\n template({ value }) {\r\n let updatedValue = value;\r\n if (value === null) {\r\n updatedValue = this.i18n.getString('Brand_MatchedProductCount_Pending');\r\n }\r\n\r\n return super.template({ value: updatedValue });\r\n }\r\n}\r\n\r\nclass ActionColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n, deps }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_Action');\r\n\r\n super({\r\n name: 'Action',\r\n property: 'Status',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_ProductFeed_Actions',\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n this.i18n = i18n;\r\n this.deps = deps;\r\n }\r\n\r\n pickProperty(item) {\r\n return item;\r\n }\r\n\r\n template({ value }) {\r\n return DropdownColumnTemplate({\r\n actionText: this.i18n.getString('Button_Delete'),\r\n actionClass: 'delete-brand',\r\n isReadOnly: this.deps.config.get('CurrentAccountInActive') || this.deps.config.get('ReadOnlyMode'),\r\n brandName: value.BrandName,\r\n });\r\n }\r\n}\r\n\r\nexport const columns = {\r\n BrandNameColumn,\r\n BrandWebsiteColumn,\r\n SubBrandsColumn,\r\n BrandStatusColumn,\r\n MatchedProductCountColumn,\r\n ActionColumn,\r\n};\r\n","import $ from 'jquery';\r\nimport _ from 'underscore';\r\nimport Promise from 'bluebird';\r\nimport { dataSource } from 'projection-grid';\r\nimport { hasError, getError, getBmcMtEndpoint } from '../shared/util';\r\nimport { columns, ColumnsName } from './grid-columns';\r\n\r\nclass CustomizedDataSource extends dataSource.Base {\r\n constructor({ view, deps, fetchDataCallback }) {\r\n super();\r\n this.view = view;\r\n this.deps = deps;\r\n this.gridData = [];\r\n this.queryString = '';\r\n this.fetchDataCallback = fetchDataCallback;\r\n }\r\n\r\n setQueryString(queryString) {\r\n this.queryString = queryString;\r\n }\r\n\r\n getFilterData(sourceData, queryString) {\r\n const filterData = !_.isEmpty(queryString) ? _.filter(sourceData, (item) => {\r\n const { BrandName } = item;\r\n return BrandName.toLowerCase().indexOf(queryString.toLowerCase()) > -1;\r\n }) : sourceData;\r\n\r\n return {\r\n totalCount: filterData.length,\r\n items: filterData,\r\n };\r\n }\r\n\r\n query() {\r\n if (!this.view.fetchGridData) {\r\n const result = this.getFilterData(this.gridData, this.queryString);\r\n return Promise.resolve(result);\r\n }\r\n\r\n return new Promise((resolve) => {\r\n $.ajax({\r\n url: `${getBmcMtEndpoint()}/api/v1/manufacturers/${this.view.customerId}/brands?cid=${this.view.customerId}&aid=${this.view.accountId}&uid=${this.view.userId}`,\r\n type: 'GET',\r\n xhrFields: {\r\n withCredentials: true,\r\n },\r\n success: (obj) => {\r\n this.view.fetchGridData = false;\r\n\r\n if (!hasError(obj)) {\r\n this.gridData = _.result(obj.ResponseObject, 'Brands', []);\r\n if (_.isFunction(this.fetchDataCallback)) {\r\n this.fetchDataCallback(this.gridData);\r\n }\r\n } else {\r\n this.view.setErrors(getError(obj, this.view.i18n), false);\r\n }\r\n resolve();\r\n },\r\n error: () => {\r\n this.view.setErrors([this.view.i18n.getString('CPG_Error_RequestFailed')], false);\r\n this.gridData = [];\r\n resolve();\r\n },\r\n });\r\n }).then(() => (this.getFilterData(this.gridData, this.queryString)));\r\n }\r\n}\r\n\r\nexport function getBrandGridConfig({\r\n view,\r\n deps,\r\n viewport,\r\n customHeaderOffset,\r\n fetchDataCallback,\r\n hideSubBrand = false,\r\n}) {\r\n const headRows = ['column-header-rows'];\r\n const tableName = deps.i18n.getString('CPG_ProductFeed_Grid_Title_Brands');\r\n const gridConfig = {\r\n name: 'brandGrid',\r\n legacyGridName: 'brandGrid',\r\n dataSource: new CustomizedDataSource({ view, deps, fetchDataCallback }),\r\n tableAttributes: { 'aria-label': tableName },\r\n tableClasses: ['table', 'table-bordered'],\r\n preferenceService: deps.preferenceService,\r\n config: deps.config,\r\n columns: _.chain(columns)\r\n .compact()\r\n .map(Column => (new Column({ i18n: deps.i18n, deps })).toJSON())\r\n .filter(Column => !hideSubBrand || Column.name !== ColumnsName.SubBrands)\r\n .value(),\r\n rows: {\r\n headRows,\r\n },\r\n scrolling: {\r\n virtualized: false,\r\n header: {\r\n type: 'sticky',\r\n offset: customHeaderOffset || (() => $('nav.navbar-default.navbar-fixed-top').height()),\r\n attributes: { 'aria-label': deps.i18n.getString('CPG_ProductFeed_Grid_Header_Brands') },\r\n },\r\n },\r\n };\r\n\r\n if (viewport) {\r\n gridConfig.scrolling.viewport = viewport;\r\n }\r\n\r\n return gridConfig;\r\n}\r\n","import $ from 'jquery';\r\nimport { paginationPlugin } from '@bingads-webui/projection-grid-pagination';\r\nimport { uiBlockerPlugin } from '@bingads-webui/projection-grid-uiblocker';\r\nimport { performanceLogPlugin, perfMarkerPlugin } from '@bingads-webui-campaign/pgrid-performance-log';\r\nimport { clientSideSortPlugin } from '@bingads-webui/projection-grid-client-sort';\r\nimport { clientSidePaginationPlugin } from '@bingads-webui/projection-grid-client-pagination';\r\nimport { a11yPlugin } from '@bingads-webui/projection-grid-a11y';\r\nimport { getPGridColumnResizePlugin } from '@bingads-webui-campaign/projection-grid-column-resize-helper';\r\n\r\nconst getSortReturn = (value1, value2) => {\r\n let v1 = value1;\r\n let v2 = value2;\r\n if (typeof value1 === 'string' && typeof value2 === 'string') {\r\n v1 = value1.toLowerCase();\r\n v2 = value2.toLowerCase();\r\n }\r\n if (v1 < v2) {\r\n return -1;\r\n }\r\n if (v1 > v2) {\r\n return 1;\r\n }\r\n return 0;\r\n};\r\n\r\nexport function getBrandGridPlugins({\r\n deps,\r\n perfMarker,\r\n gridName,\r\n preferenceService,\r\n permissions,\r\n}) {\r\n const { i18n } = deps;\r\n return [{\r\n plugin: perfMarkerPlugin,\r\n config: { appConfig: deps.config, marker: perfMarker },\r\n }, {\r\n plugin: uiBlockerPlugin,\r\n config: {\r\n el: $('.brand-page'),\r\n },\r\n }, {\r\n plugin: paginationPlugin,\r\n config: {\r\n availablePageSizes: [20, 50, 100],\r\n enableRandomPage: false,\r\n preferenceService: deps.preferenceService,\r\n pageNumberLabelText: i18n.getString('Grid_Page_Number_Label_Text'),\r\n pageSizeText: i18n.getString('Grid_ShowRows'),\r\n totalPageCountText: i18n.getString('Grid_PageOf'),\r\n },\r\n }, {\r\n plugin: performanceLogPlugin,\r\n config: {\r\n appConfig: deps.config,\r\n logger: deps.logger,\r\n },\r\n }, {\r\n plugin: clientSideSortPlugin,\r\n config: {\r\n compareMaker: (sortIteratee, direction) => (item1, item2) => getSortReturn(\r\n sortIteratee(item1, direction),\r\n sortIteratee(item2, direction)\r\n ),\r\n setTopToMax: true,\r\n },\r\n }, {\r\n plugin: clientSidePaginationPlugin,\r\n }, {\r\n plugin: a11yPlugin,\r\n config: { i18n },\r\n },\r\n getPGridColumnResizePlugin({\r\n gridName,\r\n preferenceService,\r\n permissions,\r\n }),\r\n ];\r\n}\r\n","import { uncheckedInjectionContext as globalContext } from '@bingads-webui-campaign/injection-context';\r\n\r\nconst i18n = globalContext.require('@bingads-webui/i18n-amd-loader!campaignui/feature/product-feed');\r\nconst edmCampaign = globalContext.requireDefault('component/edm-campaign/index');\r\nconst config = globalContext.require('component/config/index');\r\nconst logger = globalContext.require('module/service/instrumentation/index');\r\nconst { Columns, SelectedColumns } = globalContext.require('component/bingads-grid/service/column-chooser-preferences');\r\nconst { LegacyColumns, LegacySelectedColumns } = globalContext.require('component/bingads-grid/service/legacy-column-chooser-preferences');\r\nconst jsData = globalContext.require('component/js-data-campaign/index');\r\nconst state = globalContext.require('component/state/index');\r\nconst preferenceService = globalContext.requireDefault('component/preference/service/index');\r\nconst s$ProductOffer = globalContext.require('$/schema!campaign/ProductOffer');\r\nconst sessionStore = globalContext.requireDefault('component/js-data-storage/session-storage');\r\nconst preferenceStoreFactory = globalContext.require('component/bingads-grid/service/filter-preferences').getFilters;\r\nconst cacheService = globalContext.require('Services/CacheService');\r\nconst dataContextManager = globalContext.require('SummaryDataContextManager');\r\nconst s$i18n = globalContext.require('$/schema-i18n!campaign');\r\nconst pageContext = globalContext.require('PageContext');\r\n\r\nconst deps = {\r\n pageContext,\r\n i18n,\r\n edmCampaign,\r\n config,\r\n logger,\r\n Columns,\r\n SelectedColumns,\r\n LegacyColumns,\r\n LegacySelectedColumns,\r\n jsData,\r\n state,\r\n addDateChangeListener: (handler) => {\r\n window.App.views.Summary.bindDateFilterChangeHandler(handler);\r\n },\r\n preferenceService,\r\n s$ProductOffer,\r\n sessionStore,\r\n preferenceStoreFactory,\r\n cacheService,\r\n dataContextManager,\r\n s$i18n,\r\n};\r\n\r\nexport default deps;\r\n","import { BrandGrid } from './brand-grid/brand-grid';\r\nimport { getBrandGridConfig } from './brand-grid/grid-config';\r\nimport { getBrandGridPlugins } from './brand-grid/grid-plugins-config';\r\n\r\nimport deps from './brand-grid-deps';\r\n\r\nexport function createBrandGrid({\r\n getAdditionalPlugins,\r\n preferenceConfig,\r\n viewport,\r\n customHeaderOffset,\r\n perfMarker,\r\n fetchDataCallback,\r\n hideSubBrand,\r\n}) {\r\n return new BrandGrid({\r\n deps,\r\n getGridConfig: view => getBrandGridConfig({\r\n view,\r\n deps,\r\n viewport,\r\n customHeaderOffset,\r\n fetchDataCallback,\r\n hideSubBrand,\r\n }),\r\n getPlugins: view => getBrandGridPlugins({\r\n deps,\r\n perfMarker,\r\n }).concat(getAdditionalPlugins(view)),\r\n preferenceConfig,\r\n });\r\n}\r\n","/* eslint-disable import/extensions */\r\n/* eslint-disable import/no-unresolved */\r\n\r\nimport _ from 'underscore';\r\nimport ko from 'knockout';\r\nimport { KoSchema } from '@bingads-webui/ko-schema';\r\n\r\n/**\r\n * Link store dialog view\r\n */\r\nexport class LinkStoreViewModel {\r\n constructor({\r\n i18n,\r\n }) {\r\n const schema = {\r\n properties: {\r\n storeId: {\r\n type: 'string',\r\n required: true,\r\n pattern: '^[1-9]\\\\d*$',\r\n maxLength: 9,\r\n },\r\n },\r\n };\r\n KoSchema(this, schema, _.keys(schema.properties), {}, {}, i18n);\r\n\r\n this.isValid = ko.computed(() =>\r\n this.storeId.isValid() && !_.isEmpty(this.storeId()));\r\n\r\n this.errors = ko.observableArray([]);\r\n }\r\n}\r\n","/* eslint-disable import/extensions */\r\n/* eslint-disable import/no-unresolved */\r\n\r\nimport { KnockoutView } from '@bingads-webui/knockout-view';\r\nimport template from './template.pug';\r\nimport { LinkStoreViewModel } from './viewmodel';\r\n\r\n/**\r\n * Link store dialog view\r\n */\r\nexport class LinkStoreView extends KnockoutView {\r\n initialize({ i18n }) {\r\n super.initialize({ i18n });\r\n this.i18n = i18n;\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n\r\n get ViewModel() {\r\n return LinkStoreViewModel;\r\n }\r\n\r\n get events() {\r\n return {\r\n 'click .btn.btn-primary.btn-sendReq': 'sendRequest',\r\n 'click .btn.btn-default.btn-cancel': 'cancel',\r\n };\r\n }\r\n\r\n setErrors(errors) {\r\n this.viewModel.errors(errors);\r\n }\r\n\r\n renderTrunk() {\r\n super.renderTrunk();\r\n this.$('input.store-id-input').bind('input propertychange', () => this.viewModel.storeId.validate());\r\n }\r\n\r\n sendRequest() {\r\n this.trigger('linkToStore', this.viewModel.storeId());\r\n }\r\n\r\n cancel() {\r\n this.trigger('cancel');\r\n }\r\n}\r\n","/* eslint-disable import/extensions */\r\n/* eslint-disable import/no-unresolved */\r\n\r\nimport $ from 'jquery';\r\nimport _ from 'underscore';\r\nimport Events from 'events';\r\nimport { DeterministicWrapperView } from '@bingads-webui/deterministic-wrapper-view';\r\nimport { updateGridQuery } from '@bingads-webui-campaign/summary-grid-helper';\r\nimport { pgridFactory } from '@bingads-webui-campaign/pgrid-factory';\r\nimport { constants } from '@bingads-webui/projection-grid-toolbar';\r\nimport { withUiBlock } from '@bingads-webui/uiblocker';\r\nimport { LinkStoreView } from '../link-store-toolbar/view';\r\nimport { hasError, getError, getEndpoint, getBmcMtEndpoint } from '../shared/util';\r\n\r\n/**\r\n * CPG Linked Stores grid\r\n */\r\nexport class LinkedStoreGrid extends DeterministicWrapperView {\r\n EVENT_NAMES = {\r\n SHOW_ERRORS: 'SHOW_ERRORS',\r\n };\r\n eventHub = new Events();\r\n\r\n get className() { return 'linked-store-grid'; }\r\n\r\n viewFactory({\r\n deps,\r\n filterService,\r\n preferenceConfig,\r\n getGridConfig,\r\n getPlugins,\r\n }) {\r\n this.EVENT_NAMES = {\r\n SHOW_LINK_TO_STORE_PANEL: 'SHOW_LINK_TO_STORE_PANEL',\r\n SHOW_ERRORS: 'SHOW_ERRORS',\r\n };\r\n const gridConfig = getGridConfig(this);\r\n this.getEndpoint = getEndpoint;\r\n this.getBmcMtEndpoint = getBmcMtEndpoint;\r\n this.hasError = hasError;\r\n this.isSPAv2Enabled = deps.pageContext.Permissions.IsSPAv2Enabled;\r\n this.filterService = filterService;\r\n\r\n this.filterService.on('filter-state-changed', () => {\r\n updateGridQuery(\r\n this.grid.gridView,\r\n this.filterService.getCombinedFilter(), true\r\n );\r\n });\r\n\r\n this.grid = pgridFactory({\r\n gridConfig,\r\n plugins: getPlugins(this),\r\n preferenceConfig,\r\n });\r\n this.fetchGridData = true;\r\n this.deps = deps;\r\n this.i18n = deps.i18n;\r\n this.customerEmail = deps.pageContext.CurrentCustomer.Email;\r\n this.customerName = deps.pageContext.CurrentCustomer.Name;\r\n this.customerId = deps.pageContext.CurrentCustomer.Id;\r\n this.accountId = deps.pageContext.CurrentAccount.Id;\r\n this.userId = deps.pageContext.CurrentUser.Id;\r\n const { IsUsePreferencesServiceEnabled } = deps.pageContext.Permissions;\r\n\r\n this.grid.gridView.on('didUpdate', (changes) => {\r\n if (_.has(changes, 'sortableHeader')) {\r\n const orderby = _.result(changes.query, 'orderby') || _.result(this.grid.gridView.get('query'), 'orderby');\r\n const { sortableHeader } = changes;\r\n\r\n if (IsUsePreferencesServiceEnabled) {\r\n deps.preferencesService.setAtUserLevel({ Name: `WebApp.CampaignUI.${deps.config.name}`, Data: { sortInfo: { orderby, sortableHeader } } });\r\n } else {\r\n // (TODO) need to add CmapaignStateManager to deps.js\r\n deps.CampaignStateManager.setItem('permanent', deps.config.name, {\r\n sortInfo: {\r\n orderby,\r\n sortableHeader,\r\n },\r\n });\r\n }\r\n }\r\n });\r\n\r\n return this.grid.gridView;\r\n }\r\n\r\n renderTrunk() {\r\n this.filterService.initializeCombinedFilterPromise.then(() => {\r\n updateGridQuery(\r\n this.grid.gridView,\r\n this.filterService.getCombinedFilter(), true\r\n );\r\n });\r\n super.renderTrunk();\r\n }\r\n\r\n get events() {\r\n return {\r\n 'click .resend-action': 'resend',\r\n 'click .unlink-action': 'unlink',\r\n 'click .revoke-action': 'unlink',\r\n };\r\n }\r\n\r\n get toolbarEditor() {\r\n return this.grid.toolbar.gridToolbarGroup.toolbarWithName(constants.DEFAULT_TOOLBAR_NAME);\r\n }\r\n\r\n unlinkLegacy(unblock, item) {\r\n $.ajax({\r\n url: `${getEndpoint()}/coop/UnLinkCoOpFeed?cid=${this.customerId}&aid=${this.accountId}&providerId=${item.ProviderId}&customerId=${this.customerId}`,\r\n type: 'POST',\r\n xhrFields: {\r\n withCredentials: true,\r\n },\r\n success: (response) => {\r\n unblock();\r\n const obj = JSON.parse(response);\r\n if (!hasError(obj)) {\r\n this.fetchGridData = true;\r\n this.grid.gridView.refresh(true);\r\n } else {\r\n this.setErrors(getError(obj, this.i18n), false);\r\n }\r\n },\r\n error: () => {\r\n unblock();\r\n this.setErrors([this.i18n.getString('CPG_Error_RequestFailed')], false);\r\n },\r\n });\r\n }\r\n\r\n unlink(e) {\r\n const unblock = withUiBlock(this.grid.gridView.$el);\r\n const item = this.grid.gridView.itemOfElement(e.target);\r\n if (this.isSPAv2Enabled) {\r\n this.updateStoreLink(item.RetailerProviderId, false);\r\n } else {\r\n this.unlinkLegacy(unblock, item);\r\n }\r\n }\r\n\r\n resend(e) {\r\n const item = this.grid.gridView.itemOfElement(e.target);\r\n if (this.isSPAv2Enabled) {\r\n this.updateStoreLink(item.RetailerProviderId, true);\r\n } else {\r\n this.linkToStore(item.ProviderId, false);\r\n }\r\n }\r\n\r\n updateStoreLink(storeId, shouldLink) {\r\n const unblock = withUiBlock(this.grid.gridView.$el);\r\n $.ajax({\r\n url: `${getBmcMtEndpoint()}/api/v1/manufacturers/${this.customerId}/linkedStores?cid=${this.customerId}&aid=${this.accountId}&uid=${this.userId}`,\r\n type: 'PUT',\r\n contentType: 'application/json',\r\n data: JSON.stringify({\r\n retailerId: storeId,\r\n action: shouldLink ? 'link' : 'unlink',\r\n }),\r\n xhrFields: {\r\n withCredentials: true,\r\n },\r\n success: (obj) => {\r\n unblock();\r\n if (!hasError(obj)) {\r\n this.fetchGridData = true;\r\n this.grid.gridView.refresh(true);\r\n } else {\r\n this.setErrors(getError(obj, this.i18n), false);\r\n }\r\n },\r\n error: () => {\r\n unblock();\r\n this.setErrors([this.i18n.getString('CPG_Error_RequestFailed')], false);\r\n },\r\n });\r\n }\r\n\r\n showLinkStoreToolbar(showTopOfGridPanel) {\r\n if (this.isSPAv2Enabled) {\r\n this.grid.gridView.trigger(this.EVENT_NAMES.SHOW_LINK_TO_STORE_PANEL, {\r\n displayName: this.i18n.getString('CPG_LinkToolbar_Title'),\r\n });\r\n } else {\r\n this.linkStoreView = new LinkStoreView(this.deps).render();\r\n\r\n this.toolbarEditor.overrideWith(this.linkStoreView);\r\n this.linkStoreView.on('linkToStore', (providerId) => {\r\n this.linkToStore(providerId, true, showTopOfGridPanel);\r\n });\r\n this.linkStoreView.on('cancel', () => {\r\n this.removeToolbar();\r\n showTopOfGridPanel();\r\n });\r\n }\r\n }\r\n\r\n removeToolbar() {\r\n if (this.linkStoreView) {\r\n this.toolbarEditor.restoreToolbar();\r\n this.linkStoreView.remove();\r\n this.linkStoreView = null;\r\n }\r\n }\r\n\r\n linkToStore(providerId, fromToolbar, showTopOfGridPanel = () => {}) {\r\n const unblock = withUiBlock(this.grid.gridView.$el);\r\n $.ajax({\r\n url: `${getEndpoint()}/coop/LinkCoOpFeed?cid=${this.customerId}&aid=${this.accountId}&providerId=${providerId}&customerName=${this.customerName}&customerEmail=${this.customerEmail}`,\r\n type: 'POST',\r\n xhrFields: {\r\n withCredentials: true,\r\n },\r\n success: (response) => {\r\n unblock();\r\n const obj = JSON.parse(response);\r\n if (!hasError(obj)) {\r\n this.removeToolbar();\r\n this.fetchGridData = true;\r\n this.grid.gridView.refresh(true);\r\n showTopOfGridPanel();\r\n } else {\r\n this.setErrors(getError(obj, this.i18n), fromToolbar);\r\n }\r\n },\r\n error: () => {\r\n unblock();\r\n this.setErrors([this.i18n.getString('CPG_Error_RequestFailed')], fromToolbar);\r\n },\r\n });\r\n }\r\n\r\n setErrors(errors = [], fromToolbar = false) {\r\n if (fromToolbar) {\r\n this.linkStoreView.setErrors(errors);\r\n } else {\r\n this.showErrors(errors);\r\n }\r\n }\r\n\r\n showErrors(errors) {\r\n this.eventHub.emit(this.EVENT_NAMES.SHOW_ERRORS, errors);\r\n }\r\n\r\n remove() {\r\n if (this.grid) {\r\n if (this.grid.gridView) {\r\n this.grid.gridView.remove();\r\n }\r\n if (this.grid.toolbar && this.grid.toolbar.gridToolbarGroup) {\r\n this.grid.toolbar.gridToolbarGroup.remove();\r\n }\r\n }\r\n if (this.linkStoreView) {\r\n this.linkStoreView.remove();\r\n }\r\n super.remove();\r\n }\r\n}\r\n","import { CampaignuiBaseColumn } from '@bingads-webui-campaign/campaignui-base-column';\r\nimport ActionColumnTemplate from './action-column.pug';\r\nimport StatusColumnTemplate from './status-column.pug';\r\n\r\nconst StatusMap = {\r\n 0: 'Pending',\r\n 1: 'Approved',\r\n 2: 'Rejected', // link request was rejected by retailer\r\n 3: 'Expired',\r\n 4: 'Cancelled', // link request was cancelled by Coop customer\r\n};\r\n\r\nconst ActionText = {\r\n Pending: 'CPG_ProductFeed_Grid_Revoke',\r\n Approved: 'CPG_ProductFeed_Grid_Unlink',\r\n Rejected: 'CPG_ProductFeed_Grid_Resend',\r\n Expired: 'CPG_ProductFeed_Grid_Resend',\r\n Cancelled: 'CPG_ProductFeed_Grid_Resend',\r\n};\r\n\r\nconst ActionClass = {\r\n Pending: 'revoke-action',\r\n Approved: 'unlink-action',\r\n Rejected: 'resend-action',\r\n Expired: 'resend-action',\r\n Cancelled: 'resend-action',\r\n};\r\n\r\nclass StoreIdColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n, deps }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_StoreId');\r\n\r\n super({\r\n name: 'StoreId',\r\n property: deps.pageContext.Permissions.IsSPAv2Enabled ? 'RetailerProviderId' : 'ProviderId',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_CampaignGrids_Store_ID',\r\n sortable: true,\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n }\r\n}\r\n\r\nclass StoreNameColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n, deps }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_StoreName');\r\n\r\n super({\r\n name: 'StoreName',\r\n property: deps.pageContext.Permissions.IsSPAv2Enabled ? 'RetailerName' : 'ProviderName',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_CampaignGrids_StoreName',\r\n sortable: true,\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n }\r\n}\r\n\r\nclass StatusColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_Status');\r\n\r\n super({\r\n name: 'Status',\r\n property: 'Status',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_CampaignGrids_StoreLinkStatus',\r\n sortable: true,\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n this.i18n = i18n;\r\n }\r\n\r\n pickProperty(item) {\r\n return StatusMap[item.Status];\r\n }\r\n\r\n template({ value }) {\r\n return StatusColumnTemplate({\r\n statusString: this.i18n.getString(`LinkStore_Status_${value}`) || value,\r\n });\r\n }\r\n}\r\n\r\nclass ActionColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n, deps }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_Action');\r\n\r\n super({\r\n name: 'Action',\r\n property: 'Status',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_BSC_StoreLinkAction',\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n this.i18n = i18n;\r\n this.deps = deps;\r\n }\r\n\r\n pickProperty(item) {\r\n return item;\r\n }\r\n\r\n template({ value }) {\r\n const status = StatusMap[value.Status];\r\n return ActionColumnTemplate({\r\n status,\r\n actionText: this.i18n.getString(ActionText[status]),\r\n actionClass: ActionClass[status],\r\n isReadOnly: this.deps.config.get('CurrentAccountInActive') || this.deps.config.get('ReadOnlyMode'),\r\n storeName: this.deps.pageContext.Permissions.IsSPAv2Enabled ?\r\n value.RetailerName : value.ProviderName,\r\n });\r\n }\r\n}\r\n\r\nclass MatchedProductCountColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_MatchedProductCount');\r\n\r\n super({\r\n name: 'MatchedProductCount',\r\n property: 'MatchedProductCount',\r\n title,\r\n type: 'number',\r\n helpId: 'pop_BA_BMC_MatchedProducts',\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n sortable: true,\r\n });\r\n }\r\n}\r\n\r\nexport const columns = {\r\n StoreIdColumn,\r\n StoreNameColumn,\r\n MatchedProductCountColumn,\r\n StatusColumn,\r\n ActionColumn,\r\n};\r\n","import $ from 'jquery';\r\nimport _ from 'underscore';\r\nimport Promise from 'bluebird';\r\nimport { dataSource } from 'projection-grid';\r\nimport { hasError, getError, getEndpoint, getBmcMtEndpoint } from '../shared/util';\r\nimport { columns } from './grid-columns';\r\n\r\nclass CustomizedDataSource extends dataSource.Base {\r\n constructor({ view, deps }) {\r\n super();\r\n this.view = view;\r\n this.deps = deps;\r\n this.isSPAv2Enabled = deps.pageContext.Permissions.IsSPAv2Enabled;\r\n this.gridData = [];\r\n }\r\n\r\n getFilterParams() {\r\n let filterParams = '';\r\n if (this.view.filterService.editableFilter\r\n && this.view.filterService.editableFilter.query.Status) {\r\n filterParams = `&filter=Status eq ${this.view.filterService.editableFilter.query.Status.$eq[0]}`;\r\n }\r\n return filterParams;\r\n }\r\n\r\n getQueryUrl() {\r\n if (!this.isSPAv2Enabled) {\r\n return `${getEndpoint()}/coop/LinkedStores?cid=${this.view.customerId}&aid=${this.view.accountId}`;\r\n }\r\n\r\n const filterParams = this.getFilterParams();\r\n\r\n return `${getBmcMtEndpoint()}/api/v1/manufacturers/${this.view.customerId}/linkedStores?cid=${this.view.customerId}&aid=${this.view.accountId}&uid=${this.view.userId}${filterParams}`;\r\n }\r\n\r\n query() {\r\n return new Promise((resolve) => {\r\n const url = this.getQueryUrl();\r\n\r\n $.ajax({\r\n url: `${url}`,\r\n type: 'GET',\r\n xhrFields: {\r\n withCredentials: true,\r\n },\r\n success: (response) => {\r\n this.view.fetchGridData = false;\r\n\r\n const obj = this.isSPAv2Enabled ? response : JSON.parse(response);\r\n if (!hasError(obj)) {\r\n this.gridData = _.result(obj.ResponseObject, 'CoOpLinkedStores', []);\r\n } else {\r\n this.view.setErrors(getError(obj, this.view.i18n), false);\r\n }\r\n resolve();\r\n },\r\n error: () => {\r\n this.view.setErrors([this.view.i18n.getString('CPG_Error_RequestFailed')], false);\r\n this.gridData = [];\r\n resolve();\r\n },\r\n });\r\n }).then(() => ({\r\n totalCount: this.gridData.length,\r\n items: this.gridData,\r\n }));\r\n }\r\n}\r\n\r\nexport function getLinkedStoreGridConfig({\r\n view,\r\n deps,\r\n viewport,\r\n customHeaderOffset,\r\n}) {\r\n const headRows = ['column-header-rows'];\r\n const tableName = deps.i18n.getString('CPG_ProductFeed_Grid_Title_Stores');\r\n const gridConfig = {\r\n name: 'linkedStoreGrid',\r\n legacyGridName: 'linkedStoreGrid',\r\n dataSource: new CustomizedDataSource({ view, deps }),\r\n tableAttributes: { 'aria-label': tableName },\r\n tableClasses: ['table', 'table-bordered'],\r\n preferenceService: deps.preferenceService,\r\n config: deps.config,\r\n columns: _.chain(columns)\r\n .compact()\r\n .map(Column => (new Column({ i18n: deps.i18n, deps })).toJSON())\r\n .value(),\r\n rows: {\r\n headRows,\r\n },\r\n scrolling: {\r\n virtualized: false,\r\n header: {\r\n type: 'sticky',\r\n offset: customHeaderOffset || (() => $('nav.navbar-default.navbar-fixed-top').height()),\r\n attributes: { 'aria-label': deps.i18n.getString('CPG_ProductFeed_Grid_Header_Stores') },\r\n },\r\n },\r\n };\r\n\r\n if (!deps.pageContext.Permissions.IsSPAv2Enabled) {\r\n // MatchedProductCount is only enabled in SPAv2\r\n gridConfig.columns = gridConfig.columns.filter(col => col.name !== 'MatchedProductCount');\r\n }\r\n\r\n if (viewport) {\r\n gridConfig.scrolling.viewport = viewport;\r\n }\r\n\r\n return gridConfig;\r\n}\r\n","import { uncheckedInjectionContext as globalContext } from '@bingads-webui-campaign/injection-context';\r\n\r\nconst i18n = globalContext.require('@bingads-webui/i18n-amd-loader!campaignui/feature/product-feed');\r\nconst edmCampaign = globalContext.requireDefault('component/edm-campaign/index');\r\nconst config = globalContext.require('component/config/index');\r\nconst logger = globalContext.require('module/service/instrumentation/index');\r\nconst { Columns, SelectedColumns } = globalContext.require('component/bingads-grid/service/column-chooser-preferences');\r\nconst { LegacyColumns, LegacySelectedColumns } = globalContext.require('component/bingads-grid/service/legacy-column-chooser-preferences');\r\nconst jsData = globalContext.require('component/js-data-campaign/index');\r\nconst state = globalContext.require('component/state/index');\r\nconst preferenceService = globalContext.requireDefault('component/preference/service/index');\r\nconst s$ProductOffer = globalContext.require('$/schema!campaign/ProductOffer');\r\nconst sessionStore = globalContext.requireDefault('component/js-data-storage/session-storage');\r\nconst preferenceStoreFactory = globalContext.require('component/bingads-grid/service/filter-preferences').getFilters;\r\nconst cacheService = globalContext.require('Services/CacheService');\r\nconst dataContextManager = globalContext.require('SummaryDataContextManager');\r\nconst s$i18n = globalContext.require('$/schema-i18n!campaign');\r\nconst pageContext = globalContext.require('PageContext');\r\n\r\nconst deps = {\r\n pageContext,\r\n i18n,\r\n edmCampaign,\r\n config,\r\n logger,\r\n Columns,\r\n SelectedColumns,\r\n LegacyColumns,\r\n LegacySelectedColumns,\r\n jsData,\r\n state,\r\n addDateChangeListener: (handler) => {\r\n window.App.views.Summary.bindDateFilterChangeHandler(handler);\r\n },\r\n preferenceService,\r\n s$ProductOffer,\r\n sessionStore,\r\n preferenceStoreFactory,\r\n cacheService,\r\n dataContextManager,\r\n s$i18n,\r\n};\r\n\r\nexport default deps;\r\n","import { LinkedStoreGrid } from './linked-store-grid/linked-store-grid';\r\nimport { getLinkedStoreGridConfig } from './linked-store-grid/grid-config';\r\nimport { getLinkedStoreGridPlugins } from './linked-store-grid/grid-plugins-config';\r\n\r\nimport deps from './linked-store-grid-deps';\r\n\r\nexport function createLinkedStoreGrid({\r\n filterService,\r\n getAdditionalPlugins,\r\n preferenceConfig,\r\n viewport,\r\n customHeaderOffset,\r\n perfMarker,\r\n}) {\r\n return new LinkedStoreGrid({\r\n deps,\r\n filterService,\r\n getGridConfig: view => getLinkedStoreGridConfig({\r\n view,\r\n deps,\r\n viewport,\r\n customHeaderOffset,\r\n }),\r\n getPlugins: view => getLinkedStoreGridPlugins({\r\n filterService,\r\n deps,\r\n perfMarker,\r\n }).concat(getAdditionalPlugins(view)),\r\n preferenceConfig,\r\n });\r\n}\r\n","import $ from 'jquery';\r\nimport { paginationPlugin } from '@bingads-webui/projection-grid-pagination';\r\nimport { uiBlockerPlugin } from '@bingads-webui/projection-grid-uiblocker';\r\nimport { performanceLogPlugin, perfMarkerPlugin } from '@bingads-webui-campaign/pgrid-performance-log';\r\nimport { clientSideSortPlugin } from '@bingads-webui/projection-grid-client-sort';\r\nimport { clientSidePaginationPlugin } from '@bingads-webui/projection-grid-client-pagination';\r\nimport { a11yPlugin } from '@bingads-webui/projection-grid-a11y';\r\nimport { getPGridColumnResizePlugin } from '@bingads-webui-campaign/projection-grid-column-resize-helper';\r\n\r\nexport function getLinkedStoreGridPlugins({\r\n deps,\r\n perfMarker,\r\n gridName,\r\n preferenceService,\r\n permissions,\r\n}) {\r\n const { i18n } = deps;\r\n return [{\r\n plugin: perfMarkerPlugin,\r\n config: { appConfig: deps.config, marker: perfMarker },\r\n }, {\r\n plugin: uiBlockerPlugin,\r\n config: {\r\n el: $('.linked-store-page'),\r\n },\r\n }, {\r\n plugin: paginationPlugin,\r\n config: {\r\n availablePageSizes: [20, 50, 100],\r\n enableRandomPage: false,\r\n preferenceService: deps.preferenceService,\r\n pageNumberLabelText: i18n.getString('Grid_Page_Number_Label_Text'),\r\n pageSizeText: i18n.getString('Grid_ShowRows'),\r\n totalPageCountText: i18n.getString('Grid_PageOf'),\r\n },\r\n }, {\r\n plugin: performanceLogPlugin,\r\n config: {\r\n appConfig: deps.config,\r\n logger: deps.logger,\r\n },\r\n }, {\r\n plugin: clientSideSortPlugin,\r\n }, {\r\n plugin: clientSidePaginationPlugin,\r\n }, {\r\n plugin: a11yPlugin,\r\n config: { i18n },\r\n },\r\n getPGridColumnResizePlugin({\r\n gridName,\r\n preferenceService,\r\n permissions,\r\n }),\r\n ];\r\n}\r\n","/* eslint-disable import/extensions */\r\n/* eslint-disable import/no-unresolved */\r\n\r\nimport _ from 'underscore';\r\nimport $ from 'jquery';\r\nimport ko from 'knockout';\r\nimport { KnockoutView } from '@bingads-webui/knockout-view';\r\nimport { FilePicker } from '@bingads-webui/file-picker';\r\nimport { withUiBlock } from '@bingads-webui/uiblocker';\r\nimport { hasError, getError, getEndpoint } from '../shared/util';\r\nimport template from './template.pug';\r\n\r\nconst hostname = getEndpoint();\r\n\r\n/**\r\n * Upload feed dialog view\r\n */\r\n\r\nclass UploadFeedViewModel {\r\n constructor() {\r\n this.errors = ko.observableArray([]);\r\n }\r\n}\r\n\r\nexport class UploadFeedView extends KnockoutView {\r\n initialize(deps) {\r\n super.initialize();\r\n this.deps = deps;\r\n this.i18n = deps.i18n;\r\n this.hostname = hostname;\r\n this.customerId = deps.pageContext.CurrentCustomer.Id;\r\n this.accountId = deps.pageContext.CurrentAccount.Id;\r\n this.unblock = null;\r\n this.setState({ isFeedReady: false });\r\n\r\n this.filePicker = new FilePicker({\r\n theme: 'default',\r\n allowedFileExtensions: ['.csv', '.tsv', '.xlsx', '.txt', '.zip'],\r\n i18n: deps.i18n,\r\n displayFilePath: 'filename',\r\n validator: (file) => {\r\n if (file.size === 0) {\r\n return deps.i18n.getString('CPG_FileImport_Upload_InvalidFile');\r\n }\r\n return null;\r\n },\r\n }).render();\r\n\r\n this.filePicker.on('error.extension', () => {\r\n this.setState({ isFeedReady: false });\r\n });\r\n this.filePicker.on('changed', (newFilePath) => {\r\n this.setState({ isFeedReady: !_.isEmpty(newFilePath) });\r\n });\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n\r\n get ViewModel() {\r\n return UploadFeedViewModel;\r\n }\r\n\r\n get events() {\r\n return {\r\n 'click .btn-upload': 'getSasUrl',\r\n 'click .btn-cancel': 'cancel',\r\n 'click .download-template': 'downloadTemplate',\r\n };\r\n }\r\n\r\n getSasUrl() {\r\n if (!this.model.get('isFeedReady')) {\r\n return;\r\n }\r\n this.viewModel.errors([]);\r\n this.unblock = withUiBlock(this.$el);\r\n $.ajax({\r\n url: `${this.hostname}/coop/GetCoOpBlobContext?cid=${this.customerId}&aid=${this.accountId}`,\r\n type: 'GET',\r\n xhrFields: {\r\n withCredentials: true,\r\n },\r\n success: (response) => {\r\n const obj = JSON.parse(response);\r\n if (!hasError(obj)) {\r\n const sasUrl = obj.ResponseObject.BlobSasUrl;\r\n const securityToken = obj.ResponseObject.SecurityToken;\r\n this.uploadToAzure({ sasUrl, securityToken });\r\n } else {\r\n this.removeUiBlocker();\r\n this.viewModel.errors(getError(obj, this.i18n));\r\n }\r\n },\r\n error: () => {\r\n this.removeUiBlocker();\r\n this.viewModel.errors([this.i18n.getString('CPG_Error_RequestFailed')]);\r\n },\r\n });\r\n }\r\n\r\n uploadToAzure({\r\n sasUrl = '',\r\n securityToken = '',\r\n }) {\r\n if (_.isEmpty(sasUrl) || _.isEmpty(securityToken)) {\r\n this.viewModel.errors([this.i18n.getString('CPG_Error_AzureInfoInvalid')]);\r\n return;\r\n }\r\n const { UploadService } = this.deps;\r\n const file = this.filePicker.fileObject;\r\n const uploadService = new UploadService({\r\n blobSetting: {\r\n SasUrl: sasUrl,\r\n blobName: file.name,\r\n },\r\n file,\r\n });\r\n uploadService.start()\r\n .then(() => {\r\n this.uploadToBMC({ securityToken });\r\n }).catch(() => {\r\n this.removeUiBlocker();\r\n this.viewModel.errors([this.i18n.getString('CPG_Error_AzureUploadFailed')]);\r\n });\r\n }\r\n\r\n uploadToBMC({\r\n securityToken = '',\r\n }) {\r\n $.ajax({\r\n url: `${this.hostname}/coop/UploadCoOpFeed?cid=${this.customerId}&aid=${this.accountId}`,\r\n type: 'POST',\r\n xhrFields: {\r\n withCredentials: true,\r\n },\r\n data: {\r\n FileName: this.filePicker.fileObject.name,\r\n SecurityToken: securityToken,\r\n },\r\n success: (response) => {\r\n this.removeUiBlocker();\r\n const obj = JSON.parse(response);\r\n if (!hasError(obj)) {\r\n this.trigger('trackStatus', obj.ResponseObject);\r\n } else {\r\n this.viewModel.errors(getError(obj, this.i18n));\r\n }\r\n },\r\n error: () => {\r\n this.removeUiBlocker();\r\n this.viewModel.errors([this.i18n.getString('CPG_Error_RequestFailed')]);\r\n },\r\n });\r\n }\r\n\r\n cancel() {\r\n this.trigger('cancel');\r\n }\r\n\r\n downloadTemplate() {\r\n window.location.href = `${this.deps.pageContext.TemplatesPathUrl}Import/CSV_CPG_UploadFeed_Template.csv`;\r\n }\r\n\r\n removeUiBlocker() {\r\n if (this.unblock) {\r\n this.unblock();\r\n this.unblock = null;\r\n }\r\n }\r\n\r\n renderTrunk() {\r\n super.renderTrunk();\r\n this.$('.file-picker').append(this.filePicker.$el);\r\n return this;\r\n }\r\n\r\n remove() {\r\n if (this.filePicker) {\r\n this.filePicker.remove();\r\n }\r\n super.remove();\r\n }\r\n}\r\n","export const StateCode = {\r\n 0: 'Inserted',\r\n 10: 'PickedUp',\r\n 20: 'Started',\r\n 30: 'Processing',\r\n 100: 'Completed',\r\n 255: 'FailedRetryable',\r\n 265: 'FailedFinal',\r\n};\r\n\r\nexport const FailureCode = {\r\n 0: 'Failed',\r\n 1: 'ArchivedAndSentToProcessing',\r\n 2: 'BatchFileArchivedOnly',\r\n 3: 'DecompressionFailed',\r\n 4: 'Unrecognized',\r\n 5: 'Pending',\r\n 6: 'InvalidFieldDelimeter',\r\n 7: 'HeaderError',\r\n 9: 'InvalidXml',\r\n 10: 'UndeterminedOrInvalidEncoding',\r\n 11: 'NoOffersUploaded',\r\n 12: 'ProductAdsDisabled',\r\n 13: 'InternalError',\r\n 14: 'StoreNotCapiProvisioned',\r\n 15: 'StoreOrFeedNotEnabled',\r\n 16: 'UnsupportedCompressedFile',\r\n 17: 'Cancelled',\r\n 20: 'UnSupportedFileExtension',\r\n 1001: 'UnifiedBmcDisabled',\r\n 1002: 'MarketNotSupported',\r\n 1003: 'FileNotMappedToCatalog',\r\n 1004: 'FeedFileMissingAtSource',\r\n};\r\n","import $ from 'jquery';\r\nimport _ from 'underscore';\r\nimport { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport { getEndpoint } from '../shared/util';\r\nimport template from './template.pug';\r\nimport { StateCode, FailureCode } from '../shared/upload-feed-status';\r\n\r\nconst hostname = getEndpoint();\r\n\r\nconst Interval = 1000;\r\n/**\r\n * Upload feed progress view\r\n */\r\n// TODO[danluo] - extract shared component\r\nexport class UploadProgressView extends DeterministicView {\r\n initialize({\r\n trackingId,\r\n gridView,\r\n deps,\r\n }) {\r\n this.i18n = deps.i18n;\r\n this.hostname = hostname;\r\n this.customerId = deps.pageContext.CurrentCustomer.Id;\r\n this.accountId = deps.pageContext.CurrentAccount.Id;\r\n this.trackingId = trackingId;\r\n this.gridView = gridView;\r\n this.retryCount = 0;\r\n this.setState({ percentage: '0%' });\r\n this.trackProgress();\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n\r\n get events() {\r\n return {\r\n 'click .btn-return': 'returnToBackground',\r\n };\r\n }\r\n\r\n returnToBackground() {\r\n this.trigger('hideProgressBar');\r\n }\r\n\r\n isUploadingFinished(response) {\r\n const obj = JSON.parse(response).ResponseObject;\r\n const status = StateCode[obj.State];\r\n const failure = FailureCode[obj.FailureCode];\r\n\r\n if (status === 'Completed' || status === 'FailedFinal' || (status === 'FailedRetryable' && failure === 'InternalError')) {\r\n // will remove last upload message when new upload is completed.\r\n this.gridView.removeLastUploadedStatus();\r\n this.stopTracking();\r\n\r\n if (status === 'FailedFinal') {\r\n this.showError(this.i18n.getString(`CPG_Error_${failure}`));\r\n } else if (status === 'FailedRetryable') {\r\n this.showError(this.i18n.getString('CPG_Error_InternalError'));\r\n } else {\r\n this.setState({ percentage: '100%' });\r\n this.showConfirmation(this.i18n.getString('CPG_Info_AzureUploadCompleted'));\r\n }\r\n\r\n return true;\r\n }\r\n\r\n this.setState({ percentage: `${obj.Progress.toString()}%` });\r\n\r\n return false;\r\n }\r\n\r\n makeRequest() {\r\n $.ajax({\r\n url: `${this.hostname}/coop/FeedStatus?id=${this.trackingId}&cid=${this.customerId}&aid=${this.accountId}`,\r\n type: 'GET',\r\n xhrFields: {\r\n withCredentials: true,\r\n },\r\n success: (response) => {\r\n if (this.isUploadingFinished(response)) {\r\n setTimeout(() => this.trigger('complete'), 1000);\r\n }\r\n },\r\n error: () => {\r\n this.retryCount += 1;\r\n if (this.retryCount === 3) {\r\n this.showError(this.i18n.getString('CPG_Error_RequestFailed'));\r\n this.stopTracking();\r\n this.trigger('error');\r\n }\r\n },\r\n });\r\n }\r\n\r\n trackProgress() {\r\n this.retryCount = 0;\r\n this.timer = setInterval(this.makeRequest.bind(this), Interval);\r\n }\r\n\r\n showError(error = '') {\r\n if (!_.isEmpty(error)) {\r\n this.gridView.setUploadedFeedStatus(true, error);\r\n }\r\n }\r\n\r\n showConfirmation(message = '') {\r\n if (!_.isEmpty(message)) {\r\n this.gridView.setUploadedFeedStatus(false, message);\r\n }\r\n }\r\n\r\n stopTracking() {\r\n clearInterval(this.timer);\r\n this.timer = null;\r\n }\r\n}\r\n","import $ from 'jquery';\r\nimport _ from 'underscore';\r\nimport { endsWith } from 'underscore.string';\r\nimport { DeterministicWrapperView } from '@bingads-webui/deterministic-wrapper-view';\r\nimport { constants } from '@bingads-webui/projection-grid-toolbar';\r\nimport { pgridFactory } from '@bingads-webui-campaign/pgrid-factory';\r\nimport Events from 'events';\r\nimport Promise from 'bluebird';\r\n\r\nimport { UploadFeedView } from '../upload-feed-toolbar/view';\r\nimport { hasError, getError, getEndpoint } from '../shared/util';\r\nimport { UploadProgressView } from '../upload-progress-bar/view';\r\nimport { StateCode, FailureCode } from '../shared/upload-feed-status';\r\n\r\nexport class ProductFeedGrid extends DeterministicWrapperView {\r\n viewFactory({\r\n deps,\r\n preferenceConfig,\r\n getGridConfig,\r\n getPlugins,\r\n getLastUploadedFeedStatusInterval = 3000,\r\n }) {\r\n this.getLastUploadedFeedStatusInterval = getLastUploadedFeedStatusInterval;\r\n this.eventHub = new Events();\r\n this.pageToken = {\r\n 0: null,\r\n };\r\n this.downloadBtnDisabled = false;\r\n this.deps = deps;\r\n this.retryCount = 0;\r\n const gridConfig = getGridConfig(this);\r\n const { i18n, pageContext } = deps;\r\n this.i18n = i18n;\r\n this.pageContext = pageContext;\r\n this.hostname = getEndpoint();\r\n this.customerId = pageContext.CurrentCustomer.Id;\r\n this.accountId = pageContext.CurrentAccount.Id;\r\n this.EVENT_NAMES = {\r\n SHOW_TOP_OF_GRID_PANEL: 'SHOW_TOP_OF_GRID_PANEL',\r\n SHOW_UPLOAD_STATUS: 'SHOW_UPLOAD_STATUS',\r\n SHOW_MESSAGES: 'SHOW_MESSAGES',\r\n SHOW_ERRORS: 'SHOW_ERRORS',\r\n GRID_DID_LOAD: 'GRID_DID_LOAD',\r\n };\r\n\r\n this.grid = pgridFactory({\r\n gridConfig,\r\n plugins: getPlugins(this),\r\n preferenceConfig,\r\n });\r\n this.eventHub.once(this.EVENT_NAMES.GRID_DID_LOAD, () => {\r\n this.lastUploadedFeedStatus();\r\n });\r\n\r\n this.grid.gridView.on('didUpdate', () => {\r\n this.refreshDownloadButtonStatus();\r\n });\r\n\r\n return this.grid.gridView;\r\n }\r\n\r\n refreshDownloadButtonStatus() {\r\n const { gridHasData } = this.grid.gridView.dataSource;\r\n const $buttonDownload = $('#button-download');\r\n this.downloadBtnDisabled = !gridHasData;\r\n $buttonDownload.prop('disabled', !gridHasData);\r\n }\r\n\r\n // the component tests need this property\r\n // add this to make sure the tests could run successfully\r\n get toolbarEditor() {\r\n return this.grid.toolbar.gridToolbarGroup.toolbarWithName(constants.DEFAULT_TOOLBAR_NAME);\r\n }\r\n\r\n toggleUploadView(visible = false) {\r\n this.eventHub.emit(\r\n this.EVENT_NAMES.SHOW_TOP_OF_GRID_PANEL,\r\n visible ? this.uploadFeedView : null\r\n );\r\n }\r\n\r\n toggleUploadProgressView(visible = false) {\r\n this.eventHub.emit(\r\n this.EVENT_NAMES.SHOW_TOP_OF_GRID_PANEL,\r\n visible ? this.uploadProgressView : null\r\n );\r\n }\r\n\r\n showErrors(errors = null) {\r\n this.eventHub.emit(\r\n this.EVENT_NAMES.SHOW_ERRORS,\r\n errors\r\n );\r\n }\r\n\r\n showMessasges(messages = null) {\r\n this.eventHub.emit(\r\n this.EVENT_NAMES.SHOW_MESSAGES,\r\n messages\r\n );\r\n }\r\n\r\n showUploadStatus(uploadStatus) {\r\n this.eventHub.emit(\r\n this.EVENT_NAMES.SHOW_UPLOAD_STATUS,\r\n uploadStatus\r\n );\r\n }\r\n\r\n uploadFeed() {\r\n // remove all current messsages/errors\r\n this.removeLastUploadedStatus();\r\n this.showErrors([]);\r\n this.showMessasges([]);\r\n\r\n const closeUploadView = () => {\r\n this.uploadFeedView.remove();\r\n this.uploadFeedView = null;\r\n this.toggleUploadView(false);\r\n this.refreshDownloadButtonStatus();\r\n };\r\n this.uploadFeedView = new UploadFeedView(this.deps).render();\r\n this.toggleUploadView(true);\r\n\r\n this.uploadFeedView.on('trackStatus', (trackingId) => {\r\n closeUploadView();\r\n this.showUploadProgress(trackingId);\r\n });\r\n this.uploadFeedView.on('cancel', () => closeUploadView());\r\n }\r\n\r\n sendAjaxCall(action, successCallback = _.noop, errorCallback = _.noop, type = 'GET') {\r\n const url = `${this.hostname}/coop/${action}?cid=${this.customerId}&aid=${this.accountId}`;\r\n return $.ajax({\r\n url,\r\n type,\r\n xhrFields: {\r\n withCredentials: true,\r\n },\r\n success: successCallback,\r\n error: errorCallback,\r\n });\r\n }\r\n\r\n lastUploadedFeedStatus() {\r\n const getLastUploadedFeedStatus = this.getLastUploadedFeedStatus.bind(this);\r\n // should call getLastUploadedFeedStatus immediately before setup the timer.\r\n getLastUploadedFeedStatus();\r\n this.timer = setInterval(getLastUploadedFeedStatus, this.getLastUploadedFeedStatusInterval);\r\n }\r\n\r\n getLastUploadedFeedStatus() {\r\n const handleResponse = (lastUploadFeedResult, downloadReportResult) => {\r\n const response = _.result(JSON.parse(lastUploadFeedResult), 'ResponseObject') || null;\r\n const downloadReportResponse = _.result(JSON.parse(downloadReportResult), 'ResponseObject', null);\r\n\r\n if (_.isNull(response)) {\r\n // user hasn't uploaded before.\r\n return true;\r\n }\r\n const status = StateCode[_.result(response, 'State')];\r\n const failure = FailureCode[_.result(response, 'FailureCode')];\r\n\r\n const timeStamp = _.result(response, 'CreatedOnUtc');\r\n const timeStampString = this.i18n.formatDate(new Date(timeStamp && endsWith(timeStamp, 'Z') ? timeStamp : `${timeStamp}Z`));\r\n\r\n if (status === 'Completed') {\r\n let uploadStatusText = this.i18n.getString('CPG_LastUploadedStatus_Succeed', {\r\n timeStamp: timeStampString,\r\n });\r\n const downloadReportLink = this.i18n.getString('CPG_Download_ErrorReport_Link', {\r\n link: `${this.i18n.getString('CPG_DownloadFile_ActionLink')}`,\r\n });\r\n uploadStatusText = (downloadReportResponse !== '' ? [uploadStatusText, downloadReportLink] : [uploadStatusText]).join('
');\r\n this.showUploadStatus({\r\n isUploadSuccess: true,\r\n uploadStatusText,\r\n });\r\n return true;\r\n }\r\n\r\n if (status === 'FailedFinal' || (status === 'FailedRetryable' && failure === 'InternalError')) {\r\n const uploadStatusText = this.i18n.getString('CPG_LastUploadedStatus_Failed', {\r\n timeStamp: timeStampString,\r\n });\r\n this.showUploadStatus({\r\n isUploadSuccess: false,\r\n uploadStatusText,\r\n });\r\n return true;\r\n }\r\n\r\n // still processing now\r\n return false;\r\n };\r\n\r\n const success = (lastUploadStatusResult, downloadReportResult) => {\r\n if (handleResponse(lastUploadStatusResult, downloadReportResult)) {\r\n this.stopTracking();\r\n }\r\n };\r\n\r\n const error = () => {\r\n this.retryCount += 1;\r\n\r\n if (this.retryCount === 3) {\r\n // Do nothing. The call is to get last upload status. If the call fails, it will not\r\n // impact user, also user cannot take any action when this happens\r\n this.stopTracking();\r\n }\r\n };\r\n\r\n Promise.all([\r\n this.sendAjaxCall('LastUploadedFeedStatus'),\r\n this.sendAjaxCall('DownloadDetailedReport'),\r\n ])\r\n .then(([uploadStatusResult, downloadReportResult]) => {\r\n success(uploadStatusResult, downloadReportResult);\r\n })\r\n .catch(() => {\r\n error();\r\n });\r\n }\r\n\r\n setUploadedFeedStatus(isError, content) {\r\n if (isError) {\r\n this.showErrors([content]);\r\n } else {\r\n this.showMessasges([content]);\r\n }\r\n }\r\n\r\n stopTracking() {\r\n clearInterval(this.timer);\r\n this.timer = null;\r\n }\r\n\r\n removeLastUploadedStatus() {\r\n this.showUploadStatus({\r\n isUploadSuccess: true,\r\n uploadStatusText: '',\r\n });\r\n }\r\n\r\n showUploadProgress(trackingId) {\r\n this.uploadProgressView = new UploadProgressView({\r\n trackingId,\r\n gridView: this,\r\n deps: this.deps,\r\n }).render();\r\n\r\n this.toggleUploadProgressView(true);\r\n const close = () => {\r\n this.toggleUploadProgressView(false);\r\n this.uploadProgressView = null;\r\n };\r\n\r\n this.uploadProgressView.on('complete', () => {\r\n close();\r\n this.grid.gridView.refresh(true);\r\n });\r\n this.uploadProgressView.on('error', (errors) => {\r\n this.showErrors(errors);\r\n close();\r\n });\r\n this.uploadProgressView.on('hideProgressBar', () => this.toggleUploadProgressView(false));\r\n }\r\n\r\n downloadFeed() {\r\n if (this.downloadBtnDisabled) {\r\n return;\r\n }\r\n this.downloadReport('DownloadCoOpFeed');\r\n }\r\n\r\n downloadReport(api) {\r\n const success = (response) => {\r\n const obj = JSON.parse(response);\r\n\r\n if (!hasError(obj)) {\r\n window.location.href = obj.ResponseObject;\r\n } else {\r\n this.showErrors(getError(obj, this.i18n));\r\n }\r\n };\r\n\r\n const error = () => {\r\n this.showErrors([this.i18n.getString('CPG_Error_DownloadError')]);\r\n };\r\n\r\n this.sendAjaxCall(api, success, error);\r\n }\r\n\r\n get className() { return 'product-feed-grid'; }\r\n\r\n remove() {\r\n if (this.grid) {\r\n if (this.grid.gridView) {\r\n this.grid.gridView.remove();\r\n }\r\n if (this.grid.toolbar && this.grid.toolbar.gridToolbarGroup) {\r\n this.grid.toolbar.gridToolbarGroup.remove();\r\n }\r\n }\r\n if (this.uploadFeedView) {\r\n this.uploadFeedView.remove();\r\n }\r\n if (this.uploadProgressView) {\r\n this.uploadProgressView.remove();\r\n }\r\n\r\n this.stopTracking();\r\n super.remove();\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport { CampaignuiBaseColumn } from '@bingads-webui-campaign/campaignui-base-column';\r\nimport { getCategoryOptions, getColumnNames, getLockedColumns } from '../shared/util';\r\n\r\nclass ProductFeedColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_ProductId');\r\n\r\n super({\r\n name: 'ProductFeed',\r\n property: 'MerchantProductId',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_CAmpaignGrids_ProductFeedID',\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n }\r\n}\r\n\r\nclass TitleColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_Title');\r\n\r\n super({\r\n name: 'Title',\r\n property: 'Title',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_CampaignGrids_Title',\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n }\r\n}\r\n\r\nclass BrandColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_Brand');\r\n\r\n super({\r\n name: 'Brand',\r\n property: 'Brand',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_CampaignGrids_Brand',\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n }\r\n}\r\n\r\nclass GTINColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_GTIN');\r\n\r\n super({\r\n name: 'GTIN',\r\n property: 'Gtin',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_CampaignGrids_GTIN',\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n }\r\n}\r\n\r\nclass MPNColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_MPN');\r\n\r\n super({\r\n name: 'MPN',\r\n property: 'Mpn',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_CampaignGrids_MPN',\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n }\r\n}\r\n\r\nclass PriceColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_Price');\r\n\r\n super({\r\n name: 'Price',\r\n property: 'Price',\r\n title,\r\n type: 'number',\r\n helpId: 'pop_BA_CampaignGrids_Price',\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n this.i18n = i18n;\r\n }\r\n\r\n pickProperty(item) {\r\n return item.Price ? this.i18n.formatDecimalToFixed(this.i18n.parseDecimal(item.Price)) : '';\r\n }\r\n}\r\n\r\nclass DescriptionColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n super({\r\n name: 'Description',\r\n property: 'Description',\r\n title: i18n.getString('CPG_ProductFeed_Column_Description'),\r\n type: 'string',\r\n });\r\n }\r\n}\r\n\r\nclass ImageLinkColumn extends CampaignuiBaseColumn {\r\n constructor({ i18n }) {\r\n const title = i18n.getString('CPG_ProductFeed_Column_ImageLink');\r\n\r\n super({\r\n name: 'ImageLink',\r\n property: 'ImageUrl',\r\n title,\r\n type: 'string',\r\n helpId: 'pop_BA_CampaignGrids_ImageLink',\r\n helpAriaLabel: i18n.getString('Click to learn more about {{item}}', { item: title }),\r\n });\r\n }\r\n}\r\n\r\nexport const columns = {\r\n ProductFeedColumn,\r\n TitleColumn,\r\n BrandColumn,\r\n GTINColumn,\r\n MPNColumn,\r\n PriceColumn,\r\n DescriptionColumn,\r\n ImageLinkColumn,\r\n};\r\n\r\nexport function getColumnChooserPluginConfig(deps) {\r\n const categories = [{\r\n name: deps.i18n.getString('CPG_ColumnChooser_Attributes'),\r\n options: [{\r\n Column: ProductFeedColumn,\r\n selectOption: 'locked',\r\n }, {\r\n Column: TitleColumn,\r\n selectOption: 'locked',\r\n }, {\r\n Column: BrandColumn,\r\n selectOption: 'optional',\r\n }, {\r\n Column: GTINColumn,\r\n selectOption: 'optional',\r\n }, {\r\n Column: MPNColumn,\r\n selectOption: 'optional',\r\n }, {\r\n Column: PriceColumn,\r\n selectOption: 'optional',\r\n }, {\r\n Column: DescriptionColumn,\r\n selectOption: 'optional',\r\n }, {\r\n Column: ImageLinkColumn,\r\n selectOption: 'optional',\r\n }],\r\n }];\r\n\r\n return {\r\n categories: _.map(categories, category => ({\r\n name: category.name,\r\n options: getCategoryOptions(category.options, deps.i18n),\r\n })),\r\n selected: getColumnNames([\r\n ProductFeedColumn,\r\n TitleColumn,\r\n BrandColumn,\r\n GTINColumn,\r\n MPNColumn,\r\n PriceColumn,\r\n DescriptionColumn,\r\n ImageLinkColumn,\r\n ], deps.i18n),\r\n locked: getColumnNames(getLockedColumns(categories), deps.i18n),\r\n patchQuery: false,\r\n Columns: deps.Columns,\r\n SelectedColumns: deps.SelectedColumns,\r\n LegacyColumns: deps.LegacyColumns,\r\n LegacySelectedColumns: deps.LegacySelectedColumns,\r\n i18n: deps.i18n,\r\n };\r\n}\r\n","import $ from 'jquery';\r\nimport _ from 'underscore';\r\nimport { dataSource } from 'projection-grid';\r\nimport Promise from 'bluebird';\r\nimport { columns } from './grid-columns';\r\nimport { hasError, getError, getEndpoint } from '../shared/util';\r\n\r\nexport class CustomizedDataSource extends dataSource.Base {\r\n constructor({ view, deps }) {\r\n super();\r\n this.view = view;\r\n this.deps = deps;\r\n this.hasNextPage = false;\r\n this.gridHasData = false;\r\n }\r\n\r\n query({\r\n skip = 0,\r\n take = 20,\r\n }) {\r\n const pageNumber = this.view.grid.pagination.pageNumber; // eslint-disable-line\r\n const currentToken = this.view.pageToken[pageNumber];\r\n const tokenParam = currentToken ? `&startToken=${currentToken}` : '';\r\n\r\n const customerId = this.deps.pageContext.CurrentCustomer.Id;\r\n const accountId = this.deps.pageContext.CurrentAccount.Id;\r\n const self = this;\r\n\r\n return new Promise((resolve) => {\r\n $.ajax({\r\n url: `${getEndpoint()}/coop/PageByPageProducts?cid=${customerId}&aid=${accountId}&maxResults=${take}&startIndex=0${tokenParam}`,\r\n type: 'GET',\r\n xhrFields: {\r\n withCredentials: true,\r\n },\r\n success: (response) => {\r\n const result = JSON.parse(response);\r\n\r\n if (_.isNull(result.ResponseObject)) {\r\n // Grid is empty\r\n self.hasNextPage = false;\r\n resolve([]);\r\n } else if (!hasError(result)) {\r\n // Grid is not empty and there is no error\r\n const token = result.ResponseObject.ContinuationTokenValue;\r\n self.view.pageToken[pageNumber + 1] = token;\r\n self.hasNextPage = !_.isNull(token);\r\n resolve(result.ResponseObject.CoOpProducts);\r\n } else {\r\n // The call failed\r\n if (self.view && self.view.viewModel) {\r\n self.view.viewModel.errors(getError(result, self.view.i18n));\r\n }\r\n self.hasNextPage = false;\r\n resolve([]);\r\n }\r\n self.view.eventHub.emit(self.view.EVENT_NAMES.GRID_DID_LOAD);\r\n },\r\n error: () => {\r\n if (self.view && self.view.viewModel) {\r\n self.view.viewModel.errors([this.view.i18n.getString('CPG_Error_RequestFailed')]);\r\n }\r\n self.hasNextPage = false;\r\n resolve([]);\r\n },\r\n });\r\n }).then((data) => {\r\n const totalCount = self.hasNextPage ? skip + take + 1 : skip + data.length;\r\n this.gridHasData = totalCount !== 0;\r\n return {\r\n // this is not real total count, just used to enable/disable next button of pagination\r\n totalCount,\r\n items: data,\r\n };\r\n });\r\n }\r\n}\r\n\r\nexport function getProductFeedGridConfig({\r\n view,\r\n deps,\r\n viewport,\r\n customHeaderOffset,\r\n}) {\r\n const headRows = ['column-header-rows'];\r\n const tableName = deps.i18n.getString('CPG_ProductFeed_Grid_Title_Feed');\r\n const gridConfig = {\r\n name: 'productFeedGrid',\r\n legacyGridName: 'productFeedGrid',\r\n dataSource: new CustomizedDataSource({ view, deps }),\r\n tableAttributes: { 'aria-label': tableName },\r\n tableClasses: ['table', 'table-bordered'],\r\n preferenceService: deps.preferenceService,\r\n config: deps.config,\r\n columns: _.chain(columns)\r\n .compact()\r\n .map(Column => (new Column({ i18n: deps.i18n })).toJSON())\r\n .value(),\r\n rows: {\r\n headRows,\r\n },\r\n scrolling: {\r\n virtualized: false,\r\n header: {\r\n type: 'sticky',\r\n offset: customHeaderOffset || (() => $('nav.navbar-default.navbar-fixed-top').height()),\r\n attributes: { 'aria-label': deps.i18n.getString('CPG_ProductFeed_Grid_Header_Feed') },\r\n },\r\n },\r\n };\r\n\r\n if (viewport) {\r\n gridConfig.scrolling.viewport = viewport;\r\n }\r\n\r\n return gridConfig;\r\n}\r\n","import $ from 'jquery';\r\nimport { paginationPlugin } from '@bingads-webui/projection-grid-pagination';\r\nimport { columnChooserPlugin } from '@bingads-webui-campaign/projection-grid-column-chooser';\r\nimport { uiBlockerPlugin } from '@bingads-webui/projection-grid-uiblocker';\r\nimport { performanceLogPlugin, perfMarkerPlugin } from '@bingads-webui-campaign/pgrid-performance-log';\r\nimport { getColumnChooserPluginConfig } from './grid-columns';\r\n\r\nexport function getProductFeedGridPlugins({\r\n deps,\r\n perfMarker,\r\n}) {\r\n const { i18n } = deps;\r\n const columnChooserConfig = getColumnChooserPluginConfig(deps);\r\n\r\n columnChooserConfig.customToolbarIcon = 'ba-TripleColumnSolid';\r\n\r\n return [{\r\n plugin: perfMarkerPlugin,\r\n config: { appConfig: deps.config, marker: perfMarker },\r\n }, {\r\n plugin: uiBlockerPlugin,\r\n config: {\r\n el: $('.product-feed-page'),\r\n },\r\n }, {\r\n plugin: paginationPlugin,\r\n config: {\r\n availablePageSizes: [20, 50, 100, 200],\r\n enableRandomPage: false,\r\n preferenceService: deps.preferenceService,\r\n pageNumberLabelText: i18n.getString('Grid_Page_Number_Label_Text'),\r\n pageSizeText: i18n.getString('Grid_ShowRows'),\r\n totalPageCountText: null,\r\n },\r\n }, {\r\n plugin: performanceLogPlugin,\r\n config: {\r\n appConfig: deps.config,\r\n logger: deps.logger,\r\n },\r\n }, {\r\n plugin: columnChooserPlugin,\r\n config: columnChooserConfig,\r\n }];\r\n}\r\n","import { uncheckedInjectionContext as globalContext } from '@bingads-webui-campaign/injection-context';\r\n\r\nconst i18n = globalContext.require('@bingads-webui/i18n-amd-loader!campaignui/feature/product-feed');\r\nconst edmCampaign = globalContext.requireDefault('component/edm-campaign/index');\r\nconst config = globalContext.require('component/config/index');\r\nconst logger = globalContext.require('module/service/instrumentation/index');\r\nconst { Columns, SelectedColumns } = globalContext.require('component/bingads-grid/service/column-chooser-preferences');\r\nconst { LegacyColumns, LegacySelectedColumns } = globalContext.require('component/bingads-grid/service/legacy-column-chooser-preferences');\r\nconst jsData = globalContext.require('component/js-data-campaign/index');\r\nconst state = globalContext.require('component/state/index');\r\nconst preferenceService = globalContext.requireDefault('component/preference/service/index');\r\nconst s$ProductOffer = globalContext.require('$/schema!campaign/ProductOffer');\r\nconst sessionStore = globalContext.requireDefault('component/js-data-storage/session-storage');\r\nconst preferenceStoreFactory = globalContext.require('component/bingads-grid/service/filter-preferences').getFilters;\r\nconst cacheService = globalContext.require('Services/CacheService');\r\nconst dataContextManager = globalContext.require('SummaryDataContextManager');\r\nconst s$i18n = globalContext.require('$/schema-i18n!campaign');\r\nconst pageContext = globalContext.require('PageContext');\r\nconst UploadService = globalContext.require('component/azure-upload/index');\r\n\r\nconst deps = {\r\n pageContext,\r\n i18n,\r\n edmCampaign,\r\n config,\r\n logger,\r\n Columns,\r\n SelectedColumns,\r\n LegacyColumns,\r\n LegacySelectedColumns,\r\n jsData,\r\n state,\r\n addDateChangeListener: (handler) => {\r\n window.App.views.Summary.bindDateFilterChangeHandler(handler);\r\n },\r\n preferenceService,\r\n s$ProductOffer,\r\n sessionStore,\r\n preferenceStoreFactory,\r\n cacheService,\r\n dataContextManager,\r\n s$i18n,\r\n UploadService,\r\n};\r\n\r\nexport default deps;\r\n","import { ProductFeedGrid } from './product-feed-grid/product-feed-grid';\r\nimport { getProductFeedGridConfig } from './product-feed-grid/grid-config';\r\nimport { getProductFeedGridPlugins } from './product-feed-grid/grid-plugins-config';\r\n\r\nimport deps from './product-feed-grid-deps';\r\n\r\nexport function createProductsGrid({\r\n getAdditionalPlugins,\r\n preferenceConfig,\r\n viewport,\r\n customHeaderOffset,\r\n perfMarker,\r\n}) {\r\n return new ProductFeedGrid({\r\n deps,\r\n getGridConfig: view => getProductFeedGridConfig({\r\n view,\r\n deps,\r\n viewport,\r\n customHeaderOffset,\r\n }),\r\n getPlugins: view => getProductFeedGridPlugins({\r\n deps,\r\n perfMarker,\r\n }).concat(getAdditionalPlugins(view)),\r\n preferenceConfig,\r\n });\r\n}\r\n","import _ from 'underscore';\r\n\r\nexport function getCategoryOptions(options, i18n) {\r\n return _.map(options, (option) => {\r\n const column = new option.Column({\r\n i18n,\r\n scope: {},\r\n });\r\n\r\n return {\r\n key: column.name,\r\n name: column.title,\r\n selectOption: option.selectOption,\r\n };\r\n });\r\n}\r\n\r\nexport function getColumnNames(Cols, i18n) {\r\n return _.map(Cols, Column => new Column({\r\n i18n,\r\n scope: {},\r\n }).name);\r\n}\r\n\r\nexport function getLockedColumns(categories) {\r\n return _.reduce(categories, (memo, category) =>\r\n memo.concat(_.map(_.filter(category.options, option => option.selectOption === 'locked'), value => value.Column)), []);\r\n}\r\n\r\nexport function hasError(data) {\r\n return !_.isEmpty(data.Messages);\r\n}\r\n\r\nexport function getError(data, i18n) {\r\n return _.chain(data.Messages)\r\n .filter(msg => msg.Type === 'Error')\r\n .pluck('Code')\r\n .map(code => i18n.getString(`CPG_Error_${code}`))\r\n .value();\r\n}\r\n\r\n// TODO: (jinrzhan) Currently the Endpoint is hard-code here.\r\n// Need to find some other better ways to handle this.\r\nexport function getEndpoint() {\r\n const url = window.location.href;\r\n const endPointMap = {\r\n 'ads-int.microsoft.com': 'https://merchantcenter.ads-int.microsoft.com',\r\n 'si.bingads.microsoft.com': 'https://merchantcenter.si.bingads.microsoft.com',\r\n 'ads.microsoft.com': 'https://merchantcenter.ads.microsoft.com',\r\n 'bingads.microsoft.com': 'https://merchantcenter.bingads.microsoft.com',\r\n };\r\n let endPoint = 'https://merchantcenter.ads-int.microsoft.com';\r\n _.each(endPointMap, (value, key) => {\r\n if (url.includes(key)) {\r\n endPoint = value;\r\n }\r\n });\r\n return endPoint;\r\n}\r\n\r\nexport function getBmcMtEndpoint() {\r\n const url = window.location.href;\r\n let endPoint = 'https://mmcapi.ads-int.microsoft.com';\r\n if (url.includes('ads.microsoft.com') || url.includes('si.bingads.microsoft.com')) {\r\n endPoint = 'https://mmcapi.ads.microsoft.com';\r\n }\r\n return endPoint;\r\n}\r\n","import React, { useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Dialog, DialogFooter, PrimaryButton, DefaultButton, DialogType } from '@bingads-webui-react/fabric-control';\r\nimport { withI18nConsumer } from '@bingads-webui-react/i18n-context';\r\n\r\nfunction UnstyledConfirmDialog({\r\n i18n, isOpen, onDismiss, onConfirm,\r\n}) {\r\n const dialogContentProps = useMemo(() => ({\r\n type: DialogType.normal,\r\n title: i18n.getString(_TL_('Are you sure you want to change the filter settings?')),\r\n closeButtonAriaLabel: i18n.getString(_TL_('Close')),\r\n subText: i18n.getString(_TL_('While you can always change the feed label you use, doing so will prompt new performance data. For example, if you switch from feed label AB to feed label CD, we’ll start recording new performance data for feed label CD. You can always switch back to feed label AB to review its performance data; however, the performance data for each feed label cannot merge.')),\r\n }), [i18n]);\r\n\r\n return (\r\n \r\n );\r\n}\r\n\r\nUnstyledConfirmDialog.propTypes = {\r\n i18n: PropTypes.shape({\r\n getString: PropTypes.func,\r\n }).isRequired,\r\n isOpen: PropTypes.bool.isRequired,\r\n onDismiss: PropTypes.func.isRequired,\r\n onConfirm: PropTypes.func.isRequired,\r\n};\r\n\r\nexport const ConfirmDialog = withI18nConsumer(UnstyledConfirmDialog);\r\n","export const FeedFilterTypes = {\r\n FEED_LABEL: 'feedLabel',\r\n SALE_COUNTRY: 'saleCountry',\r\n};\r\n\r\nexport const CountryFoldCount = 2;\r\n","import React, { useCallback, useMemo, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { compose, find } from 'underscore';\r\nimport classNames from 'classnames';\r\nimport { withDefaultStyles } from '@bingads-webui-react/with-default-styles';\r\nimport { withI18nConsumer } from '@bingads-webui-react/i18n-context';\r\nimport { TooltipHost, DirectionalHint, CommandBarButton, FontIcon } from '@bingads-webui-react/fabric-control';\r\nimport { MessageBar, MessageBarType } from '@fluentui/react';\r\nimport { DropdownSearchBox } from '@bingads-webui-react/dropdown-searchbox';\r\nimport { feedQueries as defaultFeedQueries, getResponseErrors } from '@bingads-webui-campaign-react/merchant-shared';\r\nimport { notificationApi } from '@bingads-webui-react/notification-center';\r\nimport { ReactTemplate } from '@bingads-webui-react/react-template';\r\nimport { ConfirmDialog } from './confirm-dialog';\r\nimport { CountryFoldCount } from './constants';\r\n\r\nfunction getStyles(_, { palette = {} }) {\r\n return {\r\n selectedButton: {\r\n padding: '5px 10px',\r\n background: palette.neutralLighter,\r\n '&:hover': {\r\n background: palette.neutralLight,\r\n },\r\n },\r\n cancelSelectionIcon: {\r\n marginLeft: 15,\r\n },\r\n noFeedsMessegeBar: {\r\n width: 500,\r\n margin: '10px 0',\r\n '& .ms-MessageBar-icon i': {\r\n color: palette.red,\r\n },\r\n },\r\n countryTooltipButton: {\r\n color: palette.themePrimary,\r\n paddingLeft: 5,\r\n },\r\n countryTooltip: {\r\n padding: 5,\r\n },\r\n feedLabelSearchMenu: {\r\n width: 500,\r\n },\r\n feedLabelSelectorContainer: {\r\n '& .feed-label-selector-error': {\r\n color: palette.redDark,\r\n },\r\n },\r\n };\r\n}\r\n\r\nconst FEED_LABEL_LIST_COUNT = 20;\r\nconst FEED_LABEL_STRING_MIN_LENGTH = 1;\r\nconst FEED_LABEL_STRING_MAX_LENGTH = 20;\r\nconst FEED_LABEL_ALLOW_CHARS = /^[a-zA-Z0-9-]*$/;\r\n\r\nfunction UnstyledFeedLabelSelector({\r\n i18n, classes, className, feedLabel, onChange, isEditMode, feedQueries, storeId,\r\n}) {\r\n const legacyI18n = useMemo(() => window.globalLegacyI18n.get('$/i18n!legacy/global'), []);\r\n const [searchText, setSearchText] = useState('');\r\n const [isLoading, setIsLoading] = useState(false);\r\n const [items, setItems] = useState([]);\r\n const [isEmptyProducts, setIsEmptyProducts] = useState(false);\r\n const [isReminderDialogOpen, setIsReminderDialogOpen] = useState(false);\r\n const [originalFeedLabel] = useState(feedLabel);\r\n const [validateErrors, setValidateErrors] = useState([]);\r\n\r\n const onValidate = useCallback((newSearchText) => {\r\n const errors = [];\r\n if (!FEED_LABEL_ALLOW_CHARS.test(newSearchText)) {\r\n errors.push([\r\n i18n.getString(_TL_('Only alphabet letters, numbers, \"-\", allowed.')),\r\n ]);\r\n }\r\n if (!storeId) {\r\n errors.push([\r\n i18n.getString(_TL_('Please select a store first.')),\r\n ]);\r\n }\r\n setValidateErrors(errors);\r\n return errors;\r\n }, [i18n, storeId]);\r\n\r\n const onSearchTextChange = useCallback((newSearchText) => {\r\n setSearchText(newSearchText);\r\n onValidate(newSearchText);\r\n }, [onValidate]);\r\n\r\n const onSearchValidation = useCallback((newSearchText) => {\r\n const errors = onValidate(newSearchText);\r\n return !errors || errors.length === 0;\r\n }, [onValidate]);\r\n\r\n const onSearch = useCallback((newSearchText) => {\r\n setIsLoading(true);\r\n feedQueries.getFeedLabels(storeId, 0, FEED_LABEL_LIST_COUNT, newSearchText)\r\n .then((newItems) => {\r\n const formattedItems = newItems.map(item => ({\r\n feedLabel: item.FeedLabel,\r\n language: item.Language,\r\n countries: item.TargetCountries,\r\n products: item.TotalProductsCount,\r\n // eslint-disable-next-line no-mixed-operators\r\n approved: Math.floor(100 * item.ApprovedProductsCount / item.TotalProductsCount),\r\n }));\r\n if (!find(formattedItems, item => item.feedLabel === newSearchText)\r\n && newSearchText && newSearchText.length >= FEED_LABEL_STRING_MIN_LENGTH && newSearchText.length <= FEED_LABEL_STRING_MAX_LENGTH) {\r\n setItems([{ feedLabel: newSearchText }, ...formattedItems]);\r\n return;\r\n }\r\n setItems(formattedItems);\r\n })\r\n .catch((response) => {\r\n const error = getResponseErrors(response, i18n);\r\n notificationApi.showWarning(error[0].LocalizedMessage);\r\n })\r\n .finally(() => {\r\n setIsLoading(false);\r\n });\r\n }, [feedQueries, i18n, storeId]);\r\n\r\n const columns = [{\r\n key: 'feedLabel',\r\n name: i18n.getString(_TL_('Feed label')),\r\n minWidth: 120,\r\n }, {\r\n key: 'targetCountries',\r\n name: i18n.getString(_TL_('Countries')),\r\n minWidth: 200,\r\n onRender: ({ countries }) => {\r\n if (!countries || countries.length === 0) {\r\n return '-';\r\n }\r\n const countryNames = countries.map(countryCode => legacyI18n.getString(`UserCountry_${countryCode}`));\r\n const allCountriesStr = countryNames.join(', ');\r\n if (countryNames.length <= CountryFoldCount) {\r\n return allCountriesStr;\r\n }\r\n return (\r\n
{description}
\r\n{itemText}
\r\n\r\n {i18n.getString(_TL_('Showing {{pageSize}} of {{total}} products'), {\r\n pageSize: Math.min(pageSize, brandsList.length),\r\n total: brandsList.length,\r\n })}\r\n
\r\n{i18n.getString(_TL_('Filter down and select the specific categories you want to advertise.'))}
\r\n\r\n {i18n.getString(_TL_('Showing {{pageSize}} of {{total}} products'), {\r\n pageSize: items ? items.length : 0,\r\n total,\r\n })}\r\n
\r\n{i18n.getString(_TL_('Add all your brands and we’ll match them with the associated products.'))}
\r\n