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gB,EAGhF","sources":["webpack://Citta2.0/./src/modules/citta-gift-card-balance-check/citta-gift-card-balance-check.tsx?23d3","webpack://Citta2.0/./src/modules/citta-gift-card-balance-check/citta-gift-card-balance-check.view.tsx?0578","webpack://Citta2.0/./src/data-actions/stockists/stockists-cityorstate-data.ts?5497","webpack://Citta2.0/./src/data-actions/stockists/stockists-country-data.ts?5b55","webpack://Citta2.0/./src/data-actions/stockists/stockists-store.ts?de24","webpack://Citta2.0/./src/modules/citta-stockists/citta-stockists.tsx?a7d2","webpack://Citta2.0/./src/modules/citta-stockists/citta-stockists.view.tsx?9f42","webpack://Citta2.0/./src/modules/tile-list-item/components/links.tsx?c969","webpack://Citta2.0/./src/modules/tile-list-item/tile-list-item.tsx?114a","webpack://Citta2.0/./src/modules/tile-list-item/tile-list-item.view.tsx?19a8"],"sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\nimport { IModuleProps, INodeProps } from '@msdyn365-commerce-modules/utilities';\r\nimport classnames from 'classnames';\r\nimport * as React from 'react';\r\nimport { getGiftCardBalanceCheck, GiftCardBalanceCheckInput } from '../../data-actions/gift-card/get-card-balance';\r\nimport { ICittaGiftCardBalanceCheckData, ICittaGiftCardBalanceCheckResult } from './citta-gift-card-balance-check.data';\r\nimport { ICittaGiftCardBalanceCheckProps } from './citta-gift-card-balance-check.props.autogenerated';\r\ntype CittaGiftCardBalanceCheckStateKeys = 'c' | 'p';\r\n\r\ninterface ICittaGiftCardBalanceCheckState {\r\n /**\r\n * The gift card number\r\n */\r\n card: string;\r\n /**\r\n * The gift card pin\r\n */\r\n pin: string;\r\n\r\n /**\r\n * The balance check result\r\n */\r\n result?: ICittaGiftCardBalanceCheckResult;\r\n\r\n /**\r\n * Flag to determine if we are processing a lookup request\r\n */\r\n processing: boolean;\r\n}\r\n\r\nexport interface ICittaGiftCardBalanceCheckViewProps extends ICittaGiftCardBalanceCheckProps, ICittaGiftCardBalanceCheckState {\r\n GiftCardBalanceCheckModuleProps: IModuleProps;\r\n GiftCardBalanceCheckCardNodeProps: INodeProps;\r\n GiftCardBalanceCheckCardNode: React.ReactNode;\r\n GiftCardBalanceCheckPinNodeProps: INodeProps;\r\n GiftCardBalanceCheckPinNode: React.ReactNode;\r\n GiftCardBalanceCheckResultNode: React.ReactNode;\r\n GiftCardBalanceCheckButtonNode: React.ReactNode;\r\n}\r\n\r\n/**\r\n *\r\n * CittaGiftCardBalanceCheck component\r\n * @extends {React.PureComponent, ICittaGiftCardBalanceCheckState>}\r\n */\r\nclass CittaGiftCardBalanceCheck extends React.PureComponent, ICittaGiftCardBalanceCheckState> {\r\n private static defaultConfig: string[] = ['Card Number', 'Pin Number', 'Checking...'];\r\n private static propsIndex: string[] = ['cardNumberPlaceholderText', 'pinNumberPlaceholderText', 'lookupWaitText'];\r\n /**\r\n * Gift Card Ref\r\n */\r\n private cardRef: React.RefObject;\r\n /**\r\n * Pin for gift card Ref\r\n */\r\n private pinRef: React.RefObject;\r\n\r\n public constructor(props: ICittaGiftCardBalanceCheckProps) {\r\n super(props);\r\n\r\n // binds\r\n this._checkBalance = this._checkBalance.bind(this);\r\n this._areRefsValid = this._areRefsValid.bind(this);\r\n this._renderLookupResult = this._renderLookupResult.bind(this);\r\n this._renderFailure = this._renderFailure.bind(this);\r\n\r\n // refs\r\n this.cardRef = React.createRef();\r\n this.pinRef = React.createRef();\r\n\r\n // state init\r\n this.state = { card: '', pin: '', processing: false };\r\n }\r\n public render(): JSX.Element | null {\r\n const config = this.props.config;\r\n this._mergeWithDefaults();\r\n\r\n const CittaGiftCardBalanceCheckViewProps = {\r\n ...this.props,\r\n GiftCardBalanceCheckModuleProps: {\r\n moduleProps: this.props,\r\n className: classnames('citta-gift-card-balance-check', config.className)\r\n },\r\n GiftCardBalanceCheckCardNodeProps: {\r\n className: 'card-number-wrapper input-wrapper'\r\n },\r\n GiftCardBalanceCheckCardNode: this._renderCard(),\r\n GiftCardBalanceCheckPinNodeProps: {\r\n className: 'card-pin-wrapper input-wrapper'\r\n },\r\n GiftCardBalanceCheckPinNode: this._renderPin(),\r\n GiftCardBalanceCheckResultNode: this._renderLookupResult(),\r\n GiftCardBalanceCheckButtonNode: this._renderCheckBalance()\r\n };\r\n\r\n return this.props.renderView(CittaGiftCardBalanceCheckViewProps) as React.ReactElement;\r\n }\r\n\r\n private _mergeWithDefaults(): void {\r\n const propsIndex = CittaGiftCardBalanceCheck.propsIndex;\r\n const defaultConfig = CittaGiftCardBalanceCheck.defaultConfig;\r\n const config = this.props.config;\r\n for (let keyIndex = 0; keyIndex < propsIndex.length; keyIndex++) {\r\n const keyName = propsIndex[keyIndex];\r\n config[keyName] = config[keyName] || defaultConfig[keyIndex];\r\n }\r\n }\r\n\r\n private _renderCard(): React.ReactNode {\r\n const { cardNumberPlaceholderText } = this.props.config;\r\n return (\r\n \r\n );\r\n }\r\n\r\n private _renderPin(): React.ReactNode {\r\n const { pinNumberPlaceholderText } = this.props.config;\r\n return (\r\n \r\n );\r\n }\r\n\r\n private _renderCheckBalance(): React.ReactNode {\r\n const submitButtonProps: React.ButtonHTMLAttributes<{}> = {\r\n // disable if we're invalid or if we're processing a request\r\n disabled: !this._areRefsValid() || this.state.processing\r\n } as React.ButtonHTMLAttributes<{}>;\r\n return (\r\n \r\n {this.props.resources.buttonTextForGiftCardBalanceCheck || 'check balance'}\r\n \r\n );\r\n }\r\n\r\n private _renderLookupResult = (): React.ReactNode | null => {\r\n const { result } = this.state;\r\n if (!result) {\r\n return;\r\n }\r\n if (this.state.processing) {\r\n return
{this.props.config.lookupWaitText}
;\r\n }\r\n const { success, balance, message } = result;\r\n const className = success ? 'success' : 'fail';\r\n return (\r\n
\r\n {\r\n success ? this._renderSuccess(message, balance) : this._renderFailure(message)\r\n }\r\n
\r\n );\r\n }\r\n\r\n private _renderFailure(message?: string): React.ReactNode | null {\r\n return
{message || this.props.config.lookupFailureMessage}
;\r\n }\r\n\r\n private _renderSuccess(message?: string, balance?: number): React.ReactNode | null {\r\n const formattedBalance: string = this.props.context.cultureFormatter.formatCurrency(balance || '' as React.ReactText);\r\n return (\r\n <>\r\n {message &&
{message}
}\r\n
{this.props.resources.labelForSuccessfulGiftCardBalanceCheckResponse || 'Balance: '} {formattedBalance}
\r\n \r\n );\r\n }\r\n\r\n private _areRefsValid(): boolean {\r\n const refKeys = ['cardRef', 'pinRef'];\r\n for (let keyIndex = 0; keyIndex < refKeys.length; keyIndex++) {\r\n const ref: React.RefObject | undefined = this[refKeys[keyIndex]];\r\n if (!ref || !ref.current || !ref.current.value) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n private _capture = (key: CittaGiftCardBalanceCheckStateKeys) => (event: React.ChangeEvent) => {\r\n const newState = { [key]: event.target.value };\r\n // @ts-ignore -- type is valid\r\n this.setState(newState);\r\n }\r\n\r\n private _checkBalance(): void {\r\n this.setState(previousState => {\r\n return {\r\n ...previousState,\r\n processing: true\r\n };\r\n // tslint:disable-next-line:align\r\n }, () => {\r\n // tslint:disable-next-line:no-floating-promises\r\n getGiftCardBalanceCheck(new GiftCardBalanceCheckInput(this.cardRef.current!.value, this.pinRef.current!.value), this.props.context.actionContext)\r\n .then((result) => {\r\n this.cardRef && this.cardRef.current && this.cardRef.current.value ? this.cardRef.current.value = '' : null;\r\n this.pinRef && this.pinRef.current && this.pinRef.current.value ? this.pinRef.current.value = '' : null;\r\n this.setState({\r\n result,\r\n processing: false\r\n });\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport default CittaGiftCardBalanceCheck;\r\n","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\n\r\nimport { Module, Node } from '@msdyn365-commerce-modules/utilities';\r\nimport * as React from 'react';\r\nimport { ICittaGiftCardBalanceCheckViewProps } from './citta-gift-card-balance-check';\r\nexport default (props: ICittaGiftCardBalanceCheckViewProps) => {\r\n const { GiftCardBalanceCheckModuleProps,\r\n GiftCardBalanceCheckCardNodeProps,\r\n GiftCardBalanceCheckCardNode,\r\n GiftCardBalanceCheckPinNodeProps,\r\n GiftCardBalanceCheckPinNode,\r\n GiftCardBalanceCheckResultNode,\r\n GiftCardBalanceCheckButtonNode } = props;\r\n return (\r\n \r\n \r\n {GiftCardBalanceCheckCardNode}\r\n \r\n \r\n {GiftCardBalanceCheckPinNode}\r\n \r\n {GiftCardBalanceCheckResultNode}\r\n {GiftCardBalanceCheckButtonNode}\r\n \r\n );\r\n};\r\n","import { CacheType, createObservableDataAction, IAction, IActionContext, IActionInput, IAny, ICreateActionContext, IGeneric } from '@msdyn365-commerce/core';\r\nimport { dXC_GetCityStateMasterAsync } from '../generated/DataActionExtension.g';\r\nimport { IDXC_GetCityStateMasterResponse } from '../generated/DataServiceEntities.g';\r\n\r\n/**\r\n * GetStockistsCityorStateInput class\r\n */\r\nexport class GetStockistsCityOrStateInput implements IActionInput {\r\n public countrycode: string;\r\n\r\n constructor(countrycode: string) {\r\n this.countrycode = countrycode;\r\n }\r\n public getCacheKey = () =>`StockistsCityorStateRegionInfo${this.countrycode}`;\r\n public getCacheObjectType = () => 'StockistsCityorStateRegionInfo';\r\n public dataCacheType = (): CacheType => 'request';\r\n}\r\n\r\n/**\r\n * Creates the input required to make the retail api call\r\n */\r\nconst createInput = (inputData: ICreateActionContext>): GetStockistsCityOrStateInput => {\r\n const { locale } = inputData.requestContext;\r\n if (!(inputData.requestContext && locale)) {\r\n throw new Error('Unable to create country regions input. Locale is not provided.');\r\n }\r\n\r\n return new GetStockistsCityOrStateInput(locale);\r\n};\r\n\r\nexport async function getStockcistsCityorStateAction(input: GetStockistsCityOrStateInput, ctx: IActionContext): Promise {\r\n console.log(`CityorState action called`);\r\n\r\n let result: IDXC_GetCityStateMasterResponse = { Result: 'failure' };\r\n\r\n try {\r\n result = await dXC_GetCityStateMasterAsync({ callerContext: ctx }, input.countrycode);\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n return Array.isArray(result) ? result[0] : result;\r\n}\r\n\r\nexport const IGetStockcistsCityorStateAction = createObservableDataAction({\r\n action: >getStockcistsCityorStateAction,\r\n input: createInput\r\n});\r\n","/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\nimport { CacheType, createObservableDataAction, IAction, IActionContext, IActionInput } from '@msdyn365-commerce/core';\r\nimport { dXC_GetCountryMasterAsync } from '../generated/DataActionExtension.g';\r\nimport { IDXC_GetCountryMasterResponse } from '../generated/DataServiceEntities.g';\r\n\r\n/**\r\n * GetStockistsCountryInput class\r\n */\r\nexport class GetStockistsCountryRegionsInput implements IActionInput {\r\n\r\n public getCacheKey = () => `StockistsCountryRegionInfo`;\r\n public getCacheObjectType = () => 'StockistsCountryRegionInfo';\r\n public dataCacheType = (): CacheType => 'request';\r\n}\r\n\r\n/**\r\n * Creates the input required to make the retail api call\r\n */\r\nconst createInput = (args: GetStockistsCountryRegionsInput): IActionInput => {\r\n return args;\r\n};\r\n\r\nexport async function getStockcistsCountryRegionsAction(input: GetStockistsCountryRegionsInput, ctx: IActionContext)\r\n : Promise {\r\n console.log(`country action called`);\r\n let result: IDXC_GetCountryMasterResponse = { Result: 'failure' };\r\n try {\r\n result = await dXC_GetCountryMasterAsync(\r\n { callerContext: ctx }\r\n );\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n return Array.isArray(result) ? result[0] : result;\r\n}\r\n\r\nexport const IGetStockcistsCountryRegionsAction = createObservableDataAction({\r\n action: >getStockcistsCountryRegionsAction,\r\n input: createInput\r\n});\r\n","import { CacheType, createObservableDataAction, IAction, IActionContext, IActionInput, IAny, ICreateActionContext, IGeneric } from '@msdyn365-commerce/core';\r\nimport { dXC_GetStockistsAsync } from '../generated/DataActionExtension.g';\r\nimport { IDXC_GetStockistsServiceResponse } from '../generated/DataServiceEntities.g';\r\n\r\n/**\r\n * GetStockistsStoreInput class\r\n */\r\nexport class GetStockistsStoreInput implements IActionInput {\r\n public countrycode?: string;\r\n public cityorstate?: string;\r\n public searchstr?: string;\r\n\r\n constructor(countrycode?: string, cityorstate?: string, searchstr?: string) {\r\n this.countrycode = countrycode;\r\n this.cityorstate = cityorstate;\r\n this.searchstr = searchstr;\r\n }\r\n public getCacheKey = () =>`StockistsStoreInfo${this.countrycode}`;\r\n public getCacheObjectType = () => 'StockistsStoreInfo';\r\n public dataCacheType = (): CacheType => 'request';\r\n}\r\n\r\n/**\r\n * Creates the input required to make the retail api call\r\n */\r\nconst createInput = (inputData: ICreateActionContext>): GetStockistsStoreInput => {\r\n const { locale } = inputData.requestContext;\r\n if (!(inputData.requestContext && locale)) {\r\n throw new Error('Unable to create country regions input. Locale is not provided.');\r\n }\r\n\r\n return new GetStockistsStoreInput(locale);\r\n};\r\n\r\nexport async function getStockcistsStoreAction(input: GetStockistsStoreInput, ctx: IActionContext): Promise {\r\n console.log(`CityorState action called`);\r\n\r\n let result: IDXC_GetStockistsServiceResponse = { Result: 'failure' };\r\n const country = input.countrycode || '';\r\n const cityorstate = input.cityorstate || '';\r\n const searchstr = input.searchstr || '';\r\n try {\r\n result = await dXC_GetStockistsAsync({ callerContext: ctx }, country, cityorstate, searchstr);\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n return Array.isArray(result) ? result[0] : result;\r\n}\r\n\r\nexport const IGetStockcistsStoreAction = createObservableDataAction({\r\n action: >getStockcistsStoreAction,\r\n input: createInput\r\n});\r\n","/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\nimport { Button, IModuleProps, INodeProps, NodeTag } from '@msdyn365-commerce-modules/utilities';\r\nimport classnames from 'classnames';\r\nimport { observable } from 'mobx';\r\nimport * as React from 'react';\r\nimport { IDXC_GetCityStateMasterResponse, IDXC_GetCountryMasterResponse, IDXC_GetStockistsServiceResponse } from '../../data-actions/generated/DataServiceEntities.g';\r\nimport { getStockcistsCityorStateAction, GetStockistsCityOrStateInput } from '../../data-actions/stockists/stockists-cityorstate-data';\r\nimport { getStockcistsCountryRegionsAction, GetStockistsCountryRegionsInput } from '../../data-actions/stockists/stockists-country-data';\r\nimport { getStockcistsStoreAction, GetStockistsStoreInput } from '../../data-actions/stockists/stockists-store';\r\nimport { IDXC_CountryView, IDXC_StockistsTable } from '../../modal/stockistsListTable';\r\nimport { ICittaStockistsData } from './citta-stockists.data';\r\nimport { ICittaStockistsProps } from './citta-stockists.props.autogenerated';\r\n\r\nexport interface ICittaStockistsState {\r\n countrySelected: string;\r\n stateorcitySelected: string;\r\n searchString: string;\r\n countryList: [];\r\n stateList: [];\r\n stockistList: [];\r\n}\r\n\r\nexport interface ICittaStockistsViewProps extends ICittaStockistsProps {\r\n stockistMain: INodeProps;\r\n stockistGrid: INodeProps;\r\n StockistContainer: IModuleProps;\r\n inputWrap: INodeProps;\r\n stockistTop: INodeProps;\r\n inputThirds: INodeProps;\r\n createStockistsAddress: React.ReactNode;\r\n createCountryDropDown: React.ReactNode;\r\n createCityStateDropDown: React.ReactNode;\r\n createSearchAddress: React.ReactNode;\r\n}\r\n\r\n/**\r\n *\r\n * CittaStockists component\r\n * @extends {React.PureComponent>}\r\n */\r\nclass CittaStockists extends React.PureComponent> {\r\n public state: ICittaStockistsState = {\r\n countrySelected: '',\r\n stateorcitySelected: '',\r\n searchString: '',\r\n countryList: [],\r\n stateList: [],\r\n stockistList: []\r\n };\r\n\r\n @observable private _countryList: IDXC_GetCountryMasterResponse | undefined;\r\n @observable private _stateList: IDXC_GetCityStateMasterResponse | undefined;\r\n @observable private _stockistList: IDXC_GetStockistsServiceResponse | undefined;\r\n\r\n private _countrySelectRef: React.RefObject;\r\n private _stateorcitySelectRef: React.RefObject;\r\n private _searchInputRef: React.RefObject;\r\n\r\n public constructor(props: ICittaStockistsProps) {\r\n super(props);\r\n this._countrySelectRef = React.createRef();\r\n this._stateorcitySelectRef = React.createRef();\r\n this._searchInputRef = React.createRef();\r\n }\r\n\r\n public async componentDidMount(): Promise {\r\n this._getCountryList().catch(err => console.log(err));\r\n this._getStateProvinces('').catch(err => console.log(err));\r\n this._getStockistsList().catch(err => console.log(err));\r\n }\r\n public render(): JSX.Element {\r\n const viewProps = {\r\n ...this.props,\r\n StockistContainer: {\r\n moduleProps: this.props,\r\n className: classnames('infoSection')\r\n },\r\n stockistTop: {\r\n tag: 'div' as NodeTag,\r\n className: classnames('stockistTop', 'inputThirds')\r\n },\r\n stockistMain: {\r\n tag: 'div' as NodeTag,\r\n className: classnames('stockistMain')\r\n },\r\n stockistGrid: {\r\n tag: 'div' as NodeTag,\r\n className: classnames('stockistGrid')\r\n },\r\n createCityStateDropDown: this._renderCityStateDropDown(),\r\n createCountryDropDown: this._renderCountryDropDown(),\r\n createStockistsAddress: this._renderStockistsAddress(),\r\n createSearchAddress: this._renderSearchAddress(),\r\n };\r\n return this.props.renderView(viewProps) as React.ReactElement;\r\n }\r\n private _renderSearchAddress(): React.ReactNode {\r\n const searchPlaceholder = this.props && this.props.resources && this.props.resources.searchPlaceholder ? this.props.resources.searchPlaceholder : 'Search by Address';\r\n return (\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n }\r\n private _handleSearch = (e: React.MouseEvent | React.KeyboardEvent) => {\r\n const searchStr = (this._searchInputRef && this._searchInputRef.current && this._searchInputRef.current.value) ? this._searchInputRef.current.value : '';\r\n const countryValue = (this._countrySelectRef && this._countrySelectRef.current && this._countrySelectRef.current.value) ? this._countrySelectRef.current.value : '';\r\n const stateValue = (this._stateorcitySelectRef && this._stateorcitySelectRef.current && this._stateorcitySelectRef.current.value) ? this._stateorcitySelectRef.current.value : '';\r\n try {\r\n this._getStockistsList(countryValue, stateValue, searchStr).catch(err => console.log(err));\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n private _changeSearchText = (ref: React.RefObject) => (e: React.ChangeEvent) => {\r\n this.setState(\r\n { searchString: e.target.value }\r\n );\r\n }\r\n private _renderCityStateDropDown(): React.ReactNode {\r\n const citaAndStatePlaceholder = this.props && this.props.resources && this.props.resources.citaAndStatePlaceholder ? this.props.resources.citaAndStatePlaceholder : 'All Cities/States';\r\n return (\r\n
\r\n
\r\n \r\n \r\n {this._renderStateorCityList()}\r\n \r\n
\r\n
\r\n );\r\n }\r\n private _renderCountryDropDown(): React.ReactNode {\r\n const countryPlaceholder = this.props && this.props.resources && this.props.resources.countryPlaceholder ? this.props.resources.countryPlaceholder : 'All Country';\r\n return (\r\n
\r\n
\r\n \r\n \r\n {this._renderCountryList()}\r\n \r\n
\r\n
\r\n );\r\n }\r\n private _onStateorCityChange = (e: React.ChangeEvent) => {\r\n this.setState({ stateorcitySelected: e.target.value || '' });\r\n this._getStockistsList(this.state.countrySelected, e.target.value).catch(err => console.log(err));\r\n }\r\n private _renderStateorCityList(): JSX.Element[] | null {\r\n const stateorcity = this.state.stateList as IDXC_GetCityStateMasterResponse;\r\n if (stateorcity && stateorcity.CityStateMaster) {\r\n return stateorcity.CityStateMaster.map((stateorcityItem) =>\r\n this._getCities(stateorcityItem)\r\n );\r\n } else {\r\n return null;\r\n }\r\n }\r\n private _getCities(stateorcityItem: string): JSX.Element {\r\n return ;\r\n }\r\n private _renderCountryList(): JSX.Element[] | null {\r\n const country = this.state.countryList as IDXC_GetCountryMasterResponse;\r\n if (country && country.CountryMaster) {\r\n return country.CountryMaster.map((countryItem: IDXC_CountryView) =>\r\n this._getCountries(countryItem)\r\n );\r\n } else {\r\n return null;\r\n }\r\n }\r\n private _getCountries(countryItem: IDXC_CountryView): JSX.Element {\r\n return ;\r\n }\r\n private _onCountryChange = (e: React.ChangeEvent) => {\r\n this.setState({ countrySelected: e.target.value || '' });\r\n this._getStateProvinces(e.target.value).catch(err => console.log(err));\r\n this._getStockistsList(e.target.value).catch(err => console.log(err));\r\n }\r\n private _renderStockistsAddress(): React.ReactNode {\r\n const stockistList = this.state.stockistList as IDXC_GetStockistsServiceResponse;\r\n if (stockistList && stockistList.StockistsList) {\r\n return stockistList.StockistsList.map((stockist: IDXC_StockistsTable) =>\r\n (\r\n
\r\n

{stockist.Name}

\r\n
\r\n {stockist.StreetNumber} {stockist.Street}\r\n
\r\n {stockist.District ?
{`${stockist.District}`}
: ''}\r\n {stockist.City} {stockist.PostalCode}
\r\n {stockist.CountryCode === 'AUS' ? stockist.State : ''} {stockist.CountryName}
\r\n {stockist.PhoneNumber ? {stockist.PhoneNumber} : null}
\r\n {stockist.Email ? {stockist.Email} : null}\r\n
\r\n
\r\n
\r\n )\r\n );\r\n } else {\r\n return null;\r\n }\r\n }\r\n\r\n private async _getCountryList(): Promise {\r\n let response: IDXC_GetCountryMasterResponse;\r\n if (this.props.context && this.props.context.actionContext) {\r\n try {\r\n const input = new GetStockistsCountryRegionsInput();\r\n response = await getStockcistsCountryRegionsAction(input, this.props.context.actionContext);\r\n this._countryList = response;\r\n if (this._countryList) {\r\n this.setState({\r\n countryList: this._countryList\r\n });\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n }\r\n\r\n private async _getStateProvinces(countryCode: string): Promise {\r\n let response: IDXC_GetCountryMasterResponse;\r\n if (this.props.context && this.props.context.actionContext) {\r\n try {\r\n const input = new GetStockistsCityOrStateInput(countryCode);\r\n response = await getStockcistsCityorStateAction(input, this.props.context.actionContext);\r\n this._stateList = response;\r\n if (this._stateList) {\r\n this.setState({\r\n stateList: this._stateList\r\n });\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n }\r\n\r\n private async _getStockistsList(countryCode?: string, cityorstate?: string, searchStr?: string): Promise {\r\n let response: IDXC_GetStockistsServiceResponse;\r\n if (this.props.context && this.props.context.actionContext) {\r\n try {\r\n const input = new GetStockistsStoreInput(countryCode, cityorstate, searchStr);\r\n response = await getStockcistsStoreAction(input, this.props.context.actionContext);\r\n this._stockistList = response;\r\n if (this._stockistList) {\r\n this.setState({\r\n stockistList: this._stockistList\r\n });\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n }\r\n}\r\nexport default CittaStockists;\r\n","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\nimport { Module,Node } from '@msdyn365-commerce-modules/utilities';\r\nimport * as React from 'react';\r\nimport { ICittaStockistsViewProps } from './citta-stockists';\r\n\r\nconst CittaStockistsViewProps: React.FC = props => {\r\n const { createStockistsAddress,stockistMain,stockistGrid,StockistContainer,stockistTop,createCountryDropDown,createCityStateDropDown,createSearchAddress } = props;\r\n if(!props.createStockistsAddress) {\r\n return null;\r\n }\r\n return(\r\n \r\n \r\n {createCountryDropDown}\r\n {createCityStateDropDown}\r\n {createSearchAddress}\r\n \r\n\r\n \r\n \r\n { createStockistsAddress}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default CittaStockistsViewProps;\r\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport * as Msdyn365 from '@msdyn365-commerce/core';\nimport { ArrayExtensions } from '@msdyn365-commerce-modules/retail-actions';\nimport { getPayloadObject, getTelemetryAttributes, ITelemetryContent, onTelemetryClick } from '@msdyn365-commerce-modules/utilities';\nimport * as React from 'react';\n\nimport { ILinksData } from '../tile-list-item.props.autogenerated';\n\n/**\n * Tile List links.\n */\nexport interface ITileListLinks {\n links: ILinksData[];\n requestContext: Msdyn365.IRequestContext;\n telemetryContent: ITelemetryContent;\n onTextChange?(index: number): (event: Msdyn365.ContentEditableEvent) => void;\n}\n\n/**\n *\n * ITileListLinks component.\n * @extends {React.PureComponent}\n */\nexport class TileListLinks extends React.PureComponent {\n public render(): JSX.Element {\n const editableLinks = this._mapEditableLinks(this.props.links);\n return (\n
\n {editableLinks && ArrayExtensions.hasElements(editableLinks) ? (\n \n ) : null}\n
\n );\n }\n\n /**\n * ITileListLinks component.\n * @param linkdata - Link data.\n * @returns Editable links.\n */\n private readonly _mapEditableLinks = (linkdata: ILinksData[]): Msdyn365.ILinksData[] | null => {\n if (!ArrayExtensions.hasElements(linkdata)) {\n return null;\n }\n const editableLinks: Msdyn365.ILinksData[] = [];\n for (const link of linkdata) {\n // Construct telemetry attribute to render\n const payLoad = getPayloadObject('click', this.props.telemetryContent, '', '');\n const linkText = link.linkText ? link.linkText : '';\n payLoad.contentAction.etext = linkText;\n const attributes = getTelemetryAttributes(this.props.telemetryContent, payLoad);\n const editableLink: Msdyn365.ILinksData = {\n ariaLabel: link.ariaLabel,\n className: 'ms-tile-list__link',\n linkText: link.linkText,\n linkUrl: link.linkUrl.destinationUrl,\n openInNewTab: link.openInNewTab,\n role: 'button',\n additionalProperties: attributes,\n onClick: onTelemetryClick(this.props.telemetryContent, payLoad, linkText)\n };\n editableLinks.push(editableLink);\n }\n\n return editableLinks;\n };\n}\nexport default TileListLinks;\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport * as Msdyn365 from '@msdyn365-commerce/core';\nimport { ArrayExtensions, StringExtensions } from '@msdyn365-commerce-modules/retail-actions';\nimport { getTelemetryObject, IModuleProps, INodeProps, ITelemetryContent, NodeTag } from '@msdyn365-commerce-modules/utilities';\nimport * as React from 'react';\n\nimport { TileListLinks } from './components';\nimport { IHeadingData, ITileListItemProps } from './tile-list-item.props.autogenerated';\n\n/**\n * Tile-list-item view props.\n */\nexport interface ITileListItemViewProps extends ITileListItemProps<{}> {\n heading?: React.ReactNode;\n paragraph?: React.ReactNode;\n links?: React.ReactNode;\n backgroundImage?: React.ReactNode;\n thumbnailImage?: React.ReactNode;\n tileListItem: IModuleProps;\n tileListContainer: INodeProps;\n tileListImageContainer: INodeProps;\n tileListThumbnailImageContainer: INodeProps;\n tileListHeadingContainer: INodeProps;\n}\n\n/**\n *\n * TileListItem component.\n * @extends {React.PureComponent>}\n */\nexport class TileListItem extends React.PureComponent> {\n private readonly _telemetryContent: ITelemetryContent = getTelemetryObject(\n this.props.context.request.telemetryPageName!,\n this.props.friendlyName,\n this.props.telemetry\n );\n\n public constructor(props: ITileListItemProps<{}>) {\n super(props);\n }\n\n public render(): JSX.Element {\n const { heading, paragraph, backgroundImage, thumbnailImage, redirectionUrl, links } = this.props.config;\n const tileListLinks = links && ArrayExtensions.hasElements(links) && (\n \n );\n const tileListLinkContainer = {\n tag: 'a' as NodeTag,\n className: 'ms-tile-list-container',\n role: 'link',\n href: redirectionUrl?.linkUrl.destinationUrl,\n 'aria-label': redirectionUrl?.ariaLabel,\n target: redirectionUrl?.openInNewTab ? '_blank' : undefined\n };\n\n const tileListButtonContainer = {\n tag: 'button' as NodeTag,\n className: 'ms-tile-list-container'\n };\n const viewProps: ITileListItemViewProps = {\n ...this.props,\n heading: this._createHeading(heading),\n paragraph: this._createParagraph(paragraph),\n backgroundImage: this._renderBackgroundImage(backgroundImage),\n thumbnailImage: this._renderThumbnailImage(thumbnailImage),\n links: tileListLinks,\n tileListItem: {\n moduleProps: this.props,\n className: ''\n },\n tileListContainer: redirectionUrl ? tileListLinkContainer : tileListButtonContainer,\n tileListImageContainer: {\n className: 'ms-tile-list__image'\n },\n tileListThumbnailImageContainer: {\n className: 'ms-tile-list__thumbnail_image',\n 'aria-hidden': 'true'\n },\n tileListHeadingContainer: {\n className: 'ms-tile-list__heading'\n }\n };\n\n return this.props.renderView(viewProps) as React.ReactElement;\n }\n\n /**\n * Handles heading content change event.\n * @param event - Content editable event.\n */\n public handleHeadingChange = (event: Msdyn365.ContentEditableEvent): void => {\n this.props.config.heading!.text = event.target.value;\n };\n\n /**\n * Handles paragraph content change event.\n * @param event - Content editable event.\n */\n public handleParagraphChange = (event: Msdyn365.ContentEditableEvent): void => {\n this.props.config.paragraph = event.target.value;\n };\n\n /**\n * Handles paragraph content change event.\n * @param linkIndex - Index of link in linkarray.\n * @returns Void.\n */\n public handleLinkTextChange = (linkIndex: number) => (event: Msdyn365.ContentEditableEvent): void => {\n if (this.props.config.links?.[Number(linkIndex)]) {\n this.props.config.links[Number(linkIndex)].linkText = event.target.value;\n }\n };\n\n private _createParagraph(text?: Msdyn365.RichText): React.ReactNode | null {\n if (!text) {\n return null;\n }\n return (\n \n );\n }\n\n private _createHeading(heading?: IHeadingData): React.ReactNode | null {\n if (!heading) {\n return null;\n }\n if (StringExtensions.isNullOrWhitespace(heading.text)) {\n return null;\n }\n\n return (\n \n );\n }\n\n private _renderBackgroundImage(item?: Msdyn365.IImageData, isAriaHiddenAttribute?: boolean): React.ReactNode | null {\n // If image is null, we want to render the placeholder SVG - by passing image data with empty src\n\n const defaultImageSettings: Msdyn365.IImageSettings = {\n viewports: {\n xs: { q: 'w=328&h=412&m=6', w: 328, h: 412 },\n sm: { q: 'w=328&h=412&m=6', w: 328, h: 412 },\n md: { q: 'w=315&h=412&m=6', w: 315, h: 412 },\n lg: { q: 'w=315&h=412&m=6', w: 315, h: 412 },\n xl: { q: 'w=315&h=412&m=6', w: 315, h: 412 }\n },\n lazyload: true\n };\n const verifiedImageSettings = item?.imageSettings?.viewports ? item.imageSettings : defaultImageSettings;\n\n return (\n \n );\n }\n\n private _renderThumbnailImage(\n item?: Msdyn365.IImageData,\n itemImageSettings?: Msdyn365.IImageSettings,\n isAriaHiddenAttribute?: boolean\n ): React.ReactNode | null {\n if (!item) {\n return null;\n }\n if (StringExtensions.isNullOrWhitespace(item.src)) {\n return null;\n }\n\n return (\n \n );\n }\n}\n\nexport default TileListItem;\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport { Module, Node } from '@msdyn365-commerce-modules/utilities';\nimport * as React from 'react';\n\nimport { ITileListItemViewProps } from './tile-list-item';\n\n/**\n *\n * ITileListItemViewProps component.\n * @param props - Component props.\n * @returns TileListView.\n */\nconst renderTileListItemContent = (props: ITileListItemViewProps): JSX.Element => {\n const {\n heading,\n paragraph,\n backgroundImage,\n links,\n thumbnailImage,\n tileListContainer,\n tileListImageContainer,\n tileListThumbnailImageContainer,\n tileListHeadingContainer\n } = props;\n\n return (\n \n {backgroundImage}\n \n {heading}\n {paragraph}\n {links}\n \n {thumbnailImage}\n \n );\n};\n\n/**\n *\n * TileListItemViewProps component.\n * @param props - Component props.\n * @returns TileListView.\n */\nexport const TileListItemViewComponent: React.FC = props => {\n const { tileListItem } = props;\n return {renderTileListItemContent(props)};\n};\n\nexport default TileListItemViewComponent;\n"],"names":["CittaGiftCardBalanceCheck","React","constructor","props","super","_renderLookupResult","result","this","state","processing","className","config","lookupWaitText","success","balance","message","_renderSuccess","_renderFailure","_capture","key","event","newState","target","value","setState","_checkBalance","bind","_areRefsValid","cardRef","pinRef","card","pin","render","_mergeWithDefaults","CittaGiftCardBalanceCheckViewProps","_objectSpread","GiftCardBalanceCheckModuleProps","moduleProps","classnames","GiftCardBalanceCheckCardNodeProps","GiftCardBalanceCheckCardNode","_renderCard","GiftCardBalanceCheckPinNodeProps","GiftCardBalanceCheckPinNode","_renderPin","GiftCardBalanceCheckResultNode","GiftCardBalanceCheckButtonNode","_renderCheckBalance","renderView","propsIndex","defaultConfig","keyIndex","length","keyName","cardNumberPlaceholderText","type","ref","placeholder","name","onChange","pinNumberPlaceholderText","submitButtonProps","disabled","Object","assign","onClick","resources","buttonTextForGiftCardBalanceCheck","lookupFailureMessage","formattedBalance","context","cultureFormatter","formatCurrency","labelForSuccessfulGiftCardBalanceCheckResponse","refKeys","current","previousState","getGiftCardBalanceCheck","GiftCardBalanceCheckInput","actionContext","then","Module","Node","GetStockistsCityOrStateInput","countrycode","getCacheKey","getCacheObjectType","dataCacheType","async","getStockcistsCityorStateAction","input","ctx","console","log","Result","dXC_GetCityStateMasterAsync","callerContext","error","Array","isArray","createObservableDataAction","action","inputData","locale","requestContext","Error","GetStockistsCountryRegionsInput","getStockcistsCountryRegionsAction","dXC_GetCountryMasterAsync","args","GetStockistsStoreInput","cityorstate","searchstr","getStockcistsStoreAction","country","dXC_GetStockistsAsync","CittaStockists","countrySelected","stateorcitySelected","searchString","countryList","stateList","stockistList","_handleSearch","e","searchStr","_searchInputRef","countryValue","_countrySelectRef","stateValue","_stateorcitySelectRef","_getStockistsList","catch","err","_changeSearchText","_onStateorCityChange","_onCountryChange","_getStateProvinces","_getCountryList","viewProps","StockistContainer","stockistTop","tag","stockistMain","stockistGrid","createCityStateDropDown","_renderCityStateDropDown","createCountryDropDown","_renderCountryDropDown","createStockistsAddress","_renderStockistsAddress","createSearchAddress","_renderSearchAddress","searchPlaceholder","autoComplete","Button","title","color","citaAndStatePlaceholder","id","selected","_renderStateorCityList","countryPlaceholder","_renderCountryList","stateorcity","CityStateMaster","map","stateorcityItem","_getCities","CountryMaster","countryItem","_getCountries","CountryCode","CountryName","StockistsList","stockist","Name","StreetNumber","Street","District","City","PostalCode","State","PhoneNumber","href","Email","response","_countryList","countryCode","_stateList","_stockistList","__decorate","observable","TileListLinks","_mapEditableLinks","linkdata","ArrayExtensions","hasElements","editableLinks","link","payLoad","getPayloadObject","telemetryContent","linkText","contentAction","etext","attributes","getTelemetryAttributes","editableLink","ariaLabel","linkUrl","destinationUrl","openInNewTab","role","additionalProperties","onTelemetryClick","push","links","Msdyn365","editProps","onTextChange","TileListItem","_telemetryContent","getTelemetryObject","request","telemetryPageName","friendlyName","telemetry","handleHeadingChange","heading","text","handleParagraphChange","paragraph","handleLinkTextChange","linkIndex","_this$props$config$li","Number","backgroundImage","thumbnailImage","redirectionUrl","tileListLinks","tileListLinkContainer","undefined","_createHeading","_createParagraph","_renderBackgroundImage","_renderThumbnailImage","tileListItem","tileListContainer","tileListImageContainer","tileListThumbnailImageContainer","tileListHeadingContainer","onEdit","_heading$tag","StringExtensions","isNullOrWhitespace","item","isAriaHiddenAttribute","_item$imageSettings","_this$props$config$ba","verifiedImageSettings","imageSettings","viewports","xs","q","w","h","sm","md","lg","xl","lazyload","gridSettings","loadFailureBehavior","moduleType","typeName","imagePropertyName","itemImageSettings","_this$props$config$th","src","layout","msdyn365__moduleLayout","TileListItemViewComponent","renderTileListItemContent"],"sourceRoot":""}