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,EAAQ,cAAEolE,IAChD,OAAO,EAAAgB,QAAQl+E,OAAO,CACpBozE,MAAO,OAAF,QAAIhvE,KAAM84E,GAAkBoC,EAAexnE,MAC/C,EACL,CAEAsnE,eAAeiC,GAA6B,SAAEvpE,EAAQ,cAAEolE,EAAa,QAAEhgB,IACrE,MAAM6jB,EAAoBC,EAA6B,CAAElpE,WAAUolE,kBACnE,OAAI6D,EACK,EAAA7C,QAAQvyD,OAAOo1D,EAAkBvgF,GAAI,CAAE08D,YAEzC,EAAAghB,QAAQn2E,OAAO,OAAD,QAAGm1D,UAAS94D,KAAM84E,GAAkBoC,EAAexnE,IAC1E,C","sources":["../../../../hotel-center/packages/hotel-center-service/src/bulk-edit-params.js","../../../../hotel-center/packages/hotel-center-service/src/grid-option-utils.js","../../../../hotel-center/packages/hotel-center-service/index.js","../../../../hotel-center/packages/hotel-center-service/src/account-service.js","../../../../hotel-center/packages/hotel-center-service/src/bulk-edit-service.js","../../../../hotel-center/packages/hotel-center-shared/src/light-dismissible/light-dismissible.js","../../../../hotel-center/packages/hotel-center-shared/src/bid-multipliers-view/single-multiplier-view/view.js","../../../../hotel-center/packages/hotel-center-shared/src/bid-multipliers-view/bid-multipliers-view.js","../../../../hotel-center/packages/hotel-center-shared/src/bid-multipliers-view/check-in-day/view.js","../../../../hotel-center/packages/hotel-center-shared/src/bid-multipliers-view/device-type/view.js","../../../../hotel-center/packages/hotel-center-shared/src/bid-multipliers-view/length-of-stay/view.js","../../../../hotel-center/packages/hotel-center-shared/src/bid-multipliers-view/user-country/view.js","../../../../hotel-center/packages/hotel-center-shared/src/date-filter/projection-grid-date-filter.js","../../../../hotel-center/packages/hotel-center-shared/src/dropdown-search-selector/option.js","../../../../hotel-center/packages/hotel-center-shared/src/dropdown-search-selector/selector.js","../../../../hotel-center/packages/hotel-center-shared/src/dropdown-search-selector/pagination.js","../../../../hotel-center/packages/hotel-center-shared/src/dropdown-search-selector/search.js","../../../../hotel-center/packages/hotel-center-shared/src/dropdown-search-selector/dropdown-search-selector.js","../../../../hotel-center/packages/hotel-center-shared/src/instrumentation/schema.js","../../../../hotel-center/packages/hotel-center-shared/src/instrumentation/error-codes.js","../../../../hotel-center/packages/hotel-center-shared/src/instrumentation/setup.js","../../../../hotel-center/packages/hotel-center-shared/src/instrumentation/perf-timing.js","../../../../hotel-center/packages/hotel-center-shared/src/js-data-bhc/edm-bhc.js","../../../../hotel-center/packages/hotel-center-shared/src/js-data-bhc/js-data-extension.js","../../../../hotel-center/packages/hotel-center-shared/index.js","../../../../hotel-center/packages/hotel-center-shared/src/account-information-view/account-information-view.js","../../../../hotel-center/packages/hotel-center-shared/src/bid-cap-view/bid-cap-view.js","../../../../hotel-center/packages/hotel-center-shared/src/bid-strategy-view/bid-strategy-view.js","../../../../hotel-center/packages/hotel-center-shared/src/edit-panel-view/edit-panel-view.js","../../../../hotel-center/packages/hotel-center-shared/src/service/fetch-preference-config.js","../../../../hotel-center/packages/hotel-center-shared/src/hotel-group-information-view/information-view.js","../../../../hotel-center/packages/hotel-center-shared/src/hotel-group-model/hotel-group-model.js","../../../../hotel-center/packages/hotel-center-shared/src/hotel-model/hotel-model.js","../../../../hotel-center/packages/hotel-center-shared/src/instrumentation/index.js","../../../../hotel-center/packages/hotel-center-shared/src/bid-multipliers-view/user-country/user-country-service.js","../../../../hotel-center/packages/hotel-center-shared/src/sub-account-model/sub-account-model.js","../../../../hotel-center/packages/hotel-center-utils/src/bid-multiplier-utils.js","../../../../hotel-center/packages/hotel-center-utils/index.js","../../../../hotel-center/packages/hotel-center-utils/src/bid-utils.js","../../../../hotel-center/packages/hotel-center-utils/src/date-utils.js","../../../../hotel-center/packages/hotel-center-utils/src/inline-download-utils.js","../../hooks/src/use-did-update.js","../../hooks/src/use-constructor.js","../../hotel-adgroup-upsert/src/components/campaign-name.js","../../hotel-adgroup-upsert/src/components/adgroup-name.js","../../hotel-adgroup-upsert/src/components/base-bid.js","../../hotel-adgroup-upsert/src/components/adgroup-basic.js","../../hotel-adgroup-upsert/src/components/default-value.js","../../hotel-adgroup-upsert/src/get-targets-criterion.js","../../hotel-adgroup-upsert/src/util.js","../../hotel-adgroup-upsert/src/components/advanced-settings.js","../../hotel-adgroup-upsert/src/components/adgroup-targets.js","../../hotel-adgroup-upsert/src/components/title.js","../../hotel-adgroup-upsert/src/shared.js","../../hotel-adgroup-upsert/src/style.js","../../hotel-adgroup-upsert/src/creation.js","../../hotel-adgroup-upsert/src/settings.js","../../hotel-campaign-shared/i18n/keys.js","../../hotel-campaign-shared/i18n/column-chooser.js","../../hotel-campaign-shared/i18n/filter.js","../../hotel-campaign-shared/i18n/cron-format.js","../../hotel-campaign-shared/i18n/date-range.js","../../hotel-campaign-shared/i18n/inline-download.js","../../hotel-campaign-shared/i18n/inline-edit.js","../../hotel-campaign-upsert/src/components/bid-strategy/utility.js","../../hotel-campaign-upsert/src/components/bid-strategy/bid-strategy.js","../../hotel-campaign-upsert/src/components/budget/utility.js","../../hotel-campaign-upsert/src/components/budget/budget.js","../../hotel-campaign-upsert/src/components/default-value.js","../../hotel-campaign-upsert/src/components/campaign-basic.js","../../hotel-campaign-upsert/src/components/advanced-settings.js","../../hotel-campaign-upsert/src/components/campaign-targets.js","../../hotel-campaign-upsert/src/components/title.js","../../hotel-campaign-upsert/src/get-targets-criterion.js","../../hotel-campaign-upsert/src/util.js","../../hotel-campaign-upsert/src/shared.js","../../hotel-campaign-upsert/src/style.js","../../hotel-campaign-upsert/src/creation.js","../../hotel-campaign-upsert/src/settings.js","../../hotel-common-targets/src/components/shared.js","../../hotel-common-targets/src/advanced-booking-window-target-setting/utility.js","../../hotel-common-targets/src/length-of-stay-target-setting/utility.js","../../hotel-common-targets/src/check-in-date-target-setting/utility.js","../../hotel-common-targets/src/components/utility.js","../../hotel-common-targets/src/components/bid-adjustment.js","../../hotel-common-targets/src/components/common-textfield.js","../../hotel-common-targets/src/components/generate-column.js","../../hotel-common-targets/src/components/detail-list.js","../../hotel-common-targets/src/style.js","../../hotel-common-targets/src/grid-target-base.js","../../hotel-common-targets/src/advanced-booking-window-target-setting/basic-config.js","../../hotel-common-targets/src/advanced-booking-window-target-setting/index.js","../../hotel-common-targets/src/check-in-day-target-setting/basic-config.js","../../hotel-common-targets/src/check-in-day-target-setting/index.js","../../hotel-common-targets/src/user-set-dates-target-setting/basic-config.js","../../hotel-common-targets/src/user-set-dates-target-setting/index.js","../../hotel-common-targets/src/check-in-date-target-setting/basic-config.js","../../hotel-common-targets/src/check-in-date-target-setting/index.js","../../hotel-common-targets/src/length-of-stay-target-setting/basic-config.js","../../hotel-common-targets/src/length-of-stay-target-setting/index.js","../../hotel-common-targets/src/device-target-setting/basic-config.js","../../hotel-common-targets/src/device-target-setting/index.js","../../hotel-common-targets/src/location-target-setting/basic-config.js","../../hotel-common-targets/src/location-target-setting/grid.js","../../hotel-common-targets/src/location-target-setting/index.js","../../hotel-common-targets/src/location-target-setting/data-converter.js","../../hotel-common-upsert/src/components/shared.js","../../hotel-common-upsert/src/components/ad-schedule/ad-schedule.js","../../hotel-common-upsert/src/components/override-error.js","../../hotel-common-upsert/src/utility.js","../../hotel-common-upsert/src/components/audience-ads/utility.js","../../hotel-common-upsert/src/components/audience-ads/audience-ads.js","../../hotel-common-upsert/src/components/base-exclusions/base-exclusions.js","../../hotel-common-upsert/src/components/url-options/style.js","../../hotel-common-upsert/src/components/url-options/url-options.js","../../hotel-common-upsert/src/components/ad-format/ad-format.js","../../../../hotel-center/packages/hotel-center-shared/src/account-information-view/account-information-view-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/bid-cap-view/bid-cap-view-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/bid-multipliers-view/bid-multipliers-view-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/bid-multipliers-view/check-in-day/view-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/bid-multipliers-view/device-type/view-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/bid-multipliers-view/length-of-stay/view-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/bid-multipliers-view/single-multiplier-view/view-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/bid-multipliers-view/user-country/view-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/bid-strategy-view/bid-strategy-view-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/dropdown-search-selector/dropdown-search-selector-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/dropdown-search-selector/option-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/dropdown-search-selector/pagination-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/dropdown-search-selector/search-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/dropdown-search-selector/selector-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/edit-panel-view/edit-panel-view-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/hotel-group-information-view/information-template.pug","../../../../hotel-center/packages/hotel-center-shared/src/template/toolbar-template.pug","../../hotel-column-chooser/src/style.js","../../hotel-column-chooser/src/BackboneWrapper.js","../../hotel-column-chooser/src/ColumnChooser.tsx","../../hotel-column-chooser/src/RemoveDialog.tsx","../../hotel-column-chooser/src/useColumnChooser.tsx"],"sourcesContent":["import $ from 'jquery';\r\nimport _ from 'underscore';\r\nimport { FilterEntity } from '@bingads-webui/filter-entity';\r\n\r\nexport const getBulkEditParams = ({ state }) => {\r\n if (!state) {\r\n return {};\r\n }\r\n const getDateRange = () => {\r\n try {\r\n const dateRange = state.get('$daterange');\r\n const startdate = (dateRange.start || dateRange.RangeStartDate).toISOString();\r\n const enddate = (dateRange.end || dateRange.RangeEndDate).toISOString();\r\n\r\n return `startdate=${startdate}&enddate=${enddate}`;\r\n } catch (e) {\r\n return '';\r\n }\r\n };\r\n\r\n const mergeStrFilter = (str1, str2) => {\r\n if (_.isEmpty(str1)) {\r\n return str2;\r\n }\r\n if (_.isEmpty(str2)) {\r\n return str1;\r\n }\r\n return [str1, str2].join(' and ');\r\n };\r\n\r\n const getQueryString = ({\r\n selectionCount,\r\n selectedIds,\r\n idAttribute,\r\n filter,\r\n customStrFilter,\r\n isPreview,\r\n }) => {\r\n const queryArray = [];\r\n let strFilter = '';\r\n\r\n // When preview, select ids on current page only.\r\n // selectionCount === selectedIds.length indicates cross page select all not checked\r\n if (isPreview || selectionCount <= selectedIds.length) {\r\n strFilter = _.chain(selectedIds)\r\n .map(id => `${idAttribute} eq '${id}'`)\r\n .join(' or ')\r\n .value();\r\n } else if (filter) {\r\n strFilter = new FilterEntity(filter.query, {\r\n entitySchema: _.result(filter, 'options.entitySchema'),\r\n odata: _.omit(filter.options, 'entitySchema'),\r\n }).odataV4();\r\n }\r\n strFilter = mergeStrFilter(strFilter, customStrFilter);\r\n if (!_.isEmpty(strFilter)) {\r\n strFilter = $.param({ $filter: `(${strFilter})` });\r\n }\r\n queryArray.push(strFilter);\r\n queryArray.push(getDateRange());\r\n\r\n return _.chain(queryArray)\r\n .compact()\r\n .join('&')\r\n .value();\r\n };\r\n\r\n\r\n const getDescription = (selectionCount) => {\r\n const description = {\r\n idsCount: selectionCount,\r\n };\r\n\r\n return JSON.stringify(description);\r\n };\r\n\r\n const bulkEditParams = ({\r\n selectionCount,\r\n selectedIds,\r\n idAttribute = 'Id',\r\n filter,\r\n customStrFilter,\r\n batchActions,\r\n entity,\r\n campaignId = null,\r\n adgroupId = null,\r\n isPreview,\r\n }) => ({\r\n BatchAction: batchActions,\r\n Description: getDescription(selectionCount),\r\n Entity: entity,\r\n Selection: {\r\n QueryString: getQueryString({\r\n selectionCount,\r\n selectedIds,\r\n idAttribute,\r\n filter,\r\n customStrFilter,\r\n isPreview,\r\n }),\r\n CampaignId: campaignId,\r\n AdGroupId: adgroupId,\r\n },\r\n });\r\n\r\n return {\r\n bulkEditParams,\r\n };\r\n};\r\n","export const getGridOptionUtils = ({ edm, state }) => {\r\n if (!edm || !state) {\r\n return {};\r\n }\r\n const getEntitySetInSubAccount = () => {\r\n const subAccountId = state.get('subAccount_id');\r\n\r\n if (subAccountId) {\r\n return edm.currentAccount.SubAccounts.$withKey(subAccountId);\r\n }\r\n return edm.currentAccount;\r\n };\r\n\r\n const getEntitySetByScope = (scope) => {\r\n if (scope === 'account') {\r\n return edm.currentAccount;\r\n } else if (scope === 'subAccount') {\r\n return getEntitySetInSubAccount();\r\n } else if (scope === 'hotelGroup') {\r\n const hotelDrillDown = state.get('hotelGroup_drillDown');\r\n\r\n if (hotelDrillDown && hotelDrillDown.hotelGroupId) {\r\n return edm.currentAccount\r\n .SubAccounts.$withKey(hotelDrillDown.subAccountId)\r\n .HotelGroups.$withKey(hotelDrillDown.hotelGroupId);\r\n }\r\n return getEntitySetInSubAccount();\r\n }\r\n return null;\r\n };\r\n\r\n // name indicate the entitySet name\r\n const getEntitySetByName = (name, scope = 'subAccount') => {\r\n if (name === 'subAccount') {\r\n return edm.currentAccount.SubAccounts;\r\n } else if (name === 'hotelGroup') {\r\n return getEntitySetByScope(scope).HotelGroups;\r\n } else if (name === 'hotel') {\r\n return getEntitySetByScope(scope).Hotels;\r\n }\r\n return edm.currentAccount;\r\n };\r\n\r\n const getUrlWithSubAccountState = () => {\r\n const subAccountId = state.get('subAccount_id');\r\n\r\n if (subAccountId && subAccountId !== '') {\r\n return `/Customers(:advertisercustomer_id)/Accounts(:account_id)/SubAccounts('${subAccountId}')/`;\r\n }\r\n return '/Customers(:advertisercustomer_id)/Accounts(:account_id)/';\r\n };\r\n\r\n const getUrlByName = (name) => {\r\n if (name === 'associations') {\r\n const url = getUrlWithSubAccountState();\r\n\r\n return `${url}Associations?`;\r\n }\r\n return '';\r\n };\r\n\r\n return {\r\n gridOptionUtils: {\r\n getUrlByName,\r\n getEntitySetByName,\r\n },\r\n };\r\n};\r\n","import { getAccountService } from './src/account-service';\r\nimport { getBulkEditParams } from './src/bulk-edit-params';\r\nimport { getBulkEditService } from './src/bulk-edit-service';\r\nimport { getGridOptionUtils } from './src/grid-option-utils';\r\n\r\nexport const getHotelCenterService = ({\r\n state, jsdata, edm, dataStore,\r\n} = {}) => ({\r\n ...getAccountService({ state, jsdata, edm }),\r\n ...getBulkEditParams({ state }),\r\n ...getBulkEditService({ dataStore }),\r\n ...getGridOptionUtils({ edm, state }),\r\n});\r\n","import Backbone from 'backbone';\r\nimport Promise from 'bluebird';\r\nimport _ from 'underscore';\r\n\r\nexport const getAccountService = ({ state, jsdata, edm }) => {\r\n if (!state || !jsdata || !edm) {\r\n return {};\r\n }\r\n /**\r\n * Class representing a AccountService for HotelCenter\r\n * @extends Backbone.Model\r\n */\r\n class AccountService extends Backbone.Model {\r\n fetchSubAccountAsync() {\r\n const currentSubAccountId = state.get('subAccount_id');\r\n const subAccountModel = state.get('subAccount_model');\r\n\r\n if (subAccountModel && subAccountModel.Id === currentSubAccountId) {\r\n return new Promise((resolve) => {\r\n resolve(subAccountModel);\r\n });\r\n } else if (currentSubAccountId && currentSubAccountId !== '') {\r\n // if the subAccountId don't equal to current subAccountId\r\n // fetch the new result\r\n return this.fetchSubAccountById(currentSubAccountId);\r\n }\r\n\r\n // when all subaccounts is selcted ,subaccount Id will be ''\r\n state.unset('subAccount_model');\r\n return new Promise((resolve) => {\r\n resolve(_.noop());\r\n });\r\n }\r\n\r\n fetchSubAccountById(subAccountId) {\r\n return jsdata.SubAccount\r\n .find(subAccountId, {\r\n entitySet: edm.currentAccount.SubAccounts,\r\n cacheResponse: false,\r\n bypassCache: true,\r\n })\r\n .then((subAccount) => {\r\n if (subAccount) {\r\n state.set('subAccount_model', subAccount);\r\n }\r\n\r\n return state.get('subAccount_model');\r\n });\r\n }\r\n }\r\n return {\r\n AccountService,\r\n };\r\n};\r\n","import _ from 'underscore';\r\n\r\nexport const getBulkEditService = ({ dataStore: DataStore }) => {\r\n if (!DataStore) {\r\n return {};\r\n }\r\n const pollStatus = (taskId, successCb, failedCb) => {\r\n DataStore.BulkEditSession.find(taskId, { cacheResponse: false }).then((response) => {\r\n successCb(response);\r\n })\r\n .catch(failedCb);\r\n };\r\n\r\n const processResponse = (completeCB, failedCB, progressCB, response) => {\r\n if (_.contains(['Completed', 'CompletedWithErrors'], response.Status)) {\r\n completeCB(response);\r\n } else if (_.contains(['Failed', 'Aborted', 'Expired'], response.Status)) {\r\n failedCB(response);\r\n } else { // task is inprogress or pending\r\n progressCB(response);\r\n setTimeout(\r\n _.partial(\r\n pollStatus,\r\n response.Id,\r\n _.partial(processResponse, completeCB, failedCB, progressCB),\r\n failedCB\r\n ),\r\n 500\r\n );\r\n }\r\n return response;\r\n };\r\n\r\n /*\r\n * @param {Object} options\r\n * @param {Object} options.params\r\n * @param {function} options.progressCB\r\n * @param {function} options.completeCB\r\n * @param {function} options.failedCB\r\n * @param {boolean} preview\r\n */\r\n const bulkEdit = ({\r\n params,\r\n completeCB = _.noop,\r\n failedCB = _.noop,\r\n progressCB = _.noop,\r\n }, preview = false) => {\r\n const process = preview ?\r\n _.identity :\r\n _.partial(processResponse, completeCB, failedCB, progressCB);\r\n const urlParameters = { $expand: 'BulkEditResults' };\r\n\r\n if (preview) {\r\n urlParameters.preview = true;\r\n }\r\n return DataStore.BulkEditSession\r\n .create(params, {\r\n urlParameters,\r\n cacheResponse: false,\r\n })\r\n .then(process)\r\n .catch(failedCB);\r\n };\r\n\r\n const save = options => bulkEdit(options);\r\n const preview = options => bulkEdit(options, true);\r\n\r\n return {\r\n bulkEditService: {\r\n save,\r\n preview,\r\n },\r\n };\r\n};\r\n","/* eslint-disable max-len */\r\n\r\nimport $ from 'jquery';\r\n\r\nlet isLightDismissibleInitialized = false;\r\n\r\n/*\r\n Light Dismissible controller can help the element to be light dismissed when clicked else where.\r\n Give the target grid class name of \"light-dismissible\" and importing this function should do the job.\r\n\r\n Currently, it works element that can be toggled with either \"hide\" or \"show\" class.\r\n\r\n NOTE: If the element that toggles the visibility is outside of the target light dismissible element,\r\n clicked the toggle button will invoke this function to dismiss the target.\r\n\r\n For this, give e.originalEvent.noDismiss to the target class name.\r\n*/\r\nexport default () => {\r\n if (!isLightDismissibleInitialized) {\r\n $(window).click((e) => {\r\n const $lightDismissibles = $('.light-dismissible');\r\n\r\n if ($lightDismissibles.length === 0) {\r\n return;\r\n }\r\n\r\n const clickedEl = $(e.target);\r\n\r\n $lightDismissibles.each((index) => {\r\n if (clickedEl.closest($lightDismissibles[index]).length === 0) {\r\n if (e.originalEvent && e.originalEvent.noDismiss) {\r\n if ($($lightDismissibles[index]).hasClass(e.originalEvent.noDismiss)) {\r\n return;\r\n }\r\n }\r\n\r\n if (!$($lightDismissibles[index]).hasClass('hide')) {\r\n $($lightDismissibles[index]).addClass('hide');\r\n }\r\n\r\n if ($($lightDismissibles[index]).hasClass('show')) {\r\n $($lightDismissibles[index]).removeClass('show');\r\n }\r\n }\r\n });\r\n });\r\n\r\n isLightDismissibleInitialized = true;\r\n }\r\n};\r\n","import _ from 'underscore';\r\nimport { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport { BackboneSchema as backboneSchema } from '@bingads-webui/backbone-schema';\r\nimport { InputControl } from '@bingads-webui/input-control';\r\nimport template from './view-template.pug';\r\n\r\nexport const getBidMultiplierView = ({ i18n, pageContext, multiplierSchema }) => {\r\n /**\r\n * Shared view for Hotel Ads Bid Multiplier\r\n * @extends DeterministicView\r\n */\r\n class BidMultiplierView extends DeterministicView {\r\n initialize(options) {\r\n const editStrategy = {\r\n increase: 'increase',\r\n decrease: 'decrease',\r\n };\r\n\r\n const strategy = options.strategy || editStrategy.increase;\r\n\r\n this.i18n = i18n;\r\n this.type = options.type;\r\n this.value = options.value;\r\n this.text = options.text;\r\n\r\n this.factorModel = this.initFactorInput('factor-input', strategy);\r\n\r\n this.setState({\r\n strategy,\r\n // getState will map '' and undefined to null\r\n // here just map null to _.noop() since there only have undefined check when setState\r\n // and also we show keep '0' work for clear situation\r\n factor: options.factor === null ? _.noop() : options.factor,\r\n });\r\n }\r\n\r\n get events() {\r\n return {\r\n 'change .select-strategy': ({ target }) => {\r\n this.setState({\r\n strategy: target.value,\r\n });\r\n },\r\n };\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n\r\n getState() {\r\n return {\r\n type: this.type,\r\n value: this.value,\r\n isValid: this.getChild('factor-input').getState().isValid,\r\n factor: this.getFactor(this.model.get('strategy'), this.factorModel.toJSON()),\r\n percentage: this.factorModel.toJSON() ? this.factorModel.toJSON().Factor : '',\r\n };\r\n }\r\n\r\n setState({\r\n strategy,\r\n factor,\r\n isUseParent,\r\n }) {\r\n if (!_.isUndefined(isUseParent)) {\r\n this.model.set({ isUseParent });\r\n this.getChild('factor-input').setState({ readonly: isUseParent });\r\n }\r\n\r\n if (strategy && strategy !== this.model.get('strategy')) {\r\n this.model.set({ strategy });\r\n this.factorModel = this.initFactorInput('factor-input', strategy);\r\n }\r\n\r\n if (!_.isUndefined(factor)) {\r\n // formatDecimal will ignore fraction by default\r\n const value = _.isNumber(factor) ? i18n.formatDecimal(\r\n factor,\r\n { minimumFractionDigits: 0, maximumFractionDigits: 1 }\r\n ) : factor;\r\n\r\n this.factorModel.set('Factor', value);\r\n this.getChild('factor-input').setState({ value });\r\n this.trigger('input-changed');\r\n }\r\n\r\n return this;\r\n }\r\n\r\n getFactor(editStrategy, factorModel) {\r\n const factor = factorModel.Factor;\r\n\r\n if (factor === null) {\r\n return _.noop();\r\n }\r\n let num = Number(factor) / 100;\r\n\r\n if (editStrategy === 'increase') {\r\n num += 1;\r\n } else {\r\n num = 1 - num;\r\n }\r\n // here we need to format decimal firstly to restrict the fraction from 1-3\r\n // mt only support fraction with 1-3\r\n // and we want to keep what user input instead of a fix fraction\r\n const formatDecimal =\r\n i18n.formatDecimal(num, { minimumFractionDigits: 1, maximumFractionDigits: 3 });\r\n // we need to parse decimal here since formatDecimal involve the locale information\r\n return i18n.parseDecimal(formatDecimal).toString();\r\n }\r\n\r\n initFactorInput(inputView, editStrategy) {\r\n const schema = multiplierSchema;\r\n\r\n if (editStrategy === 'increase') {\r\n _.extend(schema.properties.Factor, { minimum: 0, maximum: 1000 });\r\n } else {\r\n _.extend(schema.properties.Factor, { minimum: 0, maximum: 100 });\r\n }\r\n const FactorModel = backboneSchema(\r\n schema, i18n, ['Factor', '@odata.type'], null,\r\n {\r\n Factor: {\r\n validation: (validation) => {\r\n validation.decimalLength.decimalLength = 1; // eslint-disable-line\r\n return validation;\r\n },\r\n },\r\n }\r\n );\r\n\r\n const factorModel = new FactorModel();\r\n\r\n factorModel.set('Factor', '');\r\n\r\n const factorInput = new InputControl({\r\n entity: factorModel,\r\n field: 'Factor',\r\n addonText: pageContext.DecimalFormatter.percentSymbol,\r\n ariaLabel: i18n.getString('HotelCenter_Overview_Multipliers_Bids_Factor_Label'),\r\n });\r\n\r\n this.setChild(inputView, factorInput);\r\n\r\n return factorModel;\r\n }\r\n }\r\n\r\n return {\r\n BidMultiplierView,\r\n };\r\n};\r\n","import _ from 'underscore';\r\nimport { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport { getHotelCenterUtils } from '@bingads-webui-campaign/hotel-center-utils';\r\nimport template from './bid-multipliers-view-template.pug';\r\nimport { getUserCountryMultipliersView } from './user-country/view';\r\nimport { getDeviceTypeMultipliersView } from './device-type/view';\r\nimport { getCheckInDayMultipliersView } from './check-in-day/view';\r\nimport { getLengthOfStayMultipliersView } from './length-of-stay/view';\r\nimport { getBidMultiplierView } from './single-multiplier-view/view';\r\n\r\nexport const getBidMultipliersView = ({\r\n i18n, state: componentState, pageContext, multiplierSchema,\r\n}) => {\r\n if (!i18n || !componentState || !pageContext || !multiplierSchema) {\r\n return {};\r\n }\r\n const { bidMultiplierUtils } = getHotelCenterUtils({ i18n, state: componentState });\r\n const { getMultipliersState } = bidMultiplierUtils;\r\n const { CheckInDayMultipliersView } =\r\n getCheckInDayMultipliersView({\r\n i18n, state: componentState, pageContext, multiplierSchema,\r\n });\r\n const { DeviceTypeMultipliersView } =\r\n getDeviceTypeMultipliersView({\r\n i18n, state: componentState, pageContext, multiplierSchema,\r\n });\r\n const { LengthOfStayMultipliersView } =\r\n getLengthOfStayMultipliersView({\r\n i18n, state: componentState, pageContext, multiplierSchema,\r\n });\r\n const { BidMultiplierView } =\r\n getBidMultiplierView({ i18n, pageContext, multiplierSchema });\r\n const { UserCountryMultipliersView } =\r\n getUserCountryMultipliersView({\r\n i18n, state: componentState, pageContext, multiplierSchema,\r\n });\r\n /**\r\n * Shared view for Hotel Ads Bid Multipliers\r\n * @extends DeterministicView\r\n */\r\n const deviceTypes = ['Mobile', 'Tablet', 'Desktop'];\r\n const checkInDays = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'];\r\n\r\n class BidMultipliersView extends DeterministicView {\r\n initialize({\r\n showUseParent = true,\r\n isPayPerStay = false,\r\n isPayPerStayPhase2Pilot = false,\r\n }) {\r\n this.i18n = i18n;\r\n this.showUseParent = showUseParent;\r\n this.deviceTypeMultipliersView = new DeviceTypeMultipliersView();\r\n this.dateTypeMultipliersView = new DeviceTypeMultipliersView({\r\n listOfTypes: {\r\n Selected: 'HotelCenter_Overview_DateType_Multipliers_Selected_Label',\r\n Default: 'HotelCenter_Overview_DateType_Multipliers_Default_Label',\r\n },\r\n type: 'dateType',\r\n });\r\n this.isHotelPropertyPromotionAdEnabled =\r\n pageContext.Permissions.IsHotelPropertyPromotionAdEnabled;\r\n this.siteTypeMultipliersView = new DeviceTypeMultipliersView({\r\n listOfTypes: {\r\n LocalUniversal: 'HotelCenter_Overview_SiteType_Multipliers_Local_Universal_Label',\r\n MapResults: 'HotelCenter_Overview_SiteType_Multipliers_Map_Results_Label',\r\n ...(this.isHotelPropertyPromotionAdEnabled ? { PropertyPromotionAd: 'HotelCenter_Overview_SiteType_Multipliers_Property_PromotionAd_Label' } : {}),\r\n },\r\n type: 'siteType',\r\n });\r\n this.userCountryMultipliersView = new UserCountryMultipliersView();\r\n this.lengthOfStayMultipliersView = new LengthOfStayMultipliersView();\r\n this.advancedBookingMultipliersView = new LengthOfStayMultipliersView({\r\n minNumberOfNights: 0,\r\n maxNumberOfNights: 180,\r\n type: 'advancedBooking',\r\n });\r\n this.checkInDayMultipliersView = new CheckInDayMultipliersView();\r\n this.setChild('device-type-multipliers', this.deviceTypeMultipliersView);\r\n this.setChild('date-type-multipliers', this.dateTypeMultipliersView);\r\n this.setChild('site-type-multipliers', this.siteTypeMultipliersView);\r\n this.setChild('user-country-multipliers', this.userCountryMultipliersView);\r\n this.setChild('length-of-stay-multipliers', this.lengthOfStayMultipliersView);\r\n this.setChild('check-in-day-multipliers', this.checkInDayMultipliersView);\r\n this.setChild('advanced-booking-multipliers', this.advancedBookingMultipliersView);\r\n this.setState({\r\n selectedMultiplierType: 'deviceType',\r\n isPayPerStay,\r\n isPayPerStayPhase2Pilot,\r\n });\r\n this.setState({ errors: [] });\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 .bid-multipliers-panel li': ({ target }) => {\r\n this.setState({\r\n selectedMultiplierType: target.dataset.type,\r\n });\r\n },\r\n 'click .bid-multipliers-use-parent input[type=checkbox]': ({ target }) => {\r\n const isUseParent = target.checked;\r\n\r\n this.setState({ isUseParent });\r\n this.trigger('update:isUseParent', isUseParent);\r\n },\r\n };\r\n }\r\n\r\n setState({\r\n selectedMultiplierType,\r\n bidMultipliers,\r\n isUseParent,\r\n errors,\r\n isPayPerStay,\r\n isPayPerStayPhase2Pilot,\r\n }) {\r\n if (!_.isUndefined(isPayPerStay)) {\r\n this.model.set({ isPayPerStay });\r\n }\r\n if (!_.isUndefined(isPayPerStayPhase2Pilot)) {\r\n this.model.set({ isPayPerStayPhase2Pilot });\r\n }\r\n\r\n if (!_.isUndefined(isUseParent)) {\r\n this.model.set({ isUseParent });\r\n this.getChild('device-type-multipliers').setState({ isUseParent });\r\n this.getChild('date-type-multipliers').setState({ isUseParent });\r\n this.getChild('site-type-multipliers').setState({ isUseParent });\r\n this.getChild('user-country-multipliers').setState({ isUseParent });\r\n this.getChild('check-in-day-multipliers').setState({ isUseParent });\r\n this.getChild('length-of-stay-multipliers').setState({ isUseParent });\r\n this.getChild('advanced-booking-multipliers').setState({ isUseParent });\r\n }\r\n if (selectedMultiplierType && !this.model.get('isUseParent')) {\r\n this.model.set({ selectedMultiplierType });\r\n }\r\n if (!_.isEmpty(bidMultipliers)) {\r\n // set deviceType\r\n this.getChild('device-type-multipliers').setState(bidMultipliers.deviceType);\r\n\r\n // set dateType\r\n this.getChild('date-type-multipliers').setState(bidMultipliers.dateType);\r\n\r\n // set siteType\r\n this.getChild('site-type-multipliers').setState(bidMultipliers.siteType);\r\n\r\n // set userCountry\r\n const state = this.userCountryMultipliersView\r\n .getSelectedCountriesMulti(bidMultipliers.userCountry || {});\r\n\r\n this.getChild('user-country-multipliers').setState(state);\r\n\r\n // set checkInDay\r\n this.getChild('check-in-day-multipliers').setState(bidMultipliers.checkInDay);\r\n\r\n // set lengthOfStay\r\n this.getChild('length-of-stay-multipliers').setState({ staySegments: bidMultipliers.lengthOfStay || [] });\r\n\r\n // set advancedBooking\r\n this.getChild('advanced-booking-multipliers').setState({ staySegments: bidMultipliers.advancedBooking || [] });\r\n\r\n this.model.set({ selectedMultiplierType: this.model.attributes.selectedMultiplierType });\r\n }\r\n\r\n if (errors) {\r\n this.model.set({ errors });\r\n }\r\n\r\n return this;\r\n }\r\n\r\n getBidMultipliers(bidMultipliers) {\r\n let res = [];\r\n\r\n _.each(bidMultipliers, (item) => {\r\n res = res.concat(item.bidMultipliers);\r\n });\r\n return res;\r\n }\r\n\r\n getState() {\r\n const isUseParent = this.model.get('isUseParent');\r\n const bidMultipliers = [];\r\n\r\n if (isUseParent) {\r\n return {\r\n isValid: true,\r\n bidMultipliers: [],\r\n };\r\n }\r\n\r\n bidMultipliers.push(this.getChild('device-type-multipliers').getState());\r\n bidMultipliers.push(this.getChild('date-type-multipliers').getState());\r\n bidMultipliers.push(this.getChild('site-type-multipliers').getState());\r\n bidMultipliers.push(this.getChild('user-country-multipliers').getState());\r\n bidMultipliers.push(this.getChild('check-in-day-multipliers').getState());\r\n bidMultipliers.push(this.getChild('length-of-stay-multipliers').getState());\r\n bidMultipliers.push(this.getChild('advanced-booking-multipliers').getState());\r\n const errors = _.chain(bidMultipliers)\r\n .pluck('errors')\r\n .flatten()\r\n .compact()\r\n .value();\r\n this.setState({ errors });\r\n\r\n if (_.findWhere(bidMultipliers, { isValid: false })) {\r\n return {\r\n isValid: false,\r\n bidMultipliers: _.noop(),\r\n };\r\n }\r\n\r\n return {\r\n isValid: true,\r\n bidMultipliers: this.getBidMultipliers(bidMultipliers),\r\n };\r\n }\r\n\r\n clean() {\r\n const state = this.getState();\r\n let bidMultipliers;\r\n\r\n if (state.isValid) {\r\n bidMultipliers = getMultipliersState(state.bidMultipliers, true);\r\n }\r\n\r\n // to set mobile as 0 to in case bid multipliers covered by its father node\r\n // when there is no data\r\n if (!bidMultipliers || (_.isEmpty(bidMultipliers.checkInDay) &&\r\n _.isEmpty(bidMultipliers.deviceType) &&\r\n _.isEmpty(bidMultipliers.lengthOfStay) &&\r\n _.isEmpty(bidMultipliers.userCountry) &&\r\n _.isEmpty(bidMultipliers.dateType) &&\r\n _.isEmpty(bidMultipliers.siteType) &&\r\n _.isEmpty(bidMultipliers.advancedBooking))) {\r\n _.extend(bidMultipliers, {\r\n deviceType: {\r\n Mobile: {\r\n factor: 0,\r\n },\r\n },\r\n });\r\n }\r\n\r\n this.setState({ bidMultipliers });\r\n }\r\n\r\n emptyDeviceTypeAndCheckInDay() {\r\n const bidMultipliers = {\r\n deviceType: _.reduce(deviceTypes, (memo, item) =>\r\n _.extend(memo, {\r\n [item]: { factor: '' },\r\n }), {}),\r\n checkInDay: _.reduce(checkInDays, (memo, item) =>\r\n _.extend(memo, {\r\n [item]: { factor: '' },\r\n }), {}),\r\n };\r\n\r\n this.setState({ bidMultipliers });\r\n }\r\n }\r\n\r\n return {\r\n BidMultipliersView,\r\n BidMultiplierView,\r\n UserCountryMultipliersView,\r\n DeviceTypeMultipliersView,\r\n CheckInDayMultipliersView,\r\n LengthOfStayMultipliersView,\r\n };\r\n};\r\n","import _ from 'underscore';\r\nimport { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport { getHotelCenterUtils } from '@bingads-webui-campaign/hotel-center-utils';\r\nimport template from './view-template.pug';\r\nimport { getBidMultiplierView } from '../single-multiplier-view/view';\r\n\r\nexport const getCheckInDayMultipliersView = ({\r\n i18n, state, pageContext, multiplierSchema,\r\n}) => {\r\n const { bidMultiplierUtils } = getHotelCenterUtils({ i18n, state });\r\n const { BidMultiplierView } = getBidMultiplierView({ i18n, pageContext, multiplierSchema });\r\n const {\r\n serializeBidMultipliers,\r\n weekDayMap,\r\n } = bidMultiplierUtils;\r\n\r\n /**\r\n * Shared view for Hotel Ads bid strategy setup section\r\n * @extends DeterministicView\r\n */\r\n\r\n class CheckInDayMultipliersView extends DeterministicView {\r\n initialize() {\r\n _.each(_.keys(weekDayMap), (key) => {\r\n this.setChild(`${key.toLowerCase()}-bid-multiplier`, this.getBidMultiplierView({\r\n value: key,\r\n text: i18n.getString(weekDayMap[key]),\r\n }));\r\n });\r\n }\r\n\r\n getBidMultiplierView(options) {\r\n const view = new BidMultiplierView({\r\n type: 'checkInDay',\r\n value: options.value,\r\n text: options.text,\r\n });\r\n\r\n return view;\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n\r\n getState() {\r\n const checkInDayMultipliersState = [];\r\n\r\n _.each(_.keys(weekDayMap), (key) => {\r\n checkInDayMultipliersState.push(this.getChild(`${key.toLowerCase()}-bid-multiplier`).getState());\r\n });\r\n\r\n if (_.findWhere(checkInDayMultipliersState, { isValid: false })) {\r\n return {\r\n isValid: false,\r\n bidMultipliers: _.noop(),\r\n };\r\n }\r\n\r\n return {\r\n isValid: true,\r\n bidMultipliers: serializeBidMultipliers(checkInDayMultipliersState),\r\n };\r\n }\r\n\r\n setState(options = {}) {\r\n const { isUseParent } = options;\r\n\r\n if (!_.isUndefined(isUseParent)) {\r\n _.each(_.keys(weekDayMap), (key) => {\r\n this.getChild(`${key.toLowerCase()}-bid-multiplier`).setState({ isUseParent });\r\n });\r\n }\r\n\r\n _.each(_.keys(weekDayMap), (key) => {\r\n if (options &&\r\n options[key] &&\r\n (options[key].strategy || !_.isUndefined(options[key].factor))) {\r\n this.getChild(`${key.toLowerCase()}-bid-multiplier`).setState({\r\n strategy: options[key].strategy,\r\n factor: options[key].factor,\r\n });\r\n }\r\n });\r\n\r\n return this;\r\n }\r\n }\r\n\r\n return {\r\n CheckInDayMultipliersView,\r\n };\r\n};\r\n","import _ from 'underscore';\r\nimport { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport { getHotelCenterUtils } from '@bingads-webui-campaign/hotel-center-utils';\r\nimport template from './view-template.pug';\r\nimport { getBidMultiplierView } from '../single-multiplier-view/view';\r\n\r\nexport const getDeviceTypeMultipliersView = ({\r\n i18n, state, pageContext, multiplierSchema,\r\n}) => {\r\n const { bidMultiplierUtils } = getHotelCenterUtils({ i18n, state });\r\n const { BidMultiplierView } = getBidMultiplierView({ i18n, pageContext, multiplierSchema });\r\n\r\n const { serializeBidMultipliers } = bidMultiplierUtils;\r\n\r\n /**\r\n * Shared view for Hotel Ads bid strategy setup section\r\n * @extends DeterministicView\r\n */\r\n\r\n const deviceTypeMap = {\r\n Mobile: 'HotelCenter_Overview_Multipliers_Bids_Mobile_Label',\r\n Tablet: 'HotelCenter_Overview_Multipliers_Bids_Tablet_Label',\r\n Desktop: 'HotelCenter_Overview_Multipliers_Bids_Desktop_Label',\r\n };\r\n\r\n class DeviceTypeMultipliersView extends DeterministicView {\r\n initialize(options) {\r\n this.listOfTypes = options.listOfTypes || deviceTypeMap;\r\n this.type = options.type || 'deviceType';\r\n\r\n _.each(this.listOfTypes, (i18nKey, type) => {\r\n this.setChild(`${type.toLowerCase()}-bid-multiplier`, this.getBidMultiplierView({\r\n value: type,\r\n text: i18n.getString(i18nKey),\r\n }));\r\n });\r\n }\r\n\r\n getBidMultiplierView(options) {\r\n const view = new BidMultiplierView({\r\n type: this.type,\r\n value: options.value,\r\n text: options.text,\r\n });\r\n\r\n return view;\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n\r\n getState() {\r\n const deviceMultipliersState = [];\r\n\r\n _.each(_.keys(this.listOfTypes), (key) => {\r\n deviceMultipliersState.push(this.getChild(`${key.toLowerCase()}-bid-multiplier`).getState());\r\n });\r\n\r\n if (_.findWhere(deviceMultipliersState, { isValid: false })) {\r\n return {\r\n isValid: false,\r\n bidMultipliers: _.noop(),\r\n };\r\n }\r\n\r\n return {\r\n isValid: true,\r\n bidMultipliers: serializeBidMultipliers(deviceMultipliersState),\r\n };\r\n }\r\n\r\n setState(options = {}) {\r\n const { isUseParent } = options;\r\n\r\n if (!_.isUndefined(isUseParent)) {\r\n _.each(_.keys(this.listOfTypes), (key) => {\r\n this.getChild(`${key.toLowerCase()}-bid-multiplier`).setState({ isUseParent });\r\n });\r\n }\r\n\r\n _.each(_.keys(this.listOfTypes), (key) => {\r\n if (options &&\r\n options[key] &&\r\n (options[key].strategy || !_.isUndefined(options[key].factor))) {\r\n this.getChild(`${key.toLowerCase()}-bid-multiplier`).setState({\r\n strategy: options[key].strategy,\r\n factor: options[key].factor,\r\n });\r\n }\r\n });\r\n\r\n return this;\r\n }\r\n }\r\n\r\n return {\r\n DeviceTypeMultipliersView,\r\n };\r\n};\r\n","import _ from 'underscore';\r\nimport { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport { BackboneSchema as backboneSchema } from '@bingads-webui/backbone-schema';\r\nimport { getHotelCenterUtils } from '@bingads-webui-campaign/hotel-center-utils';\r\nimport { InputControl } from '@bingads-webui/input-control';\r\nimport template from './view-template.pug';\r\nimport { getBidMultiplierView } from '../single-multiplier-view/view';\r\n\r\nexport const getLengthOfStayMultipliersView = ({\r\n i18n, state: componentState, pageContext, multiplierSchema,\r\n}) => {\r\n const { bidMultiplierUtils } = getHotelCenterUtils({ i18n, state: componentState });\r\n const { BidMultiplierView } = getBidMultiplierView({ i18n, pageContext, multiplierSchema });\r\n\r\n const {\r\n serializeBidMultipliers,\r\n formatStaySegments,\r\n } = bidMultiplierUtils;\r\n\r\n /**\r\n * Shared view for Hotel Ads length of stay bid multiplier\r\n * @extends DeterministicView\r\n */\r\n class LengthOfStayMultipliersView extends DeterministicView {\r\n initialize(options) {\r\n this.i18n = i18n;\r\n this.minNumberOfNights = _.isUndefined(options.minNumberOfNights) ?\r\n 1 : options.minNumberOfNights;\r\n this.maxNumberOfNights = options.maxNumberOfNights || 14;\r\n this.staySegments = [];\r\n this.nightsModel = this.initNightsInput('stay-nights-input');\r\n this.setState({\r\n staySegments: this.staySegments,\r\n });\r\n this.type = options.type || 'lengthOfStay';\r\n }\r\n\r\n get events() {\r\n return {\r\n 'click .add-new-query': () => {\r\n if (this.model.get('isUseParent')) {\r\n return;\r\n }\r\n this.addNewSegment();\r\n },\r\n 'click .mulitplier-query-remove .filter-query-remove__glyphicon': ({ target }) => {\r\n if (this.model.get('isUseParent')) {\r\n return;\r\n }\r\n this.removeSegment(target);\r\n },\r\n };\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n\r\n initNightsInput(inputView) {\r\n const schema = {\r\n name: 'NightsInput',\r\n type: 'object',\r\n properties: {\r\n MinimumNumberOfNights: {\r\n type: 'integer',\r\n minimum: this.minNumberOfNights,\r\n maximum: this.maxNumberOfNights,\r\n },\r\n },\r\n };\r\n const override = {\r\n MinimumNumberOfNights: {\r\n validation: (validators) => {\r\n const result = validators;\r\n\r\n if (_.has(result, 'decimalLength')) {\r\n result.decimalLength.message = i18n.getString('HotelCenter_Shared_Validation_Require_Integer');\r\n }\r\n return result;\r\n },\r\n },\r\n };\r\n const NightsModel = backboneSchema(schema, i18n, ['MinimumNumberOfNights', '@odata.type'], null, override);\r\n const addonText = this.type === 'lengthOfStay' ? i18n.getString('HotelCenter_Overview_LengthOfStay_Multipliers_InputNights_AddOn_Label') : i18n.getString('HotelCenter_Overview_AdvancedBooking_Multipliers_InputDays_AddOn_Label');\r\n\r\n const nightsModel = new NightsModel();\r\n const nightsInput = new InputControl({\r\n entity: nightsModel,\r\n field: 'MinimumNumberOfNights',\r\n addonText,\r\n });\r\n\r\n this.setChild(inputView, nightsInput);\r\n\r\n return nightsModel;\r\n }\r\n\r\n addNewSegment() {\r\n const state = this.getChild('stay-nights-input').getState();\r\n\r\n if (!state.isValid) {\r\n return;\r\n }\r\n const minNumberOfNights = this.nightsModel.toJSON().MinimumNumberOfNights;\r\n\r\n if (_.isUndefined(minNumberOfNights)) {\r\n return;\r\n }\r\n this.updateUserInputs();\r\n this.addSegmentByMinNumberOfNights(minNumberOfNights);\r\n this.setState({ staySegments: this.staySegments });\r\n }\r\n\r\n removeSegment(target) {\r\n this.updateUserInputs();\r\n this.removeSegmentByMinNumberOfNights(target.title);\r\n this.setState({ staySegments: this.staySegments });\r\n }\r\n\r\n addSegmentByMinNumberOfNights(minNumberOfNights) {\r\n const currentKey = minNumberOfNights.toString();\r\n const currentIndex = _.findIndex(this.staySegments, it => it.key === currentKey);\r\n const newSegment = {\r\n key: currentKey,\r\n factor: _.noop(),\r\n strategy: 'increase',\r\n };\r\n\r\n if (currentIndex > -1) {\r\n this.staySegments.splice(currentIndex, 1, newSegment);\r\n } else {\r\n this.staySegments.push(newSegment);\r\n }\r\n this.staySegments = _.sortBy(this.staySegments, segment => Number(segment.key));\r\n // advanced booking and length of stay share the same view\r\n const isLengthOfStay = this.type === 'lengthOfStay';\r\n\r\n this.staySegments = formatStaySegments(this.staySegments, isLengthOfStay);\r\n }\r\n\r\n removeSegmentByMinNumberOfNights(minNumberOfNights) {\r\n const currentKey = minNumberOfNights.toString();\r\n const currentSegment = _.findWhere(this.staySegments, { key: currentKey });\r\n\r\n this.staySegments = _.difference(this.staySegments, [currentSegment]);\r\n // advanced booking and length of stay share the same view\r\n const isLengthOfStay = this.type === 'lengthOfStay';\r\n\r\n this.staySegments = formatStaySegments(this.staySegments, isLengthOfStay);\r\n }\r\n\r\n setState({ staySegments, isUseParent }) {\r\n if (staySegments) {\r\n _.each(staySegments, (segment) => {\r\n const bidMultiplier = new BidMultiplierView({\r\n text: segment.value,\r\n value: segment.key,\r\n strategy: segment.strategy,\r\n factor: segment.factor,\r\n type: this.type,\r\n });\r\n\r\n this.setChild(`${segment.key}-bid-multiplier`, bidMultiplier);\r\n });\r\n this.staySegments = staySegments;\r\n this.model.set({ staySegments });\r\n this.model.trigger('change');\r\n }\r\n if (!_.isUndefined(isUseParent)) {\r\n this.model.set('isUseParent', isUseParent);\r\n this.getChild('stay-nights-input').setState({ readonly: isUseParent });\r\n _.each(this.staySegments, (segment) => {\r\n this.getChild(`${segment.key}-bid-multiplier`).setState({ isUseParent });\r\n });\r\n }\r\n return this;\r\n }\r\n\r\n updateUserInputs() {\r\n _.each(this.staySegments, (item) => {\r\n item.factor = this.getChild(`${item.key}-bid-multiplier`).getState().percentage; // eslint-disable-line\r\n });\r\n }\r\n\r\n getState() {\r\n const lengthOfStayMultipliersState = [];\r\n\r\n _.each(this.staySegments, (item) => {\r\n lengthOfStayMultipliersState.push(this.getChild(`${item.key}-bid-multiplier`).getState());\r\n });\r\n\r\n if (_.findWhere(lengthOfStayMultipliersState, { isValid: false })) {\r\n return {\r\n isValid: false,\r\n bidMultipliers: _.noop(),\r\n };\r\n }\r\n\r\n const bidMultipliers = serializeBidMultipliers(lengthOfStayMultipliersState);\r\n const stayFactors = _.pluck(bidMultipliers, 'Factor');\r\n let i = 0;\r\n let hasDuplicateMultipliers = false;\r\n\r\n while (i < stayFactors.length - 1) {\r\n if (stayFactors[i] === stayFactors[i + 1]) {\r\n hasDuplicateMultipliers = true;\r\n break;\r\n } else {\r\n i += 1;\r\n }\r\n }\r\n if (hasDuplicateMultipliers) {\r\n return {\r\n isValid: false,\r\n bidMultipliers: _.noop(),\r\n errors: [i18n.getString('HotelCenter_Overview_LengthOfStay_Multipliers_Duplicate')],\r\n };\r\n }\r\n\r\n return {\r\n isValid: true,\r\n bidMultipliers,\r\n };\r\n }\r\n }\r\n return {\r\n LengthOfStayMultipliersView,\r\n };\r\n};\r\n","import _ from 'underscore';\r\nimport { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport { getHotelCenterUtils } from '@bingads-webui-campaign/hotel-center-utils';\r\nimport template from './view-template.pug';\r\nimport { getBidMultiplierView } from '../single-multiplier-view/view';\r\n\r\nexport const getUserCountryMultipliersView = ({\r\n i18n, state, pageContext, multiplierSchema,\r\n}) => {\r\n const { bidMultiplierUtils } = getHotelCenterUtils({ i18n, state });\r\n const { BidMultiplierView } = getBidMultiplierView({ i18n, pageContext, multiplierSchema });\r\n const { serializeBidMultipliers } = bidMultiplierUtils;\r\n\r\n /**\r\n * Shared view for Hotel Ads User country bid multiplier\r\n * @extends DeterministicView\r\n */\r\n class UserCountryMultipliersView extends DeterministicView {\r\n initialize() {\r\n const countries = state.get('userCountries');\r\n\r\n this.i18n = i18n;\r\n this.selectedCountries = [];\r\n this.chooseCountry = countries.length > 0 ? countries[0].Key : '';\r\n this.restCountries = this.getRestCountries(countries, this.selectedCountries);\r\n this.setState({\r\n selectedCountries: this.selectedCountries,\r\n chooseCountry: this.chooseCountry,\r\n restCountries: this.restCountries,\r\n });\r\n }\r\n\r\n get events() {\r\n return {\r\n 'click .add-new-query': () => {\r\n if (this.model.get('isUseParent')) {\r\n return;\r\n }\r\n if (this.chooseCountry) {\r\n const chooseCountry = _.findWhere(this.restCountries, { Key: this.chooseCountry });\r\n\r\n this.updateUserInputs();\r\n this.selectedCountries.push(chooseCountry);\r\n this.restCountries = this.getRestCountries(this.restCountries, [chooseCountry]);\r\n if (this.restCountries.length > 0) {\r\n this.chooseCountry = this.restCountries[0].Key;\r\n } else {\r\n this.chooseCountry = '';\r\n }\r\n this.setState({\r\n selectedCountries: this.selectedCountries,\r\n restCountries: this.restCountries,\r\n chooseCountry: this.chooseCountry,\r\n });\r\n }\r\n },\r\n 'change .form-control.country-list': ({ target }) => {\r\n this.chooseCountry = target.value;\r\n this.setState({\r\n chooseCountry: this.chooseCountry,\r\n });\r\n },\r\n 'click .mulitplier-query-remove .filter-query-remove__glyphicon': ({ target }) => {\r\n if (this.model.get('isUseParent')) {\r\n return;\r\n }\r\n const removeCountry = _.findWhere(this.selectedCountries, { Key: target.title });\r\n\r\n this.restCountries.push(removeCountry);\r\n this.restCountries = _.sortBy(this.restCountries, 'Key');\r\n this.updateUserInputs();\r\n this.selectedCountries = this.getRestCountries(this.selectedCountries, [removeCountry]);\r\n this.setState({\r\n selectedCountries: this.selectedCountries,\r\n restCountries: this.restCountries,\r\n });\r\n },\r\n };\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n\r\n getSelectedCountriesMulti(bidMultipliers) {\r\n const countries = state.get('userCountries');\r\n\r\n this.selectedCountries = [];\r\n\r\n if (bidMultipliers) {\r\n _.each(_.keys(bidMultipliers), (key) => {\r\n const country = _.findWhere(countries, { Key: key });\r\n\r\n if (country) {\r\n this.selectedCountries.push(_.extend(country, {\r\n strategy: bidMultipliers[key].strategy,\r\n factor: bidMultipliers[key].factor,\r\n }));\r\n }\r\n });\r\n }\r\n this.restCountries = this.getRestCountries(countries, this.selectedCountries);\r\n this.chooseCountry = this.restCountries.length > 0 ? this.restCountries[0].Key : '';\r\n return {\r\n selectedCountries: this.selectedCountries,\r\n restCountries: this.restCountries,\r\n chooseCountry: this.chooseCountry,\r\n };\r\n }\r\n\r\n getRestCountries(countries, removeNodes) {\r\n let keys = _.map(removeNodes, (node) => {\r\n if (node) {\r\n return node.Key;\r\n }\r\n return '';\r\n });\r\n\r\n keys = _.difference(keys, ['']);\r\n\r\n return _.filter(countries, country => _.indexOf(keys, country.Key) === -1);\r\n }\r\n\r\n setState({\r\n selectedCountries, chooseCountry, restCountries, isUseParent,\r\n }) {\r\n if (chooseCountry) {\r\n this.chooseCountry = chooseCountry;\r\n this.model.set({ chooseCountry });\r\n }\r\n\r\n if (selectedCountries) {\r\n _.each(selectedCountries, (country) => {\r\n const bidMultiplier = new BidMultiplierView({\r\n text: country.Value,\r\n value: country.Key,\r\n strategy: country.strategy,\r\n factor: country.factor,\r\n type: 'userCountry',\r\n });\r\n\r\n this.setChild(`${country.Key}-bid-multiplier`, bidMultiplier);\r\n });\r\n this.selectedCountries = selectedCountries;\r\n this.model.set({ selectedCountries });\r\n this.model.trigger('change');\r\n }\r\n\r\n if (restCountries) {\r\n this.restCountries = restCountries;\r\n this.model.set({ restCountries });\r\n }\r\n\r\n if (!_.isUndefined(isUseParent)) {\r\n this.model.set({ isUseParent });\r\n _.each(this.selectedCountries, (item) => {\r\n this.getChild(`${item.Key}-bid-multiplier`).setState({ isUseParent });\r\n });\r\n }\r\n return this;\r\n }\r\n\r\n updateUserInputs() {\r\n _.each(this.selectedCountries, (item) => {\r\n item.factor = this.getChild(`${item.Key}-bid-multiplier`).getState().percentage; // eslint-disable-line\r\n });\r\n }\r\n\r\n getState() {\r\n const userCountryMultipliersState = [];\r\n\r\n _.each(this.selectedCountries, (item) => {\r\n userCountryMultipliersState.push(this.getChild(`${item.Key}-bid-multiplier`).getState());\r\n });\r\n\r\n if (_.findWhere(userCountryMultipliersState, { isValid: false })) {\r\n return {\r\n isValid: false,\r\n bidMultipliers: _.noop(),\r\n };\r\n }\r\n\r\n return {\r\n isValid: true,\r\n bidMultipliers: serializeBidMultipliers(userCountryMultipliersState),\r\n };\r\n }\r\n }\r\n return {\r\n UserCountryMultipliersView,\r\n };\r\n};\r\n","/* eslint-disable no-proto, no-param-reassign */\r\nimport Backbone from 'backbone';\r\nimport $ from 'jquery';\r\nimport _ from 'underscore';\r\nimport { DateFilter } from '@bingads-webui/date-filter';\r\nimport { getHotelCenterUtils } from '@bingads-webui-campaign/hotel-center-utils';\r\nimport { withoutTime } from '@bingads-webui/primitive-utilities';\r\nimport { RANGES } from '@bingads-webui/date-ranges';\r\n\r\nexport const getProjectionGridDateFilter = ({\r\n i18n: i18nDefault, pageContext, state, dateFilterPreferences,\r\n}) => {\r\n if (!i18nDefault || !pageContext || !state || !dateFilterPreferences) {\r\n return {};\r\n }\r\n const { dateUtils } = getHotelCenterUtils({ pageContext });\r\n const { setDateFilter } = dateFilterPreferences;\r\n const { account2local, local2account } = dateUtils;\r\n\r\n const includeRanges = ['custom', 'today', 'yesterday', 'thisWeekSunday', 'thisWeekMonday', 'lastSevenDays',\r\n 'lastWeekSunday', 'lastWeekMonday', 'lastFourteenDays', 'thisMonth', 'lastMonth', 'last30Days', 'allTime'];\r\n\r\n const formatAccountDate = date =>\r\n i18nDefault.formatDate(account2local(date), { raw: 'MM/dd/yyyy' });\r\n\r\n const formatUTCDateTime = (date) => {\r\n const strDate = i18nDefault.formatDate(account2local(date), { raw: 'yyyy-MM-ddTHH:mm:ss.sss', timeZone: 'GMT' });\r\n\r\n return `${strDate}Z`;\r\n };\r\n\r\n const ensureMinDate = (date, minDate) => {\r\n if (!_.isObject(date)) {\r\n date = new Date(date);\r\n }\r\n return minDate && (date < minDate) ? minDate : date;\r\n };\r\n\r\n const parseDate = dateString => i18nDefault.parseDate(dateString);\r\n\r\n const getDefaultRange = today => ({\r\n grain: 3,\r\n start: today,\r\n end: today,\r\n key: 'today',\r\n });\r\n\r\n const normalizeConfig = (config, gridName) => {\r\n const i18n = _.defaults({\r\n timeZone: null,\r\n __proto__: i18nDefault.__proto__,\r\n }, i18nDefault);\r\n\r\n // Normalize the config with default options\r\n return _.defaults(config, {\r\n i18n,\r\n isComparisonEnabled: true,\r\n enabledRangesPredicate: range => _.indexOf(includeRanges, range.key) !== -1,\r\n dateFormat: 'yMd',\r\n timeFormat: 'hm',\r\n get maxDate() {\r\n return config.maxDate || withoutTime(local2account(new Date()));\r\n },\r\n get defaultTimeRange() {\r\n const storedDateRangeKey = config.sharedInGrids === false ? `$daterange${gridName}` : '$daterange';\r\n const storedDateRange = state.get(storedDateRangeKey);\r\n\r\n if (_.result(storedDateRange, 'key') === RANGES.CUSTOM_TIME) {\r\n return {\r\n start: ensureMinDate(storedDateRange.start, config.minDate),\r\n end: ensureMinDate(storedDateRange.end, config.minDate),\r\n };\r\n }\r\n return _.noop();\r\n },\r\n });\r\n };\r\n\r\n const generateEndDateTime = (date, upToNowWhenToday) => {\r\n const now = local2account(new Date());\r\n const today = withoutTime(now);\r\n\r\n // if it is today, get the time for now\r\n if (date.valueOf() === today.valueOf() && upToNowWhenToday) {\r\n return now;\r\n }\r\n // if it is a past day, get the last time of that day\r\n const returnDate = new Date(date);\r\n\r\n returnDate.setHours(23, 59, 59, 999);\r\n return returnDate;\r\n };\r\n\r\n const formatDateRange = (odataTimeZone, dateRange, upToNowWhenToday) => _.result({\r\n UTC: () => {\r\n const end = dateRange.key === RANGES.CUSTOM_TIME ?\r\n dateRange.end :\r\n generateEndDateTime(dateRange.end, upToNowWhenToday);\r\n\r\n return {\r\n startDateTime: formatUTCDateTime(dateRange.start),\r\n endDateTime: formatUTCDateTime(end),\r\n };\r\n },\r\n Account: () => ({\r\n startDate: formatAccountDate(dateRange.start) ||\r\n formatAccountDate(parseDate(dateRange.RangeStartDate)),\r\n endDate: formatAccountDate(dateRange.end) ||\r\n formatAccountDate(parseDate(dateRange.RangeEndDate)),\r\n }),\r\n }, odataTimeZone);\r\n\r\n const addDateRangeToQueryParams = (queryParams, dateRange, { odataTimeZone = 'Account', upToNowWhenToday = true }) => {\r\n // need to format the date when generate from the preference odata api the first time\r\n if (dateRange.start && !_.isObject(dateRange.start) &&\r\n dateRange.end && !_.isObject(dateRange.end)) {\r\n dateRange.start = new Date(dateRange.start);\r\n dateRange.end = new Date(dateRange.end);\r\n }\r\n\r\n // Feeds use date time as date range while others use date\r\n const primaryRange = formatDateRange(odataTimeZone, dateRange, upToNowWhenToday);\r\n let query = _.defaults(primaryRange, queryParams.query);\r\n\r\n if (dateRange.compared) {\r\n query = _.defaults({\r\n comparisonStartDate: formatAccountDate(new Date(dateRange.compared.start)),\r\n comparisonEndDate: formatAccountDate(new Date(dateRange.compared.end)),\r\n }, query);\r\n } else {\r\n query = _.omit(query, 'comparisonStartDate', 'comparisonEndDate');\r\n }\r\n\r\n return _.defaults({\r\n query,\r\n }, queryParams);\r\n };\r\n\r\n const renderDateFilterView = (dateRange, dateFilter, dateFilterView) => {\r\n const today = withoutTime(local2account(new Date()));\r\n const container = $(dateFilter.container);\r\n const selection = _.extend({\r\n primaryRange: {\r\n grain: dateRange.grain,\r\n key: dateRange.key,\r\n start: ensureMinDate(dateRange.start, dateFilter.minDate),\r\n end: ensureMinDate(dateRange.end, dateFilter.minDate),\r\n },\r\n }, dateRange.compared ? {\r\n comparedRange: {\r\n key: dateRange.compared.key,\r\n },\r\n } : {});\r\n\r\n dateFilterView.setState({ today, selection });\r\n dateFilterView.render();\r\n container.append(dateFilterView.$el);\r\n };\r\n\r\n const setDateRange = ({\r\n name,\r\n dateFilter,\r\n dateRange,\r\n }) => {\r\n const { primaryRange, comparedRange } = dateRange;\r\n _.extend(primaryRange, { Rangelcid: pageContext.CurrentUser.Locale });\r\n const selectedDate = _.extend(primaryRange, {\r\n compared: comparedRange,\r\n });\r\n\r\n if (dateFilter.sharedInGrids === false) {\r\n setDateFilter(name, _.clone(dateRange));\r\n state.set(`$daterange${name}`, selectedDate);\r\n } else {\r\n setDateFilter('TravelShared', _.clone(dateRange));\r\n state.set('$daterange', selectedDate);\r\n }\r\n };\r\n\r\n const dateFilterPlugin = definePlugin =>\r\n definePlugin('dateFilter', ['gridView', 'dataSource', 'config'], (gridView, dataSource, { plugins, name } = {}) => {\r\n const dateFilter = _.result(plugins, 'dateFilter', {});\r\n const normalizedConfig = normalizeConfig(dateFilter, name);\r\n const dateFilterView = new DateFilter(normalizedConfig);\r\n const projectName = dateFilter.sharedInGrids === false ? `$daterange${name}` : '$daterange';\r\n const originalQuery = dataSource.query;\r\n\r\n // render date filter view in the initial function\r\n state.getPromise(projectName).then((initDateRange) => {\r\n let dateRange = initDateRange;\r\n\r\n // rewrite the date filter here to incase\r\n // preference setting saved some unenabled ranges\r\n if (!dateFilter.enabledRangesPredicate(dateRange)) {\r\n const today = withoutTime(local2account(new Date()));\r\n\r\n dateRange = getDefaultRange(today);\r\n setDateRange({\r\n name,\r\n dateFilter,\r\n dateRange:\r\n {\r\n primaryRange: _.omit(dateRange, 'compared'),\r\n comparedRange: dateRange.compared,\r\n },\r\n });\r\n }\r\n renderDateFilterView(dateRange, dateFilter, dateFilterView);\r\n });\r\n\r\n // wrap dateSource query to update data range\r\n dataSource.query = params => state.getPromise(projectName).then((dateRange) => {\r\n const queryParams = addDateRangeToQueryParams(params, dateRange, dateFilter);\r\n\r\n gridView.set({ queryParams });\r\n\r\n return originalQuery.call(dataSource, queryParams);\r\n });\r\n\r\n dateFilterView.on('date-range-selected', (dateRange) => {\r\n setDateRange({ name, dateFilter, dateRange });\r\n\r\n gridView.refresh(true);\r\n });\r\n return { events: _.extend({}, Backbone.Events) };\r\n });\r\n return {\r\n dateFilterPlugin,\r\n addDateRangeToQueryParams,\r\n };\r\n};\r\n","import { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport template from './option-template.pug';\r\n\r\nexport class Option extends DeterministicView {\r\n events() {\r\n return {\r\n 'click .dropdown-search-selector__option': () => {\r\n this.trigger('optionSelected', this.getState());\r\n },\r\n };\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n\r\n getState() {\r\n const {\r\n id,\r\n } = this.model.attributes;\r\n\r\n return {\r\n id,\r\n };\r\n }\r\n\r\n setState({\r\n id = '', value = '', isSelected = false, isDisabled = false,\r\n }) {\r\n this.model.set({\r\n id,\r\n value,\r\n isSelected,\r\n isDisabled,\r\n });\r\n\r\n return this;\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport { helpers, DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport template from './selector-template.pug';\r\nimport { Option } from './option';\r\n\r\nconst { updateView, ensureChildView } = helpers;\r\n\r\nexport class Selector extends DeterministicView {\r\n initialize({\r\n options = [],\r\n selectOption = {},\r\n nodataPlaceholder = '',\r\n }) {\r\n this.selectOption = selectOption;\r\n this.options = options;\r\n this.nodataPlaceholder = nodataPlaceholder;\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n\r\n getState() {\r\n const {\r\n options,\r\n } = this.model.attributes;\r\n\r\n return {\r\n options,\r\n };\r\n }\r\n\r\n setState({ options, selectOption }) {\r\n if (options) {\r\n this.selectOption = selectOption || this.selectOption;\r\n _.each(options, (option) => {\r\n const initialOption = this.selectOption.id === option.id ?\r\n { isSelected: true } :\r\n { isSelected: false };\r\n\r\n ensureChildView(this, `option-${option.id}`, Option, {}, {\r\n optionSelected: 'onOptionSelected',\r\n }).setState(_.extend(initialOption, option));\r\n });\r\n this.model.set({ options });\r\n }\r\n\r\n return this;\r\n }\r\n\r\n onOptionSelected({ id }) {\r\n if (this.selectOption && this.selectOption.id !== id) {\r\n const { options } = this.getState();\r\n\r\n this.selectOption = _.findWhere(options, { id });\r\n\r\n updateView(this, {\r\n options,\r\n });\r\n }\r\n this.trigger('optionSelected', this.selectOption);\r\n }\r\n}\r\n","import { DeterministicView, helpers } from '@bingads-webui/deterministic-view';\r\nimport template from './pagination-template.pug';\r\n\r\nconst { updateView } = helpers;\r\n\r\n\r\nexport class Pagination extends DeterministicView {\r\n initialize({\r\n i18n,\r\n currentPage = 1,\r\n pageSize = 10,\r\n totalCount = 0,\r\n }) {\r\n this.i18n = i18n;\r\n this.pageSize = pageSize;\r\n\r\n this.setState({\r\n currentPage,\r\n totalCount,\r\n });\r\n }\r\n\r\n events() {\r\n return {\r\n 'click .previous-page-button': () => {\r\n this.goToPreviousPage();\r\n },\r\n 'click .next-page-button': () => {\r\n this.goToNextPage();\r\n },\r\n };\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n\r\n getState() {\r\n const {\r\n currentPage,\r\n totalCount,\r\n } = this.model.attributes;\r\n\r\n return {\r\n currentPage,\r\n totalCount,\r\n };\r\n }\r\n\r\n goToPreviousPage() {\r\n let { currentPage } = this.getState();\r\n if (currentPage <= 1) {\r\n return;\r\n }\r\n currentPage -= 1;\r\n\r\n updateView(this, {\r\n currentPage,\r\n });\r\n this.trigger('pageChanged', currentPage);\r\n }\r\n\r\n goToNextPage() {\r\n let { currentPage, totalCount } = this.getState(); // eslint-disable-line\r\n if (totalCount && (currentPage * this.pageSize) >= totalCount) {\r\n return;\r\n }\r\n\r\n currentPage += 1;\r\n\r\n updateView(this, {\r\n currentPage,\r\n });\r\n this.trigger('pageChanged', currentPage);\r\n }\r\n}\r\n","import { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport template from './search-template.pug';\r\n\r\nexport class Search extends DeterministicView {\r\n initialize({\r\n placeholder = 'account name',\r\n searchResultsId = 'search-results',\r\n }) {\r\n this.placeholder = placeholder;\r\n this.searchResultsId = searchResultsId;\r\n }\r\n\r\n events() {\r\n return {\r\n 'click .dropdown-search-selector__search--submit': () => this.search(),\r\n 'input input#srch-term': () => this.onChange(),\r\n keypress: e => this.keyPress(e),\r\n };\r\n }\r\n\r\n keyPress(e) {\r\n if (e.keyCode === 13) {\r\n e.preventDefault();\r\n this.search();\r\n }\r\n }\r\n\r\n onChange() {\r\n this.trigger('searchChanged', this.$('#srch-term')[0].value);\r\n }\r\n\r\n search() {\r\n this.trigger('searchInvoked', this.$('#srch-term')[0].value);\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n}\r\n","import { DeterministicView, helpers } from '@bingads-webui/deterministic-view';\r\nimport Promise from 'bluebird';\r\nimport _ from 'underscore';\r\nimport $ from 'jquery';\r\nimport { Selector } from './selector';\r\nimport { Pagination } from './pagination';\r\nimport { Search } from './search';\r\nimport { Option } from './option';\r\nimport template from './dropdown-search-selector-template.pug';\r\n\r\nconst { updateView, ensureChildView } = helpers;\r\n\r\nexport class DropdownSearchSelector extends DeterministicView {\r\n initialize({\r\n selectOption,\r\n placeholder,\r\n dataSource,\r\n pageSize = 10,\r\n i18n,\r\n customOptions = [],\r\n forceEnableSearch = false,\r\n invokeSearchOnChange = false, // invoke search on change\r\n nodataPlaceholder = '',\r\n isDisabled = false,\r\n }) {\r\n this.model.set({ selectOption: { id: '', value: '' } });\r\n this.model.set({ isDisabled });\r\n this.dataSource = dataSource;\r\n this.pageSize = pageSize;\r\n this.placeholder = placeholder;\r\n this.i18n = i18n;\r\n this.customOptions = customOptions;\r\n this.forceEnableSearch = forceEnableSearch;\r\n this.invokeSearchOnChange = invokeSearchOnChange;\r\n this.nodataPlaceholder = nodataPlaceholder;\r\n this.searchResultsId = _.uniqueId('search-results-');\r\n\r\n $(window).click((e) => {\r\n const clickedEl = $(e.target);\r\n const dropDown = this.$('.dropdown-search-selector__dropdown');\r\n\r\n if (clickedEl.closest(dropDown).length === 0 && dropDown.hasClass('open')) {\r\n this.toggle();\r\n }\r\n });\r\n this.viewLoadAsync(selectOption || { id: '', value: '' });\r\n }\r\n\r\n viewLoadAsync(selectOption = _.noop()) {\r\n return this.fetchData(this.dataSource, {\r\n pageNumber: 1,\r\n pageSize: this.pageSize,\r\n }).then((results) => {\r\n let { options } = results;\r\n\r\n if (results.totalCount > this.pageSize) {\r\n // enable search and pagination\r\n const { totalCount } = results;\r\n\r\n this.initialPaginationView(this.i18n, totalCount);\r\n this.initialSearchView(this.placeholder);\r\n options = options.slice(0, this.pageSize);\r\n } else {\r\n if (this.getChild('pagination-container')) {\r\n this.detachChild('pagination-container').remove();\r\n }\r\n\r\n if (this.forceEnableSearch) {\r\n this.initialSearchView(this.placeholder);\r\n } else if (this.getChild('search-container')) {\r\n this.detachChild('search-container').remove();\r\n }\r\n }\r\n\r\n // clean the search term\r\n if (this.getChild('search-container')) {\r\n this.$('#srch-term').val('');\r\n this.searchString = '';\r\n }\r\n if (selectOption) {\r\n this.setState({ selectOption });\r\n }\r\n\r\n if (this.customOptions) {\r\n _.each(this.customOptions, (option) => {\r\n option.id = option.id || option.value; // eslint-disable-line\r\n this.initialCustomOptionView(option, selectOption);\r\n });\r\n }\r\n this.setOptionView(options, selectOption);\r\n this.render();\r\n });\r\n }\r\n\r\n get events() {\r\n return {\r\n 'click .dropdown-toggle': () => {\r\n this.toggle();\r\n },\r\n };\r\n }\r\n\r\n fetchData(dataSource, params) {\r\n return new Promise((resolve) => {\r\n if (_.isFunction(dataSource)) {\r\n return resolve(dataSource(params));\r\n }\r\n return resolve({\r\n options: [],\r\n totalCount: 0,\r\n });\r\n });\r\n }\r\n\r\n onOptionSelected(selectOption) {\r\n updateView(this, {\r\n selectOption,\r\n });\r\n this.trigger('option-selected', selectOption);\r\n this.selectedId = selectOption.id;\r\n this.toggle();\r\n }\r\n\r\n toggle() {\r\n this.$('.dropdown-toggle').parent().toggleClass('open');\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n\r\n onSearchChanged(searchString) {\r\n if (this.invokeSearchOnChange) {\r\n this.onSearchInvoked(searchString);\r\n }\r\n }\r\n\r\n onSearchInvoked(searchString) {\r\n if (this.searchString !== searchString) {\r\n this.searchString = searchString;\r\n this.fetchData(this.dataSource, {\r\n searchString,\r\n pageNumber: 1,\r\n pageSize: this.pageSize,\r\n }).then((results) => {\r\n const { totalCount } = results;\r\n\r\n if (this.getChild('pagination-container')) {\r\n this.getChild('pagination-container').setState({\r\n currentPage: 1,\r\n totalCount,\r\n });\r\n }\r\n this.getChild('selector-container').setState({\r\n options: results.options,\r\n });\r\n });\r\n }\r\n }\r\n\r\n onPageChanged(currentPage) {\r\n this.fetchData(this.dataSource, {\r\n searchString: this.searchString,\r\n pageNumber: currentPage,\r\n pageSize: this.pageSize,\r\n }).then((results) => {\r\n const { totalCount } = results;\r\n\r\n if (this.getChild('pagination-container')) {\r\n this.getChild('pagination-container').setState({\r\n currentPage,\r\n totalCount,\r\n });\r\n }\r\n this.getChild('selector-container').setState({\r\n options: results.options,\r\n });\r\n });\r\n }\r\n\r\n initialSearchView(placeholder) {\r\n ensureChildView(this, 'search-container', Search, {\r\n placeholder,\r\n searchResultsId: this.searchResultsId,\r\n }, {\r\n searchInvoked: 'onSearchInvoked',\r\n searchChanged: 'onSearchChanged',\r\n });\r\n }\r\n\r\n initialPaginationView(i18n, totalCount) {\r\n ensureChildView(this, 'pagination-container', Pagination, { i18n, pageSize: this.pageSize, totalCount }, {\r\n pageChanged: 'onPageChanged',\r\n }).setState({\r\n totalCount,\r\n currentPage: 1,\r\n });\r\n }\r\n\r\n setOptionView(options, selectOption) {\r\n ensureChildView(this, 'selector-container', Selector, { options, selectOption, nodataPlaceholder: this.nodataPlaceholder }, {\r\n optionSelected: 'onOptionSelected',\r\n }).setState({ options, selectOption });\r\n }\r\n\r\n initialCustomOptionView(customOption, selectOption) {\r\n if (!customOption.onOptionSelected) {\r\n customOption.onOptionSelected = ({ id }) => { // eslint-disable-line\r\n const option = _.findWhere(this.customOptions, { id });\r\n\r\n this.onOptionSelected(option);\r\n };\r\n }\r\n ensureChildView(this, `${customOption.id}-container`, Option, {}, {\r\n optionSelected: ({ id }) => customOption.onOptionSelected({ id }),\r\n }).setState({\r\n id: customOption.id,\r\n value: customOption.value,\r\n isSelected: selectOption.id === customOption.id,\r\n });\r\n }\r\n}\r\n","export const schema = {\r\n scenario: [{\r\n name: 'subAccountSetup',\r\n value: 'HotelCenterSubAccountSetup',\r\n setting: {},\r\n activity: [\r\n {\r\n name: 'initializeWizard',\r\n value: 'InitializeWizard',\r\n }, {\r\n name: 'saveSubAccount',\r\n value: 'SaveSubAccount',\r\n }, {\r\n name: 'closeWizard',\r\n value: 'CloseWizard',\r\n },\r\n ],\r\n }, {\r\n name: 'subAccountBar',\r\n value: 'HotelCenterSubAccountBar',\r\n setting: {},\r\n activity: [\r\n {\r\n name: 'loadSubAccountInfo',\r\n value: 'LoadSubAccountInfo',\r\n }, {\r\n name: 'saveSubAccountBid',\r\n value: 'SaveSubAccountBid',\r\n }, {\r\n name: 'saveBidMultiplier',\r\n value: 'SaveBidMultiplier',\r\n },\r\n ],\r\n }, {\r\n name: 'overViewPage',\r\n value: 'HotelCenterOverViewPage',\r\n setting: {},\r\n activity: [\r\n {\r\n name: 'loadHotelGroupGrid',\r\n value: 'LoadHotelGroupGrid',\r\n }, {\r\n name: 'loadHotelIdGrid',\r\n value: 'LoadHotelIdGrid',\r\n }, {\r\n name: 'loadDeviceTypeGrid',\r\n value: 'LoadDeviceTypeGrid',\r\n }, {\r\n name: 'loadDateGrid',\r\n value: 'LoadDateGrid',\r\n }, {\r\n name: 'loadLengthOfStayGrid',\r\n value: 'LoadLengthOfStayGrid',\r\n }, {\r\n name: 'loadUserCountryGrid',\r\n value: 'LoadUserCountryGrid',\r\n }, {\r\n name: 'loadHotelCountryGrid',\r\n value: 'LoadHotelCountryGrid',\r\n }, {\r\n name: 'loadSlotTypeGrid',\r\n value: 'LoadSlotTypeGrid',\r\n }, {\r\n name: 'loadAdvancedBookingGrid',\r\n value: 'LoadAdvancedBookingGrid',\r\n }, {\r\n name: 'loadCheckinDayGrid',\r\n value: 'LoadCheckinDayGrid',\r\n }, {\r\n name: 'loadDateTypeGrid',\r\n value: 'LoadDateTypeGrid',\r\n }, {\r\n name: 'loadSiteTypeGrid',\r\n value: 'LoadSiteTypeGrid',\r\n }, {\r\n name: 'loadSubAccountGrid',\r\n value: 'LoadSubAccountGrid',\r\n }, {\r\n name: 'bulkEditHotelBid',\r\n value: 'BulkEditHotelBid',\r\n }, {\r\n name: 'bulkEditHotelMultiplier',\r\n value: 'BulkEditHotelMultiplier',\r\n }, {\r\n name: 'bulkEditIncreaseDecreaseBid',\r\n value: 'BulkEditIncreaseDecreaseBid',\r\n }, {\r\n name: 'inlineEditHotelBid',\r\n value: 'InlineEditHotelBid',\r\n }, {\r\n name: 'inlineEditHotelMultiplier',\r\n value: 'InlineEditHotelMultiplier',\r\n },\r\n ],\r\n }, {\r\n name: 'budgetPage',\r\n value: 'HotelCenterBudgetPage',\r\n setting: {},\r\n activity: [\r\n {\r\n name: 'initializePage',\r\n value: 'InitializePage',\r\n }, {\r\n name: 'saveBidCap',\r\n value: 'SaveBidCap',\r\n }, {\r\n name: 'saveBudget',\r\n value: 'SaveBudget',\r\n },\r\n ],\r\n }, {\r\n name: 'utilityPage',\r\n value: 'HotelCenterUtilityPage',\r\n setting: {},\r\n activity: [\r\n {\r\n name: 'loadFeedStatusGrid',\r\n value: 'LoadFeedStatusGrid',\r\n }, {\r\n name: 'downloadFeedStatusReport',\r\n value: 'DownloadFeedStatusReport',\r\n },\r\n ],\r\n }],\r\n};\r\n","// specify odata error codes that represent user errors\r\nexport const errorCodes = [\r\n 'BUDGETAMOUNTISABOVELIMIT',\r\n 'BUDGETAMOUNTISBELOWLIMIT',\r\n 'DEFAULTHOTELGROUPUPDATENOTALLOWED',\r\n 'MAXSUBACCOUNTLIMITATIONREACHED',\r\n 'ENTITYDOESNOTEXIST', // fix bug 3532459:400 error with error code EntityDoesNotExist\r\n];\r\n","import _ from 'underscore';\r\nimport { AriaListener } from '@bingads-webui/aria-listener';\r\nimport { ConsoleListener } from '@bingads-webui/console-listener';\r\nimport { InMemoryListener, InMemorySink } from '@bingads-webui/in-memory-listener';\r\nimport {\r\n getAriaConfig,\r\n campaignLogTableConfig,\r\n ContextProcessor,\r\n DebugProcessor,\r\n BasicFormatter,\r\n ApiFormatter,\r\n ConsoleFormatter,\r\n LogLevelFilter,\r\n ApiFilter,\r\n ConsoleFilter,\r\n OdataErrorMapper,\r\n isTestEnvironment,\r\n} from '@bingads-webui-campaign/instrumentation';\r\nimport { errorCodes } from './error-codes';\r\n\r\nexport const initSetup = ({ pageContext, config }) => {\r\n const getListeners = () => {\r\n const ariaConfig = getAriaConfig();\r\n const currentEnv = _.find(_.keys(ariaConfig.tokens), env => document.domain.indexOf(env) > -1);\r\n\r\n // init log formatters\r\n const basicFormatter = new BasicFormatter({\r\n applicationSystem: 'campaign',\r\n applicationSubSystem: 'hotelcenterui',\r\n });\r\n const apiFormatter = new ApiFormatter();\r\n const consoleFormatter = new ConsoleFormatter();\r\n\r\n // init log filters\r\n const logLevelFilter = new LogLevelFilter();\r\n const apiFilter = new ApiFilter();\r\n const consoleFilter = new ConsoleFilter();\r\n\r\n const ariaListener = new AriaListener({\r\n tenantToken: ariaConfig.tokens[currentEnv],\r\n flushInterval: ariaConfig.flushInterval,\r\n batchSize: ariaConfig.batchSize,\r\n logTableNames: campaignLogTableConfig.logTableNames,\r\n defaultLogCategory: campaignLogTableConfig.defaultLogCategory,\r\n formatters: {\r\n basicFormatter,\r\n apiFormatter,\r\n },\r\n filters: {\r\n logLevelFilter,\r\n apiFilter,\r\n },\r\n });\r\n\r\n ariaListener.init();\r\n ariaListener.registerForTeardown();\r\n\r\n const consoleListener = new ConsoleListener({\r\n filters: {\r\n consoleFilter,\r\n },\r\n formatters: {\r\n consoleFormatter,\r\n },\r\n });\r\n\r\n consoleListener.init();\r\n\r\n const listeners = {\r\n ariaListener,\r\n consoleListener,\r\n };\r\n\r\n if (isTestEnvironment(currentEnv)) {\r\n window.seleniumLogsSink = new InMemorySink({ maxSize: 100 });\r\n const inMemoryListener = new InMemoryListener({\r\n sink: window.seleniumLogsSink,\r\n formatters: {\r\n basicFormatter,\r\n apiFormatter,\r\n },\r\n filters: {\r\n logLevelFilter,\r\n apiFilter,\r\n },\r\n });\r\n\r\n inMemoryListener.init();\r\n\r\n _.extend(listeners, { inMemoryListener });\r\n }\r\n\r\n return listeners;\r\n };\r\n\r\n const getProcessors = () => {\r\n const contextProcessor = new ContextProcessor({ pageContext });\r\n const debugProcessor = new DebugProcessor({\r\n isDebugMode: (config && config.get('isDebugMode')) || window.BINGADS_DEBUG,\r\n });\r\n\r\n const processors = {\r\n contextProcessor,\r\n debugProcessor,\r\n };\r\n\r\n return processors;\r\n };\r\n\r\n const getErrorMappers = () => {\r\n const odataErrorMapper = new OdataErrorMapper(errorCodes);\r\n\r\n const errorMappers = {\r\n odataErrorMapper,\r\n };\r\n\r\n return errorMappers;\r\n };\r\n\r\n return {\r\n getErrorMappers,\r\n getProcessors,\r\n getListeners,\r\n };\r\n};\r\n","import _ from 'underscore';\r\nimport { AriaListener } from '@bingads-webui/aria-listener';\r\nimport { Instrumentation } from '@bingads-webui/instrumentation';\r\nimport { PerformanceTimingLogger } from '@bingads-webui/performance-timing-logger';\r\nimport {\r\n getAriaConfig,\r\n PerformanceLogsFilter,\r\n PerformanceLogsFormatter,\r\n ContextProcessor,\r\n DebugProcessor,\r\n PerfTimingProcessor,\r\n} from '@bingads-webui-campaign/instrumentation';\r\n\r\nexport const initPerfTiming = ({ pageContext, config }) => {\r\n const getListeners = () => {\r\n const ariaConfig = getAriaConfig();\r\n const currentEnv = _.find(_.keys(ariaConfig.tokens), env => document.domain.indexOf(env) > -1);\r\n\r\n // init log formatters\r\n const performanceLogsFormatter = new PerformanceLogsFormatter();\r\n\r\n // init log filters\r\n const performanceLogsFilter = new PerformanceLogsFilter();\r\n\r\n const ariaListener = new AriaListener({\r\n tenantToken: ariaConfig.tokens[currentEnv],\r\n flushInterval: ariaConfig.flushInterval,\r\n batchSize: ariaConfig.batchSize,\r\n logTableNames: {\r\n resourcetiming: {\r\n name: 'resourcetiming',\r\n },\r\n },\r\n defaultLogCategory: 'resourcetiming',\r\n formatters: {\r\n performanceLogsFormatter,\r\n },\r\n filters: {\r\n performanceLogsFilter,\r\n },\r\n });\r\n\r\n ariaListener.init();\r\n ariaListener.registerForTeardown();\r\n\r\n const listeners = {\r\n ariaListener,\r\n };\r\n\r\n return listeners;\r\n };\r\n\r\n const getProcessors = () => {\r\n const contextProcessor = new ContextProcessor({ pageContext });\r\n const debugProcessor = new DebugProcessor({\r\n isDebugMode: (config && config.get('isDebugMode')) || window.BINGADS_DEBUG,\r\n });\r\n const perfTimingProcessor = new PerfTimingProcessor({\r\n landingPageUrl: config.get('LandingPageUrl') || '',\r\n });\r\n\r\n const processors = {\r\n contextProcessor,\r\n debugProcessor,\r\n perfTimingProcessor,\r\n };\r\n\r\n return processors;\r\n };\r\n\r\n const instr = new Instrumentation({\r\n listeners: getListeners(),\r\n processors: getProcessors(),\r\n });\r\n\r\n const perfTimingLogger = new PerformanceTimingLogger({ instrumentation: instr });\r\n\r\n return {\r\n perfTimingLogger,\r\n getListeners,\r\n getProcessors,\r\n };\r\n};\r\n","import { EDM } from '@bingads-webui/edm-core-legacy';\r\nimport { jsdataPlugin } from '@bingads-webui/edm-js-data';\r\nimport { odataPlugin } from '@bingads-webui/edm-odata-legacy';\r\nimport { resIdsPlugin } from '@bingads-webui/edm-resource-identifiers-legacy';\r\nimport {\r\n defineConstProperty,\r\n defineComputedProperty,\r\n} from '@bingads-webui/reflection';\r\nimport _ from 'underscore';\r\nimport { getJsDataExtension } from './js-data-extension';\r\n\r\nexport const getEdmBhc = ({\r\n state, schemas, CustomerIdType, config,\r\n}) => {\r\n if (!state || !schemas || !CustomerIdType || !config) {\r\n return {};\r\n }\r\n const namespace = 'Microsoft.BingAds.Api.Model.Travel';\r\n const edm = new EDM({\r\n schemas,\r\n namespace,\r\n });\r\n const jsdataExtension = getJsDataExtension({ config, state });\r\n\r\n resIdsPlugin(edm);\r\n odataPlugin(edm, '');\r\n jsdataPlugin(edm);\r\n\r\n jsdataExtension(edm);\r\n\r\n // Define the root type\r\n // We only have a Customer entity set at the root\r\n const rootType = new edm.types.ComplexType({\r\n name: '$ROOT',\r\n properties: {\r\n Customers: { typeName: `${namespace}.TravelCustomer@COLL` },\r\n },\r\n });\r\n const root = new rootType.ResourceIdentifier();\r\n\r\n defineConstProperty(edm, 'root', root);\r\n\r\n const customerIdType = new CustomerIdType();\r\n\r\n defineConstProperty(edm, 'customerIdType', customerIdType);\r\n\r\n _.each({\r\n currentCustomer: {\r\n key: 'customer_id',\r\n parent: 'root',\r\n collection: 'Customers',\r\n },\r\n currentAccount: {\r\n key: 'account_id',\r\n parent: 'currentCustomer',\r\n collection: 'Accounts',\r\n },\r\n }, (dependencies, name) => {\r\n defineComputedProperty(edm, name, () => {\r\n let id = state.get(dependencies.key);\r\n const parent = edm[dependencies.parent];\r\n\r\n if (edm.customerIdType.useAdvertiserCustomerId && dependencies.parent === 'root' && state.get('advertisercustomer_id')) {\r\n id = state.get('advertisercustomer_id');\r\n }\r\n\r\n return parent && id ? parent[dependencies.collection].$withKey(Number(id)) : null;\r\n });\r\n });\r\n return { jsdataBhc: edm.jsdata.resources };\r\n};\r\n","import ODataAdapter from '@bingads-webui/js-data-odata';\r\n\r\nexport const getJsDataExtension = ({ config, state }) => (edm) => {\r\n const { store } = edm.jsdata;\r\n\r\n store.registerAdapter('odata', new ODataAdapter({\r\n ajaxOptions: {\r\n path: 'HotelCenter/V1',\r\n host: config.get('odata.url'),\r\n oDataToken: config.get('odata.token'),\r\n loginType: config.get('odata.loginType'),\r\n },\r\n state,\r\n }), { default: true });\r\n};\r\n","import lightDismissible from './src/light-dismissible/light-dismissible';\r\nimport toolbarTemplate from './src/template/toolbar-template.pug';\r\nimport { getAccountInformationView } from './src/account-information-view/account-information-view';\r\nimport { getBidCapView } from './src/bid-cap-view/bid-cap-view';\r\nimport { getBidStrategyView } from './src/bid-strategy-view/bid-strategy-view';\r\nimport { getBidMultipliersView } from './src/bid-multipliers-view/bid-multipliers-view';\r\nimport { getProjectionGridDateFilter } from './src/date-filter/projection-grid-date-filter';\r\nimport { DropdownSearchSelector } from './src/dropdown-search-selector/dropdown-search-selector';\r\nimport { getEditPanelView } from './src/edit-panel-view/edit-panel-view';\r\nimport { getFetchPreferenceConfig } from './src/service/fetch-preference-config';\r\nimport { getHotelGroupInformationView } from './src/hotel-group-information-view/information-view';\r\nimport { getHotelGroupModel } from './src/hotel-group-model/hotel-group-model';\r\nimport { getHotelModel } from './src/hotel-model/hotel-model';\r\nimport { getInstrumentation } from './src/instrumentation/index';\r\nimport { getEdmBhc } from './src/js-data-bhc/edm-bhc';\r\nimport { getUserCountryService } from './src/bid-multipliers-view/user-country/user-country-service';\r\nimport { getSubAccountModel } from './src/sub-account-model/sub-account-model';\r\n\r\nexport const getHotelCenterShared = ({\r\n pageContext, i18n, state, config, preferencesService, CustomerIdType,\r\n segmentationPreferences, jsdata, edm, dateFilterPreferences,\r\n fixedBidSchema, percentageBidSchema, payPerStayBidSchema, multiplierSchema,\r\n hotelGroupSchema, hotelSchema, subAccountSchema, schemas,\r\n} = {}) => ({\r\n DropdownSearchSelector,\r\n lightDismissible,\r\n toolbarTemplate,\r\n ...getAccountInformationView({ i18n }),\r\n ...getBidCapView({ i18n, config, fixedBidSchema }),\r\n ...getBidStrategyView({\r\n i18n, pageContext, config, fixedBidSchema, percentageBidSchema, payPerStayBidSchema,\r\n }),\r\n ...getBidMultipliersView({\r\n i18n, state, pageContext, multiplierSchema,\r\n }),\r\n ...getProjectionGridDateFilter({\r\n i18n, pageContext, state, dateFilterPreferences,\r\n }),\r\n ...getEditPanelView({ i18n }),\r\n ...getFetchPreferenceConfig({ state, preferencesService, segmentationPreferences }),\r\n ...getHotelGroupInformationView({ i18n }),\r\n ...getHotelGroupModel({\r\n i18n, hotelGroupSchema, state, jsdata, edm,\r\n }),\r\n ...getHotelModel({\r\n i18n, hotelSchema, jsdata, edm, state,\r\n }),\r\n ...getInstrumentation({ pageContext, config }),\r\n ...getEdmBhc({\r\n state, schemas, config, CustomerIdType,\r\n }),\r\n ...getUserCountryService({ state, i18n }),\r\n ...getSubAccountModel({\r\n state, i18n, subAccountSchema, jsdata, edm,\r\n }),\r\n});\r\n","import { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport template from './account-information-view-template.pug';\r\n\r\nexport const getAccountInformationView = ({ i18n }) => {\r\n if (!i18n) {\r\n return {};\r\n }\r\n /**\r\n * Class representing an account information view for HotelCenter\r\n * @extends View\r\n */\r\n class AccountInformationView extends DeterministicView {\r\n /**\r\n * Initializes AccountInformationView\r\n * Creates model and give default parameter for account information.\r\n * @returns { undefined }\r\n */\r\n initialize() {\r\n this.i18n = i18n;\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n }\r\n\r\n return {\r\n AccountInformationView,\r\n };\r\n};\r\n\r\n","import { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport { BackboneSchema as backboneSchema } from '@bingads-webui/backbone-schema';\r\nimport { InputControl } from '@bingads-webui/input-control';\r\nimport _ from 'underscore';\r\nimport $ from 'jquery';\r\nimport template from './bid-cap-view-template.pug';\r\n\r\nexport const getBidCapView = ({ i18n, config, fixedBidSchema }) => {\r\n if (!i18n || !config || !fixedBidSchema) {\r\n return {};\r\n }\r\n /**\r\n * Shared view for Hotel Ads max bid setup section\r\n * @extends Backbone.View\r\n */\r\n class BidCapView extends DeterministicView {\r\n initialize() {\r\n this.selections = {\r\n empty: 'empty',\r\n cap: 'cap',\r\n };\r\n\r\n this.i18n = i18n;\r\n\r\n const FixedBidModel = backboneSchema(fixedBidSchema, i18n, ['Amount', '@odata.type']);\r\n\r\n this.fixedBidModel = new FixedBidModel();\r\n const maxBidInputControl = new InputControl({\r\n entity: this.fixedBidModel,\r\n field: 'Amount',\r\n addonText: config.get('AccountCurrencyCode'),\r\n });\r\n\r\n this.setChild('max-bid-input', maxBidInputControl);\r\n this.listenTo(maxBidInputControl, 'input-changed', () => {\r\n this.trigger('input-changed');\r\n });\r\n\r\n this.setState({ capSelection: this.selections.empty });\r\n\r\n this.on('rendered', () => {\r\n const capSelection = this.model.get('capSelection');\r\n if (capSelection === 'empty') {\r\n $('label.empty').focus();\r\n } else if (capSelection === 'cap') {\r\n $('label.bid-selection-label').focus();\r\n }\r\n }, this);\r\n }\r\n\r\n get events() {\r\n return {\r\n 'change .bid-cap-radio': ({ target }) => {\r\n this.setState({ capSelection: target.value });\r\n },\r\n };\r\n }\r\n\r\n setState(state) {\r\n if (_.has(state, 'capSelection')) {\r\n this.model.set('capSelection', state.capSelection);\r\n }\r\n\r\n if (_.has(state, 'maximumBid')) {\r\n this.fixedBidModel.parse(state.maximumBid);\r\n this.getChild('max-bid-input').setState({ value: this.fixedBidModel.get('Amount') });\r\n }\r\n\r\n this.trigger('input-changed');\r\n return this;\r\n }\r\n\r\n getState() {\r\n const inputState = this.getChild('max-bid-input').getState();\r\n const noCap = this.model.get('capSelection') === this.selections.empty;\r\n\r\n return {\r\n maximumBid: noCap ? null : this.fixedBidModel.toJSON(),\r\n isValid: noCap || inputState.isValid,\r\n };\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n }\r\n\r\n return {\r\n BidCapView,\r\n };\r\n};\r\n","import { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport { BackboneSchema as backboneSchema } from '@bingads-webui/backbone-schema';\r\nimport { InputControl } from '@bingads-webui/input-control';\r\nimport _ from 'underscore';\r\nimport $ from 'jquery';\r\nimport template from './bid-strategy-view-template.pug';\r\n\r\nexport const getBidStrategyView = ({\r\n i18n, pageContext, config, fixedBidSchema, percentageBidSchema, payPerStayBidSchema,\r\n}) => {\r\n if (!i18n || !pageContext || !config || !fixedBidSchema ||\r\n !percentageBidSchema || !payPerStayBidSchema) {\r\n return {};\r\n }\r\n /**\r\n * Shared view for Hotel Ads bid strategy setup section\r\n * @extends Backbone.View\r\n */\r\n class BidStrategyView extends DeterministicView {\r\n initialize(options) {\r\n this.strategy = {\r\n fixed: 'fixed',\r\n percentage: 'percentage',\r\n payperstay: 'payperstay',\r\n empty: 'empty',\r\n };\r\n\r\n this.currentTemplate = options.customTemplate || template;\r\n this.i18n = i18n;\r\n\r\n this.isAmountRequired = !_.result(options, 'allowEmptyStrategy', true);\r\n this.isPayPerStayEnabled = _.result(pageContext.Permissions.dynamic, 'PayPerStay', false);\r\n\r\n // todo: remove below readonly flags when DE limitation is resolved\r\n this.isReadonly = _.result(options, 'isReadonly', false);\r\n this.disabledAttr = this.isReadonly ? { disabled: 'disabled' } : {};\r\n this.isPPSReadOnly = this.isReadonly || !_.result(options, 'enablePPS', false);\r\n this.disabledPPSAttr = this.isPPSReadOnly ? { disabled: 'disabled' } : {};\r\n\r\n this.initFixedBidInput(this.isAmountRequired);\r\n this.initPercentageBidInput(this.isAmountRequired);\r\n this.initPayPerStayBidInput(this.isAmountRequired);\r\n\r\n this.setState({\r\n bidStrategy: options.strategy || this.strategy.fixed,\r\n bidAmount: options.bidAmount,\r\n });\r\n\r\n this.on('rendered', () => {\r\n const bidStrategy = this.model.get('bidStrategy');\r\n if (bidStrategy === this.strategy.fixed) {\r\n $('label.radio.fixed').focus();\r\n } else if (bidStrategy === this.strategy.percentage) {\r\n $('label.radio.percentage').focus();\r\n } else if (bidStrategy === this.strategy.payperstay) {\r\n $('label.radio.payperstay').focus();\r\n } else if (bidStrategy === this.strategy.empty) {\r\n $('label.radio.empty').focus();\r\n }\r\n }, this);\r\n }\r\n\r\n get events() {\r\n return {\r\n 'change .bid-strategy-radio': ({ target }) => {\r\n this.setState({ bidStrategy: target.value });\r\n },\r\n };\r\n }\r\n\r\n get template() {\r\n return this.currentTemplate;\r\n }\r\n\r\n get bidInput() {\r\n const { bidStrategy } = super.getState();\r\n\r\n return _.result({\r\n fixed: () => this.getChild('fixed-bid-input'),\r\n percentage: () => this.getChild('percentage-bid-input'),\r\n payperstay: () => this.getChild('payperstay-bid-input'),\r\n }, bidStrategy);\r\n }\r\n\r\n setState(props) {\r\n const { bidStrategy, bidAmount, showError } = props;\r\n\r\n // todo: remove below readonly flags when DE limitation is resolved\r\n this.isReadonly = _.result(props, 'isReadonly', this.isReadonly);\r\n this.disabledAttr = this.isReadonly ? { disabled: 'disabled' } : {};\r\n\r\n if (!_.isUndefined(bidStrategy)) {\r\n this.model.set({ bidStrategy });\r\n }\r\n\r\n if (!_.isUndefined(bidAmount)) {\r\n const value = i18n.formatDecimalToFixed(bidAmount);\r\n\r\n if (bidStrategy === this.strategy.fixed) {\r\n this.fixedBidModel.set('Amount', value);\r\n this.getChild('fixed-bid-input').setState({ value, readonly: this.isReadonly });\r\n } else if (bidStrategy === this.strategy.percentage) {\r\n this.percentageBidModel.set('Amount', value);\r\n this.getChild('percentage-bid-input').setState({ value, readonly: this.isReadonly });\r\n } else {\r\n this.payPerStayBidModel.set('Amount', value);\r\n this.getChild('payperstay-bid-input').setState({ value });\r\n }\r\n this.trigger('input-changed');\r\n }\r\n\r\n if (!_.isUndefined(showError)) {\r\n if (this.bidInput) {\r\n this.bidInput.setState({ showError });\r\n }\r\n }\r\n\r\n return this;\r\n }\r\n\r\n getState() {\r\n switch (this.model.get('bidStrategy')) {\r\n case this.strategy.fixed:\r\n return {\r\n isValid: this.getChild('fixed-bid-input').getState().isValid,\r\n bid: this.fixedBidModel.toJSON(),\r\n };\r\n case this.strategy.percentage:\r\n return {\r\n isValid: this.getChild('percentage-bid-input').getState().isValid,\r\n bid: this.percentageBidModel.toJSON(),\r\n };\r\n case this.strategy.payperstay:\r\n return {\r\n isValid: this.getChild('payperstay-bid-input').getState().isValid,\r\n bid: this.payPerStayBidModel.toJSON(),\r\n };\r\n default:\r\n return {\r\n isValid: !this.isAmountRequired,\r\n bid: { Amount: null },\r\n };\r\n }\r\n }\r\n\r\n initFixedBidInput() {\r\n const FixedBidModel = backboneSchema(fixedBidSchema, i18n, ['Amount', '@odata.type']);\r\n\r\n this.fixedBidModel = new FixedBidModel();\r\n const fixedBidInput = new InputControl({\r\n entity: this.fixedBidModel,\r\n field: 'Amount',\r\n addonText: config.get('AccountCurrencyCode'),\r\n readonly: this.isReadonly,\r\n });\r\n\r\n this.setChild('fixed-bid-input', fixedBidInput);\r\n\r\n this.listenTo(fixedBidInput, 'input-changed', () => {\r\n this.trigger('input-changed');\r\n });\r\n }\r\n\r\n initPercentageBidInput() {\r\n const PercentageBidModel = backboneSchema(percentageBidSchema, i18n, ['Amount', '@odata.type']);\r\n\r\n this.percentageBidModel = new PercentageBidModel();\r\n const percentageBidInput = new InputControl({\r\n entity: this.percentageBidModel,\r\n field: 'Amount',\r\n addonText: pageContext.DecimalFormatter.percentSymbol,\r\n readonly: this.isReadonly,\r\n });\r\n\r\n this.setChild('percentage-bid-input', percentageBidInput);\r\n\r\n this.listenTo(percentageBidInput, 'input-changed', () => {\r\n this.trigger('input-changed');\r\n });\r\n }\r\n\r\n initPayPerStayBidInput() {\r\n const PayPerStayBidModel = backboneSchema(payPerStayBidSchema, i18n, ['Amount', '@odata.type']);\r\n\r\n this.payPerStayBidModel = new PayPerStayBidModel();\r\n const payPerStayBidInput = new InputControl({\r\n entity: this.payPerStayBidModel,\r\n field: 'Amount',\r\n addonText: pageContext.DecimalFormatter.percentSymbol,\r\n });\r\n\r\n this.setChild('payperstay-bid-input', payPerStayBidInput);\r\n\r\n this.listenTo(payPerStayBidInput, 'input-changed', () => {\r\n this.trigger('input-changed');\r\n });\r\n }\r\n }\r\n return {\r\n BidStrategyView,\r\n };\r\n};\r\n","import { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport template from './edit-panel-view-template.pug';\r\n\r\nexport const getEditPanelView = ({ i18n }) => {\r\n if (!i18n) {\r\n return {};\r\n }\r\n /**\r\n * Shared view for Hotel Ads edit panel\r\n * @extends DeterministicView\r\n */\r\n class EditPanelView extends DeterministicView {\r\n initialize() {\r\n this.i18n = i18n;\r\n this.model.set({ hasCleanButton: false });\r\n this.model.set({ isSaveButtonDisabled: false });\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 #Cancel': this.onCancel,\r\n 'click #Save': this.onSave,\r\n 'click #Clean': this.onClean,\r\n };\r\n }\r\n getState() {\r\n return {\r\n isSaveButtonDisabled: this.model.get('isSaveButtonDisabled'),\r\n hasCleanButton: this.model.get('hasCleanButton'),\r\n };\r\n }\r\n\r\n onCancel() {\r\n this.trigger('canceled');\r\n }\r\n\r\n onSave() {\r\n this.trigger('saved');\r\n }\r\n\r\n onClean() {\r\n this.trigger('cleaned');\r\n }\r\n }\r\n\r\n return {\r\n EditPanelView,\r\n };\r\n};\r\n","\r\nimport { isTimeRangeValid } from '@bingads-webui-campaign/segmentation-utilities';\r\nimport _ from 'underscore';\r\nimport Promise from 'bluebird';\r\n\r\nexport const getFetchPreferenceConfig =\r\n ({ state, preferencesService, segmentationPreferences }) => {\r\n if (!state || !preferencesService || !segmentationPreferences) {\r\n return {};\r\n }\r\n const { getSegPreference, getSegType } = segmentationPreferences;\r\n return {\r\n fetchPreferenceConfig: (gridConfig) => {\r\n const defaultPageSize = 20;\r\n const sortInfoKey = gridConfig.name;\r\n\r\n const p$stateManager = new Promise((resolve) => {\r\n preferencesService.default.initialize().then(() => {\r\n const { Data: { rowsPerPage: pageSize = defaultPageSize } } = preferencesService.default.findByName('WebApp.CampaignUI.grid') || { Data: {} };\r\n const { Data: { sortInfo: { orderby: orderbyInfo, sortableHeader } } } =\r\n preferencesService.default.findByName(`WebApp.CampaignUI.${sortInfoKey}`) || { Data: { sortInfo: {} } };\r\n\r\n resolve({ pageSize, orderbyInfo, sortableHeader });\r\n });\r\n });\r\n\r\n return Promise\r\n .all([p$stateManager, getSegPreference(gridConfig.name)])\r\n .spread(({ pageSize, orderbyInfo, sortableHeader }) => {\r\n gridConfig = _.defaults(gridConfig, {pageable: {}}); //eslint-disable-line\r\n gridConfig.pageable.pageSize = pageSize; //eslint-disable-line\r\n if (gridConfig.plugins && gridConfig.plugins.pagination) {\r\n gridConfig.plugins.pagination.pageSize = pageSize; //eslint-disable-line\r\n }\r\n if (gridConfig.plugins &&\r\n gridConfig.plugins.pagination &&\r\n gridConfig.plugins.pagination.pageSize) {\r\n gridConfig.plugins.pagination.pageSize = pageSize; //eslint-disable-line\r\n }\r\n\r\n const segType = getSegType(gridConfig.name);\r\n\r\n if (segType && segType.segmentationType !== 'None' && isTimeRangeValid(segType.segmentationType, state.get('$daterange'))) {\r\n gridConfig.dataSource.query.SegmentationTypes = segType.segmentationType; //eslint-disable-line\r\n }\r\n\r\n if (orderbyInfo && orderbyInfo.length > 0) {\r\n gridConfig.dataSource.orderby = orderbyInfo; //eslint-disable-line\r\n gridConfig.sortableHeader = _.pick(sortableHeader, 'name', 'directionIndex'); //eslint-disable-line\r\n }\r\n });\r\n },\r\n };\r\n };\r\n","import { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport template from './information-template.pug';\r\n\r\nexport const getHotelGroupInformationView = ({ i18n }) => {\r\n if (!i18n) {\r\n return {};\r\n }\r\n\r\n /**\r\n * Class representing an account information view for HotelCenter\r\n * @extends View\r\n */\r\n class HotelGroupInformationView extends DeterministicView {\r\n /**\r\n * Initializes AccountInformationView\r\n * Creates model and give default parameter for account information.\r\n * @returns { undefined }\r\n */\r\n initialize() {\r\n this.i18n = i18n;\r\n }\r\n get template() {\r\n return template;\r\n }\r\n\r\n get events() {\r\n return {\r\n 'click .glyphicon-arrow-left': this.onBack,\r\n 'click .hotel-group-information-remove__glyphicon': this.onRemove,\r\n };\r\n }\r\n\r\n onBack() {\r\n this.trigger('go-back');\r\n }\r\n\r\n onRemove() {\r\n this.trigger('remove-group-info');\r\n }\r\n }\r\n\r\n return {\r\n HotelGroupInformationView,\r\n };\r\n};\r\n","/* istanbul ignore file */\r\nimport _ from 'underscore';\r\nimport { BackboneSchema as backboneSchema } from '@bingads-webui/backbone-schema';\r\nimport { getHotelCenterService } from '@bingads-webui-campaign/hotel-center-service';\r\n\r\nexport const getHotelGroupModel = ({\r\n i18n, hotelGroupSchema, state, jsdata, edm,\r\n}) => {\r\n if (!i18n || !hotelGroupSchema || !state || !jsdata || !edm) {\r\n return {};\r\n }\r\n const { gridOptionUtils } = getHotelCenterService({ edm, state });\r\n // eslint-disable-next-line no-param-reassign\r\n hotelGroupSchema.properties.Name.required = true;\r\n const SchemaModel = backboneSchema(hotelGroupSchema, i18n, ['Name']);\r\n\r\n /**\r\n * HotelGroup backbone model based on hotelGroupSchema\r\n * @extends Backbone.Model\r\n */\r\n\r\n class HotelGroupModel extends SchemaModel {\r\n initialize(options = {}) {\r\n if (options.Id) {\r\n this.id = options.Id;\r\n }\r\n\r\n this.set('Name', options.Name);\r\n this.set('Id', options.Id);\r\n this.entitySet = options.entitySet || gridOptionUtils.getEntitySetByName('hotelGroup');\r\n }\r\n\r\n get idAttribute() {\r\n return 'Id';\r\n }\r\n\r\n toJSON() {\r\n const json = super.toJSON();\r\n\r\n this.attachNestedModels(json, ['BidSetting', 'Bid', 'BidMultipliers', 'Id']);\r\n\r\n return json;\r\n }\r\n\r\n sync(method, model, options) {\r\n const json = this.toJSON();\r\n\r\n switch (method) {\r\n case 'read':\r\n return jsdata.HotelGroup\r\n .find(this.get('Id'), {\r\n entitySet: this.entitySet,\r\n });\r\n case 'create':\r\n state.unset('subAccount_hotelGroupCount');\r\n return jsdata.HotelGroup.create(json, {\r\n cacheResponse: false,\r\n entitySet: this.entitySet,\r\n });\r\n case 'patch':\r\n case 'update':\r\n if (_.has(json, 'Bid') && json.Bid.Amount === null) {\r\n json.Bid = null; // if user didn't input Bid amout, pass null object to odata\r\n }\r\n return jsdata.HotelGroup.update(\r\n model.id,\r\n _.isEmpty(options.attrs) ? json : _.pick(json, options.attrs),\r\n {\r\n cacheResponse: false,\r\n entitySet: this.entitySet,\r\n }\r\n );\r\n case 'delete':\r\n state.unset('subAccount_hotelGroupCount');\r\n return jsdata.HotelGroup.destroy(model.id, {\r\n entitySet: this.entitySet,\r\n });\r\n default:\r\n throw new Error(`sync method ${method} is not supported`);\r\n }\r\n }\r\n\r\n attachNestedModels(json, fieldNames) {\r\n _.each(fieldNames, (field) => {\r\n if (this.has(field) || _.contains(this.changedAttributes(), 'BidSetting')) {\r\n json[field] = this.get(field); // eslint-disable-line\r\n }\r\n });\r\n }\r\n }\r\n\r\n return {\r\n HotelGroupModel,\r\n };\r\n};\r\n","/* istanbul ignore file */\r\nimport _ from 'underscore';\r\nimport { BackboneSchema as backboneSchema } from '@bingads-webui/backbone-schema';\r\nimport { getHotelCenterService } from '@bingads-webui-campaign/hotel-center-service';\r\n\r\nexport const getHotelModel = ({\r\n i18n, hotelSchema, jsdata, edm, state,\r\n}) => {\r\n if (!i18n || !hotelSchema || !state || !jsdata || !edm) {\r\n return {};\r\n }\r\n const SchemaModel = backboneSchema(hotelSchema, i18n, ['Id']);\r\n const { gridOptionUtils } = getHotelCenterService({ edm, state });\r\n /**\r\n * Hotel backbone model based on schema\r\n * @extends Backbone.Model\r\n */\r\n\r\n class HotelModel extends SchemaModel {\r\n initialize(options = {}) {\r\n this.set('Id', options.Id);\r\n this.entitySet = options.entitySet || gridOptionUtils.getEntitySetByName('hotel');\r\n }\r\n\r\n get idAttribute() {\r\n return 'Id';\r\n }\r\n\r\n toJSON() {\r\n const json = super.toJSON();\r\n\r\n this.attachNestedModels(json, ['Bid', 'BidMultipliers', 'Name']);\r\n\r\n return json;\r\n }\r\n\r\n sync(method, model, options) {\r\n const json = model.toJSON();\r\n\r\n switch (method) {\r\n case 'read':\r\n return jsdata.Hotel\r\n .find(this.get('Id'), {\r\n entitySet: this.entitySet,\r\n });\r\n case 'create':\r\n return jsdata.Hotel.create(json, {\r\n cacheResponse: false,\r\n entitySet: this.entitySet,\r\n });\r\n case 'patch':\r\n case 'update':\r\n if (_.has(json, 'Bid') && json.Bid.Amount === null) {\r\n json.Bid = null; // if user didn't input Bid amout, pass null object to odata\r\n }\r\n\r\n return jsdata.Hotel.update(\r\n model.get('Id'),\r\n _.isEmpty(options.attrs) ? json : _.pick(json, options.attrs),\r\n {\r\n cacheResponse: false,\r\n entitySet: this.entitySet,\r\n }\r\n );\r\n default:\r\n throw new Error(`sync method ${method} is not supported`);\r\n }\r\n }\r\n\r\n attachNestedModels(json, fieldNames) {\r\n _.each(fieldNames, (field) => {\r\n if (this.has(field) || _.contains(this.changedAttributes(), 'MaximumBid')) {\r\n json[field] = this.get(field); // eslint-disable-line\r\n }\r\n });\r\n }\r\n }\r\n\r\n return {\r\n HotelModel,\r\n };\r\n};\r\n","import $ from 'jquery';\r\nimport { Instrumentation } from '@bingads-webui/instrumentation';\r\nimport { AjaxStub, AjaxEventHandler, ErrorStub } from '@bingads-webui/instrumentation-stubs';\r\nimport { isInternalUrl } from '@bingads-webui/url-util';\r\nimport { schema } from './schema';\r\nimport { initSetup } from './setup';\r\nimport { initPerfTiming } from './perf-timing';\r\n\r\nexport const getInstrumentation = ({\r\n pageContext, config,\r\n}) => {\r\n if (!pageContext || !config) {\r\n return {};\r\n }\r\n const { getListeners, getProcessors, getErrorMappers } = initSetup({\r\n pageContext, config,\r\n });\r\n const { perfTimingLogger } = initPerfTiming({\r\n pageContext, config,\r\n });\r\n const init = () => {\r\n const instrumentConfig = {\r\n listeners: getListeners(),\r\n processors: getProcessors(),\r\n };\r\n\r\n const instr = new Instrumentation(instrumentConfig);\r\n\r\n instr.addScenario(schema);\r\n return instr;\r\n };\r\n\r\n const stub = (instrumentation) => {\r\n const stubOptions = {\r\n objectsToStub: [$],\r\n };\r\n\r\n const errorMappers = getErrorMappers();\r\n const shouldAddHeaders = ajaxContext => isInternalUrl(ajaxContext.url);\r\n const eventHandler = new AjaxEventHandler({ errorMappers, shouldAddHeaders });\r\n\r\n const ajaxStub = new AjaxStub({\r\n stubOptions,\r\n eventHandler,\r\n instrumentation,\r\n });\r\n\r\n const errorStub = new ErrorStub({\r\n instrumentation,\r\n });\r\n\r\n ajaxStub.init();\r\n errorStub.init();\r\n };\r\n\r\n // init instrumentation\r\n const instrumentation = init();\r\n\r\n // init log stubs\r\n stub(instrumentation);\r\n\r\n // init performance timing logger\r\n perfTimingLogger.init();\r\n\r\n return {\r\n instrumentation,\r\n };\r\n};\r\n\r\n","import _ from 'underscore';\r\n\r\nexport const getUserCountryService = ({ state, i18n }) => {\r\n if (!state || !i18n) {\r\n return {};\r\n }\r\n const countryCodes = ['AL', 'AQ', 'DZ', 'AS', 'AD', 'AO', 'AG', 'AR', 'AU', 'AT', 'BS', 'BD', 'BB', 'BE', 'BM', 'BT', 'BO', 'BW', 'BR', 'BZ', 'SB', 'VG', 'BN', 'BG', 'MM', 'BI', 'BY', 'KH', 'CM', 'CA', 'CV', 'KY', 'CF', 'LK', 'TD', 'CL', 'CN', 'TW', 'CX', 'CC', 'CO', 'YT', 'CG', 'CD', 'CK', 'CR', 'HR', 'CZ', 'BJ', 'DK', 'DM', 'DO', 'EC', 'SV', 'GQ', 'ET', 'ER', 'EE', 'FO', 'FK', 'FI', 'FR', 'GF', 'PF', 'DJ', 'GA', 'GM', 'DE', 'GH', 'GI', 'KI', 'GR', 'GL', 'GD', 'GP', 'GU', 'GT', 'GN', 'GY', 'HT', 'VA', 'HN', 'HU', 'IS', 'IN', 'ID', 'IE', 'IT', 'CI', 'JM', 'JP', 'KZ', 'KE', 'KR', 'KG', 'LA', 'LS', 'LV', 'LR', 'LY', 'LI', 'LT', 'LU', 'MG', 'MW', 'MY', 'MV', 'ML', 'MT', 'MQ', 'MR', 'MU', 'MX', 'MC', 'MN', 'MD', 'MS', 'MA', 'MZ', 'NA', 'NR', 'NP', 'NL', 'AN', 'AW', 'NC', 'VU', 'NZ', 'NI', 'NE', 'NG', 'NF', 'NO', 'MP', 'FM', 'MH', 'PW', 'PK', 'PA', 'PG', 'PY', 'PE', 'PH', 'PN', 'PL', 'PT', 'GW', 'PR', 'RE', 'RU', 'RW', 'AI', 'SM', 'ST', 'SN', 'SC', 'SL', 'SG', 'SK', 'VN', 'SI', 'ZA', 'ZW', 'ES', 'SR', 'SZ', 'SE', 'CH', 'TJ', 'TH', 'TG', 'TK', 'TO', 'TT', 'TR', 'TM', 'TC', 'UG', 'MK', 'EG', 'GB', 'TZ', 'US', 'BF', 'UY', 'UZ', 'WF', 'WS', 'ZM', 'BA', 'FJ', 'HK', 'MO', 'VE', 'AZ', 'BH', 'AM', 'CY', 'GE', 'IL', 'JO', 'KW', 'LB', 'OM', 'QA', 'SA', 'AE', 'YE', 'PS', 'AF', 'TL', 'NU', 'RO', 'SO', 'KM', 'TN', 'IQ', 'SH', 'KN', 'LC', 'PM', 'VC', 'TV', 'UA', 'VI', 'RS', 'ME'];\r\n\r\n const getCountriesAndSetState = () => {\r\n if (state.get('userCountries')) {\r\n return;\r\n }\r\n\r\n const countries = _.map(countryCodes, code => ({\r\n Key: code,\r\n Value: i18n.getString(`UserCountry_${code}`) || code,\r\n })).sort((a, b) => ((a.Value > b.Value) ? 1 : -1));\r\n\r\n state.set('userCountries', countries);\r\n };\r\n\r\n const userCountryService = {\r\n getCountriesAndSetState,\r\n };\r\n\r\n return {\r\n userCountryService,\r\n };\r\n};\r\n","/* istanbul ignore file */\r\nimport { BackboneSchema as backboneSchema } from '@bingads-webui/backbone-schema';\r\nimport { getHotelCenterService } from '@bingads-webui-campaign/hotel-center-service';\r\nimport _ from 'underscore';\r\n\r\nexport const getSubAccountModel = ({\r\n state, i18n, subAccountSchema, jsdata, edm,\r\n}) => {\r\n if (!i18n || !subAccountSchema || !state || !jsdata || !edm) {\r\n return {};\r\n }\r\n const { AccountService } = getHotelCenterService({ state, jsdata, edm });\r\n // eslint-disable-next-line no-param-reassign\r\n subAccountSchema.properties.Name.required = true;\r\n const SchemaModel = backboneSchema(subAccountSchema, i18n, ['Name']);\r\n\r\n /**\r\n * Sub account backbone model based on schema\r\n * @extends Backbone.Model\r\n */\r\n\r\n class SubAccountModel extends SchemaModel {\r\n initialize(options = {}) {\r\n if (options.Id) {\r\n this.id = options.Id;\r\n }\r\n }\r\n\r\n get idAttribute() {\r\n return 'Id';\r\n }\r\n\r\n toJSON() {\r\n const json = super.toJSON();\r\n\r\n this.attachNestedModels(json, ['DailyBudget', 'MaximumBid', 'Bid', 'BidMultipliers', 'HotelAssociationCount']);\r\n\r\n return json;\r\n }\r\n\r\n sync(method, model, options) {\r\n const json = model.toJSON();\r\n\r\n this.accountService = new AccountService();\r\n\r\n switch (method) {\r\n case 'read':\r\n return this.accountService.fetchSubAccountAsync()\r\n .then((subAccount) => {\r\n // For V1, there is only one fixed account with one sub-account\r\n if (subAccount) {\r\n this.parse(subAccount);\r\n this.set('Id', subAccount.Id);\r\n\r\n // to do [rayduan]: add support for nested models in backbone-model\r\n this.set('DailyBudget', subAccount.DailyBudget);\r\n this.set('MaximumBid', subAccount.MaximumBid);\r\n this.set('Bid', subAccount.Bid);\r\n this.set('BidMultipliers', subAccount.BidMultipliers);\r\n this.set('HotelAssociationCount', subAccount.HotelAssociationCount);\r\n }\r\n });\r\n case 'create':\r\n return jsdata.SubAccount.create(json, { cacheResponse: false });\r\n case 'patch':\r\n case 'update':\r\n {\r\n if (_.has(json, 'Bid') && json.Bid.Amount === null) {\r\n json.Bid = null; // if user didn't input Bid amout, pass null object to odata\r\n }\r\n const updatedId = model.get('Id') || model.id;\r\n const subAccountModel = state.get('subAccount_model');\r\n\r\n // if the updated subaccount Id equal current global subaccount model in state\r\n // updated the status for subaccout model\r\n if (subAccountModel && subAccountModel.Id === updatedId) {\r\n state.unset('subAccount_model');\r\n }\r\n return jsdata.SubAccount.update(\r\n updatedId,\r\n _.isEmpty(options.attrs) ? json : _.pick(json, options.attrs),\r\n { cacheResponse: false }\r\n );\r\n }\r\n case 'delete':\r\n return jsdata.SubAccount.destroy(model.id, {\r\n entitySet: this.entitySet,\r\n });\r\n default:\r\n throw new Error(`sync method ${method} is not supported`);\r\n }\r\n }\r\n\r\n attachNestedModels(json, fieldNames) {\r\n _.each(fieldNames, (field) => {\r\n if (this.has(field) || _.contains(this.changedAttributes(), 'MaximumBid')) {\r\n json[field] = this.get(field); // eslint-disable-line\r\n }\r\n });\r\n }\r\n }\r\n\r\n return {\r\n SubAccountModel,\r\n };\r\n};\r\n","import _ from 'underscore';\r\n\r\nexport const getBidMultiplierUtils = ({ i18n, state }) => {\r\n if (!i18n || !state) {\r\n return {};\r\n }\r\n const weekDayMap = {\r\n Monday: 'WeekDay_2',\r\n Tuesday: 'WeekDay_3',\r\n Wednesday: 'WeekDay_4',\r\n Thursday: 'WeekDay_5',\r\n Friday: 'WeekDay_6',\r\n Saturday: 'WeekDay_7',\r\n Sunday: 'WeekDay_1',\r\n };\r\n\r\n const getSegmentText = (minNight, maxNight, isLengthOfStay) => {\r\n if (maxNight) {\r\n const segment = maxNight === minNight ? minNight : `${minNight}-${maxNight}`;\r\n const segmentLabel = isLengthOfStay ? i18n.getString('HotelCenter_Overview_LengthOfStay_Multipliers_NightsSegment_Label') : i18n.getString('HotelCenter_Overview_AdvancedBooking_Multipliers_DaysSegment_Label');\r\n\r\n return segmentLabel.replace(/\\{0\\}/g, segment);\r\n }\r\n // current node is the last one\r\n const addOnText = isLengthOfStay ? i18n.getString('HotelCenter_Overview_LengthOfStay_Multipliers_InputNights_AddOn_Label') : i18n.getString('HotelCenter_Overview_AdvancedBooking_Multipliers_InputDays_AddOn_Label');\r\n\r\n return `${minNight} ${addOnText}`;\r\n };\r\n\r\n const formatStaySegments = (staySegments, isLengthOfStay) => {\r\n const res = [];\r\n const { length } = staySegments;\r\n let maxNight;\r\n let sortedStaySegments = staySegments;\r\n\r\n if (length > 1) {\r\n sortedStaySegments = _.sortBy(staySegments, item => Number(item.key));\r\n }\r\n\r\n for (let i = 0; i < length; i += 1) {\r\n if (i === length - 1) {\r\n maxNight = _.noop();\r\n } else {\r\n maxNight = (Number(sortedStaySegments[i + 1].key) - 1).toString();\r\n }\r\n res.push({\r\n key: sortedStaySegments[i].key,\r\n factor: sortedStaySegments[i].factor,\r\n value: getSegmentText(sortedStaySegments[i].key, maxNight, isLengthOfStay),\r\n strategy: sortedStaySegments[i].strategy,\r\n });\r\n }\r\n\r\n return res;\r\n };\r\n\r\n // only for lengh of stay and advanced booking mulipliers\r\n const formatDaysAndNightsMultipliers = (bidMultipliers, isLengthOfStay) => {\r\n const staySegments = [];\r\n\r\n _.each(bidMultipliers, (multiplier) => {\r\n staySegments.push({\r\n key: multiplier.key,\r\n factor: Math.abs(multiplier.percentage),\r\n strategy: multiplier.percentage >= 0 ? 'increase' : 'decrease',\r\n });\r\n });\r\n return formatStaySegments(staySegments, isLengthOfStay);\r\n };\r\n\r\n const deserializeBidMultipliers = (bidMultipliers) => {\r\n const res = {\r\n deviceType: [],\r\n dateType: [],\r\n siteType: [],\r\n userCountry: [],\r\n checkInDay: [],\r\n lengthOfStay: [],\r\n advancedBooking: [],\r\n };\r\n\r\n if (!bidMultipliers || bidMultipliers.length === 0) {\r\n return res;\r\n }\r\n _.each(bidMultipliers, (item) => {\r\n const multiplierFactor = item.Factor;\r\n let percentage = Number(multiplierFactor) * 100;\r\n\r\n percentage = parseFloat(percentage - 100).toFixed(2);\r\n\r\n if (item['@odata.type'] === '#Model.DeviceMultiplier') {\r\n _.each(item.DeviceTypes, (deviceType) => {\r\n res.deviceType.push({ deviceType, percentage });\r\n });\r\n } else if (item['@odata.type'] === '#Model.DateTypeMultiplier') {\r\n res.dateType.push({ dateType: item.DateType, percentage });\r\n } else if (item['@odata.type'] === '#Model.SiteMultiplier') {\r\n _.each(item.Sites, (siteType) => {\r\n res.siteType.push({ siteType, percentage });\r\n });\r\n } else if (item['@odata.type'] === '#Model.UserCountryMultiplier') {\r\n _.each(item.Countries, (country) => {\r\n res.userCountry.push({ country, percentage });\r\n });\r\n } else if (item['@odata.type'] === '#Model.CheckinDayOfWeekMultiplier') {\r\n _.each(item.DaysOfWeek, (dayOfWeek) => {\r\n res.checkInDay.push({ dayOfWeek, percentage });\r\n });\r\n } else if (item['@odata.type'] === '#Model.LengthOfStayMultiplier') {\r\n res.lengthOfStay.push({ key: item.MinimumNumberOfNights.toString(), percentage });\r\n } else if (item['@odata.type'] === '#Model.AdvanceBookingWindowMultiplier') {\r\n res.advancedBooking.push({ key: item.MinimumNumberOfDays.toString(), percentage });\r\n }\r\n });\r\n if (res.lengthOfStay.length > 0) {\r\n res.lengthOfStay = formatDaysAndNightsMultipliers(res.lengthOfStay, true);\r\n }\r\n if (res.advancedBooking.length > 0) {\r\n res.advancedBooking = formatDaysAndNightsMultipliers(res.advancedBooking, false);\r\n }\r\n\r\n return res;\r\n };\r\n\r\n const getMultipliersState = (input, resetFactor = false) => {\r\n const bidMultipliers = deserializeBidMultipliers(input);\r\n\r\n return _.mapObject(bidMultipliers, (multipliers, key) => {\r\n if (key === 'lengthOfStay' || key === 'advancedBooking') {\r\n if (resetFactor) {\r\n return _.map(multipliers, multiplier =>\r\n _.defaults({\r\n factor: 0,\r\n }, multiplier));\r\n }\r\n return multipliers;\r\n }\r\n const multipliersState = {};\r\n\r\n _.each(multipliers, (multiplier) => {\r\n const name = multiplier.deviceType || multiplier.dateType ||\r\n multiplier.siteType || multiplier.country || multiplier.dayOfWeek;\r\n const percentage = resetFactor ? 0 : multiplier.percentage;\r\n\r\n _.extend(multipliersState, {\r\n [name]: {\r\n strategy: percentage >= 0 ? 'increase' : 'decrease',\r\n factor: Math.abs(percentage),\r\n },\r\n });\r\n });\r\n return multipliersState;\r\n });\r\n };\r\n\r\n const bidMultiplierTextFormat = (name, percentage) => i18n.getString('HotelCenter_SubAccountBar_Device_Type_Multiplier_Format').replace(/\\{0\\}/g, name).replace(/\\{1\\}/g, percentage > 0 ? `+${percentage}` : percentage);\r\n\r\n const getDeviceTypeMultipliersText = (deviceTypeMultipliers) => {\r\n const deviceTypeMap = {\r\n Mobile: i18n.getString('HotelCenter_Overview_Multipliers_Bids_Mobile_Label'),\r\n Tablet: i18n.getString('HotelCenter_Overview_Multipliers_Bids_Tablet_Label'),\r\n Desktop: i18n.getString('HotelCenter_Overview_Multipliers_Bids_Desktop_Label'),\r\n };\r\n const deviceMultipliersText = _.map(deviceTypeMultipliers, (deviceTypeMultiplier) => {\r\n const { percentage } = deviceTypeMultiplier;\r\n const name = deviceTypeMap[deviceTypeMultiplier.deviceType];\r\n\r\n return bidMultiplierTextFormat(name, percentage);\r\n }).join(', ');\r\n\r\n return `${i18n.getString('HotelCenter_Overview_DeviceType_Multipliers_Label')}: ${deviceMultipliersText}`;\r\n };\r\n\r\n const getSiteTypeMultipliersText = (siteTypeMultipliers) => {\r\n const siteTypeMap = {\r\n LocalUniversal: i18n.getString('HotelCenter_Overview_SiteType_Multipliers_Local_Universal_Label'),\r\n MapResults: i18n.getString('HotelCenter_Overview_SiteType_Multipliers_Map_Results_Label'),\r\n PropertyPromotionAd: i18n.getString('HotelCenter_Overview_SiteType_Multipliers_Property_PromotionAd_Label'),\r\n };\r\n const siteMultipliersText = _.map(siteTypeMultipliers, (siteTypeMultiplier) => {\r\n const { percentage } = siteTypeMultiplier;\r\n const name = siteTypeMap[siteTypeMultiplier.siteType];\r\n\r\n return bidMultiplierTextFormat(name, percentage);\r\n }).join(', ');\r\n\r\n return `${i18n.getString('HotelCenter_Overview_SiteType_Multipliers_Label')}: ${siteMultipliersText}`;\r\n };\r\n\r\n const getDateTypeMultipliersText = (dateTypeMultipliers) => {\r\n const dateTypeMap = {\r\n Selected: i18n.getString('HotelCenter_Overview_DateType_Multipliers_Selected_Label'),\r\n Default: i18n.getString('HotelCenter_Overview_DateType_Multipliers_Default_Label'),\r\n };\r\n const dateTypeMultipliersText = _.map(dateTypeMultipliers, (dateTypeMultiplier) => {\r\n const { percentage } = dateTypeMultiplier;\r\n const name = dateTypeMap[dateTypeMultiplier.dateType];\r\n\r\n return bidMultiplierTextFormat(name, percentage);\r\n }).join(', ');\r\n\r\n return `${i18n.getString('HotelCenter_Overview_DateType_Multipliers_Label')}: ${dateTypeMultipliersText}`;\r\n };\r\n\r\n const getUserCountriesMultipliersText = (userCountryMultipliers) => {\r\n const userCountryMultipliersText = _.map(userCountryMultipliers, (userCountryMultiplier) => {\r\n const { percentage } = userCountryMultiplier;\r\n const countries = state.get('userCountries');\r\n const country = _.chain(countries)\r\n .findWhere({ Key: userCountryMultiplier.country })\r\n .result('Value', userCountryMultiplier.country)\r\n .value();\r\n\r\n return bidMultiplierTextFormat(country, percentage);\r\n }).join(', ');\r\n\r\n const res = `${i18n.getString('HotelCenter_Overview_UserCountry_Multipliers_Label')}: ${userCountryMultipliersText}`;\r\n\r\n return res;\r\n };\r\n\r\n const getCheckInDayMultipliersText = (checkInDayMultipliers) => {\r\n const checkInDayMultipliersText = _.map(checkInDayMultipliers, (checkInDayMultiplier) => {\r\n const { percentage } = checkInDayMultiplier;\r\n const name = i18n.getString(weekDayMap[checkInDayMultiplier.dayOfWeek]);\r\n\r\n return bidMultiplierTextFormat(name, percentage);\r\n }).join(', ');\r\n const res = `${i18n.getString('HotelCenter_Overview_CheckinDay_Multipliers_Label')}: ${checkInDayMultipliersText}`;\r\n\r\n return res;\r\n };\r\n\r\n const getLengthOfStayMultipliersText = (lengthOfStayMultipliers) => {\r\n const lengthOfStayMultipliersText = _.map(lengthOfStayMultipliers, (lengthOfStayMultiplier) => {\r\n const percentage = lengthOfStayMultiplier.factor;\r\n const name = lengthOfStayMultiplier.value;\r\n\r\n return bidMultiplierTextFormat(name, percentage);\r\n }).join(', ');\r\n\r\n const res = `${i18n.getString('HotelCenter_Overview_LengthOfStay_Multipliers_Label')}: ${lengthOfStayMultipliersText}`;\r\n\r\n return res;\r\n };\r\n\r\n\r\n const getMultipliersText = (input, hasPreLabel = true, defaultText = '') => {\r\n const res = [];\r\n\r\n if (_.isEmpty(input)) {\r\n return defaultText;\r\n }\r\n const bidMultipliers = deserializeBidMultipliers(input);\r\n\r\n // generate device type multipliers text\r\n if (bidMultipliers.deviceType.length !== 0) {\r\n res.push(i18n.getString('HotelCenter_Overview_DeviceType_Multipliers_Label_Short'));\r\n }\r\n\r\n // generate user country multipliers text\r\n if (bidMultipliers.userCountry.length !== 0) {\r\n res.push(i18n.getString('HotelCenter_Overview_UserCountry_Multipliers_Label_Short'));\r\n }\r\n\r\n // generate check in day multipliers text\r\n if (bidMultipliers.checkInDay.length !== 0) {\r\n res.push(i18n.getString('HotelCenter_Overview_CheckinDay_Multipliers_Label_Short'));\r\n }\r\n\r\n // generate length of stay multipliers text\r\n if (bidMultipliers.lengthOfStay.length !== 0) {\r\n res.push(i18n.getString('HotelCenter_Overview_LengthOfStay_Multipliers_Label_Short'));\r\n }\r\n\r\n // generate advanced booking multipliers text\r\n if (bidMultipliers.advancedBooking.length !== 0) {\r\n res.push(i18n.getString('HotelCenter_Overview_AdvancedBooking_Multipliers_Label_Short'));\r\n }\r\n\r\n // generate date type multipliers text\r\n if (bidMultipliers.dateType.length !== 0) {\r\n res.push(i18n.getString('HotelCenter_Overview_DateType_Multipliers_Label_Short'));\r\n }\r\n\r\n // generate site type multipliers text\r\n if (bidMultipliers.siteType.length !== 0) {\r\n res.push(i18n.getString('HotelCenter_Overview_SiteType_Multipliers_Label_Short'));\r\n }\r\n\r\n if (res.length === 0) {\r\n return '';\r\n }\r\n return hasPreLabel ? `${i18n.getString('HotelCenter_Overview_Multipliers_PreLabel')}${res.join(', ')}` : res.join(', ');\r\n };\r\n\r\n const getMultipliersDetailText = (input, defaultText = '') => {\r\n if (_.isEmpty(input)) {\r\n return defaultText;\r\n }\r\n const bidMultipliers = deserializeBidMultipliers(input);\r\n\r\n const convert2text = {\r\n deviceType: getDeviceTypeMultipliersText,\r\n dateType: getDateTypeMultipliersText,\r\n siteType: getSiteTypeMultipliersText,\r\n userCountry: getUserCountriesMultipliersText,\r\n checkInDay: getCheckInDayMultipliersText,\r\n lengthOfStay: getLengthOfStayMultipliersText,\r\n };\r\n\r\n return _.chain(bidMultipliers)\r\n .map((value, key) => {\r\n if (_.isFunction(convert2text[key]) && !_.isEmpty(value)) {\r\n return convert2text[key](value);\r\n }\r\n return null;\r\n })\r\n .compact()\r\n .join(';')\r\n .value();\r\n };\r\n\r\n const addDeviceTypeBidMultipliers = bidMultiplier => (_.isUndefined(bidMultiplier.factor) ? {} : {\r\n DeviceTypes: [bidMultiplier.value],\r\n Factor: bidMultiplier.factor,\r\n '@odata.type': '#Model.DeviceMultiplier',\r\n });\r\n\r\n const addDateTypeBidMultipliers = bidMultiplier => (_.isUndefined(bidMultiplier.factor) ? {} : {\r\n DateType: bidMultiplier.value,\r\n Factor: bidMultiplier.factor,\r\n '@odata.type': '#Model.DateTypeMultiplier',\r\n });\r\n\r\n\r\n const addSiteTypeBidMultipliers = bidMultiplier => (_.isUndefined(bidMultiplier.factor) ? {} : {\r\n Sites: [bidMultiplier.value],\r\n Factor: bidMultiplier.factor,\r\n '@odata.type': '#Model.SiteMultiplier',\r\n });\r\n\r\n const addUserCountryBidMultipliers = bidMultiplier =>\r\n (_.isUndefined(bidMultiplier.factor) ? {} : {\r\n Countries: [bidMultiplier.value],\r\n Factor: bidMultiplier.factor,\r\n '@odata.type': '#Model.UserCountryMultiplier',\r\n });\r\n\r\n const addCheckInDayBidMultipliers = bidMultiplier =>\r\n (_.isUndefined(bidMultiplier.factor) ? {} : {\r\n DaysOfWeek: [bidMultiplier.value],\r\n Factor: bidMultiplier.factor,\r\n '@odata.type': '#Model.CheckinDayOfWeekMultiplier',\r\n });\r\n\r\n const addLengthOfStayBidMultipliers = bidMultiplier =>\r\n (_.isUndefined(bidMultiplier.factor) ? {} : {\r\n MinimumNumberOfNights: Number(bidMultiplier.value),\r\n Factor: bidMultiplier.factor,\r\n '@odata.type': '#Model.LengthOfStayMultiplier',\r\n });\r\n\r\n const addAdvancedBookingBidMultipliers = bidMultiplier =>\r\n (_.isUndefined(bidMultiplier.factor) ? {} : {\r\n MinimumNumberOfDays: Number(bidMultiplier.value),\r\n Factor: bidMultiplier.factor,\r\n '@odata.type': '#Model.AdvanceBookingWindowMultiplier',\r\n });\r\n\r\n const serializeBidMultipliers = (bidMultipliers) => {\r\n const res = [];\r\n\r\n _.each(bidMultipliers, (bidMultiplier) => {\r\n if (bidMultiplier.type === 'deviceType') {\r\n res.push(addDeviceTypeBidMultipliers(bidMultiplier));\r\n } else if (bidMultiplier.type === 'dateType') {\r\n res.push(addDateTypeBidMultipliers(bidMultiplier));\r\n } else if (bidMultiplier.type === 'siteType') {\r\n res.push(addSiteTypeBidMultipliers(bidMultiplier));\r\n } else if (bidMultiplier.type === 'userCountry') {\r\n res.push(addUserCountryBidMultipliers(bidMultiplier));\r\n } else if (bidMultiplier.type === 'checkInDay') {\r\n res.push(addCheckInDayBidMultipliers(bidMultiplier));\r\n } else if (bidMultiplier.type === 'lengthOfStay') {\r\n res.push(addLengthOfStayBidMultipliers(bidMultiplier));\r\n } else if (bidMultiplier.type === 'advancedBooking') {\r\n res.push(addAdvancedBookingBidMultipliers(bidMultiplier));\r\n }\r\n });\r\n\r\n return _.filter(res, item => !_.isEmpty(item));\r\n };\r\n\r\n return {\r\n bidMultiplierUtils: {\r\n weekDayMap,\r\n formatStaySegments,\r\n getMultipliersState,\r\n serializeBidMultipliers,\r\n getMultipliersDetailText,\r\n getMultipliersText,\r\n },\r\n };\r\n};\r\n\r\n","import { getBidUtils } from './src/bid-utils';\r\nimport { getDateUtils } from './src/date-utils';\r\nimport { getBidMultiplierUtils } from './src/bid-multiplier-utils';\r\nimport { getInlineDownloadUtils } from './src/inline-download-utils';\r\n\r\nexport const getHotelCenterUtils = ({ pageContext, i18n, state } = {}) => ({\r\n ...getBidUtils({ pageContext, i18n }),\r\n ...getDateUtils({ pageContext }),\r\n ...getBidMultiplierUtils({ i18n, state }),\r\n ...getInlineDownloadUtils(),\r\n});\r\n","import _ from 'underscore';\r\n\r\nexport const getBidUtils = ({ i18n, pageContext }) => {\r\n if (!i18n || !pageContext) {\r\n return {};\r\n }\r\n const getText = (jsonValue, defaultText = '') => {\r\n if (_.isNull(jsonValue) || jsonValue.Amount < 0) {\r\n return defaultText;\r\n }\r\n const amount = i18n.formatDecimalToFixed(jsonValue.Amount);\r\n const addonText = _.result({\r\n '#Model.FixedBid': pageContext.AccountCurrencyCode,\r\n '#Model.PercentageBid': pageContext.DecimalFormatter.percentSymbol,\r\n }, jsonValue['@odata.type'], pageContext.AccountCurrencyCode);\r\n\r\n return [amount, addonText].join(' ');\r\n };\r\n\r\n return {\r\n bidUtils: {\r\n getText,\r\n },\r\n };\r\n};\r\n","export const getDateUtils = ({ pageContext }) => {\r\n if (!pageContext) {\r\n return {};\r\n }\r\n\r\n const accountTimeZoneOffsetMinutes = pageContext.UtcOffsetHours * 60;\r\n const localTimeZoneOffsetMinutes = (new Date()).getTimezoneOffset();\r\n const totalOffset = (localTimeZoneOffsetMinutes + accountTimeZoneOffsetMinutes) * 60000;\r\n\r\n\r\n const local2account = date =>\r\n new Date(date.getTime() + totalOffset);\r\n\r\n const account2local = date =>\r\n new Date(date.getTime() - totalOffset);\r\n\r\n return {\r\n dateUtils: {\r\n local2account,\r\n account2local,\r\n },\r\n };\r\n};\r\n\r\n","import _ from 'underscore';\r\n\r\nexport const getInlineDownloadUtils = () => {\r\n const processReportRuleForHotelCenterBIDimensionRow = ReportRule => _.defaults({\r\n SaveReport: true,\r\n Selection: _.defaults({\r\n '@odata.type': '#Model.DimensionReportSelection',\r\n Type: 'VerticalPerformance',\r\n }, ReportRule.Selection),\r\n }, ReportRule);\r\n\r\n const processReportRuleForHotelCenterBookingRow = ReportRule => _.defaults({\r\n SaveReport: true,\r\n Selection: _.defaults({\r\n '@odata.type': '#Model.DimensionReportSelection',\r\n Type: 'VerticalBookingDetails',\r\n }, ReportRule.Selection),\r\n }, ReportRule);\r\n\r\n return {\r\n inlineDownloadUtils: {\r\n processReportRuleForHotelCenterBIDimensionRow,\r\n processReportRuleForHotelCenterBookingRow,\r\n },\r\n };\r\n};\r\n\r\n","import { useRef, useEffect } from 'react';\r\n\r\nexport function useDidUpdate(callback, deps) {\r\n const isMounted = useRef();\r\n\r\n useEffect(() => {\r\n if (!isMounted.current) {\r\n // do componentDidMount logic\r\n isMounted.current = true;\r\n } else {\r\n // do componentDidUpdate logic\r\n callback();\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, deps);\r\n}\r\n","import { useState } from 'react';\r\n\r\nexport function useConstructor(callback) {\r\n const [v, setV] = useState(() => callback());\r\n return [v, setV];\r\n}\r\n","\r\nimport React, { useContext } from 'react';\r\nimport classnames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { I18nContext } from '@bingads-webui-react/i18n-context';\r\nimport { useDefaultStyles } from '@bingads-webui-react/with-default-styles';\r\nimport { Label } from '@bingads-webui-react/fabric-control';\r\n\r\nconst getStyles = () => ({\r\n CampaignName: {\r\n },\r\n});\r\n\r\nexport const CampaignName = React.memo((props) => {\r\n const {\r\n campaignName,\r\n } = props;\r\n const i18n = useContext(I18nContext);\r\n const classes = useDefaultStyles(getStyles);\r\n return (\r\n