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boB,WAAY,CACVN,OAAQ,QACRO,WAAY,QACZb,QAAS,QACTP,WAAY,GACZN,SAAU,GACV2B,YA9F8C,IAAA7B,EAAG,CAAC,EAACA,GA8FpC8B,QAEjBC,SAAU,CACRnB,QAAS,SACTV,SAAU,GACVM,WAAY,GAEdlC,UAAW,CACTiC,UAAW,EACXL,SAAU,GACV2B,MAAO,WAETG,WAAY,CACVzB,UAAW,EACXL,SAAU,GACV2B,MAAO,WAETI,kBAAmB,CACjBrB,QAAS,cACTze,OAAQ,GACR+f,WAAY,UAEf,G","sources":["../../../../advisor/packages/competition-tab/index.js","../../../../advisor/packages/competition-tab/src/projection-grid-pill-control.js","../../../../advisor/packages/competition-tab/src/projection-grid-chart.js","../../../../advisor/packages/competition-tab/src/pill-control-decorator.js","../../../../advisor/packages/competition-tab/src/general-insights-data-source.js","../../../../advisor/packages/competition-tab/src/general-insights-grid-columns.js","../../../../advisor/packages/competition-tab/src/general-insights-plugin-config.js","../../../../advisor/packages/competition-tab/src/general-insights-grid-config.js","../../../../advisor/packages/competition-tab/src/general-insights-grid.js","../../../../advisor/packages/competition-tab/src/general-insights-chart-container.js","../../../../advisor/packages/competition-tab/src/general-insights.js","../../../../advisor/packages/competition-tab/src/competition-recommendations.js","../../../../advisor/packages/competition-tab/src/competition-tab.js","../../../../advisor/packages/competition-tab/src/competition-tab-view.js","../../../../advisor/packages/competition-tab/src/new-pkg/general-insights-grid.js","../../../../advisor/packages/competition-tab/src/new-pkg/pill-control-plugin.js","../../../../advisor/packages/competition-tab/src/new-pkg/const.js","../../../../advisor/packages/competition-tab/src/new-pkg/campaign-type-switch-plugin.js","../../../../advisor/packages/competition-tab/src/new-pkg/plugins.js","../../../../advisor/packages/competition-tab/src/new-pkg/general-insights-gridview-factory.js","../../../../advisor/packages/competition-tab/src/new-pkg/grid-config.js","../../../../advisor/packages/recommendation-bulk-aar/src/const.js","../../../../advisor/packages/recommendation-bulk-aar/src/bulk-aar-upload.js","../../../../advisor/packages/recommendation-bulk-aar/src/index.js","../../../../advisor/packages/recommendation-bulk-aar/style/bulk-aar-header-style.js"],"sourcesContent":["import { uncheckedInjectionContext as globalContext } from '@bingads-webui-campaign/injection-context';\r\nimport pkg from './package.json';\r\n\r\nexport const { version } = pkg;\r\n\r\nexport default globalContext.define(\r\n pkg.legacyDependencies,\r\n Promise => import(/* webpackMode: 'eager' */ './src/index') // eslint-disable-line no-unused-vars\r\n);\r\n","import _ from 'underscore';\r\nimport { uncheckedInjectionContext as globalContext } from '@bingads-webui-campaign/injection-context';\r\nimport { defineGridPlugin } from '@bingads-webui/projection-grid-plugin';\r\nimport {\r\n PILL_CONTROL,\r\n saveGeneralInsightsPreferences,\r\n getSegmentationData,\r\n} from '@bingads-webui-campaign-react/competition-core';\r\n\r\nconst preferencesService = globalContext.requireDefault('component/preference/service/index');\r\nconst appState = globalContext.require('component/state/index');\r\nconst { getSegType } = globalContext.require('component/bingads-grid/service/segmentation-preferences');\r\n\r\nexport const pillControlPlugin = defineGridPlugin(\r\n 'pillControl',\r\n [\r\n 'gridView',\r\n 'config',\r\n 'toolbar',\r\n 'segment',\r\n ],\r\n (gridView, config, toolbar, segment) => {\r\n const menuId = 'summary-overtime';\r\n const type = [PILL_CONTROL.overtime, PILL_CONTROL.summary];\r\n const toolbarEditor = toolbar.gridToolbarGroup.toolbarWithItem(menuId);\r\n const pluginConfig = _.result(config.plugins, 'pillControl', {});\r\n const {\r\n i18n,\r\n segmentationTypesCollection,\r\n } = pluginConfig;\r\n const {\r\n currentActivity,\r\n } = config;\r\n\r\n function updateSegmentMenu(selectedIndex) {\r\n toolbarEditor.update(getMenu(selectedIndex)); // eslint-disable-line no-use-before-define\r\n const segmentationTypes = segmentationTypesCollection[selectedIndex];\r\n let newSegType = getSegmentationData({\r\n activity: currentActivity,\r\n appState,\r\n getSegType,\r\n preferencesService,\r\n });\r\n\r\n currentActivity.trace(`use segment type ${newSegType}`, 'pillControlPlugin');\r\n if (!_.contains(segmentationTypes, newSegType) && newSegType !== 'None') {\r\n newSegType = 'None';\r\n currentActivity.error(`${newSegType} doesn't exist, fall back to None`, 'pillControlPlugin');\r\n }\r\n segment.setSegmentType(newSegType, segmentationTypes);\r\n }\r\n\r\n function getMenu(selectedIndex) {\r\n return {\r\n type: 'pill-control',\r\n id: menuId,\r\n items: [{\r\n text: i18n.getString('Over_Time'),\r\n }, {\r\n text: i18n.getString('Summary'),\r\n }],\r\n selectedIndex,\r\n onClick(index) {\r\n if (index !== this.selectedIndex) {\r\n const menuName = type[index];\r\n\r\n saveGeneralInsightsPreferences({ pillControlType: menuName }, preferencesService);\r\n currentActivity.trace(`click ${menuName} menu `, 'pillControlPlugin');\r\n updateSegmentMenu(index);\r\n gridView.refresh(true);\r\n }\r\n },\r\n };\r\n }\r\n\r\n const pillControlTypeInPreference = _.chain({})\r\n .defaults(config.query)\r\n .result('query')\r\n .result('PillControlType', PILL_CONTROL.overtime)\r\n .value();\r\n let defaultIndex = 0;\r\n\r\n defaultIndex = _.indexOf(type, pillControlTypeInPreference);\r\n updateSegmentMenu(defaultIndex);\r\n }\r\n);\r\n\r\n","import { defineGridPlugin } from '@bingads-webui/projection-grid-plugin';\r\n\r\nexport const chartPlugin = defineGridPlugin(\r\n 'chart',\r\n [\r\n 'config',\r\n 'toolbar',\r\n ],\r\n (config, toolbar) => {\r\n const menuId = 'button-chart-toggle';\r\n const toolbarEditor = toolbar.gridToolbarGroup.toolbarWithItem(menuId);\r\n const {\r\n chart: {\r\n toggleChartToolbar,\r\n },\r\n } = config.plugins;\r\n\r\n toolbarEditor.update({\r\n type: 'button',\r\n id: menuId,\r\n classes: ['btn', 'chart-icon'],\r\n onClick: () => {\r\n toggleChartToolbar();\r\n },\r\n });\r\n }\r\n);\r\n","import _ from 'underscore';\r\n\r\nimport {\r\n getPillControlTypeFromPreferences,\r\n} from '@bingads-webui-campaign-react/competition-core';\r\n\r\nexport function getPillControlDecorator(preferencesService) {\r\n return {\r\n run(queryParams) {\r\n const query = _.defaults({\r\n PillControlType: getPillControlTypeFromPreferences(preferencesService),\r\n }, queryParams.query);\r\n\r\n return _.defaults({\r\n query,\r\n }, queryParams);\r\n },\r\n };\r\n}\r\n","import _ from 'underscore';\r\nimport { uncheckedInjectionContext as globalContext } from '@bingads-webui-campaign/injection-context';\r\nimport { QueryBuilderFactory } from '@bingads-webui-campaign/query-builder';\r\nimport { connect } from '@bingads-webui-campaign/dqb-grid-datasource-connector';\r\nimport { DataSourceStore } from '@bingads-webui-campaign/data-source-store';\r\nimport { GENERAL_INSIGHTS_DATA_TYPES, GeneralInsightsSegmentationDecorator } from '@bingads-webui-campaign-react/competition-core';\r\nimport { getPillControlDecorator } from './pill-control-decorator';\r\n\r\nconst appState = globalContext.require('component/state/index');\r\nconst dateUtil = globalContext.require('component/humanize/date');\r\nconst SegmentationPreference = globalContext.require('component/bingads-grid/service/segmentation-preferences');\r\nconst { fetchSortInfo } = globalContext.require('component/bingads-grid/service/fetch-sortinfo');\r\nconst preferencesService = globalContext.requireDefault('component/preference/service/index');\r\n\r\nexport function initializeDataSource({\r\n type = GENERAL_INSIGHTS_DATA_TYPES.Grid,\r\n dataService,\r\n filterService = null,\r\n featureName,\r\n afterFindAll,\r\n}) {\r\n const isType = (...types) => _.contains(types, type);\r\n const { Chart, Tile, Grid } = GENERAL_INSIGHTS_DATA_TYPES;\r\n\r\n const queryBuilderConfig = {\r\n decorators: _.compact([\r\n { name: 'dateFilter' },\r\n isType(Chart, Grid) && { name: 'segment' },\r\n isType(Chart, Grid) && { name: 'filter', filterService },\r\n isType(Chart, Grid) && { name: 'sorting' },\r\n isType(Chart, Grid) && getPillControlDecorator(preferencesService),\r\n isType(Chart, Tile) && new GeneralInsightsSegmentationDecorator(type === Tile),\r\n ]),\r\n commonConfig: {\r\n featureName,\r\n isOdataActionSource: false,\r\n deps: {\r\n dateUtil,\r\n state: appState,\r\n SegmentationPreference,\r\n fetchSortInfo,\r\n },\r\n },\r\n };\r\n\r\n const queryBuilder = QueryBuilderFactory.make(queryBuilderConfig);\r\n const dataSource = connect(\r\n {\r\n type: 'jsdata',\r\n entity: dataService,\r\n options: {\r\n useDfmCache: true,\r\n afterFindAll: isType(Grid) ? afterFindAll : _.noop,\r\n },\r\n },\r\n queryBuilder,\r\n type\r\n );\r\n\r\n // Prefetch\r\n dataSource.query();\r\n\r\n DataSourceStore.set(type, dataSource);\r\n}\r\n\r\nexport function initializeDataSources({\r\n dataService,\r\n filterService,\r\n featureName,\r\n afterFindAll,\r\n}) {\r\n initializeDataSource({\r\n type: GENERAL_INSIGHTS_DATA_TYPES.Grid,\r\n dataService,\r\n filterService,\r\n featureName,\r\n preferencesService,\r\n afterFindAll,\r\n });\r\n initializeDataSource({\r\n type: GENERAL_INSIGHTS_DATA_TYPES.Chart,\r\n dataService,\r\n filterService,\r\n featureName,\r\n preferencesService,\r\n });\r\n}\r\n\r\nexport function getDataSource(type = GENERAL_INSIGHTS_DATA_TYPES.Grid) {\r\n return DataSourceStore.get(type);\r\n}\r\n","import _ from 'underscore';\r\nimport {\r\n DisplayDomainColumn,\r\n StoreDisplayNameColumn,\r\n ImpressionShareColumn,\r\n AveragePositionColumn,\r\n OverlapRateColumn,\r\n AboveRateColumn,\r\n TopOfPageRateColumn,\r\n AbsoluteTopOfPageRateColumn,\r\n OutrankingShareColumn,\r\n ImpressionShareWithInsightColumn,\r\n} from '@bingads-webui-campaign/auction-insight-common';\r\nimport { ColumnsConfigBuilder } from '@bingads-webui-campaign/summary-grid-helper';\r\nimport { uncheckedInjectionContext as globalContext } from '@bingads-webui-campaign/injection-context';\r\nimport { CAMPAIGN_TYPES } from '@bingads-webui-campaign/competition-auction-insight-preferences';\r\nimport { levelAtConstant } from '@bingads-webui-campaign/scope-constants';\r\n\r\nconst appConfig = globalContext.require('component/config/index');\r\nconst { Columns, SelectedColumns } = globalContext.require('component/bingads-grid/service/column-chooser-preferences');\r\nconst i18n = globalContext.require('@bingads-webui/i18n-amd-loader!campaignui/feature/competition-tab');\r\nconst permissions = appConfig.get('Permissions');\r\n\r\nlet builder = null;\r\nlet campaignTypeInLastBuilder;\r\n\r\nfunction getBuilder({\r\n campaignType,\r\n scope,\r\n}) {\r\n if (builder === null || campaignTypeInLastBuilder !== campaignType) {\r\n campaignTypeInLastBuilder = campaignType;\r\n\r\n let performanceColumns;\r\n let attributesColumns;\r\n let lockedColumns;\r\n const isCustomerLevel = _.result(scope, 'levelAt') === levelAtConstant.CUSTOMER;\r\n\r\n if (campaignType === CAMPAIGN_TYPES.Shopping) {\r\n attributesColumns = [StoreDisplayNameColumn];\r\n lockedColumns = [\r\n StoreDisplayNameColumn,\r\n isCustomerLevel ? ImpressionShareWithInsightColumn : ImpressionShareColumn,\r\n ];\r\n performanceColumns = _.compact([\r\n isCustomerLevel ? ImpressionShareWithInsightColumn : ImpressionShareColumn,\r\n OverlapRateColumn,\r\n permissions.IsAvgPositionDeprecationPhase1Enabled && AbsoluteTopOfPageRateColumn,\r\n OutrankingShareColumn,\r\n ]);\r\n } else {\r\n attributesColumns = [DisplayDomainColumn];\r\n lockedColumns = [\r\n DisplayDomainColumn,\r\n isCustomerLevel ? ImpressionShareWithInsightColumn : ImpressionShareColumn,\r\n ];\r\n performanceColumns = _.compact([\r\n isCustomerLevel ? ImpressionShareWithInsightColumn : ImpressionShareColumn,\r\n !permissions.IsAvgPositionDeprecationPhase2Enabled && AveragePositionColumn,\r\n OverlapRateColumn,\r\n AboveRateColumn,\r\n TopOfPageRateColumn,\r\n permissions.IsAvgPositionDeprecationPhase1Enabled && AbsoluteTopOfPageRateColumn,\r\n OutrankingShareColumn,\r\n ]);\r\n }\r\n const selectedColumns = _.union(attributesColumns, performanceColumns);\r\n\r\n builder = new ColumnsConfigBuilder()\r\n .addCategory('Attributes', category => category.addColumns(attributesColumns))\r\n .addCategory('Performance', category => category.addColumns(performanceColumns))\r\n .setLockedColumns(lockedColumns)\r\n .setSelectedColumns(selectedColumns);\r\n }\r\n\r\n return builder;\r\n}\r\n\r\nexport function getColumnsConfig({\r\n scope,\r\n campaignType,\r\n}) {\r\n return getBuilder({ campaignType, scope }).getColumnsConfig({\r\n i18n,\r\n scope,\r\n campaignType,\r\n });\r\n}\r\n\r\nexport function getColumnChooserConfig({ campaignType, scope }) {\r\n return getBuilder({ campaignType, scope }).getColumnChooserConfig({\r\n i18n,\r\n patchQuery: true,\r\n Columns,\r\n SelectedColumns,\r\n });\r\n}\r\n","import $ from 'jquery';\r\nimport _ from 'underscore';\r\n\r\nimport { uncheckedInjectionContext as globalContext } from '@bingads-webui-campaign/injection-context';\r\nimport { clientSideDownload } from '@bingads-webui-campaign/auction-insight-common';\r\nimport { segmentationType, adinsightSegmentationTypeEnum } from '@bingads-webui-campaign/segmentation-utilities';\r\nimport {\r\n CAMPAIGN_TYPES,\r\n} from '@bingads-webui-campaign/competition-auction-insight-preferences';\r\nimport { setSegmentationData } from '@bingads-webui-campaign-react/competition-core';\r\n\r\nimport { getColumnChooserConfig } from './general-insights-grid-columns';\r\n\r\nconst i18n = globalContext.require('@bingads-webui/i18n-amd-loader!campaignui/feature/competition-tab');\r\nconst DownloadView = globalContext.require('campaignui/feature/griddownload/view/baseDownload');\r\nconst appConfig = globalContext.require('component/config/index');\r\nconst appState = globalContext.require('component/state/index');\r\nconst permissions = appConfig.get('Permissions');\r\nconst { getSegType, setSegType } = globalContext.require('component/bingads-grid/service/segmentation-preferences');\r\nconst instrumentation = globalContext.require('campaignui/feature/instrumentation/index');\r\nconst preferencesService = globalContext.requireDefault('component/preference/service/index');\r\n\r\nconst campaignTypeItems = _.map(_.values(CAMPAIGN_TYPES), (campaignType, index) => ({\r\n id: index,\r\n text: i18n.getString(`AuctionInsights_CampaignType_${campaignType}`),\r\n key: campaignType,\r\n}));\r\n\r\nexport function getPluginsConfig({\r\n scope,\r\n addDateChangeListener,\r\n container,\r\n toggleChartToolbar,\r\n view,\r\n campaignType,\r\n onCampaignTypeSelectChange,\r\n showCampaignTypeDropdown,\r\n showAlertHandler,\r\n}) {\r\n const upperToolbarItems = [{\r\n type: 'button',\r\n id: 'button-chart-toggle',\r\n }, {\r\n type: 'pill-control',\r\n id: 'summary-overtime',\r\n }, {\r\n type: 'dropdown',\r\n id: 'filter-menu',\r\n }, {\r\n type: 'dropdown',\r\n id: 'dropdown-segment',\r\n }];\r\n\r\n if (showCampaignTypeDropdown) {\r\n upperToolbarItems.push({\r\n type: 'selector',\r\n id: 'dropdown-campaign-type',\r\n items: campaignTypeItems,\r\n selectedKey: campaignType,\r\n onChange({ key }) {\r\n if (key !== campaignType) {\r\n onCampaignTypeSelectChange({\r\n campaignType: key,\r\n });\r\n }\r\n },\r\n });\r\n }\r\n\r\n const lowerToolbarItems = [{\r\n type: 'button',\r\n id: 'button-download',\r\n }, {\r\n type: 'dropdown',\r\n id: 'dropdown-column-chooser',\r\n }];\r\n\r\n const segmentationTypesForSummaryMenu = [\r\n segmentationType.DayOfWeek,\r\n segmentationType.HourOfDay,\r\n segmentationType.Device,\r\n ];\r\n const segmentationTypesForOverTimeMenu = [\r\n segmentationType.Day,\r\n segmentationType.Week,\r\n segmentationType.Month,\r\n segmentationType.Quarter,\r\n segmentationType.Year,\r\n segmentationType.Device,\r\n ];\r\n\r\n return {\r\n dateFilter: {\r\n state: appState,\r\n addDateChangeListener,\r\n },\r\n toolbar: {\r\n 'upper-toolbar': {\r\n items: upperToolbarItems,\r\n },\r\n 'lower-toolbar': {\r\n items: lowerToolbarItems,\r\n },\r\n },\r\n columnChooser: getColumnChooserConfig({ campaignType }),\r\n inlineDownload: {\r\n DownloadView,\r\n isAvailable: true,\r\n i18n,\r\n entity: 'AuctionInsight',\r\n customDownloadService: (format, segmentType) => {\r\n clientSideDownload(format, segmentType, view, scope, appState, i18n, showAlertHandler);\r\n },\r\n downloadFormats: ['Csv'],\r\n segmentationTypes: adinsightSegmentationTypeEnum,\r\n },\r\n placeholder: {\r\n container: '.general-insights .grid-noresult',\r\n filteredEmptyText: i18n.getString('Grid_NoFilteredRecords'),\r\n text: i18n.getString('AuctionInsights_GridNoDataDetail'),\r\n },\r\n uiBlocker: {\r\n el: container && $(container),\r\n },\r\n segment: {\r\n cellTemplates: {\r\n DisplayDomain: 'default',\r\n },\r\n i18n,\r\n permissions,\r\n cultureShortDatePattern: 'M/d/yyyy',\r\n state: appState,\r\n setSegType(name, segType) {\r\n setSegmentationData({\r\n gridName: name,\r\n segType,\r\n setSegType,\r\n preferencesService,\r\n });\r\n },\r\n isOdataActionSource: false,\r\n edm: null,\r\n segmentationTypes: [], // use pill control to dynamic set allowed segmentation types\r\n instrumentation,\r\n getSegType,\r\n },\r\n pillControl: {\r\n i18n,\r\n segmentationTypesCollection: [\r\n segmentationTypesForOverTimeMenu,\r\n segmentationTypesForSummaryMenu,\r\n ],\r\n },\r\n chart: {\r\n toggleChartToolbar,\r\n },\r\n performanceLogNew: {\r\n instrumentation: instrumentation.default,\r\n },\r\n };\r\n}\r\n","import $ from 'jquery';\r\nimport { helpers } from '@bingads-webui/projection-grid-toolbar';\r\nimport { GENERAL_INSIGHTS_DATA_TYPES } from '@bingads-webui-campaign-react/competition-core';\r\n\r\nimport { getDataSource } from './general-insights-data-source';\r\nimport { getPluginsConfig } from './general-insights-plugin-config';\r\nimport { getColumnsConfig } from './general-insights-grid-columns';\r\n\r\nconst { toolbarRow } = helpers;\r\n\r\nexport function getConfig({\r\n view,\r\n scope,\r\n addDateChangeListener,\r\n container,\r\n filterService,\r\n currentScenario,\r\n currentActivity,\r\n toggleChartToolbar,\r\n campaignType,\r\n onCampaignTypeSelectChange,\r\n showCampaignTypeDropdown,\r\n featureName,\r\n showAlertHandler,\r\n}) {\r\n const dataSource = getDataSource(GENERAL_INSIGHTS_DATA_TYPES.Grid);\r\n\r\n return {\r\n name: featureName,\r\n tableClasses: ['table', 'table-bordered'],\r\n isDataFetchManagerSource: true,\r\n dataSource,\r\n filterService,\r\n rows: {\r\n headRows: [\r\n toolbarRow('lower-toolbar'),\r\n 'column-header-rows',\r\n ],\r\n bodyRows: [\r\n {\r\n type: 'data-rows',\r\n classes: {\r\n 'auction-insight-column-you': ({ DisplayDomain }) => DisplayDomain === 'You',\r\n },\r\n },\r\n ],\r\n },\r\n columns: getColumnsConfig({\r\n scope,\r\n campaignType,\r\n }),\r\n scrolling: {\r\n header: {\r\n type: 'sticky',\r\n offset() {\r\n return $('nav.navbar-default.navbar-fixed-top').height();\r\n },\r\n },\r\n virtualized: true,\r\n },\r\n plugins: getPluginsConfig({\r\n view,\r\n scope,\r\n addDateChangeListener,\r\n container,\r\n toggleChartToolbar,\r\n campaignType,\r\n onCampaignTypeSelectChange,\r\n showCampaignTypeDropdown,\r\n showAlertHandler,\r\n }),\r\n currentScenario,\r\n currentActivity,\r\n };\r\n}\r\n","import pgrid from 'projection-grid';\r\nimport _ from 'underscore';\r\nimport { DeterministicWrapperView } from '@bingads-webui/deterministic-wrapper-view';\r\nimport { toolbarPlugin } from '@bingads-webui/projection-grid-toolbar';\r\nimport { inlineDownloadWithoutFilterstatePlugin } from '@bingads-webui-campaign/projection-grid-inline-download';\r\nimport { columnChooserPlugin } from '@bingads-webui-campaign/projection-grid-column-chooser';\r\nimport { dateFilterPlugin } from '@bingads-webui-campaign/projection-grid-date-filter';\r\nimport { placeholderPlugin } from '@bingads-webui/projection-grid-placeholder';\r\nimport { segmentPlugin } from '@bingads-webui-campaign/projection-grid-segment';\r\nimport { uiBlockerPlugin } from '@bingads-webui/projection-grid-uiblocker';\r\nimport { merge } from '@bingads-webui-universal/primitive-utilities';\r\nimport { uncheckedInjectionContext as globalContext } from '@bingads-webui-campaign/injection-context';\r\n\r\nimport { pillControlPlugin } from './projection-grid-pill-control';\r\nimport { chartPlugin } from './projection-grid-chart';\r\nimport { getConfig } from './general-insights-grid-config';\r\n\r\nconst preferencesService = globalContext.requireDefault('component/preference/service/index');\r\nconst { newPerformanceLogPlugin } = globalContext.require('component/bingads-grid/plugin/new-performance-log');\r\n\r\nexport class GeneralInsightsGrid extends DeterministicWrapperView {\r\n viewFactory({\r\n scope,\r\n addDateChangeListener,\r\n container,\r\n filterService,\r\n preferenceConfig,\r\n currentScenario,\r\n currentActivity,\r\n toggleChartToolbar,\r\n campaignType,\r\n onCampaignTypeSelectChange,\r\n showCampaignTypeDropdown,\r\n featureName,\r\n showAlertHandler,\r\n }) {\r\n const gridPlugins = pgrid.factory({ vnext: true })\r\n .use(dateFilterPlugin)\r\n .use(toolbarPlugin)\r\n .use(columnChooserPlugin)\r\n .use(uiBlockerPlugin)\r\n .use(placeholderPlugin)\r\n .use(segmentPlugin)\r\n .use(inlineDownloadWithoutFilterstatePlugin)\r\n .use(pillControlPlugin)\r\n .use(chartPlugin)\r\n .use(newPerformanceLogPlugin);\r\n\r\n let config = getConfig({\r\n scope,\r\n view: this,\r\n addDateChangeListener,\r\n container,\r\n filterService,\r\n currentScenario,\r\n currentActivity,\r\n toggleChartToolbar,\r\n campaignType,\r\n onCampaignTypeSelectChange,\r\n showCampaignTypeDropdown,\r\n featureName,\r\n showAlertHandler,\r\n });\r\n\r\n config = merge(config, preferenceConfig);\r\n\r\n this.grid = gridPlugins\r\n .create(config);\r\n\r\n this.grid.gridView.on('willUpdate', (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 preferencesService.setAtUserLevel({\r\n Name: `WebApp.CampaignUI.${config.name}`,\r\n Data: { sortInfo: { orderby, sortableHeader } },\r\n });\r\n }\r\n });\r\n\r\n return this.grid.gridView;\r\n }\r\n\r\n getUpperToolbar() {\r\n return this.grid.toolbar.gridToolbarGroup.toolbarWithName('upper-toolbar');\r\n }\r\n\r\n hideLowerToolbar() {\r\n this.grid.toolbar.gridToolbarGroup.toolbarWithName('lower-toolbar').hide();\r\n }\r\n\r\n showLowerToolbar() {\r\n this.grid.toolbar.gridToolbarGroup.toolbarWithName('lower-toolbar').show();\r\n }\r\n\r\n remove() {\r\n this.grid.toolbar.gridToolbarGroup.remove();\r\n this.grid.toolbar = null;\r\n super.remove();\r\n }\r\n\r\n refresh() {\r\n this.grid.gridView.refresh(true);\r\n }\r\n\r\n get className() { return 'general-insights-grid'; }\r\n}\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport _ from 'underscore';\r\nimport { uncheckedInjectionContext as globalContext } from '@bingads-webui-campaign/injection-context';\r\nimport { DropdownSelector } from '@bingads-webui-react/dropdown-selector';\r\nimport { localizeSegmentationValue, segmentationType } from '@bingads-webui-campaign/segmentation-utilities';\r\nimport { perfMarkerPropTypes } from '@bingads-webui/performance-marker';\r\n\r\nimport { METRIC_PREFERENCE_KEY_NAME, CAMPAIGN_TYPES } from '@bingads-webui-campaign/competition-auction-insight-preferences';\r\n\r\nimport {\r\n METRICS,\r\n getLocalizedMetrics,\r\n AdvisorChartWithMetrics,\r\n EmptyChart,\r\n} from '@bingads-webui-campaign-react/advisor-chart';\r\nimport { getGeneralInsightsPreferences, saveGeneralInsightsPreferences, getPillControlTypeFromPreferences } from '@bingads-webui-campaign-react/competition-core';\r\n\r\nconst i18n = globalContext.require('@bingads-webui/i18n-amd-loader!campaignui/feature/competition-tab');\r\nconst preferencesService = globalContext.requireDefault('component/preference/service/index');\r\nconst appConfig = globalContext.require('component/config/index');\r\nconst permissions = appConfig.get('Permissions');\r\n\r\nconst DEVICE_TYPE = {\r\n PC: 'PC',\r\n SmartPhone: 'SmartPhone',\r\n Tablet: 'Tablet',\r\n};\r\n\r\nfunction localizeDeviceType(value) {\r\n return localizeSegmentationValue({\r\n i18n,\r\n type: segmentationType.DeviceType,\r\n value,\r\n });\r\n}\r\n\r\nfunction getDeviceTypeList(raw, primaryDeviceType) {\r\n // get segmentData from first item\r\n const segmentData = raw[0].PerformanceMetrics.SegmentedData;\r\n\r\n if (_.size(segmentData) > 0 && _.size(segmentData[0].Key) > 1) {\r\n const keys = _.pluck(segmentData[0].Key, 'StringValue');\r\n\r\n if (_.intersection(keys, DEVICE_TYPE).length > 0) {\r\n // Move the primaryDeviceType to start of the list\r\n return _.union(\r\n [primaryDeviceType],\r\n _.values(DEVICE_TYPE)\r\n );\r\n }\r\n }\r\n\r\n return [null];\r\n}\r\n\r\nexport class GeneralInsightsChartContainer extends React.PureComponent {\r\n static defaultProps = {\r\n domains: null,\r\n isShoppingCampaignType: false,\r\n parentPerfMarker: null,\r\n perfMarker: null,\r\n };\r\n\r\n static propTypes = {\r\n data: PropTypes.shape({\r\n totalCount: PropTypes.number.isRequired,\r\n items: PropTypes.arrayOf(PropTypes.shape({\r\n PerformanceMetrics: PropTypes.object.isRequired,\r\n DisplayDomain: PropTypes.string.isRequired,\r\n })).isRequired,\r\n }).isRequired,\r\n domains: PropTypes.arrayOf(PropTypes.string),\r\n isShoppingCampaignType: PropTypes.bool,\r\n /* eslint-disable react/forbid-prop-types */\r\n currentScenario: PropTypes.object.isRequired,\r\n currentActivity: PropTypes.object.isRequired,\r\n parentPerfMarker: perfMarkerPropTypes,\r\n perfMarker: perfMarkerPropTypes,\r\n };\r\n\r\n constructor(props) {\r\n super(props);\r\n this.pillControlType = getPillControlTypeFromPreferences(preferencesService);\r\n\r\n this.mountChartActitivy = props.currentScenario.mountChart.create();\r\n this.mountChartActitivy.start();\r\n const preferences = getGeneralInsightsPreferences(preferencesService);\r\n const { primaryDeviceType } = preferences;\r\n\r\n this.metrics = getLocalizedMetrics(\r\n i18n, props.isShoppingCampaignType,\r\n permissions.IsAvgPositionDeprecationPhase1Enabled,\r\n permissions.IsAvgPositionDeprecationPhase2Enabled\r\n );\r\n\r\n // since when campaign type is changed, general insights component will be re-constructed,\r\n // here we can store a value which is computed from prop.\r\n if (props.isShoppingCampaignType) {\r\n this.metricPreferenceName = METRIC_PREFERENCE_KEY_NAME[CAMPAIGN_TYPES.Shopping];\r\n } else {\r\n this.metricPreferenceName = METRIC_PREFERENCE_KEY_NAME[CAMPAIGN_TYPES.Search];\r\n }\r\n\r\n let selectedMetric = preferences[this.metricPreferenceName] || METRICS.ImpressionShare;\r\n const availableMetrics = _.map(this.metrics, item => item.metric);\r\n\r\n if (!_.contains(availableMetrics, selectedMetric)) {\r\n selectedMetric = METRICS.ImpressionShare;\r\n\r\n _.defer(() => {\r\n saveGeneralInsightsPreferences({\r\n [this.metricPreferenceName]: selectedMetric,\r\n }, preferencesService);\r\n });\r\n }\r\n\r\n this.state = {\r\n selectedMetric,\r\n primaryDeviceType: primaryDeviceType || DEVICE_TYPE.PC,\r\n };\r\n\r\n this.deviceTypes = _.map(_.keys(DEVICE_TYPE), (deviceType, id) => ({\r\n id,\r\n value: localizeDeviceType(deviceType),\r\n deviceType,\r\n }));\r\n }\r\n\r\n componentDidMount() {\r\n const { totalCount } = this.props.data;\r\n this.mountChartActitivy.stop();\r\n if (totalCount === 0) {\r\n this.onChartRenderedCallback();\r\n }\r\n }\r\n\r\n componentWillReceiveProps() {\r\n const prevPillControlType = this.pillControlType;\r\n this.pillControlType = getPillControlTypeFromPreferences(preferencesService);\r\n if (this.props.parentPerfMarker && (this.pillControlType !== prevPillControlType)) {\r\n this.actionPerfMarker = this.props.parentPerfMarker.createChild(`Auction_Insight_Chart_${this.pillControlType}_Action`);\r\n this.actionPerfMarker.willInit();\r\n }\r\n return null;\r\n }\r\n\r\n onMetricChange = ({ metric }) => {\r\n if (this.props.parentPerfMarker) {\r\n this.actionPerfMarker = this.props.parentPerfMarker.createChild(`Auction_Insight_Chart_${this.pillControlType}_Action`);\r\n this.actionPerfMarker.willInit();\r\n }\r\n\r\n saveGeneralInsightsPreferences({ [this.metricPreferenceName]: metric }, preferencesService);\r\n this.setState({\r\n selectedMetric: metric,\r\n });\r\n };\r\n\r\n onDeviceTypeChange = ({ deviceType }) => {\r\n if (this.props.parentPerfMarker) {\r\n this.actionPerfMarker = this.props.parentPerfMarker.createChild(`Auction_Insight_Chart_${this.pillControlType}_Action`);\r\n this.actionPerfMarker.willInit();\r\n }\r\n\r\n saveGeneralInsightsPreferences({ primaryDeviceType: deviceType }, preferencesService);\r\n this.setState({\r\n primaryDeviceType: deviceType,\r\n });\r\n };\r\n\r\n onChartRenderedCallback = () => {\r\n if (this.props.perfMarker && !this.props.perfMarker.isDone) {\r\n this.props.perfMarker.done();\r\n }\r\n if (this.actionPerfMarker && !this.actionPerfMarker.isDone) {\r\n this.actionPerfMarker.done();\r\n }\r\n };\r\n\r\n render() {\r\n const { totalCount, items } = this.props.data;\r\n\r\n if (totalCount > 0) {\r\n const { primaryDeviceType, selectedMetric } = this.state;\r\n const deviceTypeList = getDeviceTypeList(items, primaryDeviceType);\r\n const showDeviceTypeDropdown = _.size(deviceTypeList) > 1;\r\n\r\n\r\n const selectedMetricItem = _.findWhere(this.metrics, { metric: selectedMetric });\r\n const selectedDeviceType = _.findWhere(this.deviceTypes, { deviceType: primaryDeviceType });\r\n\r\n this.props.currentActivity.trace(\r\n `selected metric is ${selectedMetric}, selected device type is ${primaryDeviceType}`,\r\n 'GeneralInsightsChart/render'\r\n );\r\n\r\n return (\r\n
Account ID | \r\nRecommendation Type | \r\nOpt-in | \r\n
\r\n {newI18n.getString(DESCRIPTION)}\r\n
\r\n\r\n {newI18n.getString(HINT)}\r\n
\r\n {sampleTable}\r\n