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2B,OAAS31F,KAAK6pB,MAEjF,OAAO4rE,CACT,EArvBc,GAAAuH,aAAe,CAC3B3G,mBAAmB,EACnB8G,8BAA8B,EAC9B1H,cAAe,MAAcuC,SAC7BqF,+BAA+B,E","sources":["../../../../component-legacy/packages/address/addressSchema.js","../../../../component-legacy/packages/address/service/addressService.js","../../../../component-legacy/packages/address/viewmodel/index.js","../../../../component-legacy/packages/address/view/index.js","../../../../component-legacy/packages/app-event-delegator/index.js","../../../../component-legacy/packages/bingads-grid/plugin/assisted-selection.js","../../../../component-legacy/packages/bingads-grid/plugin/pagination.js","../../../../component-legacy/packages/bingads-grid/service/legacy-column-chooser-preferences.js","../../../../component-legacy/packages/bingads-grid/shared/clientcenter-url-helper.js","../../../../component-legacy/packages/bingads-grid/shared/icons.js","../../../../component-legacy/packages/bingads-grid/shared/schema-util.js","../../../../component-legacy/packages/bingads-grid/shared/segmentationTypes.js","../../../../component-legacy/packages/bingads-grid/shared/timeRangeChecker.js","../../../../component-legacy/packages/connectors/grid.pagination.js","../../../../component-legacy/packages/cx-select/viewmodel/cxSelect.js","../../../../component-legacy/packages/cx-select/view/index.js","../../../../component-legacy/packages/datepicker/binding/datePicker.js","../../../../component-legacy/packages/dialog/dialogDecoratorImpl.js","../../../../component-legacy/packages/dialog/dialogDecorator.js","../../../../component-legacy/packages/dialog/modalManager.js","../../../../component-legacy/packages/dialog/popup.js","../../../../component-legacy/packages/dialog/toggleDecorator.js","../../../../component-legacy/packages/editorial-appeal/viewmodel/index.js","../../../../component-legacy/packages/editorial-appeal/view/index.js","../../../../component-legacy/packages/extension/bootstrap/popover.js","../../../../component-legacy/packages/extension/scrollTo.js","../../../../component-legacy/packages/form/view/field/number.js","../../../../component-legacy/packages/form/view/field/integer.js","../../../../component-legacy/packages/form/view/control/url.js","../../../../component-legacy/packages/form/view/field/url.js","../../../../component-legacy/packages/form/view/control/tracking-template.js","../../../../component-legacy/packages/form/view/field/tracking-template.js","../../../../component-legacy/packages/form/view/control/custom-params.js","../../../../component-legacy/packages/form/view/field/type.js","../../../../component-legacy/packages/form/view/field/boolean.js","../../../../component-legacy/packages/form/view/field/enum.js","../../../../component-legacy/packages/form/view/field/string.js","../../../../component-legacy/packages/form/view/field/custom-params.js","../../../../component-legacy/packages/form/view/field/generate.js","../../../../component-legacy/packages/form/view/sidebar/aggregate-length.js","../../../../component-legacy/packages/form/view/sidebar/generator.js","../../../../component-legacy/packages/form/viewmodel/control/radios.js","../../../../component-legacy/packages/form/viewmodel/control/readonly-computed.js","../../../../component-legacy/packages/form/viewmodel/control/text.js","../../../../component-legacy/packages/form/service/status.js","../../../../component-legacy/packages/form/viewmodel/control/index.js","../../../../component-legacy/packages/form/viewmodel/control/checkbox.js","../../../../component-legacy/packages/form/viewmodel/control/select.js","../../../../component-legacy/packages/form/viewmodel/control/textarea.js","../../../../component-legacy/packages/form/viewmodel/control/collapse.js","../../../../component-legacy/packages/form/viewmodel/control/static.js","../../../../component-legacy/packages/form/viewmodel/control/label.js","../../../../component-legacy/packages/form/viewmodel/control/visible.js","../../../../component-legacy/packages/form/viewmodel/simple-form.js","../../../../component-legacy/packages/form/view/simple-form.js","../../../../component-legacy/packages/github/modules/pagination-control/module/pagination-control.js","../../../../component-legacy/packages/github/modules/projection-grid/module/projection-grid.js","../../../../component-legacy/packages/grid/model/index.js","../../../../component-legacy/packages/grid/containerBase.js","../../../../component-legacy/packages/grid/windowContainer.js","../../../../component-legacy/packages/grid/elementContainer.js","../../../../component-legacy/packages/grid/index.js","../../../../component-legacy/packages/polyfill/requestAnimationFrame.js","../../../../component-legacy/packages/grid/layout/table.js","../../../../component-legacy/packages/grid/model/response.js","../../../../component-legacy/packages/grid/projection/base.js","../../../../component-legacy/packages/grid/projection/column-i18n.js","../../../../component-legacy/packages/grid/projection/column-queryable.js","../../../../component-legacy/packages/grid/projection/map.js","../../../../component-legacy/packages/grid/projection/memory-page.js","../../../../component-legacy/packages/grid/projection/memory-sort.js","../../../../component-legacy/packages/grid/projection/memory.js","../../../../component-legacy/packages/grid/projection/page.js","../../../../component-legacy/packages/grid/projection/property-template.js","../../../../component-legacy/packages/grid/projection/sink.js","../../../../component-legacy/packages/grid/schema/properties.js","../../../../component-legacy/packages/hotkeys/jquery-hotkeys.js","../../../../component-legacy/packages/hotkeys/index.js","../../../../component-legacy/packages/humanize/number.js","../../../../component-legacy/packages/ko-persistence/observable-localstorage.js","../../../../component-legacy/packages/language-selector/util/defaultLanguage.js","../../../../component-legacy/packages/language-selector/viewmodel/index.js","../../../../component-legacy/packages/language-selector/view/index.js","../../../../component-legacy/packages/object-list-input/viewmodel/index.js","../../../../component-legacy/packages/object-list-input/view/index.js","../../../../component-legacy/packages/pagination/viewmodel/index.js","../../../../component-legacy/packages/pagination/index.js","../../../../component-legacy/packages/popup/view/index.js","../../../../component-legacy/packages/single-list-box/viewmodel/singleListBoxViewModel.js","../../../../component-legacy/packages/connectors/dataSource.pagination.js","../../../../component-legacy/packages/single-list-box/view/singleListBox.js","../../../../component-legacy/packages/steps-wizard/actions/store.js","../../../../component-legacy/packages/steps-wizard/viewmodel/steps.js","../../../../component-legacy/packages/steps-wizard/model/indicator.js","../../../../component-legacy/packages/steps-wizard/view/index.js","../../../../component-legacy/packages/string-list-input/viewmodel/string-list-input.js","../../../../component-legacy/packages/string-list-input/view/string-list-input.js","../../../../component-legacy/packages/test/mock/edm.js","../../../../component-legacy/packages/test/mock/jsdata.js","../../../../component-legacy/packages/toggle/viewmodel/index.js","../../../../component-legacy/packages/toggle/view/index.js","../../../../component-legacy/packages/upgraded-url/service/testUurl.js","../../../../component-legacy/packages/upgraded-url/viewmodel/advancedSettingsUrlOptions.js","../../../../component-legacy/packages/upgraded-url/view/advancedSettingsUrlOptions.js","../../../../component-legacy/packages/upgraded-url/viewmodel/upgradedUrl.js","../../../../component-legacy/packages/upgraded-url/viewmodel/finalURL.js","../../../../component-legacy/packages/upgraded-url/view/finalURL.js","../../../../component-legacy/packages/upgraded-url/view/index.js","../../../../component-legacy/packages/upgraded-url/viewmodel/trackingTemplate.js","../../../../component-legacy/packages/upgraded-url/view/trackingTemplate.js","../../../../component-legacy/packages/upgraded-url/viewmodel/urlOptionsV2.js","../../../../component-legacy/packages/upgraded-url/view/urlOptionsV2.js","../../../../component-legacy/packages/upgraded-url/viewmodel/urlTestTool.js","../../../../component-legacy/packages/upgraded-url/view/urlTestTool.js","../../../../component-legacy/packages/url-input/viewmodel/url-input.js","../../../../component-legacy/packages/url-input/view/url-input.js","../../../../component-new-grid/packages/campaign-data-source/src/index.js","../../../../component-new-grid/packages/campaignui-common-columns/src/strings.js","../../../../component-new-grid/packages/campaignui-common-columns/src/shared.js","../../../../component-new-grid/packages/campaignui-common-columns/src/fluctuation-columns.js","../../../../component-new-grid/packages/campaignui-common-columns/src/performance-columns.js","../../../../component-new-grid/packages/campaignui-common-columns/src/conversion-columns.js","../../../../component-new-grid/packages/campaignui-common-columns/src/competitive-columns.js","../../../../component-new-grid/packages/campaignui-common-columns/src/attribute-columns/status-icon-column.js","../../../../component-new-grid/packages/perf-marker-middleware/src/perf-marker-middleware.js","../../../../component-legacy/packages/address/template/layout.pug","../../../../component-legacy/packages/bingads-grid/template/pagination.pug","../../../../component-legacy/packages/cx-select/template/cxSelect.pug","../../../../component-legacy/packages/double-list-box/template/defaultLeanLayout.pug","../../../../component-legacy/packages/editorial-appeal/template/layout.pug","../../../../component-legacy/packages/form/template/sidebar/aggregate-length.pug","../../../../component-legacy/packages/form/template/sidebar/wrapper.pug","../../../../component-legacy/packages/form/template/simple-form/control/buttons.pug","../../../../component-legacy/packages/form/template/simple-form/control/checkbox-input.pug","../../../../component-legacy/packages/form/template/simple-form/control/inline-radios-input.pug","../../../../component-legacy/packages/form/template/simple-form/control/label.pug","../../../../component-legacy/packages/form/template/simple-form/control/radios-input.pug","../../../../component-legacy/packages/form/template/simple-form/control/select-input.pug","../../../../component-legacy/packages/form/template/simple-form/control/static.pug","../../../../component-legacy/packages/form/template/simple-form/control/text-input.pug","../../../../component-legacy/packages/form/template/simple-form/control/textarea.pug","../../../../component-legacy/packages/form/template/simple-form/control/validation.pug","../../../../component-legacy/packages/form/template/simple-form/layout/horizontal.pug","../../../../component-legacy/packages/form/template/simple-form/layout/inline.pug","../../../../component-legacy/packages/grid/layout/template/table.alt.pug","../../../../component-legacy/packages/grid/layout/template/table.pug","../../../../component-legacy/packages/language-selector/template/index.pug","../../../../component-legacy/packages/object-list-input/template/index.pug","../../../../component-legacy/packages/pagination/layout/simple.pug","../../../../component-legacy/packages/popup/template/popup.pug","../../../../component-legacy/packages/single-list-box/template/defaultItem.pug","../../../../component-legacy/packages/single-list-box/template/defaultLayout.pug","../../../../component-legacy/packages/single-list-box/template/pagination.pug","../../../../component-legacy/packages/steps-wizard/template/layout-horizontal.pug","../../../../component-legacy/packages/steps-wizard/template/layout-vertical.pug","../../../../component-legacy/packages/string-list-input/template/string-list-input.pug","../../../../component-legacy/packages/toggle/template/toggle.pug","../../../../component-legacy/packages/upgraded-url/template/advancedSettingsUrlOptions.pug","../../../../component-legacy/packages/upgraded-url/template/finalUrl.pug","../../../../component-legacy/packages/upgraded-url/template/trackingTemplate.pug","../../../../component-legacy/packages/upgraded-url/template/upgradedUrl.pug","../../../../component-legacy/packages/upgraded-url/template/urlOptionsV2.pug","../../../../component-legacy/packages/upgraded-url/template/urlTestResult.pug","../../../../component-legacy/packages/upgraded-url/template/urlTestResultListSummaryV2.pug","../../../../component-legacy/packages/upgraded-url/template/urlTestResultSummaryV2.pug","../../../../component-legacy/packages/upgraded-url/template/urlTestTool.pug","../../../../component-legacy/packages/upgraded-url/template/urlTestToolStatus.pug","../../../../component-legacy/packages/url-input/template/url-input-core.pug","../../../../component-legacy/packages/url-input/template/url-input.pug","../../../../component-new-grid/packages/well-known/well-known-type/column.ts","../../../../component-new-grid/packages/well-known/well-known-type/project-grid-plugin-column-chooser.ts","../../../../component-new-grid/packages/well-known/well-known-data/columns/index.ts","../../../../component-new-grid/packages/well-known/well-known-data/aggregated-rows/index.ts","../../../../component-new-grid/packages/well-known/well-known-helper/columnFormatter.ts","../../../../component-new-grid/packages/well-known/well-known-helper/CSharpPort/UriHelper.cs.ts","../../../../component-new-grid/packages/well-known/well-known-helper/CSharpPort/Uri.cs.ts","../../../../component-new-grid/packages/well-known/well-known-helper/validator/DestinationUrlValidator.ts","../../../../component-new-grid/packages/well-known/tree-view/treeViewHelper.ts","../../../../component-new-grid/packages/well-known/tree-view/TreeViewSelectionZone.tsx","../../../../component-new-grid/packages/well-known/tree-view/useTreeViewSelection.tsx","../../../../component-new-grid/packages/well-known/tree-view/ListViewSelectionZone.tsx"],"sourcesContent":["/* eslint-disable */\r\nimport _ from 'underscore';\r\nimport * as putils from '@bingads-webui-universal/primitive-utilities';\r\nvar i18n = window.globalLegacyI18n.get('component/i18n/loader!component/address');\r\nfunction postalCodeSchema(countryCode) {\r\n var isRequired = false, result = {}, title_postal_code = i18n.get('Address_PostalCode'), title_zip = i18n.get('Address_Zip');\r\n switch (countryCode) {\r\n case 'US':\r\n case 'GU':\r\n result = {\r\n Title: isRequired ? title_zip : i18n.get('Address_Title_Optional', {\r\n title: title_zip\r\n }),\r\n Pattern: /^[0-9]{5}(\\-[0-9]{4})?$/,\r\n Required: isRequired,\r\n IsZip: true\r\n };\r\n break;\r\n case 'CA':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[abceghjklmnprstvxyABCEGHJKLMNPRSTVXY]{1}\\d{1}[a-zA-Z]{1}[ -]?\\d{1}[a-zA-Z]{1}\\d{1}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'AT':\r\n case 'CH':\r\n case 'DK':\r\n case 'NO':\r\n case 'ZA':\r\n case 'HU':\r\n case 'SI':\r\n case 'LU':\r\n case 'AL':\r\n case 'MK':\r\n case 'PA':\r\n case 'BO':\r\n case 'PY':\r\n case 'SV':\r\n case 'BD':\r\n case 'ET':\r\n case 'GE':\r\n case 'AM':\r\n case 'CG':\r\n case 'NE':\r\n case 'TN':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[0-9]{4}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'DE':\r\n case 'ES':\r\n case 'FI':\r\n case 'FR':\r\n case 'IT':\r\n case 'MX':\r\n case 'PE':\r\n case 'TR':\r\n case 'MC':\r\n case 'SR':\r\n case 'BA':\r\n case 'ME':\r\n case 'DO':\r\n case 'UY':\r\n case 'GT':\r\n case 'HN':\r\n case 'LK':\r\n case 'NP':\r\n case 'MN':\r\n case 'PK':\r\n case 'MU':\r\n case 'TZ':\r\n case 'RE':\r\n case 'IQ':\r\n case 'DZ':\r\n case 'ZM':\r\n case 'SN':\r\n case 'VI':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[0-9]{5}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'CO':\r\n case 'VN':\r\n case 'RO':\r\n case 'EC':\r\n case 'TT':\r\n case 'NG':\r\n case 'MW':\r\n case 'KG':\r\n case 'TJ':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[0-9]{6}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'IL':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[0-9]{7}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'LY':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^([1-9][1-9](.)[1-9][1-9](.)[1-9][1-9][1-9])$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'GR':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^([0-8][0-9]{2} ?[0-9]{2})|(900 ?00)$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'PL':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[0-9]{2}[-][0-9]{3}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'PT':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[0-9]{4}(-[0-9]{3})?$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'CZ':\r\n case 'SK':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[0-9]{3} [0-9]{2}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'BG':\r\n case 'LI':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[1-9][0-9]{3}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'HR':\r\n case 'EE':\r\n case 'EG':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[1-9][0-9]{4}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'LT':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^([lL][tT]-?)?[0-9]{5}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'LV':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^([Ll][Vv]-?)?[0-9]{4}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'CY':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^(SE-?)?[0-9]{4}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'MT':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[a-zA-Z]{3} [0-9]{4}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'MD':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[a-zA-Z]{2}[ \\-]?[0-9]{4}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'IS':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^([1-9][0-9]{2}|[0-9]{5})$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'BN':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((B)[A-H|J-N|P|R-U]\\d{4,4}|(K)[A-H]\\d{4,4}|(P)[A-E]\\d{4,4}|(T)[A-H]\\d{4,4})$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'NC':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((988)\\d{2,2})$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'KY':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((KY)[1-3](-)\\d{4,4})$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'PG':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^([1][1-9][0-9]|[2-5][0-9][0-9]|(6)[0-3][0-9]|(640)|(641))$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'PF':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((987)[0-9][0-9])$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'HT':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((HT)[11-17|21-24|31-33|41-45|51-54|61-65|71-75|81-85|91-93]\\d{2,2})|((HT )[11-17|21-24|31-33|41-45|51-54|61-65|71-75|81-85|91-93]\\d{2,2})$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'MQ':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((972)\\d{2,2})$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'PR':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^([0-9]{5}[ -]?[0-9]{4})|[0-9]{5}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'CR':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[0-9]{4,5}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'PF':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((973)[0-9][0-9])$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'MS':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((MSR)[1][1-3][1-3,5][0])$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'MV':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^([0-1]\\d{4,4}|[2][0-1]\\d{3,3})$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'JP':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[0-9]{3}[-]?[0-9]{4}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'AZ':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[aA][zZ] ?[0-9]{4}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'NA':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[10-23]{2,2}[0][0-3][0-9]$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'MG':\r\n case 'LS':\r\n case 'GN':\r\n case 'OM':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^([0-9]{3})$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n case 'BH':\r\n case 'FO':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[0-9]{3,4}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'GI':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^GX11 1AA$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'SO':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((AD|BK|BN|BR|BY|GG|GD|HR|JD|JH|MD|NG|SG|SD|SH|SOL|TG|WG)( )\\d{5,5})$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'MH':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((969)[0-9][0-9]|(969)[0-9][0-9](-)[0-9][0-9][0-9][0-9])$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'KN':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((KN)[0-9][0-9][0-9][0-9])$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'AS':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^(96799|96799[-][0-9][0-9][0-9][0-9])$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'VG':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^(VG11[1-6]0)$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'LC':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((LC)[0-9][0-9]( )[0-9][0-9][0-9])$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'BM':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[a-zA-Z]{2}[ \\-]?[0-9]{2}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'VC':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((VC0)[1-3]\\d{2,2}|(VC04)[0-7]\\d{1,1})$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'BB':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[a-zA-Z]{2}[0-9]{5}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'AI':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^(AI-2640)$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'GL':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((39)[0-9][0-9])$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'JM':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^[0-9]{1,2}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'MP':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((9695)[0-9]|(9695)[0-9](-)[0-9][0-9][0-9][0-9])$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'CC':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^(6799)$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'CX':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^(6798)$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'GP':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((970)[0-9][0-9]|(971)[0-9][0-9])$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'GW':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^\\d{4,4}$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'NF':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((2899))$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'NR':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^(NRU68)$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'NU':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^(9974)$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'PM':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((975)\\d{2,2})$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'PN':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((PCRN 1ZZ))$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'PW':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((96939)|(96939-)[0-9][0-9][0-9][0-9]|(96940)|(96940-)[0-9][0-9][0-9][0-9])$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'WF':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((986)\\d{2,2})$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'WS':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^(WS[1-2][0-9][0-9][0-9])$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'YT':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^((976)\\d{2,2}|(985)\\d{2,2})$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n case 'BE':\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /^(1[0-9][0-9][0-9]|2[0-9][0-9][0-9]|3[0-9][0-9][0-9]|4[0-9][0-9][0-9]|5[0-6][0-9][0-9]|6[0-9][0-9][0-9]|7[0-9][0-9][0-9]|8[0-9][0-9][0-9]|9[0-9][0-9][0-9])$/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n default:\r\n result = {\r\n Title: isRequired ? title_postal_code : i18n.get('Address_Title_Optional', {\r\n title: title_postal_code\r\n }),\r\n Pattern: /.*/,\r\n Required: isRequired,\r\n IsZip: false\r\n };\r\n break;\r\n }\r\n return result;\r\n}\r\nfunction localitySchema(countryCode) {\r\n var result = {};\r\n switch (countryCode) {\r\n case 'HK':\r\n case 'TW':\r\n result = {\r\n Title: i18n.get('Address_District')\r\n };\r\n break;\r\n default:\r\n result = {\r\n Title: i18n.get('Address_Locality')\r\n };\r\n break;\r\n }\r\n return result;\r\n}\r\nfunction adminDistrictSchema(countryCode) {\r\n var result = {};\r\n switch (countryCode) {\r\n case 'VN':\r\n case 'PH':\r\n case 'PL':\r\n case 'TH':\r\n case 'TR':\r\n case 'ZA':\r\n case 'EC':\r\n case 'DO':\r\n case 'CR':\r\n case 'PA':\r\n case 'LK':\r\n case 'NC':\r\n case 'MN':\r\n case 'PG':\r\n case 'MV':\r\n case 'KG':\r\n case 'AM':\r\n case 'ZW':\r\n case 'PK':\r\n case 'DZ':\r\n case 'ZM':\r\n case 'GA':\r\n case 'RW':\r\n case 'SL':\r\n case 'VU':\r\n case 'BE':\r\n result = {\r\n Title: i18n.get('Address_Province')\r\n };\r\n break;\r\n case 'TW':\r\n result = {\r\n Title: i18n.get('Address_ProvinceCity')\r\n };\r\n break;\r\n case 'GR':\r\n result = {\r\n Title: i18n.get('Address_AdministrativeRegion')\r\n };\r\n break;\r\n case 'RO':\r\n case 'HU':\r\n case 'HR':\r\n case 'LT':\r\n case 'EE':\r\n case 'AL':\r\n result = {\r\n Title: i18n.get('Address_County')\r\n };\r\n break;\r\n case 'CZ':\r\n case 'SK':\r\n case 'BG':\r\n case 'IS':\r\n case 'GY':\r\n case 'MG':\r\n case 'TG':\r\n case 'TZ':\r\n case 'NA':\r\n case 'MR':\r\n case 'GE':\r\n case 'SN':\r\n case 'CM':\r\n case 'SO':\r\n case 'NE':\r\n case 'FO':\r\n case 'DJ':\r\n case 'ER':\r\n case 'GW':\r\n result = {\r\n Title: i18n.get('Address_Region')\r\n };\r\n break;\r\n case 'LV':\r\n case 'SM':\r\n case 'MK':\r\n case 'ME':\r\n case 'TT':\r\n case 'GU':\r\n case 'QA':\r\n case 'MP':\r\n case 'MH':\r\n case 'PM':\r\n result = {\r\n Title: i18n.get('Address_Municipality')\r\n };\r\n break;\r\n case 'LU':\r\n result = {\r\n Title: i18n.get('Address_Canton')\r\n };\r\n break;\r\n case 'PT':\r\n case 'CY':\r\n case 'SR':\r\n case 'BS':\r\n case 'KY':\r\n case 'BN':\r\n case 'MW':\r\n case 'SC':\r\n case 'LS':\r\n case 'IL':\r\n case 'MD':\r\n case 'MU':\r\n case 'TJ':\r\n case 'LY':\r\n case 'BZ':\r\n case 'CI':\r\n case 'AI':\r\n case 'VI':\r\n case 'LC':\r\n case 'SR':\r\n case 'BW':\r\n case 'UG':\r\n case 'TO':\r\n case 'NR':\r\n case 'WS':\r\n result = {\r\n Title: i18n.get('Address_District')\r\n };\r\n break;\r\n case 'LI':\r\n case 'GL':\r\n result = {\r\n Title: i18n.get('Address_Commune')\r\n };\r\n break;\r\n case 'AG':\r\n case 'AD':\r\n case 'DM':\r\n case 'MS':\r\n case 'BB':\r\n case 'GD':\r\n case 'JM':\r\n case 'BM':\r\n case 'KN':\r\n case 'VC':\r\n case 'MO':\r\n result = {\r\n Title: i18n.get('Address_Parish')\r\n };\r\n break;\r\n case 'BA':\r\n result = {\r\n Title: i18n.get('Address_Entity')\r\n };\r\n break;\r\n case 'BD':\r\n case 'FJ':\r\n result = {\r\n Title: i18n.get('Address_Division')\r\n };\r\n break;\r\n case 'NP':\r\n result = {\r\n Title: i18n.get('Address_Zone')\r\n };\r\n break;\r\n case 'UY':\r\n case 'GT':\r\n case 'BO':\r\n case 'HN':\r\n case 'PY':\r\n case 'SV':\r\n case 'HT':\r\n case 'BJ':\r\n result = {\r\n Title: i18n.get('Address_Department')\r\n };\r\n break;\r\n case 'OM':\r\n case 'EG':\r\n case 'BH':\r\n case 'IQ':\r\n case 'YE':\r\n case 'TN':\r\n result = {\r\n Title: i18n.get('Address_Governorate')\r\n };\r\n break;\r\n case 'PF':\r\n result = {\r\n Title: i18n.get('Address_AdministrativeSubdivision')\r\n };\r\n break;\r\n case 'KI':\r\n result = {\r\n Title: i18n.get('Address_Unit')\r\n };\r\n break;\r\n case 'JP':\r\n case 'GN':\r\n case 'CF':\r\n result = {\r\n Title: i18n.get('Address_Prefecture')\r\n };\r\n break;\r\n case 'RE':\r\n case 'GP':\r\n result = {\r\n Title: i18n.get('Address_Arrondissement')\r\n };\r\n break;\r\n case 'CC':\r\n case 'PW':\r\n result = {\r\n Title: i18n.get('Address_State')\r\n };\r\n break;\r\n case 'KM':\r\n result = {\r\n Title: i18n.get('Address_AutonomousIslands')\r\n };\r\n break;\r\n case 'TK':\r\n result = {\r\n Title: i18n.get('Address_AutonomousAtoll')\r\n };\r\n break;\r\n case 'TV':\r\n result = {\r\n Title: i18n.get('Address_Island')\r\n };\r\n break;\r\n case 'WF':\r\n result = {\r\n Title: i18n.get('Address_Kingdom')\r\n };\r\n break;\r\n default:\r\n result = {\r\n Title: i18n.get('Address_AdminDistrict')\r\n };\r\n break;\r\n }\r\n return result;\r\n}\r\nvar formatsConfig = {\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{CityName}} {{PostalCode}}\\n{{CountryCode}}': ['SG', 'MS'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{CityName}} {{ProvinceName}} {{PostalCode}}\\n{{CountryCode}}': ['CA', 'PA', 'MN', 'PG', 'MV', 'KY', 'IQ', 'SO'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{CityName}}, {{ProvinceName}} {{PostalCode}}\\n{{CountryCode}}': ['US', 'AI', 'BM', 'VG', 'GI'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{CityName}}, {{ProvinceName}}\\n{{CountryCode}}': ['IE', 'GY', 'BS'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{CityName}}\\n{{CountryCode}}': ['HK', 'AW', 'DM', 'AG', 'CF', 'CK', 'DJ'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{CityName}}\\n{{ProvinceName}}\\n{{PostalCode}}\\n{{CountryCode}}': ['default'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{PostalCode}} {{CityName}}\\n{{CountryCode}}': ['GR', 'LU', 'CY', 'MC', 'GE', 'TN'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{PostalCode}} {{CityName}}\\n{{ProvinceName}}\\n{{CountryCode}}': ['FR', 'PL', 'TR', 'ZA', 'PT', 'CZ', 'RO', 'SK', 'HR', 'SI', 'EE', 'LI', 'BA', 'AL', 'MK', 'IS', 'ME', 'DO', 'PY', 'SV', 'MQ', 'HT', 'PF', 'PF', 'UY', 'NC', 'RE', 'MW', 'IL', 'QA', 'BH', 'DZ', 'AZ', 'YE', 'ET', 'ZM', 'FO', 'SN'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{PostalCode}}\\n{{CityName}}\\n{{ProvinceName}}\\n{{CountryCode}}': ['PH', 'HN', 'MU', 'MD', 'OM', 'PM', 'WF', 'BE', 'GW'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{ProvinceName}}, {{CityName}} {{PostalCode}}\\n{{CountryCode}}': ['TH'],\r\n '{{CityName}}\\n{{StreetAddress}}\\n{{StreetAddress2}}\\n{{PostalCode}}\\n{{CountryCode}}': ['HU'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{ProvinceName}}\\n{{PostalCode}} {{CityName}}\\n{{CountryCode}}': ['BG'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{PostalCode}} {{CityName}} {{ProvinceName}}\\n{{CountryCode}}': ['LT'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{CityName}}\\n{{ProvinceName}}, {{PostalCode}}\\n{{CountryCode}}': ['LV', 'BN'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{CityName}} {{ProvinceName}}\\n{{PostalCode}}\\n{{CountryCode}}': ['MT'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{CityName}}, {{ProvinceName}}\\n{{PostalCode}}\\n{{CountryCode}}': ['JP', 'KN', 'VC'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{ProvinceName}}\\n{{CityName}}, {{PostalCode}}\\n{{CountryCode}}': ['BD'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{CityName}} {{PostalCode}}\\n{{ProvinceName}}\\n{{CountryCode}}': ['LK', 'TT', 'AS', 'MP', 'VI'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{PostalCode}}-{{CityName}}, {{ProvinceName}}\\n{{CountryCode}}': ['GT'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{ProvinceName}}, {{CityName}}\\n{{PostalCode}}\\n{{CountryCode}}': ['CR'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{CityName}}\\n{{ProvinceName}}\\n{{CountryCode}}': ['FJ', 'NA', 'ZW', 'LY', 'TG', 'MR', 'CM', 'CI', 'RW', 'BZ', 'GD', 'JM', 'SR', 'TO', 'GL', 'BW', 'GA', 'BJ', 'ER', 'KM', 'SL', 'TK', 'TV', 'VU'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{CityName}}\\n{{PostalCode}}\\n{{CountryCode}}': ['EC', 'NR', 'NU', 'PN', 'WS'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{PostalCode}}, {{CityName}}\\n{{ProvinceName}}\\n{{CountryCode}}': ['NG'],\r\n '{{PostalCode}}\\n{{CountryCode}}\\n{{CityName}}\\n{{StreetAddress}}\\n{{StreetAddress2}}\\n': ['TJ'],\r\n '{{CountryCode}}\\n{{PostalCode}}\\n{{CityName}}\\n{{StreetAddress}}\\n': ['KG'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{CityName}}\\n{{PostalCode}}\\n{{ProvinceName}}\\n{{CountryCode}}': ['PK'],\r\n '{{CountryCode}}\\n{{PostalCode}}\\n{{CityName}}\\n{{StreetAddress}}\\n{{StreetAddress2}}\\n': ['AM'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{PostalCode}}\\n{{CityName}}\\n{{ProvinceName}},\\n{{CountryCode}}': ['TZ'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{ProvinceName}}\\n{{CityName}}': ['SC'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{CityName}}\\n{{ProvinceName}},\\n{{CountryCode}}': ['UG'],\r\n '{{StreetAddress}}\\n{{StreetAddress2}}\\n{{PostalCode}}\\n{{CityName}}\\n{{CountryCode}}': ['GP', 'YT'],\r\n '{{CountryCode}}\\n{{CityName}}{{StreetAddress}}\\n{{StreetAddress2}}': ['MO']\r\n};\r\nvar formats = _.chain(formatsConfig).keys().map(function (format) {\r\n return formatsConfig[format].map(function (countryCode) {\r\n return [countryCode, format];\r\n });\r\n}).flatten(1).object().value();\r\nfunction displayFormat(countryCode) {\r\n return formats[countryCode] || formats['default'];\r\n}\r\nfunction display(model) {\r\n var res = putils.curlyTemplate(displayFormat(model.CountryCode))(_.defaults({\r\n CountryCode: model.CountryName,\r\n ProvinceName: model.ProvinceCode\r\n }, model));\r\n return _.chain(res.split('\\n')).filter(function (line) {\r\n var temp = line.trim();\r\n return temp !== ',' && !_.isEmpty(temp);\r\n }).map(function (line) {\r\n return line.trim();\r\n }).value();\r\n}\r\nexport default {\r\n localitySchema: localitySchema,\r\n postalCodeSchema: postalCodeSchema,\r\n adminDistrictSchema: adminDistrictSchema,\r\n displayFormat: displayFormat,\r\n display: display\r\n};\r\nexport {\r\n localitySchema,\r\n postalCodeSchema,\r\n adminDistrictSchema,\r\n displayFormat,\r\n display,\r\n};\r\n","/* eslint-disable */\r\nimport * as putils from '@bingads-webui-universal/primitive-utilities';\r\nimport jsdata from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport * as Url from '@bingads-webui/url-util';\r\nimport config from '@bingads-webui-component-legacy/config/index';\r\nimport _ from 'underscore';\r\nimport * as adExtensionsShared from '@bingads-webui-campaign/ads-globalization';\r\nfunction getCountriesFilter() {\r\n var includedCountries = adExtensionsShared.globalizationModelSetup({\r\n permissions: config.get('permissions') || ({}),\r\n culture: config.get('culture')\r\n }).COUNTRIES;\r\n return function countriesFilter(entry) {\r\n return _.contains(includedCountries, entry.Key);\r\n };\r\n}\r\nvar cid = Url.getParameter('cid') || '', uid = Url.getParameter('uid') || '', urlTemplate = '/Campaign/Address/SchemaCountry/country({{countryCode}})/?cid=' + cid + '&uid=' + uid + '&locale={{locale}}&countryset=Publisher';\r\nexport function load(locale, countryCode) {\r\n var url = putils.curlyTemplate(urlTemplate)({\r\n countryCode: countryCode,\r\n locale: locale\r\n });\r\n var countriesFilter = getCountriesFilter();\r\n return jsdata.Country.find(countryCode, {\r\n url: url,\r\n adapter: 'legacy'\r\n }).then(function (response) {\r\n return {\r\n Countries: _.filter(response.Schema.Countries, countriesFilter),\r\n AdminDistricts: response.Schema.AdminDistricts\r\n };\r\n });\r\n}\r\nexport default {\r\n load: load\r\n};\r\n\r\n","/* eslint-disable */\r\nimport ko from 'knockout';\r\nimport _ from 'underscore';\r\nimport ko_schema from '@bingads-webui-component-legacy/ko-schema/index';\r\nimport addressSchema from '@bingads-webui-component-legacy/address/addressSchema';\r\nvar i18n = window.globalLegacyI18n.get('component/i18n/loader!component/address');\r\nvar s$Address = window.globalLegacySchema.get('Address');\r\nfunction setInputBindings(local, key) {\r\n var attrs = {\r\n key: key,\r\n value: local,\r\n type: 'input',\r\n cssSelector: key,\r\n placeholder: i18n.get('Address_Placeholder_' + key)\r\n };\r\n if (key === 'StreetAddress') {\r\n attrs.label = i18n.get('Address_Line1');\r\n } else if (key === 'StreetAddress2') {\r\n attrs.label = i18n.get('Address_Title_Optional', {\r\n title: i18n.get('Address_Line2')\r\n });\r\n }\r\n local.error = i18n.get('Address_Validation_Required');\r\n return attrs;\r\n}\r\nvar ViewModel = function (options) {\r\n var self = this;\r\n if (!(_.isUndefined(options.model) || _.isEmpty(options.model)) && (_.isUndefined(options.model.ProvinceName) || _.isEmpty(options.model.ProvinceName)) && !(_.isUndefined(options.model.ProvinceCode) || _.isEmpty(options.model.ProvinceCode))) {\r\n options.model.ProvinceName = options.model.ProvinceCode;\r\n }\r\n ko_schema.properties(self, s$Address, ['StreetAddress', 'StreetAddress2', 'CityName', 'ProvinceName', 'CountryCode', 'PostalCode'], options.model);\r\n self.isEmptyByDefault = ko.observable(_.isEmpty(options.model));\r\n if (self.isEmptyByDefault()) {\r\n self.CountryCode(options.market);\r\n }\r\n self.countries = ko.observableArray([]);\r\n self.adminDistricts = ko.observableArray([]);\r\n self.inputProperties = ['StreetAddress', 'StreetAddress2', 'CityName', 'PostalCode'];\r\n _.each(self.inputProperties, function (key) {\r\n self[key + '_element'] = setInputBindings(self[key], key);\r\n });\r\n self.CountryCode_element = {\r\n label: i18n.get('Address_Country'),\r\n source: self.countries,\r\n type: 'selector',\r\n value: self.CountryCode,\r\n cssSelector: 'CountryCode',\r\n key: 'CountryCode',\r\n placeholder: ''\r\n };\r\n self.ProvinceName_element = {\r\n type: 'selector',\r\n source: self.adminDistricts,\r\n value: self.ProvinceName,\r\n cssSelector: 'ProvinceName',\r\n key: 'ProvinceName',\r\n placeholder: i18n.get('Address_Placeholder_ProvinceName')\r\n };\r\n self.ProvinceName_element.label = ko.computed(function () {\r\n var countryCode = self.CountryCode();\r\n return addressSchema.adminDistrictSchema(countryCode).Title;\r\n });\r\n self.CityName_element.label = ko.computed(function () {\r\n var countryCode = self.CountryCode();\r\n return addressSchema.localitySchema(countryCode).Title;\r\n });\r\n self.postalCodeSchema = ko.computed(function () {\r\n var countryCode = self.CountryCode();\r\n return addressSchema.postalCodeSchema(countryCode);\r\n });\r\n self.PostalCode_element.label = ko.computed(function () {\r\n return self.postalCodeSchema().Title;\r\n });\r\n self.PostalCode_element.placeholder = ko.computed(function () {\r\n return self.postalCodeSchema().IsZip ? i18n.get('Address_Placeholder_Zip') : i18n.get('Address_Placeholder_PostalCode');\r\n });\r\n self.StreetAddress.showError = ko.computed(function () {\r\n return !self.isEmptyByDefault() && _.isEmpty(self.StreetAddress());\r\n });\r\n self.StreetAddress2.showError = false;\r\n self.CityName.showError = ko.computed(function () {\r\n return !self.isEmptyByDefault() && _.isEmpty(self.CityName());\r\n });\r\n self.PostalCode.error = i18n.get('Address_Validation_PostalCode_Pattern');\r\n self.PostalCode.showError = ko.observable(false);\r\n ko.computed(function () {\r\n if (!_.isEmpty(self.PostalCode())) {\r\n self.PostalCode.showError(false);\r\n }\r\n });\r\n self.propertyList = ko.computed(function () {\r\n var countryCode = self.CountryCode(), format = addressSchema.displayFormat(countryCode), showFields = ['CountryCode'], match = [], re = /\\{\\{(\\w*)\\}\\}/gm;\r\n while (match = re.exec(format)) {\r\n if (match[1] !== 'CountryCode') {\r\n showFields.push(match[1]);\r\n }\r\n }\r\n return showFields;\r\n });\r\n self.properties = ko.computed(function () {\r\n var showFields = self.propertyList();\r\n return _.map(showFields, function (field) {\r\n return self[field + '_element'];\r\n });\r\n });\r\n return self;\r\n};\r\nViewModel.prototype.validatePostalCode = function () {\r\n var self = this;\r\n var urlregex = self.postalCodeSchema().Pattern, required = self.postalCodeSchema().Required;\r\n var error = !self.isEmptyByDefault() && (!_.isEmpty(self.PostalCode()) && !urlregex.test(self.PostalCode()) || required && _.isEmpty(self.PostalCode()));\r\n self.PostalCode.showError(error);\r\n return !error;\r\n};\r\nViewModel.prototype.hasProvince = function () {\r\n return _.contains(this.propertyList(), 'ProvinceName');\r\n};\r\nViewModel.prototype.isValid = function () {\r\n var self = this;\r\n return _.reduce([self.StreetAddress.validate(), _.contains(self.propertyList(), 'CityName') ? self.CityName.validate() : true, self.validatePostalCode()], function (init, next) {\r\n return init && next;\r\n }, true);\r\n};\r\nexport default ViewModel;\r\n\r\n","/* eslint-disable */\r\nimport Backbone from 'backbone';\r\nimport ko from 'knockout';\r\nimport Promise from 'bluebird';\r\nimport _ from 'underscore';\r\nimport layoutTemplate from '@bingads-webui-component-legacy/address/template/layout.pug';\r\nimport ViewModel from '@bingads-webui-component-legacy/address/viewmodel/index';\r\nimport addressService from '@bingads-webui-component-legacy/address/service/addressService';\r\nimport withUiBlock from '@bingads-webui-component-legacy/uiblocker/index';\r\nvar i18n = window.globalLegacyI18n.get('component/i18n/loader!component/address');\r\nvar View = Backbone.View.extend({\r\n initialize: function (options) {\r\n this.options = options || ({});\r\n this.ko_model = new ViewModel(this.options);\r\n this._getCountries();\r\n },\r\n events: {\r\n 'change .CountryCode': '_updateAdminDistricts'\r\n },\r\n className: 'address-view',\r\n render: function () {\r\n this.$el.html(layoutTemplate());\r\n ko.applyBindings(this.ko_model, this.el);\r\n return this;\r\n },\r\n toObject: function () {\r\n var propertyList = this.ko_model.propertyList();\r\n return _.pick(this.ko_model.toObject(), propertyList);\r\n },\r\n validate: function () {\r\n this.ko_model.isEmptyByDefault(false);\r\n return this.ko_model.isValid();\r\n },\r\n _getCountries: function () {\r\n var self = this, countryCode = self.ko_model.CountryCode(), provinceName = self.ko_model.ProvinceName();\r\n self.ko_model.errors.clear();\r\n Promise.resolve(addressService.load(self.options.culture, countryCode)).then(function (data) {\r\n const countries = _.map(data.Countries, item => {\r\n return {\r\n Key: item.Key,\r\n Value: i18n.getString(`UserCountry_${item.Key}`)\r\n };\r\n });\r\n self.ko_model.countries(countries);\r\n if (_.contains(_.pluck(data.Countries, 'Key'), countryCode)) {\r\n self.ko_model.CountryCode(countryCode);\r\n } else {\r\n self.ko_model.CountryCode(_.propertyOf(_.first(data.Countries))('Key'));\r\n }\r\n self.ko_model.adminDistricts(data.AdminDistricts);\r\n if (self.ko_model.hasProvince() && !_.isEmpty(data.AdminDistricts)) {\r\n self.ko_model.ProvinceName(!_.isEmpty(provinceName) ? provinceName : _.propertyOf(_.first(data.AdminDistricts))('Key'));\r\n }\r\n }).catch(function () {\r\n self.ko_model.errors.add();\r\n }).finally(withUiBlock(self.$el.parent()));\r\n },\r\n _updateAdminDistricts: function () {\r\n var self = this;\r\n this.ko_model.isEmptyByDefault(true);\r\n if (!self.ko_model.hasProvince()) {\r\n return;\r\n }\r\n var countryCode = self.ko_model.CountryCode();\r\n self.ko_model.errors.clear();\r\n Promise.resolve(addressService.load(self.options.culture, countryCode)).then(function (data) {\r\n self.ko_model.adminDistricts(data.AdminDistricts);\r\n self.ko_model.ProvinceName(!_.isEmpty(data.AdminDistricts) ? _.propertyOf(_.first(data.AdminDistricts))('Key') : '');\r\n }).catch(function () {\r\n self.ko_model.errors.add();\r\n }).finally(withUiBlock(self.$el.parent()));\r\n },\r\n preview: function (model) {\r\n model.CountryName = _.propertyOf(_.find(this.ko_model.countries(), {\r\n Key: model.CountryCode\r\n }))('Value');\r\n if (this.ko_model.hasProvince()) {\r\n model.ProvinceCode = _.isEmpty(this.ko_model.adminDistricts()) ? model.ProvinceName : _.propertyOf(_.find(this.ko_model.adminDistricts(), {\r\n Key: model.ProvinceName\r\n }))('Value');\r\n }\r\n return model;\r\n }\r\n});\r\nexport default View;\r\n\r\n","import _ from 'underscore';\r\n\r\nexport default class AppEventDelegator {\r\n on(eventName, callback) {\r\n if (window.App && window.App.on) {\r\n window.App.on(eventName, callback);\r\n }\r\n return this;\r\n }\r\n\r\n trigger(eventName, params) {\r\n if (window.App && window.App.trigger) {\r\n window.App.trigger(eventName, params);\r\n }\r\n return this;\r\n }\r\n\r\n off(eventName, callback) {\r\n if (window.App && window.App.off) {\r\n if (_.isUndefined(callback)) {\r\n window.App.off(eventName);\r\n } else {\r\n window.App.off(eventName, callback);\r\n }\r\n }\r\n return this;\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport $ from 'jquery';\r\n\r\n// focusable also means clickable.\r\nfunction isFocusable(ele) {\r\n return $(ele).is('a[href], area[href], button, details, input, iframe, select, textarea, [tabindex], [onclick], [data-inline=1], .grid-editable-cell');\r\n}\r\n\r\n// For vNext\r\nexport const assistedSelectionPlugin = (definePlugin) => definePlugin('assisted-selection', ['gridView'], (gridView) => {\r\n const assistedSelection = {\r\n name: 'assisted-selection',\r\n handler(state) {\r\n const selection = gridView.get('selection');\r\n\r\n if (selection === false || (_.isObject(selection) && selection.enabled === false)) {\r\n return state;\r\n }\r\n\r\n const events = {\r\n 'click tbody tr[data-key]': (e) => {\r\n const parents = $(e.target).parentsUntil('tr');\r\n const focusableElems = _.find(_.union(_.toArray(parents), [e.target]), (ele) => {\r\n return isFocusable(ele);\r\n });\r\n\r\n if (focusableElems) {\r\n return;\r\n }\r\n\r\n setTimeout(() => {\r\n const sel = window.getSelection();\r\n\r\n if (sel.isCollapsed) {\r\n const key = this.keyOfElement(e.target);\r\n\r\n if (!_.isNull(key)) {\r\n if (_.contains(gridView.selectedKeys(), key)) {\r\n if (!selection.single) {\r\n gridView.deselectRow(key);\r\n }\r\n } else {\r\n gridView.selectRow(key);\r\n }\r\n }\r\n }\r\n }, 100);\r\n },\r\n };\r\n\r\n _.defaults(events, state.events);\r\n\r\n return _.defaults({ events }, state);\r\n },\r\n defaults: {},\r\n };\r\n\r\n gridView.pipeContentProjections(assistedSelection);\r\n});\r\n\r\n// For non-vNext\r\nexport function applyAssistedSelection(grid) {\r\n $(grid.el).on('click tbody tr', (e) => {\r\n const parents = $(e.target).parentsUntil('tr');\r\n const focusableElems = _.find(_.union(parents, [e.target]), (ele) => {\r\n return isFocusable(ele);\r\n });\r\n\r\n if (focusableElems) {\r\n return;\r\n }\r\n\r\n const data = grid.layout.dataFor(e.target);\r\n\r\n if (data && data.model) {\r\n setTimeout(() => {\r\n const sel = window.getSelection();\r\n\r\n if (sel.isCollapsed) {\r\n const id = data.model[grid.projection.get('row.check.id')];\r\n const selection = grid.getSelection();\r\n\r\n if (_.contains(selection, id)) {\r\n grid.projection.set('row.check.list', _.without(selection, id));\r\n } else {\r\n grid.projection.set('row.check.list', _.union(selection, [id]));\r\n }\r\n }\r\n grid.trigger('change:row.check.list');\r\n }, 100);\r\n }\r\n\r\n });\r\n}\r\n","import _ from 'underscore';\r\nimport state from '@bingads-webui-component-legacy/state/index';\r\nimport CampaignStateManager from '@bingads-webui-component-legacy/statemanager/campaignStateManager';\r\nimport Preferences from '@bingads-webui-component-legacy/preference/service/index';\r\nimport configComponent from '@bingads-webui-component-legacy/config/index';\r\nimport { PaginationView } from '@bingads-webui-component-legacy/github/modules/pagination-control/module/pagination-control';\r\nimport defaultTemplate from '@bingads-webui-component-legacy/bingads-grid/template/pagination.pug';\r\n\r\nconst i18n = window.globalLegacyI18n.get('component/i18n/loader!component/bingads-grid');\r\n\r\nconst DEFAULT_PAGE_SIZES = [20, 50, 100, 200];\r\nconst DEFAULT_PAGE_SIZE = 20;\r\n\r\nconst patchTemplate = (template, defaults) => (options) => template(_.defaults(options, defaults));\r\n\r\nfunction normalizeConfig({\r\n el,\r\n pageSize,\r\n pageNumber,\r\n availablePageSizes,\r\n template = defaultTemplate,\r\n enableRandomPage,\r\n} = {}) {\r\n const config = {\r\n el,\r\n pageSize,\r\n pageNumber,\r\n availablePageSizes,\r\n template: patchTemplate(template, {\r\n pageNumberLabelText: i18n.get('Grid_Page_Colon'),\r\n }),\r\n pageSizeText: i18n.get('Grid_ShowRows'),\r\n totalPageCountText: i18n.get('Grid_PageOf'),\r\n enableRandomPage,\r\n };\r\n\r\n // Normalize the pageSize and availablePageSizes\r\n if (!_.isFinite(pageSize)) {\r\n if (_.isFinite(_.first(availablePageSizes))) {\r\n config.pageSize = _.first(availablePageSizes);\r\n } else {\r\n config.availablePageSizes = DEFAULT_PAGE_SIZES;\r\n config.pageSize = DEFAULT_PAGE_SIZE;\r\n }\r\n } else if (!_.isFinite(_.first(availablePageSizes))) {\r\n config.availablePageSizes = [pageSize];\r\n }\r\n\r\n // Normalize the pageNumber\r\n if (!_.isFinite(pageNumber)) {\r\n config.pageNumber = 0;\r\n }\r\n\r\n config.viewModelDecorator = (viewModel) => {\r\n /* eslint-disable no-param-reassign */\r\n viewModel.onKeyPress = (data, event) => {\r\n const keyCode = event.which || event.keyCode;\r\n\r\n if (keyCode === 13) {\r\n event.target.blur();\r\n return false;\r\n }\r\n\r\n return true;\r\n };\r\n /* eslint-enable no-param-reassign */\r\n };\r\n\r\n return config;\r\n}\r\n\r\n/**\r\n * @typedef PaginationConfig\r\n * @type {object}\r\n * @property {HTMLElement|jQuery|string} el - The element of the pagination control.\r\n * The pagination control will be rendered in table footer when omitted.\r\n * @property {number} pageSize - The initial page size.\r\n * @property {number} pageNumber - The initial page number.\r\n * @property {number[]} availablePageSizes - The available page sizes user can chooser.\r\n * @property {function} template - The customized pagination control template.\r\n * @property {string} pageSizeText - The localized string before page size selector.\r\n * @property {string} totalPageCountText - The localized string before total page size.\r\n */\r\n\r\nfunction updateGridViewHandler(gridView, paginationView) {\r\n const { pageSize, pageNumber } = paginationView;\r\n const skip = pageSize * pageNumber;\r\n const take = pageSize;\r\n\r\n gridView.set({\r\n query: _.defaults({ skip, take }, gridView.get('query')),\r\n }, () => {\r\n paginationView.trigger('change.complete:pagination');\r\n });\r\n}\r\n\r\nfunction updatePaginationViewHandler(gridView, paginationView) {\r\n const itemCount = gridView.getItemCount();\r\n\r\n paginationView.itemCount = itemCount;\r\n const { pageSize, pageNumber } = paginationView;\r\n const skip = pageSize * pageNumber;\r\n\r\n if (itemCount !== 0 && itemCount <= skip) {\r\n paginationView.pageNumber = 0;\r\n }\r\n}\r\n\r\nfunction sortChangedHandler(paginationView, gridView, changes ) {\r\n if (_.has(changes, 'sortableHeader')) {\r\n if (paginationView.pageNumber) {\r\n paginationView.pageNumber = 0;\r\n }\r\n }\r\n}\r\n\r\nfunction setPageNumberToState(number, name) {\r\n state.set('pgridPageNumber', _.defaults({\r\n [name]: number,\r\n }, state.get('pgridPageNumber') || {}));\r\n}\r\n\r\nexport default (definePlugin) => definePlugin('pagination', [\r\n 'config',\r\n 'gridView',\r\n], ({ plugins, name } = {}, gridView) => {\r\n const pagination = _.result(plugins, 'pagination', {});\r\n const paginationView = new PaginationView(normalizeConfig(pagination));\r\n\r\n // [todo: hezhan] remove line below, tracking by bug 820684\r\n paginationView.delegateEvents({'submit': () => false});\r\n const updatePaginationView = _.partial(updatePaginationViewHandler, gridView, paginationView);\r\n const updateGridView = _.partial(updateGridViewHandler, gridView, paginationView);\r\n\r\n updateGridView();\r\n\r\n setPageNumberToState(0, name);\r\n\r\n gridView.on('willUpdate', _.partial(sortChangedHandler, paginationView, gridView));\r\n gridView.on('didUpdate', updatePaginationView);\r\n paginationView.on('change:page-number', (pageNumber) => {\r\n setPageNumberToState(pageNumber, name);\r\n updateGridView();\r\n });\r\n paginationView.on('change:page-size', (pageSize) => {\r\n let data = {\r\n rowsPerPage: pageSize,\r\n };\r\n const usePreferencesService = _.result(configComponent.get('Permissions'), 'IsUsePreferencesServiceEnabled');\r\n\r\n if (usePreferencesService === true) {\r\n let prefix = configComponent.get('StateManagerKeyPrefix');\r\n let preferenceData = {\r\n Name: `${prefix}grid`,\r\n Data: data,\r\n };\r\n\r\n Preferences.setAtUserLevel(preferenceData);\r\n } else {\r\n CampaignStateManager.setItem('permanent', 'grid', data);\r\n }\r\n\r\n updateGridView();\r\n });\r\n\r\n // The plugin should render its views, user SHOULD NOT call render() again.\r\n paginationView.render();\r\n\r\n if (!pagination.el) {\r\n gridView.appendFootRows([{\r\n classes: ['noborder'],\r\n view: paginationView,\r\n }]);\r\n }\r\n\r\n return paginationView;\r\n});\r\n","import _ from 'underscore';\r\nimport { PreferencesSubadapter } from '@bingads-webui-component-legacy/bingads-grid/service/preference-subadapter';\r\nimport { store, adapter } from '@bingads-webui-component-legacy/bingads-grid/service/grid-preferences';\r\n\r\n\r\nexport const LegacyColumns = store.defineResource('LegacyColumns');\r\nexport const LegacySelectedColumns = store.defineResource('LegacySelectedColumns');\r\n\r\nadapter.registerSubadapter('LegacyColumns', new PreferencesSubadapter({\r\n Resource: LegacyColumns,\r\n prefix({\r\n where: {\r\n project = 'CampaignUI',\r\n grid = null,\r\n } = {},\r\n } = {}) {\r\n if (_.some([project, grid], _.negate(_.isString))) {\r\n throw new Error('Invalid where clause');\r\n }\r\n\r\n return `WebApp.${project}.Columns.${grid}`;\r\n },\r\n\r\n serialize(attrs) {\r\n const { id, project, grid, columns, name } = attrs;\r\n\r\n if (_.some([project, grid, name], _.negate(_.isString)) || !_.isArray(columns)) {\r\n throw new Error('Invalid attributes');\r\n }\r\n\r\n return {\r\n Id: id,\r\n Name: `WebApp.${project}.Columns.${grid}.${name}`,\r\n Data: columns,\r\n Type: 'array',\r\n Version: 1,\r\n };\r\n },\r\n\r\n deserialize(data) {\r\n const matchCustom = data.Name.match(/^WebApp\\.(\\w+)\\.Columns\\.(\\w+)_custom$/);\r\n\r\n if (matchCustom) {\r\n const [project, grid] = matchCustom.slice(1);\r\n const columns = data.Data;\r\n const id = data.Id;\r\n\r\n return { id, project, grid, name: 'Custom', columns };\r\n }\r\n\r\n // legacy save custom as gridName_custom, which break the rule of gridName.[name],\r\n // so we have to filter out gridName_selected, which is used to save applied record name\r\n const matchSelected = data.Name.match(/^WebApp\\.(\\w+)\\.Columns\\.(\\w+)_selected$/);\r\n\r\n if (matchSelected) {\r\n return { id: -1 };\r\n }\r\n\r\n const match = data.Name.match(/^WebApp\\.(\\w+)\\.Columns\\.(\\w+)\\.(.*)$/);\r\n\r\n if (!match) {\r\n throw new Error('Invalid preference name');\r\n }\r\n\r\n const [project, grid, name] = match.slice(1);\r\n const columns = data.Data;\r\n const id = data.Id;\r\n\r\n return { id, project, grid, name, columns };\r\n },\r\n}));\r\n\r\nadapter.registerSubadapter('LegacySelectedColumns', new PreferencesSubadapter({\r\n Resource: LegacySelectedColumns,\r\n prefix({\r\n where: {\r\n project = 'CampaignUI',\r\n grid = null,\r\n } = {},\r\n } = {}) {\r\n if (_.some([project, grid], _.negate(_.isString))) {\r\n throw new Error('Invalid where clause');\r\n }\r\n\r\n return `WebApp.${project}.Columns.${grid}_selected`;\r\n },\r\n\r\n serialize(attrs) {\r\n const { id, project, grid, name } = attrs;\r\n\r\n if (_.some([project, grid, name], _.negate(_.isString))) {\r\n throw new Error('Invalid attributes');\r\n }\r\n\r\n return {\r\n Id: id,\r\n Name: `WebApp.${project}.Columns.${grid}_selected`,\r\n Data: `WebApp.${project}.Columns.${grid}.${name}`,\r\n Type: 'string',\r\n Version: 1,\r\n };\r\n },\r\n\r\n deserialize(data) {\r\n const match = data.Name.match(/^WebApp\\.(\\w+)\\.Columns\\.(\\w+)_selected$/);\r\n\r\n if (!match) {\r\n throw new Error('Invalid preference name');\r\n }\r\n\r\n const [project, grid] = match.slice(1);\r\n const id = data.Id;\r\n let name;\r\n\r\n if (data.Data === `WebApp.${project}.Columns.${grid}_custom`) {\r\n name = 'Custom';\r\n } else {\r\n name = data.Data.replace(`WebApp.${project}.Columns.${grid}.`, '');\r\n }\r\n\r\n return { id, project, grid, name };\r\n },\r\n}));\r\n","import _ from 'underscore';\r\nimport config from '@bingads-webui-component-legacy/config/index';\r\nimport urijs from 'urijs';\r\n\r\nconst ccBaseUrl = config.get('CCBaseUrl');\r\n\r\n/**\r\n * Get absolulte client center URL. Do not include 'cc/' in path.\r\n * Examples:\r\n * getCCUrl(['accounts','list']) => https:///cc/accounts/list\r\n * getCCUrl('accounts/list') => https:///cc/accounts/list\r\n * @param {string | Array} path Relative path or an array of path segments, should not include 'cc/' in this path\r\n * @param {JSON} queryParams Params in URL\r\n * @returns {string} String of URL\r\n */\r\nexport const getCCUrl = (path, queryParams = null) => {\r\n const ccBaseUri = urijs(ccBaseUrl);\r\n const additionalSegment = _.isArray(path) ? path : [path];\r\n const ccUri = ccBaseUri.segment([...ccBaseUri.segment(), ...additionalSegment]);\r\n\r\n if (queryParams) {\r\n ccUri.setQuery(queryParams);\r\n }\r\n return ccUri.toString();\r\n};\r\n","export function getIconClasses(iconClass) {\r\n return ['glyphicon', 'toolbar-icon', iconClass];\r\n}\r\n\r\nexport function getLeftIconClasses(iconClass) {\r\n const classes = getIconClasses(iconClass);\r\n\r\n classes.push('toolbar-icon-left');\r\n return classes;\r\n}\r\n\r\nexport const filterIcon = getLeftIconClasses('icon-filter-normal');\r\nexport const columnChooserIcon = getLeftIconClasses('icon-columnchooser-normal');\r\nexport const downloadIcon = getLeftIconClasses('icon-export-normal');\r\nexport const arrowDownIcon = getIconClasses('glyphicon-triangle-bottom');\r\nexport const expandIcon = getIconClasses('grid-expand-icon');\r\n","import _ from 'underscore';\r\nimport { addPoPFields, mapEnumValueForFilterBase, filterOptionsFromSchemaBase } from './schema-util-helper';\r\n\r\nfunction geti18n() {\r\n return window.globalLegacyI18n.get('component/i18n/loader!legacy/global');\r\n}\r\n\r\n//Map enum value like 'Eligible' For DeliveryStatus to \"Enum.DeliveryStatus'Eligible'\"\r\nexport function mapEnumValueForFilter(enumType, enumValue) {\r\n return mapEnumValueForFilterBase(enumType, enumValue);\r\n}\r\n\r\n// Notice !!! Do not update the rootSchema\r\n// task 725601: update this to a meaningful name, as well as the buildFilters\r\nexport function filterOptionsFromSchema(rootSchema, mapEnumValue) {\r\n const schemaI18n = window.globalLegacyI18n.get('$/schema-i18n!campaign');\r\n const i18n = geti18n();\r\n\r\n return filterOptionsFromSchemaBase(rootSchema, mapEnumValue, i18n, schemaI18n);\r\n}\r\n\r\nexport function appendPeriodOverPeriodFields(options, skipAddPopFields) {\r\n const i18n = geti18n();\r\n\r\n const optionsWithPop = skipAddPopFields === true ? options : addPoPFields(options);\r\n\r\n _.each(optionsWithPop.fields, (field) => {\r\n if (field.unlocalized) {\r\n field.title = i18n.getString(field.title);\r\n delete field.unlocalized;\r\n }\r\n });\r\n\r\n return optionsWithPop;\r\n}\r\n","const segmentationTypes = {\r\n Day: 'Day',\r\n Week: 'Week',\r\n Month: 'Month',\r\n Quarter: 'Quarter',\r\n Year: 'Year',\r\n DayOfTheWeek: 'DayOfTheWeek',\r\n HourOfTheDay: 'HourOfTheDay',\r\n Device: 'DeviceType',\r\n Network: 'Network',\r\n TopVsOther: 'TopVsOther',\r\n GoalName: 'GoalName',\r\n GoalType: 'GoalType',\r\n AudienceName: 'AudienceName',\r\n AudienceType: 'AudienceType',\r\n};\r\n\r\nexport default segmentationTypes;\r\n","import state from '@bingads-webui-component-legacy/state/index';\r\nimport segmentTypes from '@bingads-webui-component-legacy/bingads-grid/shared/segmentationTypes';\r\nimport date from '@bingads-webui-component-legacy/humanize/date';\r\n\r\nfunction isTimeRangeValid(segmentType) {\r\n const dateRange = state.get('$daterange') || { start: null, end: null };\r\n let startDate = null;\r\n let endDate = null;\r\n let goalSegmentStartDate = new Date('October 26, 2017 00:00:00'); //The first date that BI has segmentation data, offset by 1 day to ensure no timezone issues.\r\n let audienceSegmentStartDate = new Date('January 05, 2018 00:00:00'); //The first date that BI has segmentation data, offset by 1 day to ensure no timezone issues.\r\n\r\n if (dateRange) {\r\n startDate = dateRange.start;\r\n endDate = dateRange.end;\r\n }\r\n\r\n // If time range control didn't initialize successfully, we will just pass data directly to MT\r\n if (!startDate || !endDate) {\r\n return true;\r\n }\r\n\r\n let totalRange = date.diff(startDate, endDate, 'day');\r\n\r\n if (dateRange.compared && dateRange.compared.start && dateRange.compared.end) {\r\n totalRange += date.diff(dateRange.compared.start, dateRange.compared.end, 'day');\r\n }\r\n\r\n const oneYearAgo = date.todayNYearsAgo(endDate, 1);\r\n const threeYearsAgo = date.todayNYearsAgo(endDate, 3);\r\n const withinThreeYears = startDate >= threeYearsAgo;\r\n const moreThanOneYear = oneYearAgo >= startDate;\r\n\r\n switch (segmentType) {\r\n case segmentTypes.Day:\r\n return totalRange < 16;\r\n case segmentTypes.Week:\r\n return totalRange >= 7 && totalRange < 16 * 7;\r\n case segmentTypes.Month:\r\n return totalRange >= 30 && totalRange < 16 * 30;\r\n case segmentTypes.Quarter:\r\n return totalRange > 90 && withinThreeYears;\r\n case segmentTypes.Year:\r\n return moreThanOneYear && withinThreeYears;\r\n case segmentTypes.HourOfTheDay:\r\n return date.diff(dateRange.compared.start && dateRange.compared.start < startDate ? dateRange.compared.start : startDate, date.accountTimeZoneNow(), 'day') <= 180;\r\n case segmentTypes.GoalName:\r\n case segmentTypes.GoalType:\r\n return startDate >= goalSegmentStartDate;\r\n case segmentTypes.AudienceName:\r\n case segmentTypes.AudienceType:\r\n return startDate >= audienceSegmentStartDate;\r\n default :\r\n return true;\r\n }\r\n}\r\n\r\nexport default {\r\n isTimeRangeValid,\r\n};\r\n","/* eslint-disable */\r\nimport _ from 'underscore';\r\nimport state from '@bingads-webui-component-legacy/state/index';\r\nfunction Connector(grid, pagination) {\r\n this.grid = grid;\r\n this.pagination = pagination;\r\n this.next = function (e, arg) {\r\n grid.projection.set('page.number', arg.page_number + 1);\r\n };\r\n this.previous = function (e, arg) {\r\n grid.projection.set('page.number', arg.page_number - 1);\r\n };\r\n this.number = function (e, arg) {\r\n grid.projection.set('page.number', arg.page_number);\r\n };\r\n this.size = function (e, arg) {\r\n if (_.isString(grid.gridPageSizeKey)) {\r\n state.set(grid.gridPageSizeKey, arg.page_size);\r\n }\r\n grid.projection.set({\r\n 'page.number': 0,\r\n 'page.size': arg.page_size\r\n });\r\n };\r\n this.data = function (model) {\r\n var page_number = grid.projection.get('page.number'), page_size = grid.projection.get('page.size');\r\n pagination.ko_model.page_number(page_number);\r\n pagination.ko_model.page_size(page_size);\r\n pagination.ko_model.item_count(model.get('count'));\r\n };\r\n}\r\nConnector.prototype.disconnect = function () {\r\n this.pagination.off('click:next', this.next);\r\n this.pagination.off('click:previous', this.previous);\r\n this.pagination.off('change:number', this.number);\r\n this.pagination.off('change:size', this.size);\r\n this.grid.off('change:data', this.data);\r\n};\r\nConnector.prototype.connect = function () {\r\n this.pagination.on('click:next', this.next);\r\n this.pagination.on('click:previous', this.previous);\r\n this.pagination.on('change:number', this.number);\r\n this.pagination.on('change:size', this.size);\r\n this.grid.on('change:data', this.data);\r\n return this;\r\n};\r\nexport default Connector;\r\n\r\n","import _ from 'underscore';\r\nimport ko from 'knockout';\r\n\r\nfunction isLastLevel(pairs) {\r\n return _.isEmpty(pairs) || _.isString(pairs[0]);\r\n}\r\n\r\nfunction isValidPath(path, pairs) {\r\n if (_.isEmpty(path)) {\r\n if (isLastLevel(pairs)) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n let result = _.find(pairs, (i) => _.first(i) === _.first(path));\r\n\r\n if (_.size(pairs) === 1 && _.size(path) === 1) {\r\n if (_.indexOf(pairs[0], path[0]) > -1) {\r\n result = pairs[0];\r\n }\r\n }\r\n\r\n if (_.isEmpty(result)) {\r\n return false;\r\n }\r\n\r\n return isValidPath(_.rest(path), _.rest(result));\r\n}\r\n\r\nfunction getDefaultPath(pairs) {\r\n if (_.isString(pairs[0])) {\r\n return [pairs[0]];\r\n }\r\n\r\n const [key, val] = pairs[0];\r\n const paths = getDefaultPath(val);\r\n\r\n return [key, ...paths];\r\n}\r\n\r\nclass CxSelector {\r\n constructor(path, selectsCss, i18n, pairs, caption = null, selectsLabel = null) {\r\n this.css = selectsCss[0] || '';\r\n this.label = (selectsLabel && selectsLabel[0]) || undefined;\r\n this.pairs = pairs;\r\n this.isLastLevel = isLastLevel(pairs);\r\n let options;\r\n\r\n if (this.isLastLevel) {\r\n const defaultValue = caption ? null : pairs[0];\r\n\r\n this.value = ko.observable(path[0] || defaultValue);\r\n options = pairs;\r\n\r\n this.caption = caption;\r\n } else {\r\n this.value = ko.observable(path[0] || pairs[0][0]);\r\n\r\n options = _.map(pairs, _.first);\r\n\r\n this.caption = null;\r\n\r\n this.subCxSelector = ko.computed(() => {\r\n const v = this.value();\r\n\r\n return !_.isEmpty(v) && new CxSelector(_.rest(path), _.rest(selectsCss), i18n, _.find(pairs, (i) => _.first(i) === v)[1], caption, _.rest(selectsLabel));\r\n });\r\n }\r\n\r\n this.opts = _.map(options, (opt) => {\r\n return {\r\n optionsValue: opt,\r\n optionsText: i18n.get(opt),\r\n };\r\n });\r\n }\r\n\r\n toArray() {\r\n const sub = ko.unwrap(this.subCxSelector);\r\n\r\n return sub ? [this, ...sub.toArray()] : [this];\r\n }\r\n}\r\n\r\nexport default class ViewModel {\r\n constructor({\r\n value = '',\r\n selectsCss = [],\r\n selectsLabel = [],\r\n selectOptions = [],\r\n caption = null,\r\n i18n = { get: _.identity },\r\n } = {}) {\r\n this.selectsCss = selectsCss;\r\n this.selectsLabel = selectsLabel;\r\n this.i18n = i18n;\r\n this.selectOptions = selectOptions;\r\n this.caption = caption;\r\n this.hasEdited = false;\r\n this.isMultiMatch = false;\r\n this.matchedPaths = ViewModel.findValuePaths(value, selectOptions);\r\n\r\n if (_.size(this.matchedPaths) > 1) {\r\n this.isMultiMatch = true;\r\n }\r\n const initialPath = this.matchedPaths[0] || [];\r\n const defaultPath = _.isEmpty(initialPath) ? getDefaultPath(selectOptions) : initialPath;\r\n\r\n this.cxSelectorHead = ko.observable(new CxSelector(initialPath, selectsCss, i18n, selectOptions, caption, selectsLabel));\r\n this.cxSelectors = ko.computed(() => {\r\n return this.cxSelectorHead().toArray();\r\n });\r\n this.tempPath = ko.computed(() => {\r\n return _.map(this.cxSelectors(), (cxSelector) => {\r\n return cxSelector.value();\r\n });\r\n });\r\n this.path = ko.computed(() => {\r\n if (isValidPath(this.tempPath(), selectOptions)) {\r\n return this.tempPath();\r\n }\r\n return defaultPath;\r\n });\r\n this.path.subscribe(() => {\r\n this.hasEdited = true;\r\n });\r\n }\r\n\r\n updatePath(newPath) {\r\n if (!this.hasEdited &&\r\n this.isMultiMatch &&\r\n _.some(this.matchedPaths, (path) => _.isEqual(path, newPath))\r\n ) {\r\n this.cxSelectorHead(new CxSelector(newPath, this.selectsCss, this.i18n, this.selectOptions, this.caption, this.selectsLabel));\r\n }\r\n }\r\n\r\n static findValuePaths(value, pairs) {\r\n const ret = [];\r\n\r\n if (_.isEmpty(value)) {\r\n return ret;\r\n }\r\n\r\n if (isLastLevel(pairs)) {\r\n return _.contains(pairs, value) ? [[value]] : [];\r\n }\r\n\r\n // for .. of .. from babeljs needs Symbol\r\n for (let index in pairs) {\r\n const [key, val] = pairs[index];\r\n\r\n let results = ViewModel.findValuePaths(value, val);\r\n\r\n if (!_.isEmpty(results)) {\r\n _.each(results, (result) => ret.push([key, ...result]));\r\n }\r\n }\r\n\r\n return ret;\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport Backbone from 'backbone';\r\nimport ko from 'knockout';\r\nimport ViewModel from '@bingads-webui-component-legacy/cx-select/viewmodel/cxSelect';\r\nimport defaultTemplate from '@bingads-webui-component-legacy/cx-select/template/cxSelect.pug';\r\n\r\nexport default class View extends Backbone.View {\r\n initialize({\r\n template = defaultTemplate,\r\n value,\r\n selectsCss,\r\n selectsLabel,\r\n selectOptions,\r\n caption,\r\n i18n,\r\n id,\r\n label,\r\n labelledby,\r\n describedby,\r\n } = {}) {\r\n this.template = template;\r\n this.viewModel = new ViewModel({\r\n value,\r\n selectsCss,\r\n selectsLabel,\r\n selectOptions,\r\n caption,\r\n i18n,\r\n });\r\n\r\n this.viewModel.path.subscribe((path) => {\r\n this.trigger('update', _.last(path), path);\r\n });\r\n\r\n this.on('update:path', (path) => {\r\n this.viewModel.updatePath(path);\r\n });\r\n\r\n this.attrs = _.pick({\r\n id,\r\n 'aria-label': labelledby ? null : label,\r\n 'aria-labelledby': labelledby,\r\n 'aria-describedby': describedby,\r\n }, Boolean);\r\n }\r\n\r\n render() {\r\n // give id to this.$('.cx-select')\r\n this.$el.removeAttr('id');\r\n\r\n this.$el.html(this.template({\r\n attrs: this.attrs,\r\n }));\r\n ko.applyBindings(this.viewModel, this.el);\r\n return this;\r\n }\r\n\r\n getPath() {\r\n return this.viewModel.path();\r\n }\r\n\r\n static findValuePath(value, pairs) {\r\n return ViewModel.findValuePaths(value, pairs)[0] || [];\r\n }\r\n}\r\n","/* eslint-disable */\r\nimport ko from 'knockout';\r\nimport $ from 'jquery';\r\nimport _ from 'underscore';\r\nimport '@bingads-webui/kendo/kendo.datepicker';\r\nko.bindingHandlers.datePicker = {\r\n init: function (element, valueAccessor, allBindings) {\r\n var value = valueAccessor(), bindings = allBindings(), culture = bindings.culture, format = bindings.format, navigateToPastAriaLabel = bindings.navigateToPastAriaLabel, navigateToFutureAriaLabel = bindings.navigateToFutureAriaLabel, enabled = bindings.enabled, disabled = bindings.disabled;\r\n if (_.isUndefined(enabled) && !_.isUndefined(disabled)) {\r\n if (ko.isObservable(disabled)) {\r\n enabled = ko.computed(function () {\r\n return !disabled();\r\n });\r\n } else {\r\n enabled = !disabled;\r\n }\r\n }\r\n if (!ko.isObservable(value)) {\r\n throw new Error('Value accessor for date picker should be observable');\r\n }\r\n $(element).kendoDatePicker({\r\n culture: culture,\r\n format: format,\r\n animation: false,\r\n footer: false,\r\n max: new Date(9999, 11, 31),\r\n value: value(),\r\n change: function () {\r\n var val = this.value();\r\n if (val == null && !!$(element).val()) {\r\n val = $(element).val();\r\n }\r\n value(val);\r\n },\r\n open: function () {\r\n if (widget && widget.dateView && widget.dateView.calendar && widget.dateView.calendar.setOptions) {\r\n widget.dateView.calendar.setOptions({\r\n animation: false\r\n });\r\n }\r\n if (widget && widget.dateView && widget.dateView.calendar) {\r\n const {calendar} = widget.dateView;\r\n if (navigateToPastAriaLabel) {\r\n calendar._prevArrow.attr('aria-label', navigateToPastAriaLabel);\r\n }\r\n if (navigateToFutureAriaLabel) {\r\n calendar._nextArrow.attr('aria-label', navigateToFutureAriaLabel);\r\n }\r\n }\r\n }\r\n });\r\n $(element).addClass('form-control');\r\n var widget = $(element).data('kendoDatePicker');\r\n if (!!widget) {\r\n if (_.isFunction(widget.open)) {\r\n $(element).click(widget.open.bind(widget));\r\n }\r\n if (_.isFunction(widget.value)) {\r\n value.subscribe(function (newValue) {\r\n if (widget.value() != newValue) {\r\n widget.value(newValue);\r\n }\r\n });\r\n }\r\n if (ko.isObservable(enabled)) {\r\n widget.enable(enabled());\r\n enabled.subscribe(function (newValue) {\r\n widget.enable(newValue);\r\n $(element).removeAttr('aria-readonly');\r\n });\r\n } else if (!_.isUndefined(enabled)) {\r\n widget.enable(enabled);\r\n }\r\n }\r\n $(element).removeAttr('aria-readonly');\r\n }\r\n};\r\nexport default ko.bindingHandlers.datePicker;\r\n\r\n","/* eslint-disable prefer-rest-params */\r\nimport $ from 'jquery';\r\nimport _ from 'underscore';\r\nimport '@bingads-webui/kendo/kendo.window';\r\n\r\n\r\nlet windowDefaults = {\r\n modal: true,\r\n maxWidth: 600,\r\n resizable: false,\r\n visible: false,\r\n title: '',\r\n};\r\n\r\nlet decorate = function(View, dialogOptions) {\r\n function _applyIfExists(func, context, args) {\r\n if (_.isFunction(func)) {\r\n func.apply(context, _.toArray(args));\r\n }\r\n }\r\n class DecoratedView extends View {\r\n\r\n initialize(options) {\r\n this.options = options || {};\r\n this.destroy = this.remove;\r\n if (!_.has(View.prototype, 'render')) {\r\n this.show();\r\n }\r\n _applyIfExists(View.prototype.initialize, this, arguments);\r\n }\r\n\r\n render() {\r\n this.show();\r\n\r\n _applyIfExists(View.prototype.render, this, arguments);\r\n this.setPosition();\r\n\r\n return this;\r\n }\r\n\r\n setPosition() {\r\n if (this.dialogOptions.position === 'center') {\r\n this.center();\r\n }\r\n }\r\n\r\n show() {\r\n let options = _.defaults({\r\n title: this.options.title,\r\n autoFocus: true,\r\n animation: false,\r\n }, this.options.dialogOptions, dialogOptions, windowDefaults);\r\n\r\n if (!this._window) {\r\n this._window = this.$el\r\n .kendoWindow(options)\r\n .data('kendoWindow');\r\n }\r\n\r\n this._window.wrapper.attr('role', 'dialog');\r\n this._window.wrapper.attr('aria-label', options.title);\r\n if (options.rootId) {\r\n this._window.wrapper.attr('id', options.rootId);\r\n }\r\n this._window.center();\r\n this._window.open();\r\n\r\n let $closeIcon = $('span.k-icon.k-i-close', this._window.wrapper);\r\n\r\n $closeIcon.html('').click(_.bind(this.remove, this));\r\n\r\n _.each(options.dialogClasses, (className) => {\r\n this._window.element.addClass(className);\r\n }, this);\r\n\r\n if (options.zindex) {\r\n this.$el.css('z-index', options.zindex);\r\n }\r\n\r\n if (!_.isEmpty(options.popupFront)) {\r\n let element = $(options.popupFront);\r\n\r\n if (element && element.length > 0) {\r\n let topzindex = parseInt(element.css('z-index'), 10) + 2;\r\n let kwindow = $('.k-window');\r\n let koverlay = $('.k-overlay');\r\n\r\n if (kwindow && kwindow.length > 0) {\r\n kwindow.css('z-index', topzindex);\r\n }\r\n if (koverlay && koverlay.length > 0) {\r\n koverlay.css('z-index', topzindex - 1);\r\n }\r\n }\r\n }\r\n\r\n this.dialogOptions = options;\r\n\r\n return this;\r\n }\r\n\r\n center() {\r\n if (this._window) {\r\n this._window.center();\r\n }\r\n return this;\r\n }\r\n\r\n hide() {\r\n if (this._window) {\r\n this._window.close();\r\n }\r\n return this;\r\n }\r\n\r\n remove(e) {\r\n if (e) {\r\n e.preventDefault();\r\n }\r\n\r\n if (this._window) {\r\n _applyIfExists(View.prototype.remove, this, arguments);\r\n _applyIfExists(View.prototype.destroy, this, arguments);\r\n\r\n this._window.close();\r\n this._window.destroy();\r\n this._window = null;\r\n }\r\n }\r\n }\r\n\r\n return DecoratedView;\r\n};\r\n\r\nexport {\r\n decorate,\r\n};\r\n","/* eslint-disable */\r\nimport * as dialogDecoratorImpl from '@bingads-webui-component-legacy/dialog/dialogDecoratorImpl';\r\nexport default {\r\n decorate: dialogDecoratorImpl.decorate\r\n};\r\n\r\n","/* eslint-disable */\r\nimport $ from 'jquery';\r\nfunction ModalManager(message) {\r\n this.handler = function () {\r\n return message;\r\n };\r\n this.active = false;\r\n}\r\nModalManager.prototype.on = function () {\r\n if (!this.active) {\r\n $(window).on('beforeunload', this.handler);\r\n this.active = true;\r\n }\r\n};\r\nModalManager.prototype.off = function () {\r\n if (this.active) {\r\n $(window).off('beforeunload', this.handler);\r\n this.active = false;\r\n }\r\n};\r\nexport default ModalManager;\r\n\r\n","/* eslint-disable */\r\nfunction _alert(message) {\r\n alert(message);\r\n}\r\nfunction _confirm(message) {\r\n return confirm(message);\r\n}\r\nfunction _prompt(message, defaultText) {\r\n return prompt(message, defaultText);\r\n}\r\nexport default {\r\n alert: _alert,\r\n confirm: _confirm,\r\n prompt: _prompt\r\n};\r\n\r\n","/* eslint-disable */\r\nimport backbone from 'backbone';\r\nimport _ from 'underscore';\r\nimport $ from 'jquery';\r\nvar decorate = function (view, toggleOptions) {\r\n var decoratedView;\r\n decoratedView = view.extend({\r\n initialize: function (options) {\r\n this.options = options || ({});\r\n _applyIfExists(view.prototype.initialize, this, arguments);\r\n },\r\n render: function () {\r\n this.show();\r\n _applyIfExists(view.prototype.render, this, arguments);\r\n this.$container.html(this.$el);\r\n return this;\r\n },\r\n show: function () {\r\n if (!this.injected) {\r\n this.$container = $('
').attr('class', toggleOptions.containerCss);\r\n this.$toggleEl = toggleOptions.getToggleEl();\r\n }\r\n this.$toggleEl.hide();\r\n if (!this.injected) {\r\n this.$toggleEl.after(this.$container);\r\n this.injected = true;\r\n } else {\r\n this.$container.show();\r\n }\r\n return this;\r\n },\r\n hide: function () {\r\n if (!!this.$container) {\r\n this.$container.hide();\r\n }\r\n if (!!this.$toggleEl) {\r\n this.$toggleEl.show();\r\n }\r\n return this;\r\n },\r\n remove: function () {\r\n this.hide();\r\n _applyIfExists(view.prototype.remove, this, arguments);\r\n if (!!this.$container) {\r\n this.$container.remove();\r\n }\r\n return this;\r\n }\r\n });\r\n function _applyIfExists(func, context, args) {\r\n if (_.isFunction(func)) {\r\n func.apply(context, _.toArray(args));\r\n }\r\n }\r\n return decoratedView;\r\n};\r\nexport default {\r\n decorate: decorate\r\n};\r\n\r\n","/* eslint-disable */\r\nimport ko from 'knockout';\r\nimport ko_schema from '@bingads-webui-component-legacy/ko-schema/index';\r\nvar i18n = window.globalLegacyI18n.get('component/i18n/loader!component/editorial-appeal');\r\nvar s$Appeal = window.globalLegacySchema.get('Appeal');\r\nvar ViewModel = function (options) {\r\n this.options = options || ({});\r\n this.provideJustification = ko.observable(this.options.provideJustification || false);\r\n this.rejectedReasons = ko.observableArray(this.options.rejectedReasons);\r\n this.rejectedTerms = ko.observableArray(this.options.rejectedTerms);\r\n ko_schema.properties(this, s$Appeal, ['JustificationText'], {\r\n JustificationText: this.options.justification || ''\r\n });\r\n};\r\nexport default ViewModel;\r\n\r\n","/* eslint-disable */\r\nimport ko from 'knockout';\r\nimport _ from 'underscore';\r\nimport Backbone from 'backbone';\r\nimport ViewModel from '@bingads-webui-component-legacy/editorial-appeal/viewmodel/index';\r\nimport tmpl from '@bingads-webui-component-legacy/editorial-appeal/template/layout.pug';\r\nvar i18n = window.globalLegacyI18n.get('component/i18n/loader!component/editorial-appeal');\r\nvar defaultOptions = {\r\n i18nKeys: {\r\n appealInfos: ['EditorialAppeal_AdsItem1', 'EditorialAppeal_AdsItem2'],\r\n appealTitle: 'EditorialAppeal_AppealTitle'\r\n },\r\n rejectedTerms: [],\r\n rejectedReasons: []\r\n};\r\nvar View = Backbone.View.extend({\r\n initialize: function (options) {\r\n this.options = _.defaults({}, options, defaultOptions);\r\n this.i18nKeys = _.defaults({}, this.options.i18nKeys, defaultOptions.i18nKeys);\r\n this.ko_model = new ViewModel(this.options);\r\n return this;\r\n },\r\n render: function () {\r\n this.$el.html(tmpl({\r\n i18n: i18n,\r\n rejectedTerms: this.ko_model.rejectedTerms(),\r\n rejectedReasons: this.ko_model.rejectedReasons(),\r\n i18nKeys: this.i18nKeys\r\n }));\r\n ko.applyBindings(this.ko_model, this.el);\r\n return this;\r\n },\r\n setRejectedInfos: function (appealableErrors) {\r\n this.ko_model.rejectedTerms(appealableErrors.rejectedTerms);\r\n this.ko_model.rejectedReasons(appealableErrors.rejectedReasons);\r\n },\r\n toObject: function () {\r\n return {\r\n Appeal: this.ko_model.toObject()\r\n };\r\n },\r\n validate: function () {\r\n return this.ko_model.provideJustification() ? this.ko_model.validate() : true;\r\n }\r\n});\r\nexport default View;\r\n\r\n","/* eslint-disable */\r\nimport $ from 'jquery';\r\nimport _ from 'underscore';\r\nvar decorate = function ($popoverContainer, excludeCb, clickCb, closeCb) {\r\n var self = this;\r\n $popoverContainer.off('display.bs.popover');\r\n $popoverContainer.on('display.bs.popover', function (e) {\r\n registerForPopoverDismiss();\r\n });\r\n registerForPopoverDismiss();\r\n $popoverContainer.off('hidden.bs.popover displayNone.bs.popover');\r\n $popoverContainer.on('hidden.bs.popover displayNone.bs.popover', function (e) {\r\n $('html').off('click.popoverDismiss');\r\n if (_.isFunction(closeCb)) {\r\n closeCb(e);\r\n }\r\n });\r\n function registerForPopoverDismiss() {\r\n $('html').off('click.popoverDismiss');\r\n $('html').on('click.popoverDismiss', function (e) {\r\n var exclude = excludeCb($popoverContainer, e);\r\n if (exclude === false && _.isFunction(clickCb)) {\r\n clickCb(e);\r\n }\r\n });\r\n }\r\n};\r\nexport default {\r\n decorate: decorate\r\n};\r\n\r\n","import $ from 'jquery';\r\nimport _ from 'underscore';\r\n\r\nfunction scrollByElement($element) {\r\n const $e = $($element);\r\n\r\n if (!$e || $e.length < 1) {\r\n return;\r\n }\r\n\r\n const ele = $e[0];\r\n\r\n if (_.isFunction(ele.scrollIntoView)) {\r\n ele.scrollIntoView(false);\r\n }\r\n}\r\n\r\nexport function scrollTo($element) {\r\n scrollByElement($element);\r\n\r\n let $e = $($element);\r\n let $nav = $('.navbar-fixed-top');\r\n\r\n if (!$e || $e.length < 1 || !$nav || $nav.length < 1) {\r\n return;\r\n }\r\n\r\n let offset = $e.offset();\r\n\r\n if (!offset) {\r\n return;\r\n }\r\n\r\n let navBarHeight = $nav.css('position') === 'absolute' ? 0 : $nav.outerHeight();\r\n let top = offset.top - navBarHeight;\r\n let newTop = top < 0 ? 0 : top;\r\n\r\n window.scrollTo(0, newTop);\r\n}\r\n\r\nexport function scrollAndCenter($element) {\r\n scrollByElement($element);\r\n\r\n let el = $($element);\r\n\r\n if (el && el.length >= 1) {\r\n let elOffsetTop = el.offset().top;\r\n let elHeight = el.height();\r\n let windowHeight = $(window).height();\r\n let offset;\r\n\r\n if (elHeight < windowHeight) {\r\n offset = elOffsetTop - ((windowHeight / 2) - (elHeight / 2));\r\n } else {\r\n offset = elOffsetTop;\r\n }\r\n\r\n window.scrollTo(0, offset);\r\n } else {\r\n window.scrollTo(0, 0);\r\n }\r\n}\r\n","export default {\r\n control: 'text',\r\n valueUpdate: 'input',\r\n validators: {\r\n range: { blockInput: false /*, message */ },\r\n decimalLength: { blockInput: false /*, message */ },\r\n },\r\n};\r\n","// TODO: [zhbliu] merge view and control\r\nimport numberField from '@bingads-webui-component-legacy/form/view/field/number';\r\n\r\nexport default numberField;\r\n","import _ from 'underscore';\r\nimport ko from 'knockout';\r\nimport UrlInput from '@bingads-webui-component-legacy/url-input/view/url-input';\r\nimport template from '@bingads-webui-component-legacy/url-input/template/url-input-core.pug';\r\n\r\nexport default class extends UrlInput {\r\n initialize({ observable }) {\r\n const url = _.isArray(observable()) ? _.first(observable()) : observable();\r\n\r\n super.initialize(\r\n _.chain({\r\n url,\r\n maxFullUrlLength: ko.unwrap(observable.maxLength),\r\n template,\r\n })\r\n .pick(Boolean)\r\n .value()\r\n );\r\n\r\n this.on(\r\n 'urlChanged',\r\n (valueFromUrlInput) => {\r\n // UrlInput uses null as invalid value, here we want it to be empty string\r\n const val = _.isEmpty(valueFromUrlInput) ? '' : valueFromUrlInput;\r\n\r\n if (_.isArray(observable())) { // if is array set array\r\n if (_.isEmpty(val)) { // if val is empty, set empty array rather than [\"\"]\r\n observable([]);\r\n } else {\r\n observable([val]);\r\n }\r\n } else {\r\n observable(val);\r\n }\r\n }\r\n );\r\n }\r\n}\r\n","import UrlControl from '@bingads-webui-component-legacy/form/view/control/url';\r\n\r\nexport default {\r\n control: UrlControl,\r\n};\r\n","import _ from 'underscore';\r\nimport TrackingTemplate from '@bingads-webui-component-legacy/upgraded-url/view/trackingTemplate';\r\n\r\nexport default class extends TrackingTemplate {\r\n initialize(options = {}) {\r\n let opt = _.defaults({}, options, {\r\n trackingTemplate: _.clone(options.observable()),\r\n });\r\n\r\n if (_.isEmpty(options.observable())) {\r\n options.observable(null);\r\n }\r\n\r\n options.observable.validate = () => {\r\n return _.isEmpty(this.ko_model.errorMessages());\r\n };\r\n\r\n super.initialize(opt);\r\n\r\n this.ko_model.trackingTemplate.subscribe((val) => {\r\n const newValue = _.isEmpty(val) ? null : val;\r\n\r\n options.observable(newValue);\r\n });\r\n }\r\n}\r\n","import TrackingTemplateControl from '@bingads-webui-component-legacy/form/view/control/tracking-template';\r\n\r\nexport default {\r\n control: TrackingTemplateControl,\r\n};\r\n","import _ from 'underscore';\r\nimport { CustomParametersView } from '@bingads-webui-campaign/upgrade-url';\r\n\r\nimport config from '@bingads-webui-component-legacy/config/index';\r\n\r\nconst i18n = window.globalLegacyI18n.get('component/i18n/loader!component/upgraded-url');\r\n\r\nexport default class extends CustomParametersView {\r\n initialize(options = {}) {\r\n let opt = _.defaults({}, options, {\r\n customParameters: _.clone(options.observable()),\r\n permissions: config.get('Permissions') || {},\r\n i18n,\r\n });\r\n\r\n options.observable.validate = () => {\r\n let ret = true;\r\n\r\n _.each(this.viewModel.parameters(), (param) => {\r\n ret = ret && param.isValid();\r\n });\r\n\r\n return ret && _.isEmpty(this.viewModel.errorMessages());\r\n };\r\n\r\n super.initialize(opt);\r\n\r\n this.viewModel.parameterArray.subscribe((val) => {\r\n let newVal = _.filter(val, (item) => {\r\n return !_.isEmpty(item.Key);\r\n });\r\n\r\n options.observable(newVal);\r\n });\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport booleanField from '@bingads-webui-component-legacy/form/view/field/boolean';\r\nimport enumField from '@bingads-webui-component-legacy/form/view/field/enum';\r\nimport integerField from '@bingads-webui-component-legacy/form/view/field/integer';\r\nimport numberField from '@bingads-webui-component-legacy/form/view/field/number';\r\nimport stringField from '@bingads-webui-component-legacy/form/view/field/string';\r\nimport Url from '@bingads-webui-component-legacy/form/view/field/url';\r\nimport TrackingTemplate from '@bingads-webui-component-legacy/form/view/field/tracking-template';\r\nimport CustomParams from '@bingads-webui-component-legacy/form/view/field/custom-params';\r\n\r\nconst mapping = {\r\n boolean: booleanField,\r\n enum: enumField,\r\n integer: integerField,\r\n number: numberField,\r\n string: stringField,\r\n // TODO: [zhbliu] remove this out before we open source this component\r\n Url,\r\n TrackingTemplate,\r\n CustomParams,\r\n};\r\n\r\n// TODO: [zhbliu] merge view and control\r\nexport default (attrs = {}) => {\r\n let key;\r\n\r\n if (attrs.format) {\r\n key = attrs.format;\r\n } else {\r\n key = _.isEmpty(attrs.enum) ? attrs.type : 'enum';\r\n }\r\n\r\n const field = mapping[key];\r\n\r\n if (_.isFunction(field)) {\r\n return field(attrs);\r\n }\r\n\r\n return field;\r\n};\r\n","export default {\r\n control: 'checkbox',\r\n values: [true, false],\r\n};\r\n","export default (attrs) => {\r\n return {\r\n // for enum property, default view is select\r\n control: 'select',\r\n // options are all enum values\r\n values: attrs.enum,\r\n };\r\n};\r\n","export default {\r\n // for string property, default view is input[type=text]\r\n control: 'text',\r\n showHint: false,\r\n valueUpdate: 'input',\r\n validators: {\r\n maxLength: { blockInput: false /*, message */ },\r\n },\r\n};\r\n","import CustomParamsControl from '@bingads-webui-component-legacy/form/view/control/custom-params';\r\n\r\nexport default {\r\n control: CustomParamsControl,\r\n};\r\n","import _ from 'underscore';\r\nimport typeMapping from '@bingads-webui-component-legacy/form/view/field/type';\r\n\r\n// normalize value messages to array, since value could not be nessasary string, object is not generic enough\r\nfunction normalizeValueMessages(valueMessages, values) {\r\n if (_.isArray(valueMessages)) {\r\n return valueMessages;\r\n } else if (_.isObject(valueMessages)) {\r\n return _.map(values, (value) => valueMessages[value]);\r\n } else {\r\n return valueMessages;\r\n }\r\n}\r\n\r\nexport default function generateFieldOptions(schema, fields, prefix, s$i18n) {\r\n return _.map(fields, (field) => {\r\n const fieldObject = _.isString(field) ? { property: field } : field;\r\n\r\n if (!_.isEmpty(fieldObject.fields)) { //has subfields\r\n const subFields = generateFieldOptions(schema, fieldObject.fields, prefix, s$i18n);\r\n const property = _.uniqueId(_.pluck(subFields, 'property').join('')); //if subfields has only one field, the name will be conflicted with property\r\n\r\n return _.extend({}, fieldObject, {\r\n control: fieldObject.type,\r\n property,\r\n id: `${prefix}-${property}`,\r\n hasSubFields: true,\r\n fields: subFields,\r\n });\r\n }\r\n\r\n const type = schema.name;\r\n const property = fieldObject.property;\r\n const propertySchema = schema.properties[fieldObject.property] || {};\r\n const typeOptions = typeMapping(propertySchema) || {};\r\n const values = fieldObject.values || typeOptions.values;\r\n const valueMessages = normalizeValueMessages(fieldObject.valueMessages, values) || _.map(values, _.partial(s$i18n.value, type, property));\r\n\r\n // Common options for all fields\r\n const commonOptions = {\r\n showLabel: true,\r\n schema: propertySchema,\r\n message: valueMessages[0],\r\n id: `${prefix}-${property}`,\r\n label: s$i18n.property(type, property),\r\n visible: true,\r\n required: Boolean(propertySchema.required || _.contains(schema.required, property)),\r\n };\r\n\r\n const normalizedOptions = {\r\n valueMessages,\r\n };\r\n\r\n return _.extend(commonOptions, typeOptions, fieldObject, normalizedOptions);\r\n });\r\n}\r\n","import _ from 'underscore';\r\nimport Backbone from 'backbone';\r\nimport ko from 'knockout';\r\nimport tmpl from '@bingads-webui-component-legacy/form/template/sidebar/aggregate-length.pug';\r\n\r\nconst i18n = window.globalLegacyI18n.get('component/i18n/loader!component/form');\r\n\r\nexport default class View extends Backbone.View {\r\n initialize({ properties = [], viewModel = {}, id } = {}) {\r\n const strProperties = properties.toString();\r\n\r\n this.srId = `${id}-TotalRemaining`;\r\n\r\n _.each(properties, (property) => {\r\n viewModel[property].describedby.push(this.srId);\r\n });\r\n\r\n this.viewModel = {\r\n remaining: viewModel[strProperties].remaining,\r\n remainingChar: ko.computed(() => {\r\n const remaining = viewModel[strProperties].remaining();\r\n const fields = _.reduce(properties, (initial, property) => {\r\n if (initial) {\r\n return i18n.get('TotalRemainingCharactersText_FieldsList', {\r\n initial,\r\n last: viewModel[property].label(),\r\n });\r\n } else {\r\n return viewModel[property].label();\r\n }\r\n });\r\n\r\n return i18n.get('TotalRemainingCharactersText', {\r\n count: remaining,\r\n fields,\r\n });\r\n }),\r\n };\r\n }\r\n\r\n render() {\r\n this.$el.html(tmpl({ srId: this.srId }));\r\n\r\n ko.applyBindings(this.viewModel, this.el);\r\n\r\n return this;\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport { includes } from '@bingads-webui-component-legacy/string/index';\r\nimport AggregateLengthSidebar from '@bingads-webui-component-legacy/form/view/sidebar/aggregate-length';\r\n\r\nfunction aggregateLengthGenerator(schema) {\r\n const aggregateLengthConstraints = _.filter(schema.constraints, { type: 'aggregateLength' });\r\n\r\n return _.map(aggregateLengthConstraints, (constraint) => {\r\n return {\r\n properties: constraint.properties,\r\n view: AggregateLengthSidebar,\r\n };\r\n });\r\n}\r\n\r\nconst generators = {\r\n aggregateLength: aggregateLengthGenerator,\r\n};\r\n\r\nfunction internalConvert(arraySidebars, strProperties) {\r\n return _.indexBy(arraySidebars, (sidebar) => {\r\n let strSidebarProperties = sidebar.properties.toString();\r\n\r\n if (!includes(strProperties, strSidebarProperties)) {\r\n throw new Error(`Some of properties ${strSidebarProperties} passed in through sidebars are not in passed in properties ${strProperties}`);\r\n }\r\n\r\n return strSidebarProperties;\r\n });\r\n}\r\n\r\nfunction bySchema(schema, properties) {\r\n const arraySidebars = _.reduce(generators, (memo, generator) => {\r\n return memo.concat(generator(schema));\r\n }, []);\r\n\r\n return internalConvert(arraySidebars, properties.toString());\r\n}\r\n\r\nexport default function generate({ schema, properties, sidebars }) {\r\n const strProperties = properties.toString();\r\n\r\n return _.defaults(\r\n internalConvert(sidebars, strProperties),\r\n bySchema(schema, properties)\r\n );\r\n}\r\n","export default function radios(local, attrs) {\r\n local.radios = attrs.type === 'string' ? local : local.string;\r\n}\r\n","import _ from 'underscore';\r\nimport ko from 'knockout';\r\n\r\nexport default function generate(param, viewModel) {\r\n if (_.isObject(param)) {\r\n const { depends, computedBy } = param;\r\n\r\n return ko.computed(() => {\r\n return computedBy(..._.map(depends, (dependency) => viewModel[dependency]()));\r\n });\r\n } else {\r\n return ko.observable(param);\r\n }\r\n}\r\n","import ko from 'knockout';\r\nimport generate from '@bingads-webui-component-legacy/form/viewmodel/control/readonly-computed';\r\n\r\nexport default function text(local, attrs, field, viewModel) {\r\n const id = field.id;\r\n\r\n local.text = local.string ? local.string : local;\r\n local.placeholder = generate(field.placeholder, viewModel);\r\n local.describedby = ko.observableArray([`${id}-Remaining`, `${id}-Validation`]);\r\n local.strDescribedby = ko.computed(() => {\r\n const by = local.describedby() || [];\r\n\r\n return by.join(' ');\r\n });\r\n local.labelledBy = field.ariaLabel ? undefined : `${id}-Label`;\r\n local.ariaLabel = field.ariaLabel;\r\n}\r\n","import _ from 'underscore';\r\n\r\nexport function isEditing(schema, model) {\r\n let editing = !_.isEmpty(model);\r\n\r\n if (schema.key) {\r\n // more strict for schema with key\r\n editing = editing && model[schema.key];\r\n }\r\n\r\n return editing;\r\n}\r\n\r\nexport function isFieldEditing(field, model) {\r\n if (field.hasSubFields) {\r\n return _.some(field.fields, (subField) => {\r\n return isFieldEditing(subField, model); //it can be optimized here for performance issue, anyway, if we find performance issue, will update it\r\n });\r\n } else {\r\n return !_.chain(model)\r\n .result(field.property)\r\n .isEmpty()\r\n .value();\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport checkbox from '@bingads-webui-component-legacy/form/viewmodel/control/checkbox';\r\nimport radios from '@bingads-webui-component-legacy/form/viewmodel/control/radios';\r\nimport select from '@bingads-webui-component-legacy/form/viewmodel/control/select';\r\nimport text from '@bingads-webui-component-legacy/form/viewmodel/control/text';\r\nimport textarea from '@bingads-webui-component-legacy/form/viewmodel/control/textarea';\r\nimport staticDiv from '@bingads-webui-component-legacy/form/viewmodel/control/static';\r\nimport label from '@bingads-webui-component-legacy/form/viewmodel/control/label';\r\nimport visible from '@bingads-webui-component-legacy/form/viewmodel/control/visible';\r\nimport collapse from '@bingads-webui-component-legacy/form/viewmodel/control/collapse';\r\n\r\nconst specified = {\r\n checkbox,\r\n radios,\r\n 'inline-radios': radios,\r\n select,\r\n text,\r\n textarea,\r\n collapse,\r\n static: staticDiv,\r\n};\r\n\r\nexport default function(control, local, attrs, custom, viewModel) {\r\n if (custom.hasSubFields !== true) {\r\n label(local, attrs, custom, viewModel);\r\n visible(local, attrs, custom, viewModel);\r\n }\r\n\r\n if (_.isFunction(specified[control])) {\r\n specified[control](local, attrs, custom, viewModel);\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport ko from 'knockout';\r\n\r\nexport default function checkbox(local, attrs, custom) {\r\n if (!custom.values) {\r\n throw new Error('pass custom values as [checked-value, not-checked-value] in!');\r\n }\r\n\r\n if (!_.contains(_.first(custom.values, 2), local())) {\r\n local(custom.values[1]);\r\n }\r\n\r\n local.checkbox = ko.computed({\r\n read: () => {\r\n return custom.values[0] === local();\r\n },\r\n write: (value) => {\r\n local(custom.values[value ? 0 : 1]);\r\n },\r\n });\r\n}\r\n","import _ from 'underscore';\r\n\r\nexport default function select(local, attrs, custom) {\r\n if (!_.contains(custom.values, local())) {\r\n local(custom.values[0]);\r\n }\r\n\r\n local.select = attrs.type === 'string' ? local : local.string;\r\n}\r\n","import text from '@bingads-webui-component-legacy/form/viewmodel/control/text';\r\n\r\nexport default function textarea(local, attrs, field, viewModel) {\r\n //Currently the same with text\r\n text(local, attrs, field, viewModel);\r\n}\r\n","import ko from 'knockout';\r\nimport _ from 'underscore';\r\nimport {isFieldEditing} from '@bingads-webui-component-legacy/form/service/status';\r\n\r\nexport default function collapse(local, attrs, custom, viewModel) {\r\n if (_.isUndefined(custom.isExpanded)) {\r\n local.isExpanded = isFieldEditing(custom, viewModel);\r\n } else {\r\n local.isExpanded = custom.isExpanded;\r\n }\r\n local.observable = ko.observable(local.isExpanded);\r\n\r\n local.click = () => {\r\n let value = local.observable();\r\n\r\n local.observable(!value);\r\n return null;\r\n };\r\n\r\n _.extend(local, custom);\r\n}\r\n","export default function staticDiv(local) {\r\n local.text = local.string ? local.string : local;\r\n}\r\n","import generate from '@bingads-webui-component-legacy/form/viewmodel/control/readonly-computed';\r\n\r\nexport default function label(local, attrs, custom, viewModel) {\r\n local.label = generate(custom.label, viewModel);\r\n}\r\n","import generate from '@bingads-webui-component-legacy/form/viewmodel/control/readonly-computed';\r\n\r\nexport default function visible(local, attrs, custom, viewModel) {\r\n local.visible = generate(custom.visible, viewModel);\r\n}\r\n","import _ from 'underscore';\r\nimport ko from 'knockout';\r\nimport koSchema from '@bingads-webui-component-legacy/ko-schema/index';\r\nimport koValidation from '@bingads-webui-component-legacy/ko-validation/index';\r\nimport controlSpecified from '@bingads-webui-component-legacy/form/viewmodel/control/index';\r\nimport generate from '@bingads-webui-component-legacy/form/viewmodel/control/readonly-computed';\r\nimport {isEditing} from '@bingads-webui-component-legacy/form/service/status';\r\n\r\nexport default class SimpleFormViewModel {\r\n constructor({\r\n fields,\r\n schema,\r\n model,\r\n customValidators,\r\n }) {\r\n const properties = _.pluck(fields, 'property');\r\n\r\n koSchema.properties(this, schema, properties, model, customValidators);\r\n\r\n _.each(fields, (field) => {\r\n if (field.value) {\r\n this[field.property] = generate(field.value, this).extend({\r\n validate: [koValidation.passive()],\r\n });\r\n }\r\n\r\n if (_.isUndefined(this[field.property])) {\r\n this[field.property] = ko.observable();\r\n }\r\n\r\n const observable = this[field.property];\r\n\r\n controlSpecified(field.control, observable, schema.properties[field.property], field, this);\r\n\r\n if (_.has(observable, 'validators')) {\r\n _.each(field.validators, (config, name) => {\r\n const validator = observable.validators[name];\r\n\r\n if (validator) {\r\n _.extend(validator, config);\r\n }\r\n });\r\n }\r\n });\r\n\r\n const validator = koValidation.passive();\r\n\r\n this.$overall = ko.observable().extend({\r\n validate: [validator],\r\n });\r\n\r\n this.$overall.validators = { passive: validator };\r\n\r\n this.editing = isEditing(schema, model);\r\n }\r\n}\r\n","/* global PopupController */\r\nimport _ from '@bingads-webui-component-legacy/extension/underscore';\r\nimport $ from 'jquery';\r\nimport Backbone from 'backbone';\r\nimport ko from 'knockout';\r\nimport generateFieldOptions from '@bingads-webui-component-legacy/form/view/field/generate';\r\nimport generateSidebarsOptions from '@bingads-webui-component-legacy/form/view/sidebar/generator';\r\nimport tmplSidebarWrapper from '@bingads-webui-component-legacy/form/template/sidebar/wrapper.pug';\r\nimport tmplHorizontal from '@bingads-webui-component-legacy/form/template/simple-form/layout/horizontal.pug';\r\nimport tmplInline from '@bingads-webui-component-legacy/form/template/simple-form/layout/inline.pug';\r\nimport tmplTextInput from '@bingads-webui-component-legacy/form/template/simple-form/control/text-input.pug';\r\nimport tmplTextareaInput from '@bingads-webui-component-legacy/form/template/simple-form/control/textarea.pug';\r\nimport tmplStaticDiv from '@bingads-webui-component-legacy/form/template/simple-form/control/static.pug';\r\nimport tmplSelectInput from '@bingads-webui-component-legacy/form/template/simple-form/control/select-input.pug';\r\nimport tmplCheckboxInput from '@bingads-webui-component-legacy/form/template/simple-form/control/checkbox-input.pug';\r\nimport tmplRadiosInput from '@bingads-webui-component-legacy/form/template/simple-form/control/radios-input.pug';\r\nimport tmplInlineRadiosInput from '@bingads-webui-component-legacy/form/template/simple-form/control/inline-radios-input.pug';\r\nimport tmplLabel from '@bingads-webui-component-legacy/form/template/simple-form/control/label.pug';\r\nimport tmplButtons from '@bingads-webui-component-legacy/form/template/simple-form/control/buttons.pug';\r\nimport tmplValidation from '@bingads-webui-component-legacy/form/template/simple-form/control/validation.pug';\r\nimport SimpleFormViewModel from '@bingads-webui-component-legacy/form/viewmodel/simple-form';\r\n\r\nconst i18n = window.globalLegacyI18n.get('component/i18n/loader!component/form');\r\n\r\nfunction isBackboneView(func = {}) {\r\n return func.prototype instanceof Backbone.View;\r\n}\r\n\r\nexport default Backbone.View.extend({\r\n events() {\r\n return {\r\n 'click .save': 'save',\r\n 'click .cancel': 'cancel',\r\n 'submit form': 'save',\r\n // TODO: [zhbliu] remove this out before we open source this component\r\n 'click .helpbutton': 'clickHelpIcon',\r\n };\r\n },\r\n\r\n clickHelpIcon(e) {\r\n /*eslint new-cap: 0*/\r\n PopupController.PopupJsClick(e.target);\r\n e.stopPropagation();\r\n },\r\n\r\n initialize({\r\n schema,\r\n fields,\r\n model,\r\n customValidators = {},\r\n sidebars = [],\r\n template = 'horizontal',\r\n labelTemplate = tmplLabel,\r\n hasButtons = true,\r\n saveButtonText = i18n.get('Form_SaveButton'),\r\n cancelButtonText = i18n.get('Form_CancelButton'),\r\n hasLabels = true,\r\n s$i18n = {\r\n type(type) {\r\n return type;\r\n },\r\n property(type, property) {\r\n return property;\r\n },\r\n value(type, property, value) {\r\n return String(value);\r\n },\r\n },\r\n }) {\r\n if (_.isFunction(template)) {\r\n this.template = template;\r\n } else {\r\n this.template = {\r\n 'horizontal': tmplHorizontal,\r\n 'inline': tmplInline,\r\n }[template];\r\n }\r\n\r\n this.model = model;\r\n this.type = schema.name;\r\n this.id = `${_.uniqueId('Form-')}-${schema.name}`;\r\n\r\n this.fields = generateFieldOptions(schema, fields, this.id, s$i18n);\r\n\r\n this.flattedFields = this._getFlattedFields(this.fields);\r\n\r\n this.properties = _.chain(this.flattedFields)\r\n .filter((field) => {\r\n return field.hasSubFields !== true;\r\n })\r\n .pluck('property')\r\n .value();\r\n\r\n this.sidebars = generateSidebarsOptions({ schema, properties: this.properties, sidebars });\r\n\r\n this.fieldIndex = _.indexBy(this.flattedFields, (field) => field.property);\r\n\r\n this.viewModel = new SimpleFormViewModel({\r\n fields: this.flattedFields,\r\n schema,\r\n model: this.model,\r\n customValidators,\r\n });\r\n\r\n _.each(this.properties, (prop) => {\r\n this.viewModel[prop].subscribe((val) => {\r\n this.trigger(`change:${prop}`, val);\r\n this.trigger('change', this.currentModel());\r\n });\r\n });\r\n\r\n this.labelTemplate = labelTemplate;\r\n this.hasButtons = hasButtons;\r\n this.saveButtonText = saveButtonText;\r\n this.cancelButtonText = cancelButtonText;\r\n this.hasLabels = hasLabels;\r\n },\r\n\r\n render() {\r\n this.$el.html(this.template({\r\n properties: this.properties,\r\n fields: this.fields,\r\n indexedFields: this.fieldIndex,\r\n hasButtons: this.hasButtons,\r\n hasLabels: this.hasLabels,\r\n type: this.type,\r\n }));\r\n\r\n this._renderBuiltInControls();\r\n this._renderTemplateControls();\r\n this._renderLabels();\r\n this._renderValidations();\r\n\r\n ko.applyBindings(this.viewModel, this.el);\r\n\r\n this._renderViewControls();\r\n this._renderSidebars();\r\n return this;\r\n },\r\n\r\n remove() {\r\n _.each(this.viewControls, (viewControl) => {\r\n viewControl.remove();\r\n });\r\n\r\n _.each(this.sidebarViews, (sidebarView) => {\r\n sidebarView.remove();\r\n });\r\n\r\n Backbone.View.prototype.remove.apply(this);\r\n },\r\n\r\n _getFlattedFields(fields) {\r\n let ret = _.map(fields, (field) => {\r\n let subFields = [];\r\n\r\n if (field.hasSubFields === true) {\r\n subFields = this._getFlattedFields(field.fields);\r\n }\r\n\r\n subFields.push(field);\r\n return subFields;\r\n });\r\n\r\n return _.flatten(ret);\r\n },\r\n\r\n _renderBuiltInControls() {\r\n this.$('.form-input-container').each((i, e) => {\r\n const $el = $(e);\r\n\r\n $el.html(this._renderBuiltInControl($el.attr('data-property')));\r\n });\r\n },\r\n\r\n _renderBuiltInControl(property) {\r\n if (property === '$buttons') {\r\n return tmplButtons(_.pick(this, ['saveButtonText', 'cancelButtonText']));\r\n } else {\r\n const field = this.fieldIndex[property];\r\n const observable = this.viewModel[property];\r\n\r\n return _.result({\r\n text: () => tmplTextInput({\r\n field,\r\n hasLengthHint: observable.maxLength && field.showHint,\r\n hasLengthHintInline: observable.maxLength && field.showHintInline,\r\n type: this.type,\r\n }),\r\n\r\n textarea: () => tmplTextareaInput({\r\n field,\r\n type: this.type,\r\n }),\r\n\r\n static: () => tmplStaticDiv({\r\n field,\r\n type: this.type,\r\n }),\r\n\r\n select: () => tmplSelectInput({\r\n field,\r\n type: this.type,\r\n }),\r\n\r\n checkbox: () => tmplCheckboxInput({\r\n field,\r\n type: this.type,\r\n }),\r\n\r\n radios: () => tmplRadiosInput({\r\n field,\r\n type: this.type,\r\n }),\r\n\r\n 'inline-radios': () => tmplInlineRadiosInput({\r\n field,\r\n type: this.type,\r\n }),\r\n }, field.control, '');\r\n }\r\n },\r\n\r\n _renderTemplateControls() {\r\n this.$('.form-input-container').each((i, e) => {\r\n const $el = $(e);\r\n const property = $el.attr('data-property');\r\n const field = this.fieldIndex[property] || {};\r\n const template = field.control;\r\n\r\n if (!isBackboneView(template) && _.isFunction(template)) {\r\n $el.html(template({\r\n field,\r\n type: this.type,\r\n }));\r\n }\r\n });\r\n },\r\n\r\n _renderViewControls() {\r\n this.viewControls = {};\r\n\r\n this.$('.form-input-container').each((i, e) => {\r\n const $el = $(e);\r\n const property = $el.attr('data-property');\r\n const field = this.fieldIndex[property] || {};\r\n const Constructor = field.control;\r\n\r\n if (isBackboneView(Constructor)) {\r\n this.viewControls[property] = new Constructor({\r\n observable: this.viewModel[property],\r\n viewModel: this.viewModel,\r\n field,\r\n });\r\n\r\n $el.append(this.viewControls[property].render().el);\r\n }\r\n });\r\n },\r\n\r\n _renderLabels() {\r\n this.$('.form-label-container').each((i, e) => {\r\n const $el = $(e);\r\n const field = this.fieldIndex[$el.attr('data-property')];\r\n\r\n if (field.showLabel) {\r\n const learnMoreText = field.schema.helpId ? i18n.get('Form_LearnMore', {\r\n item: field.label,\r\n }) : '';\r\n\r\n $el.html(this.labelTemplate({\r\n field,\r\n type: this.type,\r\n learnMoreText,\r\n }));\r\n }\r\n });\r\n },\r\n\r\n _renderValidations() {\r\n this.$('.form-validation-container').each((i, e) => {\r\n const $el = $(e);\r\n const property = $el.attr('data-property');\r\n const field = this.fieldIndex[property] || { property, id: `${this.id}-${property}` };\r\n const observable = this.viewModel[property];\r\n\r\n if (_.isFunction(observable.validate)) {\r\n $el.html(tmplValidation({ field }));\r\n }\r\n });\r\n },\r\n\r\n _renderSidebars() {\r\n this.sidebarViews = {};\r\n\r\n _.each(this.sidebars, ({ properties, view: Ctor = {} }, strProperties) => {\r\n const selector = _.map(properties, (property) => `.form-group[data-property=${property}]`).join(',');\r\n\r\n this.$(selector).wrapAll(tmplSidebarWrapper({ properties }));\r\n\r\n if (isBackboneView(Ctor)) {\r\n const sidebar = new Ctor({\r\n className: 'sidebar',\r\n id: `${this.id}-${strProperties}`,\r\n properties,\r\n viewModel: this.viewModel,\r\n });\r\n\r\n this.$(`.form-groups-with-sidebar[data-properties='${strProperties}']`).append(sidebar.render().el);\r\n\r\n this.sidebarViews[strProperties] = sidebar;\r\n }\r\n });\r\n },\r\n\r\n currentModel() {\r\n return _.defaults(this.viewModel.toObject(), this.model);\r\n },\r\n\r\n setErrors(errors, model) {\r\n const modelErr = model || this.currentModel();\r\n\r\n _.each(errors, (message, prop) => {\r\n const observable = this.viewModel[prop];\r\n\r\n // TODO: [zhbliu] align these error handling code\r\n if (_.isArray(message)) {\r\n const proxy = observable || this.viewModel.$overall;\r\n const uniqMessage = _.uniq(message, (msg1, msg2) => {\r\n return msg1.message === msg2.message;\r\n });\r\n\r\n proxy.validate();\r\n proxy.errors.push(...uniqMessage);\r\n } else if (observable && observable.validators) {\r\n const validator = observable.validators.passive;\r\n\r\n if (validator && _.isFunction(validator.setError)) {\r\n validator.setError(message, modelErr[prop]);\r\n }\r\n\r\n observable.validate();\r\n }\r\n });\r\n },\r\n\r\n validate() {\r\n return this.viewModel.validate();\r\n },\r\n\r\n save(e) {\r\n if (e && e.type === 'submit') {\r\n // Form submission will cause page redirection; stop it here\r\n e.preventDefault();\r\n }\r\n\r\n if (this.validate()) {\r\n this.trigger('save', this.currentModel());\r\n }\r\n },\r\n\r\n cancel() {\r\n this.trigger('cancel', this.currentModel());\r\n },\r\n});\r\n","/* eslint-disable */\r\n(function webpackUniversalModuleDefinition(root, factory) {\r\n\tif(typeof exports === 'object' && typeof module === 'object')\r\n\t\tmodule.exports = factory(require(\"underscore\"), require(\"backbone\"), require(\"knockout\"));\r\n\telse if(typeof define === 'function' && define.amd)\r\n\t\tdefine([\"underscore\", \"backbone\", \"knockout\"], factory);\r\n\telse if(typeof exports === 'object')\r\n\t\texports[\"pagination-control\"] = factory(require(\"underscore\"), require(\"backbone\"), require(\"knockout\"));\r\n\telse\r\n\t\troot[\"pagination-control\"] = factory(root[\"underscore\"], root[\"backbone\"], root[\"knockout\"]);\r\n})(this, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_4__, __WEBPACK_EXTERNAL_MODULE_5__) {\r\nreturn /******/ (function(modules) { // webpackBootstrap\r\n/******/ \t// The module cache\r\n/******/ \tvar installedModules = {};\r\n/******/\r\n/******/ \t// The require function\r\n/******/ \tfunction __webpack_require__(moduleId) {\r\n/******/\r\n/******/ \t\t// Check if module is in cache\r\n/******/ \t\tif(installedModules[moduleId])\r\n/******/ \t\t\treturn installedModules[moduleId].exports;\r\n/******/\r\n/******/ \t\t// Create a new module (and put it into the cache)\r\n/******/ \t\tvar module = installedModules[moduleId] = {\r\n/******/ \t\t\texports: {},\r\n/******/ \t\t\tid: moduleId,\r\n/******/ \t\t\tloaded: false\r\n/******/ \t\t};\r\n/******/\r\n/******/ \t\t// Execute the module function\r\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\r\n/******/\r\n/******/ \t\t// Flag the module as loaded\r\n/******/ \t\tmodule.loaded = true;\r\n/******/\r\n/******/ \t\t// Return the exports of the module\r\n/******/ \t\treturn module.exports;\r\n/******/ \t}\r\n/******/\r\n/******/\r\n/******/ \t// expose the modules object (__webpack_modules__)\r\n/******/ \t__webpack_require__.m = modules;\r\n/******/\r\n/******/ \t// expose the module cache\r\n/******/ \t__webpack_require__.c = installedModules;\r\n/******/\r\n/******/ \t// __webpack_public_path__\r\n/******/ \t__webpack_require__.p = \"\";\r\n/******/\r\n/******/ \t// Load entry module and return exports\r\n/******/ \treturn __webpack_require__(0);\r\n/******/ })\r\n/************************************************************************/\r\n/******/ ([\r\n/* 0 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t'use strict';\r\n\r\n\tObject.defineProperty(exports, \"__esModule\", {\r\n\t value: true\r\n\t});\r\n\r\n\tvar _paginationView = __webpack_require__(1);\r\n\r\n\tObject.defineProperty(exports, 'PaginationView', {\r\n\t enumerable: true,\r\n\t get: function get() {\r\n\t return _paginationView.PaginationView;\r\n\t }\r\n\t});\r\n\r\n/***/ }),\r\n/* 1 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t'use strict';\r\n\r\n\tObject.defineProperty(exports, \"__esModule\", {\r\n\t value: true\r\n\t});\r\n\texports.PaginationView = undefined;\r\n\r\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\n\tvar _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };\r\n\r\n\tvar _underscore = __webpack_require__(2);\r\n\r\n\tvar _underscore2 = _interopRequireDefault(_underscore);\r\n\r\n\tvar _knockoutView = __webpack_require__(3);\r\n\r\n\tvar _knockoutView2 = _interopRequireDefault(_knockoutView);\r\n\r\n\tvar _default = __webpack_require__(6);\r\n\r\n\tvar _default2 = _interopRequireDefault(_default);\r\n\r\n\tvar _paginationViewModel = __webpack_require__(9);\r\n\r\n\tvar _paginationViewModel2 = _interopRequireDefault(_paginationViewModel);\r\n\r\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\n\tvar PaginationView = exports.PaginationView = function (_KnockoutView) {\r\n\t _inherits(PaginationView, _KnockoutView);\r\n\r\n\t function PaginationView() {\r\n\t _classCallCheck(this, PaginationView);\r\n\r\n\t return _possibleConstructorReturn(this, (PaginationView.__proto__ || Object.getPrototypeOf(PaginationView)).apply(this, arguments));\r\n\t }\r\n\r\n\t _createClass(PaginationView, [{\r\n\t key: 'initialize',\r\n\t value: function initialize(_ref) {\r\n\t var _this2 = this;\r\n\r\n\t var _ref$pageSize = _ref.pageSize,\r\n\t pageSize = _ref$pageSize === undefined ? 20 : _ref$pageSize,\r\n\t _ref$pageNumber = _ref.pageNumber,\r\n\t pageNumber = _ref$pageNumber === undefined ? 0 : _ref$pageNumber,\r\n\t _ref$itemCount = _ref.itemCount,\r\n\t itemCount = _ref$itemCount === undefined ? 0 : _ref$itemCount,\r\n\t _ref$availablePageSiz = _ref.availablePageSizes,\r\n\t availablePageSizes = _ref$availablePageSiz === undefined ? [20, 50, 100, 200] : _ref$availablePageSiz,\r\n\t _ref$pageSizeText = _ref.pageSizeText,\r\n\t pageSizeText = _ref$pageSizeText === undefined ? 'Page size: ' : _ref$pageSizeText,\r\n\t _ref$totalPageCountTe = _ref.totalPageCountText,\r\n\t totalPageCountText = _ref$totalPageCountTe === undefined ? 'of ' : _ref$totalPageCountTe,\r\n\t _ref$previousPageText = _ref.previousPageText,\r\n\t previousPageText = _ref$previousPageText === undefined ? 'Previous Page' : _ref$previousPageText,\r\n\t _ref$nextPageText = _ref.nextPageText,\r\n\t nextPageText = _ref$nextPageText === undefined ? 'Next Page' : _ref$nextPageText,\r\n\t _ref$enableRandomPage = _ref.enableRandomPage,\r\n\t enableRandomPage = _ref$enableRandomPage === undefined ? true : _ref$enableRandomPage,\r\n\t _ref$viewModelDecorat = _ref.viewModelDecorator,\r\n\t viewModelDecorator = _ref$viewModelDecorat === undefined ? _underscore2.default.identity : _ref$viewModelDecorat,\r\n\t _ref$template = _ref.template,\r\n\t template = _ref$template === undefined ? _default2.default : _ref$template;\r\n\r\n\t _get(PaginationView.prototype.__proto__ || Object.getPrototypeOf(PaginationView.prototype), 'initialize', this).call(this, {\r\n\t state: {\r\n\t pageSize: pageSize,\r\n\t pageNumber: pageNumber,\r\n\t itemCount: itemCount,\r\n\t availablePageSizes: availablePageSizes,\r\n\t enableRandomPage: enableRandomPage\r\n\t },\r\n\t template: template,\r\n\t ViewModel: _paginationViewModel2.default,\r\n\t config: {\r\n\t pageSizeText: pageSizeText,\r\n\t totalPageCountText: totalPageCountText,\r\n\t previousPageText: previousPageText,\r\n\t nextPageText: nextPageText\r\n\t }\r\n\t });\r\n\r\n\t viewModelDecorator(this.viewModel);\r\n\r\n\t this.viewModel.pageSize.subscribe(function (pageSize) {\r\n\t return _this2.trigger('change:page-size', pageSize);\r\n\t });\r\n\t this.viewModel.pageNumber.subscribe(function (pageNumber) {\r\n\t return _this2.trigger('change:page-number', pageNumber);\r\n\t });\r\n\t this.viewModel.itemCount.subscribe(function (itemCount) {\r\n\t return _this2.trigger('change:item-count', itemCount);\r\n\t });\r\n\t }\r\n\t }, {\r\n\t key: 'events',\r\n\t get: function get() {\r\n\t return {\r\n\t sumbmit: function sumbmit() {\r\n\t return false;\r\n\t }\r\n\t };\r\n\t }\r\n\t }, {\r\n\t key: 'pageSize',\r\n\t get: function get() {\r\n\t return this.viewModel.pageSize();\r\n\t },\r\n\t set: function set(pageSize) {\r\n\t this.viewModel.pageSize(pageSize);\r\n\t }\r\n\t }, {\r\n\t key: 'itemCount',\r\n\t get: function get() {\r\n\t return this.viewModel.itemCount();\r\n\t },\r\n\t set: function set(itemCount) {\r\n\t this.viewModel.itemCount(itemCount);\r\n\t }\r\n\t }, {\r\n\t key: 'pageNumber',\r\n\t get: function get() {\r\n\t return this.viewModel.pageNumber();\r\n\t },\r\n\t set: function set(pageNumber) {\r\n\t this.viewModel.pageNumber(pageNumber);\r\n\t }\r\n\t }, {\r\n\t key: 'availablePageSizes',\r\n\t get: function get() {\r\n\t return this.viewModel.availablePageSizes();\r\n\t },\r\n\t set: function set(availablePageSizes) {\r\n\t this.viewModel.availablePageSizes(availablePageSizes);\r\n\t }\r\n\t }, {\r\n\t key: 'enableRandomPage',\r\n\t get: function get() {\r\n\t return this.viewModel.enableRandomPage();\r\n\t },\r\n\t set: function set(enableRandomPage) {\r\n\t return this.viewModel.enableRandomPage(enableRandomPage);\r\n\t }\r\n\t }]);\r\n\r\n\t return PaginationView;\r\n\t}(_knockoutView2.default);\r\n\r\n/***/ }),\r\n/* 2 */\r\n/***/ (function(module, exports) {\r\n\r\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_2__;\r\n\r\n/***/ }),\r\n/* 3 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t'use strict';\r\n\r\n\tObject.defineProperty(exports, \"__esModule\", {\r\n\t value: true\r\n\t});\r\n\r\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\n\tvar _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };\r\n\r\n\tvar _backbone = __webpack_require__(4);\r\n\r\n\tvar _backbone2 = _interopRequireDefault(_backbone);\r\n\r\n\tvar _knockout = __webpack_require__(5);\r\n\r\n\tvar _knockout2 = _interopRequireDefault(_knockout);\r\n\r\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\n\tvar KnockoutView = function (_Backbone$View) {\r\n\t _inherits(KnockoutView, _Backbone$View);\r\n\r\n\t function KnockoutView() {\r\n\t _classCallCheck(this, KnockoutView);\r\n\r\n\t return _possibleConstructorReturn(this, (KnockoutView.__proto__ || Object.getPrototypeOf(KnockoutView)).apply(this, arguments));\r\n\t }\r\n\r\n\t _createClass(KnockoutView, [{\r\n\t key: 'initialize',\r\n\t value: function initialize(_ref) {\r\n\t var _ref$template = _ref.template,\r\n\t template = _ref$template === undefined ? function () {\r\n\t return '';\r\n\t } : _ref$template,\r\n\t _ref$ViewModel = _ref.ViewModel,\r\n\t ViewModel = _ref$ViewModel === undefined ? function () {\r\n\t function _class() {\r\n\t _classCallCheck(this, _class);\r\n\t }\r\n\r\n\t return _class;\r\n\t }() : _ref$ViewModel,\r\n\t _ref$state = _ref.state,\r\n\t state = _ref$state === undefined ? {} : _ref$state,\r\n\t _ref$config = _ref.config,\r\n\t config = _ref$config === undefined ? {} : _ref$config;\r\n\r\n\t this.template = template;\r\n\t this.viewModel = new ViewModel(state);\r\n\t this.config = config;\r\n\t }\r\n\t }, {\r\n\t key: 'render',\r\n\t value: function render() {\r\n\t this.el.innerHTML = this.template(this.config);\r\n\t _knockout2.default.applyBindings(this.viewModel, this.el);\r\n\r\n\t return this;\r\n\t }\r\n\t }, {\r\n\t key: 'remove',\r\n\t value: function remove() {\r\n\t _knockout2.default.cleanNode(this.el);\r\n\t _get(KnockoutView.prototype.__proto__ || Object.getPrototypeOf(KnockoutView.prototype), 'remove', this).call(this);\r\n\t }\r\n\t }]);\r\n\r\n\t return KnockoutView;\r\n\t}(_backbone2.default.View);\r\n\r\n\texports.default = KnockoutView;\r\n\r\n/***/ }),\r\n/* 4 */\r\n/***/ (function(module, exports) {\r\n\r\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_4__;\r\n\r\n/***/ }),\r\n/* 5 */\r\n/***/ (function(module, exports) {\r\n\r\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_5__;\r\n\r\n/***/ }),\r\n/* 6 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar jade = __webpack_require__(7);\r\n\r\n\tmodule.exports = function template(locals) {\r\n\tvar buf = [];\r\n\tvar jade_mixins = {};\r\n\tvar jade_interp;\r\n\t;var locals_for_with = (locals || {});(function (nextPageText, pageSizeText, previousPageText, totalPageCountText) {\r\n\tbuf.push(\"
\" + (jade.escape(null == (jade_interp = pageSizeText) ? \"\" : jade_interp)) + \"
\" + (jade.escape(null == (jade_interp = totalPageCountText) ? \"\" : jade_interp)) + \"
\");}.call(this,\"nextPageText\" in locals_for_with?locals_for_with.nextPageText:typeof nextPageText!==\"undefined\"?nextPageText:undefined,\"pageSizeText\" in locals_for_with?locals_for_with.pageSizeText:typeof pageSizeText!==\"undefined\"?pageSizeText:undefined,\"previousPageText\" in locals_for_with?locals_for_with.previousPageText:typeof previousPageText!==\"undefined\"?previousPageText:undefined,\"totalPageCountText\" in locals_for_with?locals_for_with.totalPageCountText:typeof totalPageCountText!==\"undefined\"?totalPageCountText:undefined));;return buf.join(\"\");\r\n\t}\r\n\r\n/***/ }),\r\n/* 7 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t'use strict';\r\n\r\n\t/**\r\n\t * Merge two attribute objects giving precedence\r\n\t * to values in object `b`. Classes are special-cased\r\n\t * allowing for arrays and merging/joining appropriately\r\n\t * resulting in a string.\r\n\t *\r\n\t * @param {Object} a\r\n\t * @param {Object} b\r\n\t * @return {Object} a\r\n\t * @api private\r\n\t */\r\n\r\n\texports.merge = function merge(a, b) {\r\n\t if (arguments.length === 1) {\r\n\t var attrs = a[0];\r\n\t for (var i = 1; i < a.length; i++) {\r\n\t attrs = merge(attrs, a[i]);\r\n\t }\r\n\t return attrs;\r\n\t }\r\n\t var ac = a['class'];\r\n\t var bc = b['class'];\r\n\r\n\t if (ac || bc) {\r\n\t ac = ac || [];\r\n\t bc = bc || [];\r\n\t if (!Array.isArray(ac)) ac = [ac];\r\n\t if (!Array.isArray(bc)) bc = [bc];\r\n\t a['class'] = ac.concat(bc).filter(nulls);\r\n\t }\r\n\r\n\t for (var key in b) {\r\n\t if (key != 'class') {\r\n\t a[key] = b[key];\r\n\t }\r\n\t }\r\n\r\n\t return a;\r\n\t};\r\n\r\n\t/**\r\n\t * Filter null `val`s.\r\n\t *\r\n\t * @param {*} val\r\n\t * @return {Boolean}\r\n\t * @api private\r\n\t */\r\n\r\n\tfunction nulls(val) {\r\n\t return val != null && val !== '';\r\n\t}\r\n\r\n\t/**\r\n\t * join array as classes.\r\n\t *\r\n\t * @param {*} val\r\n\t * @return {String}\r\n\t */\r\n\texports.joinClasses = joinClasses;\r\n\tfunction joinClasses(val) {\r\n\t return (Array.isArray(val) ? val.map(joinClasses) :\r\n\t (val && typeof val === 'object') ? Object.keys(val).filter(function (key) { return val[key]; }) :\r\n\t [val]).filter(nulls).join(' ');\r\n\t}\r\n\r\n\t/**\r\n\t * Render the given classes.\r\n\t *\r\n\t * @param {Array} classes\r\n\t * @param {Array.} escaped\r\n\t * @return {String}\r\n\t */\r\n\texports.cls = function cls(classes, escaped) {\r\n\t var buf = [];\r\n\t for (var i = 0; i < classes.length; i++) {\r\n\t if (escaped && escaped[i]) {\r\n\t buf.push(exports.escape(joinClasses([classes[i]])));\r\n\t } else {\r\n\t buf.push(joinClasses(classes[i]));\r\n\t }\r\n\t }\r\n\t var text = joinClasses(buf);\r\n\t if (text.length) {\r\n\t return ' class=\"' + text + '\"';\r\n\t } else {\r\n\t return '';\r\n\t }\r\n\t};\r\n\r\n\r\n\texports.style = function (val) {\r\n\t if (val && typeof val === 'object') {\r\n\t return Object.keys(val).map(function (style) {\r\n\t return style + ':' + val[style];\r\n\t }).join(';');\r\n\t } else {\r\n\t return val;\r\n\t }\r\n\t};\r\n\t/**\r\n\t * Render the given attribute.\r\n\t *\r\n\t * @param {String} key\r\n\t * @param {String} val\r\n\t * @param {Boolean} escaped\r\n\t * @param {Boolean} terse\r\n\t * @return {String}\r\n\t */\r\n\texports.attr = function attr(key, val, escaped, terse) {\r\n\t if (key === 'style') {\r\n\t val = exports.style(val);\r\n\t }\r\n\t if ('boolean' == typeof val || null == val) {\r\n\t if (val) {\r\n\t return ' ' + (terse ? key : key + '=\"' + key + '\"');\r\n\t } else {\r\n\t return '';\r\n\t }\r\n\t } else if (0 == key.indexOf('data') && 'string' != typeof val) {\r\n\t if (JSON.stringify(val).indexOf('&') !== -1) {\r\n\t console.warn('Since Jade 2.0.0, ampersands (`&`) in data attributes ' +\r\n\t 'will be escaped to `&`');\r\n\t };\r\n\t if (val && typeof val.toISOString === 'function') {\r\n\t console.warn('Jade will eliminate the double quotes around dates in ' +\r\n\t 'ISO form after 2.0.0');\r\n\t }\r\n\t return ' ' + key + \"='\" + JSON.stringify(val).replace(/'/g, ''') + \"'\";\r\n\t } else if (escaped) {\r\n\t if (val && typeof val.toISOString === 'function') {\r\n\t console.warn('Jade will stringify dates in ISO form after 2.0.0');\r\n\t }\r\n\t return ' ' + key + '=\"' + exports.escape(val) + '\"';\r\n\t } else {\r\n\t if (val && typeof val.toISOString === 'function') {\r\n\t console.warn('Jade will stringify dates in ISO form after 2.0.0');\r\n\t }\r\n\t return ' ' + key + '=\"' + val + '\"';\r\n\t }\r\n\t};\r\n\r\n\t/**\r\n\t * Render the given attributes object.\r\n\t *\r\n\t * @param {Object} obj\r\n\t * @param {Object} escaped\r\n\t * @return {String}\r\n\t */\r\n\texports.attrs = function attrs(obj, terse){\r\n\t var buf = [];\r\n\r\n\t var keys = Object.keys(obj);\r\n\r\n\t if (keys.length) {\r\n\t for (var i = 0; i < keys.length; ++i) {\r\n\t var key = keys[i]\r\n\t , val = obj[key];\r\n\r\n\t if ('class' == key) {\r\n\t if (val = joinClasses(val)) {\r\n\t buf.push(' ' + key + '=\"' + val + '\"');\r\n\t }\r\n\t } else {\r\n\t buf.push(exports.attr(key, val, false, terse));\r\n\t }\r\n\t }\r\n\t }\r\n\r\n\t return buf.join('');\r\n\t};\r\n\r\n\t/**\r\n\t * Escape the given string of `html`.\r\n\t *\r\n\t * @param {String} html\r\n\t * @return {String}\r\n\t * @api private\r\n\t */\r\n\r\n\tvar jade_encode_html_rules = {\r\n\t '&': '&',\r\n\t '<': '<',\r\n\t '>': '>',\r\n\t '\"': '"'\r\n\t};\r\n\tvar jade_match_html = /[&<>\"]/g;\r\n\r\n\tfunction jade_encode_char(c) {\r\n\t return jade_encode_html_rules[c] || c;\r\n\t}\r\n\r\n\texports.escape = jade_escape;\r\n\tfunction jade_escape(html){\r\n\t var result = String(html).replace(jade_match_html, jade_encode_char);\r\n\t if (result === '' + html) return html;\r\n\t else return result;\r\n\t};\r\n\r\n\t/**\r\n\t * Re-throw the given `err` in context to the\r\n\t * the jade in `filename` at the given `lineno`.\r\n\t *\r\n\t * @param {Error} err\r\n\t * @param {String} filename\r\n\t * @param {String} lineno\r\n\t * @api private\r\n\t */\r\n\r\n\texports.rethrow = function rethrow(err, filename, lineno, str){\r\n\t if (!(err instanceof Error)) throw err;\r\n\t if ((typeof window != 'undefined' || !filename) && !str) {\r\n\t err.message += ' on line ' + lineno;\r\n\t throw err;\r\n\t }\r\n\t try {\r\n\t str = str || __webpack_require__(8).readFileSync(filename, 'utf8')\r\n\t } catch (ex) {\r\n\t rethrow(err, null, lineno)\r\n\t }\r\n\t var context = 3\r\n\t , lines = str.split('\\n')\r\n\t , start = Math.max(lineno - context, 0)\r\n\t , end = Math.min(lines.length, lineno + context);\r\n\r\n\t // Error context\r\n\t var context = lines.slice(start, end).map(function(line, i){\r\n\t var curr = i + start + 1;\r\n\t return (curr == lineno ? ' > ' : ' ')\r\n\t + curr\r\n\t + '| '\r\n\t + line;\r\n\t }).join('\\n');\r\n\r\n\t // Alter exception message\r\n\t err.path = filename;\r\n\t err.message = (filename || 'Jade') + ':' + lineno\r\n\t + '\\n' + context + '\\n\\n' + err.message;\r\n\t throw err;\r\n\t};\r\n\r\n\texports.DebugItem = function DebugItem(lineno, filename) {\r\n\t this.lineno = lineno;\r\n\t this.filename = filename;\r\n\t}\r\n\r\n\r\n/***/ }),\r\n/* 8 */\r\n/***/ (function(module, exports) {\r\n\r\n\t/* (ignored) */\r\n\r\n/***/ }),\r\n/* 9 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t'use strict';\r\n\r\n\tObject.defineProperty(exports, \"__esModule\", {\r\n\t value: true\r\n\t});\r\n\r\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\n\tvar _underscore = __webpack_require__(2);\r\n\r\n\tvar _underscore2 = _interopRequireDefault(_underscore);\r\n\r\n\tvar _knockout = __webpack_require__(5);\r\n\r\n\tvar _knockout2 = _interopRequireDefault(_knockout);\r\n\r\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\n\tvar parseInt = Number.parseInt || window.parseInt;\r\n\r\n\tfunction isInteger(n) {\r\n\t return n === parseInt(n, 10);\r\n\t}\r\n\r\n\tfunction isFiniteInteger(n) {\r\n\t return isFinite(n) && isInteger(n);\r\n\t}\r\n\r\n\tvar _class = function () {\r\n\t function _class(options) {\r\n\t var _this = this;\r\n\r\n\t _classCallCheck(this, _class);\r\n\r\n\t var pageNumber = options.pageNumber,\r\n\t pageSize = options.pageSize,\r\n\t itemCount = options.itemCount,\r\n\t availablePageSizes = options.availablePageSizes,\r\n\t enableRandomPage = options.enableRandomPage;\r\n\r\n\r\n\t this.validate(options);\r\n\r\n\t // All numbers / calculations in this model are\r\n\t // base 0; so page 0 is the first page\r\n\t this.pageSize = _knockout2.default.observable(pageSize);\r\n\t this.itemCount = _knockout2.default.observable(itemCount);\r\n\t this.pageNumber = _knockout2.default.observable(pageNumber);\r\n\t this.availablePageSizes = _knockout2.default.observableArray(availablePageSizes);\r\n\t this.enableRandomPage = _knockout2.default.observable(enableRandomPage);\r\n\r\n\t this.pageSizeInput = _knockout2.default.computed({\r\n\t read: function read() {\r\n\t return _this.pageSize();\r\n\t },\r\n\t write: function write(value) {\r\n\t if (isInteger(value)) {\r\n\t _this.pageSize(value);\r\n\t _this.pageNumberInput(_this.pageNumber());\r\n\t }\r\n\t }\r\n\t });\r\n\r\n\t this.pageCount = _knockout2.default.computed(function () {\r\n\t return Math.ceil(_this.itemCount() / _this.pageSize());\r\n\t });\r\n\t this.pageNumberInput = _knockout2.default.computed({\r\n\t read: function read() {\r\n\t return _this.pageNumber();\r\n\t },\r\n\t write: function write(value) {\r\n\t if (isInteger(value)) {\r\n\t _this.pageNumber(Math.max(Math.min(value, _this.pageCount() - 1), 0));\r\n\t }\r\n\t }\r\n\t });\r\n\t this.pageNumberText = _knockout2.default.computed({\r\n\t read: function read() {\r\n\t return (_this.pageNumberInput() + 1).toString();\r\n\t },\r\n\t write: function write(value) {\r\n\t var intValue = parseInt(value, 10) - 1;\r\n\t if (isInteger(intValue)) {\r\n\t _this.pageNumberInput(intValue);\r\n\t } else {\r\n\t _this.pageNumberInput.notifySubscribers();\r\n\t _this.pageNumberText.notifySubscribers();\r\n\t }\r\n\t }\r\n\t });\r\n\t this.pageNumberSize = _knockout2.default.computed(function () {\r\n\t return Math.floor(_this.pageCount().toString().length);\r\n\t });\r\n\r\n\t this.onKeyPress = function (data, event) {\r\n\t var keyCode = event.which || event.keyCode;\r\n\r\n\t if (keyCode === 13) {\r\n\t event.target.blur();\r\n\t return false;\r\n\t }\r\n\r\n\t return true;\r\n\t };\r\n\r\n\t this.skip = _knockout2.default.computed(function () {\r\n\t return _this.pageNumber() * _this.pageSize();\r\n\t });\r\n\t this.take = _knockout2.default.computed(function () {\r\n\t return _this.pageSize();\r\n\t });\r\n\t // initialize the\r\n\t }\r\n\r\n\t _createClass(_class, [{\r\n\t key: 'incPageNumber',\r\n\t value: function incPageNumber() {\r\n\t this.pageNumberInput(this.pageNumber() + 1);\r\n\t }\r\n\t }, {\r\n\t key: 'decPageNumber',\r\n\t value: function decPageNumber() {\r\n\t this.pageNumberInput(this.pageNumber() - 1);\r\n\t }\r\n\t }, {\r\n\t key: 'validate',\r\n\t value: function validate(_ref) {\r\n\t var pageNumber = _ref.pageNumber,\r\n\t pageSize = _ref.pageSize,\r\n\t itemCount = _ref.itemCount,\r\n\t availablePageSizes = _ref.availablePageSizes;\r\n\r\n\t if (!isFiniteInteger(pageNumber) || pageNumber < 0) {\r\n\t throw new Error('invalid pageNumber ' + pageNumber);\r\n\t }\r\n\r\n\t if (!isFiniteInteger(pageSize) || pageSize <= 0) {\r\n\t throw new Error('invalid pageSize ' + pageSize);\r\n\t }\r\n\r\n\t if (!isFiniteInteger(itemCount) || itemCount < 0) {\r\n\t throw new Error('invalid itemCount ' + itemCount);\r\n\t }\r\n\r\n\t if (pageNumber > 0 && pageNumber * pageSize >= itemCount) {\r\n\t throw new Error('pageNumber ' + pageNumber + ' out of range');\r\n\t }\r\n\r\n\t if (!_underscore2.default.isArray(availablePageSizes)) {\r\n\t throw new Error('availablePageSizes should be an array');\r\n\t }\r\n\r\n\t _underscore2.default.each(availablePageSizes, function (size) {\r\n\t if (!isFiniteInteger(size) || size < 0) {\r\n\t throw new Error('invalid size ' + size + ' in availablePageSizes');\r\n\t }\r\n\t });\r\n\t }\r\n\t }]);\r\n\r\n\t return _class;\r\n\t}();\r\n\r\n\texports.default = _class;\r\n\r\n/***/ })\r\n/******/ ])\r\n});\r\n;\r\n","/* eslint-disable */\r\n(function webpackUniversalModuleDefinition(root, factory) {\r\n\tif(typeof exports === 'object' && typeof module === 'object')\r\n\t\tmodule.exports = factory(require(\"underscore\"), require(\"jquery\"), require(\"backbone\"), require(\"bluebird\"), require(\"backbone-virtualized-listview\"));\r\n\telse if(typeof define === 'function' && define.amd)\r\n\t\tdefine([\"underscore\", \"jquery\", \"backbone\", \"bluebird\", \"backbone-virtualized-listview\"], factory);\r\n\telse if(typeof exports === 'object')\r\n\t\texports[\"projection-grid\"] = factory(require(\"underscore\"), require(\"jquery\"), require(\"backbone\"), require(\"bluebird\"), require(\"backbone-virtualized-listview\"));\r\n\telse\r\n\t\troot[\"projection-grid\"] = factory(root[\"underscore\"], root[\"jquery\"], root[\"backbone\"], root[\"bluebird\"], root[\"backbone-virtualized-listview\"]);\r\n})(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_7__, __WEBPACK_EXTERNAL_MODULE_8__, __WEBPACK_EXTERNAL_MODULE_33__, __WEBPACK_EXTERNAL_MODULE_93__) {\r\nreturn /******/ (function(modules) { // webpackBootstrap\r\n/******/ \t// The module cache\r\n/******/ \tvar installedModules = {};\r\n/******/\r\n/******/ \t// The require function\r\n/******/ \tfunction __webpack_require__(moduleId) {\r\n/******/\r\n/******/ \t\t// Check if module is in cache\r\n/******/ \t\tif(installedModules[moduleId])\r\n/******/ \t\t\treturn installedModules[moduleId].exports;\r\n/******/\r\n/******/ \t\t// Create a new module (and put it into the cache)\r\n/******/ \t\tvar module = installedModules[moduleId] = {\r\n/******/ \t\t\texports: {},\r\n/******/ \t\t\tid: moduleId,\r\n/******/ \t\t\tloaded: false\r\n/******/ \t\t};\r\n/******/\r\n/******/ \t\t// Execute the module function\r\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\r\n/******/\r\n/******/ \t\t// Flag the module as loaded\r\n/******/ \t\tmodule.loaded = true;\r\n/******/\r\n/******/ \t\t// Return the exports of the module\r\n/******/ \t\treturn module.exports;\r\n/******/ \t}\r\n/******/\r\n/******/\r\n/******/ \t// expose the modules object (__webpack_modules__)\r\n/******/ \t__webpack_require__.m = modules;\r\n/******/\r\n/******/ \t// expose the module cache\r\n/******/ \t__webpack_require__.c = installedModules;\r\n/******/\r\n/******/ \t// __webpack_public_path__\r\n/******/ \t__webpack_require__.p = \"\";\r\n/******/\r\n/******/ \t// Load entry module and return exports\r\n/******/ \treturn __webpack_require__(0);\r\n/******/ })\r\n/************************************************************************/\r\n/******/ ([\r\n/* 0 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t'use strict';\r\n\r\n\tvar _gridFactory = __webpack_require__(2);\r\n\r\n\tvar _gridFactory2 = _interopRequireDefault(_gridFactory);\r\n\r\n\tvar _package = __webpack_require__(102);\r\n\r\n\tvar _package2 = _interopRequireDefault(_package);\r\n\r\n\tvar _dataSource = __webpack_require__(64);\r\n\r\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\n\tmodule.exports = {\r\n\t version: _package2.default.version,\r\n\t GridView: __webpack_require__(58),\r\n\t projections: __webpack_require__(18),\r\n\t layout: __webpack_require__(5),\r\n\t factory: _gridFactory2.default,\r\n\t popupEditorPrompt: __webpack_require__(32),\r\n\t dataSource: {\r\n\t Base: _dataSource.DataSource,\r\n\t Memory: _dataSource.MemoryDataSource,\r\n\t OData: _dataSource.ODataDataSource,\r\n\t JSData: _dataSource.JSDataDataSource\r\n\t }\r\n\t};\r\n\r\n/***/ }),\r\n/* 1 */,\r\n/* 2 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t'use strict';\r\n\r\n\tObject.defineProperty(exports, \"__esModule\", {\r\n\t value: true\r\n\t});\r\n\r\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\n\texports.default = function (options) {\r\n\t return new GridFactory(options);\r\n\t};\r\n\r\n\tvar _underscore = __webpack_require__(3);\r\n\r\n\tvar _underscore2 = _interopRequireDefault(_underscore);\r\n\r\n\tvar _renderersPlugin = __webpack_require__(4);\r\n\r\n\tvar _renderersPlugin2 = _interopRequireDefault(_renderersPlugin);\r\n\r\n\tvar _projectionPlugin = __webpack_require__(17);\r\n\r\n\tvar _projectionPlugin2 = _interopRequireDefault(_projectionPlugin);\r\n\r\n\tvar _gridViewPlugin = __webpack_require__(57);\r\n\r\n\tvar _gridViewPlugin2 = _interopRequireDefault(_gridViewPlugin);\r\n\r\n\tvar _dataSourcePlugin = __webpack_require__(63);\r\n\r\n\tvar _dataSourcePlugin2 = _interopRequireDefault(_dataSourcePlugin);\r\n\r\n\tvar _gridViewPlugin3 = __webpack_require__(69);\r\n\r\n\tvar _gridViewPlugin4 = _interopRequireDefault(_gridViewPlugin3);\r\n\r\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\n\tfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\r\n\r\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\n\tvar configPlugin = function configPlugin(definePlugin) {\r\n\t return definePlugin('config', [], function () {\r\n\t return this.config;\r\n\t });\r\n\t};\r\n\r\n\tvar GridFactory = function () {\r\n\t function GridFactory() {\r\n\t var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\r\n\t _ref$vnext = _ref.vnext,\r\n\t vnext = _ref$vnext === undefined ? false : _ref$vnext;\r\n\r\n\t _classCallCheck(this, GridFactory);\r\n\r\n\t this.pluginIndex = {};\r\n\t this.plugins = [];\r\n\t if (vnext) {\r\n\t this.use(configPlugin).use(_dataSourcePlugin2.default).use(_gridViewPlugin4.default);\r\n\t } else {\r\n\t this.use(configPlugin).use(_projectionPlugin2.default).use(_renderersPlugin2.default).use(_gridViewPlugin2.default);\r\n\t }\r\n\t }\r\n\r\n\t _createClass(GridFactory, [{\r\n\t key: 'definePlugin',\r\n\t value: function definePlugin(name, deps, callback) {\r\n\t var _this = this;\r\n\r\n\t var plugin = { name: name, deps: deps, callback: callback };\r\n\r\n\t this.pluginIndex[name] = plugin;\r\n\t this.plugins.push(plugin);\r\n\t _underscore2.default.each(deps, function (dep) {\r\n\t if (!_underscore2.default.has(_this.pluginIndex, dep)) {\r\n\t throw new Error('unresolved plugin dependency ' + name + ' -> ' + dep);\r\n\t }\r\n\t });\r\n\t }\r\n\t }, {\r\n\t key: 'use',\r\n\t value: function use(callback) {\r\n\t callback(this.definePlugin.bind(this));\r\n\t return this;\r\n\t }\r\n\t }, {\r\n\t key: 'create',\r\n\t value: function create(config) {\r\n\t return _underscore2.default.reduce(this.plugins, function (result, _ref2) {\r\n\t var name = _ref2.name,\r\n\t deps = _ref2.deps,\r\n\t callback = _ref2.callback;\r\n\t return _underscore2.default.extend(result, _defineProperty({}, name, callback.apply(result, _underscore2.default.map(deps, function (dep) {\r\n\t return result[dep];\r\n\t }))));\r\n\t }, { config: config });\r\n\t }\r\n\t }]);\r\n\r\n\t return GridFactory;\r\n\t}();\r\n\r\n/***/ }),\r\n/* 3 */\r\n/***/ (function(module, exports) {\r\n\r\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_3__;\r\n\r\n/***/ }),\r\n/* 4 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t'use strict';\r\n\r\n\tObject.defineProperty(exports, \"__esModule\", {\r\n\t value: true\r\n\t});\r\n\r\n\tvar _index = __webpack_require__(5);\r\n\r\n\tvar _index2 = _interopRequireDefault(_index);\r\n\r\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\n\texports.default = function (definePlugin) {\r\n\t return definePlugin('renderers', ['config'], function (config) {\r\n\t var renderers = [];\r\n\r\n\t if (config.scrollable) {\r\n\t if (config.scrollable.virtual) {\r\n\t renderers.push(_index2.default.renderers.Virtualization);\r\n\t }\r\n\t if (config.scrollable.fixedHeader) {\r\n\t renderers.push(_index2.default.renderers.FixedHeader);\r\n\t }\r\n\t }\r\n\r\n\t return renderers;\r\n\t });\r\n\t};\r\n\r\n/***/ }),\r\n/* 5 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t'use strict';\r\n\r\n\tmodule.exports = {\r\n\t TableLayout: __webpack_require__(6),\r\n\t templates: {\r\n\t table: __webpack_require__(9)\r\n\t },\r\n\t renderers: __webpack_require__(12)\r\n\t};\r\n\r\n/***/ }),\r\n/* 6 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3), __webpack_require__(7), __webpack_require__(8)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_, $, Backbone) {\r\n\t var View = Backbone.View.extend({\r\n\t events: {\r\n\t 'click th': 'thClick',\r\n\t 'click td': 'tdClick',\r\n\t 'change td>input.grid-text-input': 'editableStringChange'\r\n\t },\r\n\r\n\t initialize: function initialize(options) {\r\n\t _.bindAll(this, 'update', 'thClick', 'tdClick', 'dataFor');\r\n\r\n\t this.options = _.extend(this.options, options);\r\n\r\n\t // TODO [akamel] rename? this isn't a backbone data obj?\r\n\t this.data = undefined;\r\n\r\n\t this.container = options.container;\r\n\t this.grid = options.grid;\r\n\r\n\t this.renderers = _.map(this.options.renderers, function (Renderer) {\r\n\t return new Renderer({ layout: this });\r\n\t }.bind(this));\r\n\r\n\t this.subviews = [];\r\n\r\n\t this.onChange = this.onViewPortChange.bind(this);\r\n\r\n\t if (!_.isEmpty(this.renderers)) {\r\n\t this.listenTo(this.container, 'scroll:container', this.onViewPortChange);\r\n\t this.listenTo(this.container, 'resize:container', this.onViewPortChange);\r\n\t }\r\n\r\n\t this.on('change:viewport', function () {\r\n\t if (this.$el.is(':visible')) {\r\n\t this.scheduleDraw();\r\n\t }\r\n\t });\r\n\t },\r\n\r\n\t onViewPortChange: function onViewPortChange() {\r\n\t this.trigger('change:viewport');\r\n\t },\r\n\r\n\t monitorViewportChange: function monitorViewportChange(timeout, interval) {\r\n\t timeout = timeout || 1000;\r\n\t interval = interval || 100;\r\n\r\n\t var rect = this.el.getBoundingClientRect();\r\n\t var id = window.setInterval(function () {\r\n\t var rectNew = this.el.getBoundingClientRect();\r\n\r\n\t if (_.some(['left', 'top', 'width', 'height'], function (key) {\r\n\t return Math.abs(rectNew[key] - rect[key]) > 0.5;\r\n\t })) {\r\n\t this.onViewPortChange();\r\n\t }\r\n\t }.bind(this), interval);\r\n\r\n\t window.setTimeout(function () {\r\n\t window.clearInterval(id);\r\n\t }, timeout);\r\n\t },\r\n\r\n\t removeSubviews: function removeSubviews() {\r\n\t _.each(this.subviews, function (subview) {\r\n\t subview.remove();\r\n\t });\r\n\t this.subviews = [];\r\n\t },\r\n\r\n\t remove: function remove() {\r\n\t this.removeSubviews();\r\n\t this.container.stopListening(this.container);\r\n\t _.each(this.renderers, function (renderer) {\r\n\t return renderer.remove();\r\n\t });\r\n\t Backbone.View.prototype.remove.apply(this, arguments);\r\n\t },\r\n\r\n\t thClick: function thClick(e) {\r\n\t var arg = this.dataFor(e.currentTarget);\r\n\r\n\t if (arg.column) {\r\n\t this.trigger('click:header', e, arg);\r\n\t }\r\n\t },\r\n\r\n\t tdClick: function tdClick(e) {\r\n\t var arg = this.dataFor(e.currentTarget);\r\n\r\n\t if (arg.column) {\r\n\t this.trigger('click:cell', e, arg);\r\n\t }\r\n\t },\r\n\r\n\t editableStringChange: function editableStringChange(e) {\r\n\t var arg = this.dataFor(e.currentTarget);\r\n\t var colEditableStr = this.grid.projection.get('column.editable.string');\r\n\r\n\t if (arg.column) {\r\n\t if (_.isObject(colEditableStr) && !_.isUndefined(colEditableStr[arg.property])) {\r\n\t this.grid.projection.get('projection:column-editable-string').trigger('change:string', e, arg);\r\n\t } else {\r\n\t this.trigger('change:editable.string', e, arg);\r\n\t }\r\n\t }\r\n\t },\r\n\r\n\t dataFor: function dataFor(el) {\r\n\t if (!$.contains(this.el, el)) {\r\n\t return undefined;\r\n\t }\r\n\r\n\t var $el = $(el);\r\n\t // TODO [akamel] can we use target instead?\r\n\t var $tr = $el.closest('tr', this.el);\r\n\t var $closestTD = $el.closest('td', this.el);\r\n\t var $closestTH = $el.closest('th', this.el);\r\n\t var $td = _.size($closestTD) ? $closestTD : $closestTH;\r\n\t var virtualizer = this.getRenderer('virtualization');\r\n\t var i = $tr.index();\r\n\t var j = $td.index();\r\n\t // TODO [akamel] 1- check if $td is th; 2- throw if el is neither th or td as it is assumed in this function\r\n\t var isHeader = $td.closest('thead', this.el).length;\r\n\t var ret = { header: isHeader };\r\n\r\n\t // we are not in header\r\n\t if (isHeader) {\r\n\t if (i === 0) {\r\n\t ret.property = this.data.select[j];\r\n\t } else if (i === 1) {\r\n\t ret.property = this.data.subSelect[j];\r\n\t } else {\r\n\t ret.property = this.data.selectExpand[j];\r\n\t }\r\n\t } else {\r\n\t i += virtualizer ? virtualizer.first : 0;\r\n\t ret.model = this.data.value[i];\r\n\t if (this.data.selectExpand) {\r\n\t ret.property = this.data.selectExpand[j];\r\n\t } else {\r\n\t ret.property = this.data.select[j];\r\n\t }\r\n\t }\r\n\r\n\t ret.column = this.data.columns[ret.property];\r\n\t if (ret.property === this.grid.projection.get('column.checked')) {\r\n\t // TODO [akamel] this shouldn't be here\r\n\t var checkbox = $el.find('.column-selection');\r\n\t if (checkbox.length) {\r\n\t ret.checked = checkbox[0].checked;\r\n\t }\r\n\t }\r\n\t ret.grid = this.grid;\r\n\r\n\t return ret;\r\n\t },\r\n\r\n\t // TODO [akamel] [perf] 8.5%\r\n\t toHTML: function toHTML(value) {\r\n\t var data = _.defaults({\r\n\t value: value.rows,\r\n\t isSticky: value.isSticky\r\n\t }, this.data);\r\n\r\n\t _.each(data.columns, function (col) {\r\n\t if (_.isObject(col.$metadata)) {\r\n\t if (_.has(col.$metadata['attr.head'], 'class') && _.isArray(col.$metadata['attr.head'].class)) {\r\n\t col.$metadata['attr.head'].class = col.$metadata['attr.head'].class.join(' ');\r\n\t }\r\n\r\n\t if (_.has(col.$metadata['attr.body'], 'class') && _.isArray(col.$metadata['attr.body'].class)) {\r\n\t col.$metadata['attr.body'].class = col.$metadata['attr.body'].class.join(' ');\r\n\t }\r\n\r\n\t // TODO [akamel] merge attr that are on $metadata['attr']\r\n\t }\r\n\t });\r\n\r\n\t return this.options.template(data);\r\n\t },\r\n\r\n\t update: function update(model) {\r\n\t _.each(this.renderers, function (renderer) {\r\n\t renderer.update && renderer.update();\r\n\t });\r\n\r\n\t var value = model.get('value');\r\n\t var columns = model.get('columns');\r\n\t var columnsDelta = {};\r\n\t var colOptions = this.options.columns || {};\r\n\t var orderby = {};\r\n\r\n\t _.each(this.grid.projection.get('orderby'), function (element, index) {\r\n\t var key = _.first(_.keys(element));\r\n\t orderby[key] = {\r\n\t dir: element[key],\r\n\t index: index\r\n\t };\r\n\t });\r\n\r\n\t _.each(columns, function (col, property) {\r\n\t // TODO [akamel] consider filtering which props to copy/override\r\n\t var delta = {};\r\n\t var colOption = colOptions[property];\r\n\t var orderName = property;\r\n\r\n\t if (colOption && _.isString(colOption.sortable)) {\r\n\t orderName = colOption.sortable;\r\n\t } else if (col && _.isString(col.sortable)) {\r\n\t orderName = col.sortable;\r\n\t }\r\n\r\n\t if (orderby[orderName]) {\r\n\t delta.$orderby = orderby[orderName];\r\n\t }\r\n\r\n\t columnsDelta[property] = _.defaults(delta, colOption, col);\r\n\t });\r\n\r\n\t if (_.has(this.options.$metadata, 'class') && _.isArray(this.options.$metadata.class)) {\r\n\t this.options.$metadata.class = this.options.$metadata.class.join(' ');\r\n\t }\r\n\r\n\t var delta = {\r\n\t 'value': value,\r\n\t 'columns': columnsDelta,\r\n\t 'columns.lookup': _.indexBy(columns, function (col) {\r\n\t return col.property;\r\n\t }),\r\n\t '$metadata': this.options.$metadata,\r\n\t 'hideHeaders': this.options.hideHeaders\r\n\t };\r\n\r\n\t this.data = _.defaults(delta, model.toJSON());\r\n\r\n\t this.draw({ canSkipDraw: false });\r\n\t },\r\n\r\n\t scheduleDraw: function scheduleDraw() {\r\n\t if (!this.scheduledDraw) {\r\n\t this.scheduledDraw = true;\r\n\r\n\t window.requestAnimationFrame(function () {\r\n\t this.scheduledDraw = false;\r\n\t this.draw();\r\n\t }.bind(this));\r\n\t }\r\n\t },\r\n\r\n\t drawable: function drawable() {\r\n\t return this.data;\r\n\t },\r\n\r\n\t getRenderer: function getRenderer(name) {\r\n\t return _.find(this.renderers, function (r) {\r\n\t return r.name === name;\r\n\t });\r\n\t },\r\n\r\n\t draw: function draw(options) {\r\n\t if (!this.drawable()) {\r\n\t return;\r\n\t }\r\n\r\n\t this.trigger('render:beginning');\r\n\r\n\t var renderers = this.renderers;\r\n\t var i = 0;\r\n\r\n\t var middleware = function middleware(data, cb) {\r\n\t var r = renderers[i++];\r\n\t if (r) {\r\n\t var clone = _.defaults({}, data, { css: {} });\r\n\t delete clone.canSkipDraw;\r\n\r\n\t r.draw(clone, _.once(function (err, res) {\r\n\t res.canSkipDraw = data.canSkipDraw === true && res.canSkipDraw === true;\r\n\t if (err) {\r\n\t cb(err);\r\n\t } else {\r\n\t middleware(res || clone, cb);\r\n\t }\r\n\t }));\r\n\t } else {\r\n\t cb(undefined, data);\r\n\t }\r\n\t };\r\n\r\n\t var canSkipDraw = _.has(options, 'canSkipDraw') ? options.canSkipDraw : true;\r\n\r\n\t // this is _not_ and _cannot_ be async\r\n\t middleware({ rows: this.data.value, canSkipDraw: canSkipDraw }, function (err, res) {\r\n\t res.css && this.$el.css(res.css);\r\n\r\n\t if (err) {\r\n\t throw err;\r\n\t }\r\n\r\n\t this.removeSubviews();\r\n\r\n\t if (res.canSkipDraw !== true) {\r\n\t this.el.innerHTML = this.toHTML(res);\r\n\t }\r\n\r\n\t _.each(this.data.columns, function (column) {\r\n\t if (column.config) {\r\n\t if (_.isFunction(column.config.View)) {\r\n\t this.$('td.col-' + column.config.name).each(function (index, el) {\r\n\t var cellView = new column.config.View({ model: this.dataFor(el).model });\r\n\t this.$(el).html(cellView.render().el);\r\n\t this.subviews.push(cellView);\r\n\t }.bind(this));\r\n\t }\r\n\t if (_.isFunction(column.config.HeaderView)) {\r\n\t this.$('th.col-' + column.config.name).each(function (index, el) {\r\n\t var headerView = new column.config.HeaderView();\r\n\t this.$(el).html(headerView.render().el);\r\n\t this.subviews.push(headerView);\r\n\t }.bind(this));\r\n\t }\r\n\t }\r\n\t }, this);\r\n\t }.bind(this));\r\n\r\n\t this.trigger('render:finished');\r\n\t },\r\n\r\n\t render: function render() {\r\n\t this.grid.on('change:data', this.update);\r\n\r\n\t // this.grid.projection.data.on('change', this.update);\r\n\t },\r\n\r\n\t rerender: function rerender() {\r\n\t this.scheduleDraw();\r\n\t }\r\n\t });\r\n\r\n\t View.partial = function (options) {\r\n\t return View.extend({ options: options });\r\n\t };\r\n\r\n\t return View;\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 7 */\r\n/***/ (function(module, exports) {\r\n\r\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_7__;\r\n\r\n/***/ }),\r\n/* 8 */\r\n/***/ (function(module, exports) {\r\n\r\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_8__;\r\n\r\n/***/ }),\r\n/* 9 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar jade = __webpack_require__(10);\r\n\r\n\tmodule.exports = function template(locals) {\r\n\tvar buf = [];\r\n\tvar jade_mixins = {};\r\n\tvar jade_interp;\r\n\t;var locals_for_with = (locals || {});(function ($metadata, columns, hideHeaders, isApplyGroup, isSticky, subSelect, undefined, value) {\r\n\tjade_mixins[\"columnHeader\"] = jade_interp = function(column, isSubHeader){\r\n\tvar block = (this && this.block), attributes = (this && this.attributes) || {};\r\n\tif ( column.headerBuilder)\r\n\t{\r\n\tbuf.push(null == (jade_interp = column.headerBuilder(column, isSubHeader)) ? \"\" : jade_interp);\r\n\t}\r\n\telse\r\n\t{\r\n\tif ( column.$orderby)\r\n\t{\r\n\tif ( column.$orderby.dir > 0)\r\n\t{\r\n\tbuf.push(\"\");\r\n\t}\r\n\telse\r\n\t{\r\n\tbuf.push(\"\");\r\n\t}\r\n\t}\r\n\tif ( (column && column.$html))\r\n\t{\r\n\tbuf.push(null == (jade_interp = column.$html) ? \"\" : jade_interp);\r\n\t}\r\n\telse\r\n\t{\r\n\tif ( isSubHeader && column.config.subColTitle)\r\n\t{\r\n\tbuf.push(jade.escape(null == (jade_interp = column.config.subColTitle) ? \"\" : jade_interp));\r\n\t}\r\n\telse\r\n\t{\r\n\tbuf.push(jade.escape(null == (jade_interp = (typeof column.$text != 'undefined')? column.$text : (column.property || column)) ? \"\" : jade_interp));\r\n\t}\r\n\t}\r\n\t}\r\n\t};\r\n\tjade_mixins[\"th\"] = jade_interp = function(column, hasGroup, isSubColumn){\r\n\tvar block = (this && this.block), attributes = (this && this.attributes) || {};\r\n\tvar attr = (column.$metadata || {})['attr.head'] || {}\r\n\tvar colName = column.config && column.config.name || '';\r\n\tvar cls = [];\r\n\tif ( (colName))\r\n\t{\r\n\tcls.push('col-' + colName);\r\n\t}\r\n\tif ( column.sortable)\r\n\t{\r\n\tcls.push('sortable');\r\n\t}\r\n\tif ( column.$orderby)\r\n\t{\r\n\tcls.push('orderby');\r\n\t}\r\n\tcls = cls.join(' ');\r\n\tif ( isSubColumn )\r\n\t{\r\n\tvar colspan = 1, rowspan = 1;\r\n\tbuf.push(\"\");\r\n\tjade_mixins[\"columnHeader\"](column, true);\r\n\tbuf.push(\"\");\r\n\t}\r\n\telse if ( hasGroup && column.groupExpansion)\r\n\t{\r\n\tvar colspan = column.group.length, rowspan = 1;\r\n\tbuf.push(\"
\");\r\n\tjade_mixins[\"columnHeader\"](column);\r\n\tbuf.push(\"
\");\r\n\t}\r\n\telse if ( hasGroup && column.group)\r\n\t{\r\n\tvar colspan = 1, rowspan = 2;\r\n\tbuf.push(\"
\");\r\n\tjade_mixins[\"columnHeader\"](column);\r\n\tbuf.push(\"
\");\r\n\t}\r\n\telse\r\n\t{\r\n\tvar colspan = 1, rowspan = 2;\r\n\tbuf.push(\"\");\r\n\tjade_mixins[\"columnHeader\"](column);\r\n\tbuf.push(\"\");\r\n\t}\r\n\t};\r\n\tjade_mixins[\"td\"] = jade_interp = function(row, column){\r\n\tvar block = (this && this.block), attributes = (this && this.attributes) || {};\r\n\tvar attr = (column.$metadata || {})['attr.body'] || {}\r\n\tvar colName = column.config && column.config.name || '';\r\n\tvar cls = colName ? 'col-' + colName : '';\r\n\tbuf.push(\"\");\r\n\tvar res = row[column.property]\r\n\tif ( (res && res.$html))\r\n\t{\r\n\tbuf.push(null == (jade_interp = res.$html) ? \"\" : jade_interp);\r\n\t}\r\n\telse\r\n\t{\r\n\tbuf.push(jade.escape(null == (jade_interp = res) ? \"\" : jade_interp));\r\n\t}\r\n\tbuf.push(\"\");\r\n\t};\r\n\tjade_mixins[\"thead\"] = jade_interp = function(isApplyGroup, subSelect, locals, columns){\r\n\tvar block = (this && this.block), attributes = (this && this.attributes) || {};\r\n\tbuf.push(\"\");\r\n\tif ( isApplyGroup && subSelect.length === 0)\r\n\t{\r\n\tbuf.push(\"\");\r\n\t// iterate locals['select'] || []\r\n\t;(function(){\r\n\t var $$obj = locals['select'] || [];\r\n\t if ('number' == typeof $$obj.length) {\r\n\r\n\t for (var $index = 0, $$l = $$obj.length; $index < $$l; $index++) {\r\n\t var columnName = $$obj[$index];\r\n\r\n\tjade_mixins[\"th\"](columns[columnName], true);\r\n\t }\r\n\r\n\t } else {\r\n\t var $$l = 0;\r\n\t for (var $index in $$obj) {\r\n\t $$l++; var columnName = $$obj[$index];\r\n\r\n\tjade_mixins[\"th\"](columns[columnName], true);\r\n\t }\r\n\r\n\t }\r\n\t}).call(this);\r\n\r\n\tbuf.push(\"\");\r\n\t}\r\n\telse if ( isApplyGroup)\r\n\t{\r\n\tbuf.push(\"\");\r\n\t// iterate locals['select'] || []\r\n\t;(function(){\r\n\t var $$obj = locals['select'] || [];\r\n\t if ('number' == typeof $$obj.length) {\r\n\r\n\t for (var $index = 0, $$l = $$obj.length; $index < $$l; $index++) {\r\n\t var columnName = $$obj[$index];\r\n\r\n\tjade_mixins[\"th\"](columns[columnName], true);\r\n\t }\r\n\r\n\t } else {\r\n\t var $$l = 0;\r\n\t for (var $index in $$obj) {\r\n\t $$l++; var columnName = $$obj[$index];\r\n\r\n\tjade_mixins[\"th\"](columns[columnName], true);\r\n\t }\r\n\r\n\t }\r\n\t}).call(this);\r\n\r\n\tbuf.push(\"\");\r\n\t// iterate locals['subSelect']\r\n\t;(function(){\r\n\t var $$obj = locals['subSelect'];\r\n\t if ('number' == typeof $$obj.length) {\r\n\r\n\t for (var $index = 0, $$l = $$obj.length; $index < $$l; $index++) {\r\n\t var columnName = $$obj[$index];\r\n\r\n\tjade_mixins[\"th\"](columns[columnName], true, true);\r\n\t }\r\n\r\n\t } else {\r\n\t var $$l = 0;\r\n\t for (var $index in $$obj) {\r\n\t $$l++; var columnName = $$obj[$index];\r\n\r\n\tjade_mixins[\"th\"](columns[columnName], true, true);\r\n\t }\r\n\r\n\t }\r\n\t}).call(this);\r\n\r\n\tbuf.push(\"\");\r\n\t}\r\n\telse\r\n\t{\r\n\tbuf.push(\"\");\r\n\t// iterate locals['select'] || []\r\n\t;(function(){\r\n\t var $$obj = locals['select'] || [];\r\n\t if ('number' == typeof $$obj.length) {\r\n\r\n\t for (var $index = 0, $$l = $$obj.length; $index < $$l; $index++) {\r\n\t var columnName = $$obj[$index];\r\n\r\n\tjade_mixins[\"th\"](columns[columnName]);\r\n\t }\r\n\r\n\t } else {\r\n\t var $$l = 0;\r\n\t for (var $index in $$obj) {\r\n\t $$l++; var columnName = $$obj[$index];\r\n\r\n\tjade_mixins[\"th\"](columns[columnName]);\r\n\t }\r\n\r\n\t }\r\n\t}).call(this);\r\n\r\n\tbuf.push(\"\");\r\n\t}\r\n\tbuf.push(\"\");\r\n\t};\r\n\tif ( isSticky)\r\n\t{\r\n\tbuf.push(\"\");\r\n\tjade_mixins[\"thead\"](isApplyGroup, subSelect, locals, columns);\r\n\tbuf.push(\"
\");\r\n\t}\r\n\tbuf.push(\"\");\r\n\tif ( !hideHeaders && !isSticky)\r\n\t{\r\n\tjade_mixins[\"thead\"](isApplyGroup, subSelect, locals, columns);\r\n\t}\r\n\tbuf.push(\"\");\r\n\t// iterate value\r\n\t;(function(){\r\n\t var $$obj = value;\r\n\t if ('number' == typeof $$obj.length) {\r\n\r\n\t for (var i = 0, $$l = $$obj.length; i < $$l; i++) {\r\n\t var row = $$obj[i];\r\n\r\n\tvar attr = (row.$metadata || {}).attr || {}\r\n\tbuf.push(\"\");\r\n\t// iterate locals['selectExpand'] || locals.select\r\n\t;(function(){\r\n\t var $$obj = locals['selectExpand'] || locals.select;\r\n\t if ('number' == typeof $$obj.length) {\r\n\r\n\t for (var $index = 0, $$l = $$obj.length; $index < $$l; $index++) {\r\n\t var columnName = $$obj[$index];\r\n\r\n\tjade_mixins[\"td\"](row, columns[columnName]);\r\n\t }\r\n\r\n\t } else {\r\n\t var $$l = 0;\r\n\t for (var $index in $$obj) {\r\n\t $$l++; var columnName = $$obj[$index];\r\n\r\n\tjade_mixins[\"td\"](row, columns[columnName]);\r\n\t }\r\n\r\n\t }\r\n\t}).call(this);\r\n\r\n\tbuf.push(\"\");\r\n\t }\r\n\r\n\t } else {\r\n\t var $$l = 0;\r\n\t for (var i in $$obj) {\r\n\t $$l++; var row = $$obj[i];\r\n\r\n\tvar attr = (row.$metadata || {}).attr || {}\r\n\tbuf.push(\"\");\r\n\t// iterate locals['selectExpand'] || locals.select\r\n\t;(function(){\r\n\t var $$obj = locals['selectExpand'] || locals.select;\r\n\t if ('number' == typeof $$obj.length) {\r\n\r\n\t for (var $index = 0, $$l = $$obj.length; $index < $$l; $index++) {\r\n\t var columnName = $$obj[$index];\r\n\r\n\tjade_mixins[\"td\"](row, columns[columnName]);\r\n\t }\r\n\r\n\t } else {\r\n\t var $$l = 0;\r\n\t for (var $index in $$obj) {\r\n\t $$l++; var columnName = $$obj[$index];\r\n\r\n\tjade_mixins[\"td\"](row, columns[columnName]);\r\n\t }\r\n\r\n\t }\r\n\t}).call(this);\r\n\r\n\tbuf.push(\"\");\r\n\t }\r\n\r\n\t }\r\n\t}).call(this);\r\n\r\n\tbuf.push(\"\");}.call(this,\"$metadata\" in locals_for_with?locals_for_with.$metadata:typeof $metadata!==\"undefined\"?$metadata:undefined,\"columns\" in locals_for_with?locals_for_with.columns:typeof columns!==\"undefined\"?columns:undefined,\"hideHeaders\" in locals_for_with?locals_for_with.hideHeaders:typeof hideHeaders!==\"undefined\"?hideHeaders:undefined,\"isApplyGroup\" in locals_for_with?locals_for_with.isApplyGroup:typeof isApplyGroup!==\"undefined\"?isApplyGroup:undefined,\"isSticky\" in locals_for_with?locals_for_with.isSticky:typeof isSticky!==\"undefined\"?isSticky:undefined,\"subSelect\" in locals_for_with?locals_for_with.subSelect:typeof subSelect!==\"undefined\"?subSelect:undefined,\"undefined\" in locals_for_with?locals_for_with.undefined: false?undefined:undefined,\"value\" in locals_for_with?locals_for_with.value:typeof value!==\"undefined\"?value:undefined));;return buf.join(\"\");\r\n\t}\r\n\r\n/***/ }),\r\n/* 10 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t'use strict';\r\n\r\n\t/**\r\n\t * Merge two attribute objects giving precedence\r\n\t * to values in object `b`. Classes are special-cased\r\n\t * allowing for arrays and merging/joining appropriately\r\n\t * resulting in a string.\r\n\t *\r\n\t * @param {Object} a\r\n\t * @param {Object} b\r\n\t * @return {Object} a\r\n\t * @api private\r\n\t */\r\n\r\n\texports.merge = function merge(a, b) {\r\n\t if (arguments.length === 1) {\r\n\t var attrs = a[0];\r\n\t for (var i = 1; i < a.length; i++) {\r\n\t attrs = merge(attrs, a[i]);\r\n\t }\r\n\t return attrs;\r\n\t }\r\n\t var ac = a['class'];\r\n\t var bc = b['class'];\r\n\r\n\t if (ac || bc) {\r\n\t ac = ac || [];\r\n\t bc = bc || [];\r\n\t if (!Array.isArray(ac)) ac = [ac];\r\n\t if (!Array.isArray(bc)) bc = [bc];\r\n\t a['class'] = ac.concat(bc).filter(nulls);\r\n\t }\r\n\r\n\t for (var key in b) {\r\n\t if (key != 'class') {\r\n\t a[key] = b[key];\r\n\t }\r\n\t }\r\n\r\n\t return a;\r\n\t};\r\n\r\n\t/**\r\n\t * Filter null `val`s.\r\n\t *\r\n\t * @param {*} val\r\n\t * @return {Boolean}\r\n\t * @api private\r\n\t */\r\n\r\n\tfunction nulls(val) {\r\n\t return val != null && val !== '';\r\n\t}\r\n\r\n\t/**\r\n\t * join array as classes.\r\n\t *\r\n\t * @param {*} val\r\n\t * @return {String}\r\n\t */\r\n\texports.joinClasses = joinClasses;\r\n\tfunction joinClasses(val) {\r\n\t return (Array.isArray(val) ? val.map(joinClasses) :\r\n\t (val && typeof val === 'object') ? Object.keys(val).filter(function (key) { return val[key]; }) :\r\n\t [val]).filter(nulls).join(' ');\r\n\t}\r\n\r\n\t/**\r\n\t * Render the given classes.\r\n\t *\r\n\t * @param {Array} classes\r\n\t * @param {Array.} escaped\r\n\t * @return {String}\r\n\t */\r\n\texports.cls = function cls(classes, escaped) {\r\n\t var buf = [];\r\n\t for (var i = 0; i < classes.length; i++) {\r\n\t if (escaped && escaped[i]) {\r\n\t buf.push(exports.escape(joinClasses([classes[i]])));\r\n\t } else {\r\n\t buf.push(joinClasses(classes[i]));\r\n\t }\r\n\t }\r\n\t var text = joinClasses(buf);\r\n\t if (text.length) {\r\n\t return ' class=\"' + text + '\"';\r\n\t } else {\r\n\t return '';\r\n\t }\r\n\t};\r\n\r\n\r\n\texports.style = function (val) {\r\n\t if (val && typeof val === 'object') {\r\n\t return Object.keys(val).map(function (style) {\r\n\t return style + ':' + val[style];\r\n\t }).join(';');\r\n\t } else {\r\n\t return val;\r\n\t }\r\n\t};\r\n\t/**\r\n\t * Render the given attribute.\r\n\t *\r\n\t * @param {String} key\r\n\t * @param {String} val\r\n\t * @param {Boolean} escaped\r\n\t * @param {Boolean} terse\r\n\t * @return {String}\r\n\t */\r\n\texports.attr = function attr(key, val, escaped, terse) {\r\n\t if (key === 'style') {\r\n\t val = exports.style(val);\r\n\t }\r\n\t if ('boolean' == typeof val || null == val) {\r\n\t if (val) {\r\n\t return ' ' + (terse ? key : key + '=\"' + key + '\"');\r\n\t } else {\r\n\t return '';\r\n\t }\r\n\t } else if (0 == key.indexOf('data') && 'string' != typeof val) {\r\n\t if (JSON.stringify(val).indexOf('&') !== -1) {\r\n\t console.warn('Since Jade 2.0.0, ampersands (`&`) in data attributes ' +\r\n\t 'will be escaped to `&`');\r\n\t };\r\n\t if (val && typeof val.toISOString === 'function') {\r\n\t console.warn('Jade will eliminate the double quotes around dates in ' +\r\n\t 'ISO form after 2.0.0');\r\n\t }\r\n\t return ' ' + key + \"='\" + JSON.stringify(val).replace(/'/g, ''') + \"'\";\r\n\t } else if (escaped) {\r\n\t if (val && typeof val.toISOString === 'function') {\r\n\t console.warn('Jade will stringify dates in ISO form after 2.0.0');\r\n\t }\r\n\t return ' ' + key + '=\"' + exports.escape(val) + '\"';\r\n\t } else {\r\n\t if (val && typeof val.toISOString === 'function') {\r\n\t console.warn('Jade will stringify dates in ISO form after 2.0.0');\r\n\t }\r\n\t return ' ' + key + '=\"' + val + '\"';\r\n\t }\r\n\t};\r\n\r\n\t/**\r\n\t * Render the given attributes object.\r\n\t *\r\n\t * @param {Object} obj\r\n\t * @param {Object} escaped\r\n\t * @return {String}\r\n\t */\r\n\texports.attrs = function attrs(obj, terse){\r\n\t var buf = [];\r\n\r\n\t var keys = Object.keys(obj);\r\n\r\n\t if (keys.length) {\r\n\t for (var i = 0; i < keys.length; ++i) {\r\n\t var key = keys[i]\r\n\t , val = obj[key];\r\n\r\n\t if ('class' == key) {\r\n\t if (val = joinClasses(val)) {\r\n\t buf.push(' ' + key + '=\"' + val + '\"');\r\n\t }\r\n\t } else {\r\n\t buf.push(exports.attr(key, val, false, terse));\r\n\t }\r\n\t }\r\n\t }\r\n\r\n\t return buf.join('');\r\n\t};\r\n\r\n\t/**\r\n\t * Escape the given string of `html`.\r\n\t *\r\n\t * @param {String} html\r\n\t * @return {String}\r\n\t * @api private\r\n\t */\r\n\r\n\tvar jade_encode_html_rules = {\r\n\t '&': '&',\r\n\t '<': '<',\r\n\t '>': '>',\r\n\t '\"': '"'\r\n\t};\r\n\tvar jade_match_html = /[&<>\"]/g;\r\n\r\n\tfunction jade_encode_char(c) {\r\n\t return jade_encode_html_rules[c] || c;\r\n\t}\r\n\r\n\texports.escape = jade_escape;\r\n\tfunction jade_escape(html){\r\n\t var result = String(html).replace(jade_match_html, jade_encode_char);\r\n\t if (result === '' + html) return html;\r\n\t else return result;\r\n\t};\r\n\r\n\t/**\r\n\t * Re-throw the given `err` in context to the\r\n\t * the jade in `filename` at the given `lineno`.\r\n\t *\r\n\t * @param {Error} err\r\n\t * @param {String} filename\r\n\t * @param {String} lineno\r\n\t * @api private\r\n\t */\r\n\r\n\texports.rethrow = function rethrow(err, filename, lineno, str){\r\n\t if (!(err instanceof Error)) throw err;\r\n\t if ((typeof window != 'undefined' || !filename) && !str) {\r\n\t err.message += ' on line ' + lineno;\r\n\t throw err;\r\n\t }\r\n\t try {\r\n\t str = str || __webpack_require__(11).readFileSync(filename, 'utf8')\r\n\t } catch (ex) {\r\n\t rethrow(err, null, lineno)\r\n\t }\r\n\t var context = 3\r\n\t , lines = str.split('\\n')\r\n\t , start = Math.max(lineno - context, 0)\r\n\t , end = Math.min(lines.length, lineno + context);\r\n\r\n\t // Error context\r\n\t var context = lines.slice(start, end).map(function(line, i){\r\n\t var curr = i + start + 1;\r\n\t return (curr == lineno ? ' > ' : ' ')\r\n\t + curr\r\n\t + '| '\r\n\t + line;\r\n\t }).join('\\n');\r\n\r\n\t // Alter exception message\r\n\t err.path = filename;\r\n\t err.message = (filename || 'Jade') + ':' + lineno\r\n\t + '\\n' + context + '\\n\\n' + err.message;\r\n\t throw err;\r\n\t};\r\n\r\n\texports.DebugItem = function DebugItem(lineno, filename) {\r\n\t this.lineno = lineno;\r\n\t this.filename = filename;\r\n\t}\r\n\r\n\r\n/***/ }),\r\n/* 11 */\r\n/***/ (function(module, exports) {\r\n\r\n\t/* (ignored) */\r\n\r\n/***/ }),\r\n/* 12 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t'use strict';\r\n\r\n\tvar _fixedHeader = __webpack_require__(13);\r\n\r\n\tvar _fixedHeader2 = _interopRequireDefault(_fixedHeader);\r\n\r\n\tvar _virtualization = __webpack_require__(16);\r\n\r\n\tvar _virtualization2 = _interopRequireDefault(_virtualization);\r\n\r\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\n\tmodule.exports = {\r\n\t FixedHeader: _fixedHeader2.default,\r\n\t Virtualization: _virtualization2.default\r\n\t};\r\n\r\n/***/ }),\r\n/* 13 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t'use strict';\r\n\r\n\tObject.defineProperty(exports, \"__esModule\", {\r\n\t value: true\r\n\t});\r\n\r\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\n\tvar _jquery = __webpack_require__(7);\r\n\r\n\tvar _jquery2 = _interopRequireDefault(_jquery);\r\n\r\n\tvar _underscore = __webpack_require__(3);\r\n\r\n\tvar _underscore2 = _interopRequireDefault(_underscore);\r\n\r\n\tvar _measure = __webpack_require__(14);\r\n\r\n\tvar _measure2 = _interopRequireDefault(_measure);\r\n\r\n\tvar _px = __webpack_require__(15);\r\n\r\n\tvar _px2 = _interopRequireDefault(_px);\r\n\r\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\n\tvar FixedHeaderRenderer = function () {\r\n\t function FixedHeaderRenderer() {\r\n\t var _this = this;\r\n\r\n\t var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\r\n\r\n\t _classCallCheck(this, FixedHeaderRenderer);\r\n\r\n\t this.name = 'fixed-header';\r\n\t this.state = 'normal';\r\n\r\n\t this.options = options;\r\n\t this.layout = this.options.layout;\r\n\t this.columnWidth = null;\r\n\t this.windowWidth = (0, _jquery2.default)(window).width();\r\n\r\n\t this.onViewPortChange = function () {\r\n\t if (_underscore2.default.isFunction(_this.freezeColumnWidth)) {\r\n\t _this.freezeColumnWidth();\r\n\t }\r\n\t };\r\n\r\n\t this.layout.on('change:viewport', this.onViewPortChange);\r\n\t }\r\n\r\n\t _createClass(FixedHeaderRenderer, [{\r\n\t key: 'draw',\r\n\t value: function draw(data, cb) {\r\n\t var _this2 = this;\r\n\r\n\t data.vpMeasures = _measure2.default.viewport.call(this.layout);\r\n\r\n\t var $el = this.layout.$el;\r\n\t var offset = _underscore2.default.result(this.layout, 'top', 0);\r\n\t var isSticky = data.vpMeasures.viewportTop + offset > data.vpMeasures.boundsTop;\r\n\t var newState = isSticky ? 'sticky' : 'normal';\r\n\r\n\t data.canSkipDraw = newState === this.state;\r\n\t data.isSticky = isSticky;\r\n\r\n\t cb(undefined, data);\r\n\r\n\t $el.find('table.grid').css({ tableLayout: 'fixed' });\r\n\r\n\t if (isSticky) {\r\n\t var $tableStickyHeader = $el.find('table.grid-sticky-header');\r\n\t var $tableContent = $el.find('table.grid-content');\r\n\t var $thLastRow = $tableStickyHeader.find('thead > tr:last-child').children();\r\n\t var $tdFirstRow = $tableContent.find('tbody > tr:first-child').children();\r\n\r\n\t if (this.state === 'normal') {\r\n\t var $stickyHeaderFiller = $el.find('.sticky-header-filler');\r\n\t $stickyHeaderFiller.css({\r\n\t height: $tableStickyHeader.outerHeight()\r\n\t });\r\n\t }\r\n\r\n\t var setColumnWidth = function setColumnWidth(tableWidth, columnWidth) {\r\n\t _underscore2.default.each([$thLastRow, $tdFirstRow], function ($elems) {\r\n\t return _underscore2.default.each($elems, function (el, index) {\r\n\t (0, _jquery2.default)(el).css({\r\n\t width: _underscore2.default.result(columnWidth, index, '')\r\n\t });\r\n\t });\r\n\t });\r\n\r\n\t $el.find('table.grid').css({\r\n\t width: tableWidth\r\n\t });\r\n\t };\r\n\r\n\t var unfreezeColumnWidth = function unfreezeColumnWidth() {\r\n\t setColumnWidth('', null);\r\n\t };\r\n\r\n\t var freezeColumnWidth = this.freezeColumnWidth = function () {\r\n\t if (!_this2.columnWidth || Math.abs((0, _jquery2.default)(window).width() - _this2.windowWidth) >= 1) {\r\n\t unfreezeColumnWidth();\r\n\t _this2.windowWidth = (0, _jquery2.default)(window).width();\r\n\t _this2.tableWidth = $tableContent.outerWidth();\r\n\t _this2.columnWidth = _underscore2.default.map($tdFirstRow, function (td) {\r\n\t return (0, _jquery2.default)(td).outerWidth();\r\n\t });\r\n\t }\r\n\r\n\t setColumnWidth(_this2.tableWidth, _this2.columnWidth);\r\n\t };\r\n\r\n\t freezeColumnWidth();\r\n\t $tableStickyHeader.css({\r\n\t top: offset,\r\n\t left: $tableContent.offset().left - window.scrollX,\r\n\t position: 'fixed'\r\n\t });\r\n\t } else {\r\n\t this.freezeColumnWidth = null;\r\n\t }\r\n\r\n\t if (this.state !== newState) {\r\n\t this.layout.grid.trigger('change:header-state', newState);\r\n\t this.state = newState;\r\n\t }\r\n\t }\r\n\t }, {\r\n\t key: 'remove',\r\n\t value: function remove() {}\r\n\t }], [{\r\n\t key: 'partial',\r\n\t value: function partial(options) {\r\n\t return function (o) {\r\n\t return new Renderer(_underscore2.default.defaults({}, o, options));\r\n\t };\r\n\t }\r\n\t }]);\r\n\r\n\t return FixedHeaderRenderer;\r\n\t}();\r\n\r\n\texports.default = FixedHeaderRenderer;\r\n\r\n/***/ }),\r\n/* 14 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(7), __webpack_require__(3)], __WEBPACK_AMD_DEFINE_RESULT__ = function ($, _) {\r\n\t function viewport(el, container) {\r\n\t var $el = el ? $(el) : this.$el;\r\n\r\n\t container = container || this.container;\r\n\t var $viewport = container.$el;\r\n\r\n\t var viewportTop = $viewport.scrollTop();\r\n\t var viewportBottom = viewportTop + $viewport.height();\r\n\t var viewportLeft = $viewport.scrollLeft();\r\n\r\n\t var boundsTop = container.offset($el).top;\r\n\t var boundsBottom = boundsTop + $el.innerHeight();\r\n\t // var boundsLeft = $el.offset().left;\r\n\r\n\t var visibleTop = Math.max(boundsTop, viewportTop);\r\n\t var visibleBottom = Math.min(boundsBottom, viewportBottom);\r\n\t // var visibleLeft = Math.max(boundsLeft, viewportLeft);\r\n\r\n\t return {\r\n\t boundsTop: boundsTop,\r\n\t viewportTop: viewportTop,\r\n\t top: visibleTop - boundsTop,\r\n\t bottom: visibleBottom - boundsTop,\r\n\t offsetLeft: viewportLeft\r\n\t };\r\n\t }\r\n\r\n\t function dimensions(el) {\r\n\t var $el = el ? $(el) : this.$el;\r\n\r\n\t // calculate heights\r\n\t // a. header\r\n\t var ret = {\r\n\t rows: [],\r\n\t thead: $el.find('thead > tr').outerHeight()\r\n\t };\r\n\r\n\t // b. keep row info\r\n\t $el.find('tbody').children('tr').each(function () {\r\n\t ret.rows.push($(this).outerHeight());\r\n\t });\r\n\r\n\t // c. update average row height\r\n\t var avg = _.reduce(ret.rows, function (memo, num) {\r\n\t return memo + num;\r\n\t }, 0) / (ret.rows.length === 0 ? 1 : ret.rows.length);\r\n\r\n\t ret.avgRowHeight = avg;\r\n\t ret.estimateHeight = _.size(this.data.value) * avg + ret.thead;\r\n\r\n\t return ret;\r\n\t }\r\n\r\n\t function sample() {\r\n\t // a. render test pass\r\n\t var $tmpEl = $('
');\r\n\t var sample = _.first(this.data.value, 20);\r\n\r\n\t this.$el.append($tmpEl);\r\n\r\n\t $tmpEl[0].innerHTML = this.toHTML({ rows: sample });\r\n\r\n\t // b. take measures\r\n\t var ret = dimensions.call(this, $tmpEl);\r\n\r\n\t // c. clean-up\r\n\t $tmpEl.remove();\r\n\r\n\t return ret;\r\n\t }\r\n\r\n\t return {\r\n\t viewport: viewport,\r\n\t dimensions: dimensions,\r\n\t sample: sample\r\n\t };\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 15 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t// todo [akamel] move to /component\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_) {\r\n\t function parse(a) {\r\n\t return abs(parseFloat(a));\r\n\t }\r\n\r\n\t function abs(a) {\r\n\t return _.isFinite(a) ? a : 0;\r\n\t }\r\n\r\n\t function pixelify(a) {\r\n\t return abs(a) + 'px';\r\n\t }\r\n\r\n\t return {\r\n\t parse: parse,\r\n\t pixelify: pixelify\r\n\t };\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 16 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t// TODO [akamel] [bug] with large data set, jitters when scrolling to bottom\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(7), __webpack_require__(3), __webpack_require__(14), __webpack_require__(15)], __WEBPACK_AMD_DEFINE_RESULT__ = function ($, _, measure, px) {\r\n\t function rowHeight(row) {\r\n\t return _.isNumber(row.__height) ? row.__height : this.__measures.avgRowHeight;\r\n\t }\r\n\r\n\t function estimateHeight(first, last) {\r\n\t var rows = this.layout.data.value;\r\n\r\n\t var ret = 0;\r\n\t for (var i = first; i <= last; i++) {\r\n\t ret += rowHeight.call(this, rows[i]);\r\n\t }\r\n\r\n\t return ret;\r\n\t }\r\n\r\n\t function rowAtOffset(offset) {\r\n\t var rem = offset;\r\n\r\n\t if (rem <= 0) {\r\n\t return 0;\r\n\t }\r\n\r\n\t var ret = -1;\r\n\t var count = _.size(this.layout.data.value);\r\n\r\n\t while (rem > 0 && ret < count - 1) {\r\n\t ret++;\r\n\t rem -= rowHeight.call(this, ret);\r\n\t }\r\n\r\n\t return ret < count ? ret : -1;\r\n\t }\r\n\r\n\t function Renderer(options) {\r\n\t this.options = options || {};\r\n\r\n\t this.name = 'virtualization';\r\n\t this.layout = this.options.layout;\r\n\t }\r\n\r\n\t Renderer.prototype.draw = function (data, cb) {\r\n\t // a. define data set\r\n\t var value = this.layout.data.value;\r\n\t var count = _.size(value);\r\n\t var first = 0;\r\n\t var last = count - 1;\r\n\r\n\t // b. render test pass / take initial measures\r\n\t if (!this.__measures) {\r\n\t var smpl = measure.sample.call(this.layout);\r\n\t this.__measures = _.pick(smpl, 'avgRowHeight', 'estimateHeight', 'thead');\r\n\r\n\t // b.1 set height based on measures estimate\r\n\t this.layout.$el.css({\r\n\t 'padding-top': px.pixelify(this.__measures.estimateHeight)\r\n\t });\r\n\t }\r\n\r\n\t // c. find visible viewport\r\n\t data.vpMeasures = data.vpMeasures || measure.viewport.call(this.layout);\r\n\r\n\t // d. find rendable rows\r\n\t first = rowAtOffset.call(this, data.vpMeasures.top - this.__measures.thead);\r\n\t last = rowAtOffset.call(this, data.vpMeasures.bottom - this.__measures.thead);\r\n\r\n\t // d.1 add a few rows before and after our calculations to account for measurment estimation err\r\n\t var errMarginRowCount = 5;\r\n\r\n\t first -= errMarginRowCount;\r\n\t last += errMarginRowCount;\r\n\r\n\t first = Math.max(0, first);\r\n\t last = Math.min(last < 0 ? count - 1 : last, count - 1);\r\n\r\n\t var pTop = estimateHeight.call(this, 0, first - 1);\r\n\t var pBottom = estimateHeight.call(this, last + 1, count - 1);\r\n\r\n\t data.rows = value.slice(first, last + 1);\r\n\r\n\t _.extend(data.css, {\r\n\t 'padding-top': px.pixelify(pTop + px.parse(data.css['padding-top'])),\r\n\t 'padding-bottom': px.pixelify(pBottom + px.parse(data.css['padding-bottom']))\r\n\t });\r\n\r\n\t if (this.first === first && this.last === last) {\r\n\t data.canSkipDraw = true;\r\n\t }\r\n\r\n\t // e. yield to render\r\n\t cb(undefined, data);\r\n\r\n\t // f. take new measures and update avg row height\r\n\t // todo [akamel] [perf] 7.5%\r\n\t var tblMeasure = measure.dimensions.call(this.layout);\r\n\t _.each(tblMeasure.rows, function (height, i) {\r\n\t value[i + first].__height = height;\r\n\t });\r\n\r\n\t var heights = _.chain(value).map(function (row) {\r\n\t return row.__height;\r\n\t }).compact().value();\r\n\r\n\t if (_.size(heights)) {\r\n\t this.__measures.avgRowHeight = _.reduce(heights, function (memo, num) {\r\n\t return memo + num;\r\n\t }, 0) / _.size(heights);\r\n\t }\r\n\r\n\t this.first = first;\r\n\t this.last = last;\r\n\t };\r\n\r\n\t Renderer.prototype.update = function () {\r\n\t delete this.__measures;\r\n\t };\r\n\r\n\t Renderer.prototype.remove = _.noop;\r\n\r\n\t Renderer.partial = function (options) {\r\n\t return function (o) {\r\n\t return new Renderer(_.defaults({}, o, options));\r\n\t };\r\n\t };\r\n\r\n\t return Renderer;\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 17 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t'use strict';\r\n\r\n\tObject.defineProperty(exports, \"__esModule\", {\r\n\t value: true\r\n\t});\r\n\r\n\tvar _underscore = __webpack_require__(3);\r\n\r\n\tvar _underscore2 = _interopRequireDefault(_underscore);\r\n\r\n\tvar _backbone = __webpack_require__(8);\r\n\r\n\tvar _backbone2 = _interopRequireDefault(_backbone);\r\n\r\n\tvar _index = __webpack_require__(18);\r\n\r\n\tvar _index2 = _interopRequireDefault(_index);\r\n\r\n\tvar _utility = __webpack_require__(56);\r\n\r\n\tvar _index3 = __webpack_require__(32);\r\n\r\n\tvar _index4 = _interopRequireDefault(_index3);\r\n\r\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\n\tvar projectionConfigs = {\r\n\t A11y: function A11y(config) {\r\n\t var accConfig = {};\r\n\r\n\t // temp config to fix a11y bug of latency projection grid, should not to reuse it.\r\n\t if (_underscore2.default.has(config.a11y, 'selection') && _underscore2.default.has(config.a11y.selection, 'selectAllLabel')) {\r\n\t accConfig['a11y.selection.selectAllLabel'] = config.a11y.selection.selectAllLabel;\r\n\t }\r\n\r\n\t return accConfig;\r\n\t },\r\n\t AggregateRow: function AggregateRow(config) {\r\n\t var configAgg = {};\r\n\r\n\t if (_underscore2.default.has(config.aggregate, 'top')) {\r\n\t configAgg['aggregate.top'] = config.aggregate.top;\r\n\t }\r\n\r\n\t if (_underscore2.default.has(config.aggregate, 'bottom')) {\r\n\t configAgg['aggregate.bottom'] = config.aggregate.bottom;\r\n\t }\r\n\r\n\t return configAgg;\r\n\t },\r\n\t JSData: function JSData(config) {\r\n\t return _underscore2.default.extend(_underscore2.default.pick(config.dataSource, ['skip', 'take', 'filter', 'orderby', 'select']), {\r\n\t 'jsdata.entity': config.dataSource.resource,\r\n\t 'jsdata.query': config.dataSource.query,\r\n\t 'jsdata.options': config.dataSource.options\r\n\t });\r\n\t },\r\n\t Map: function Map(config) {\r\n\t var properties = _underscore2.default.reduce(config.columns, function (memo, _ref) {\r\n\t var name = _ref.name,\r\n\t value = _ref.value,\r\n\t field = _ref.field;\r\n\r\n\t memo[name] = value || function (item) {\r\n\t return _underscore2.default.reduce((field || name).split('/'), function (memo, prop) {\r\n\t return _underscore2.default.result(memo, prop);\r\n\t }, item);\r\n\t };\r\n\t return memo;\r\n\t }, {});\r\n\r\n\t return {\r\n\t map: function map(item) {\r\n\t return _underscore2.default.reduce(config.columns, function (memo, _ref2) {\r\n\t var name = _ref2.name;\r\n\r\n\t memo[name] = properties[name](item);\r\n\t return memo;\r\n\t }, {});\r\n\t }\r\n\t };\r\n\t },\r\n\t Columns: function Columns(config) {\r\n\t var columns = _underscore2.default.reduce(config.columns, function (columns, column) {\r\n\t var $metadata = {};\r\n\r\n\t if (column.attributes) {\r\n\t $metadata['attr.body'] = column.attributes;\r\n\t }\r\n\r\n\t if (column.headerAttributes) {\r\n\t $metadata['attr.head'] = column.headerAttributes;\r\n\t }\r\n\r\n\t columns[column.name] = {\r\n\t sortable: column.sortable,\r\n\t $metadata: $metadata,\r\n\t headerBuilder: column.headerBuilder,\r\n\t config: column\r\n\t };\r\n\r\n\t return columns;\r\n\t }, {});\r\n\r\n\t if (config.selectable) {\r\n\t columns.checkbox = {\r\n\t config: { name: 'selection' }\r\n\t };\r\n\t }\r\n\r\n\t if (_underscore2.default.has(config.columnShifter, 'totalColumns')) {\r\n\t columns['column.skip.less'] = {\r\n\t config: { name: 'skip-less' }\r\n\t };\r\n\t columns['column.skip.more'] = {\r\n\t config: { name: 'skip-more' }\r\n\t };\r\n\t }\r\n\r\n\t return { columns: columns };\r\n\t },\r\n\t ColumnI18n: function ColumnI18n(config) {\r\n\t return _underscore2.default.reduce(config.columns, function (columnI18n, column) {\r\n\t columnI18n['column.i18n'][column.name] = column.title || column.name;\r\n\t columnI18n['subColumn.i18n'][column.name] = column.subColTitle;\r\n\t return columnI18n;\r\n\t }, { 'column.i18n': {}, 'subColumn.i18n': {} });\r\n\t },\r\n\t ColumnQueryable: function ColumnQueryable(config) {\r\n\t var columnIn = _underscore2.default.chain(config.columns).reject(_underscore2.default.property('hidden')).map(_underscore2.default.property('name')).value();\r\n\t var columnLock = _underscore2.default.chain(config.columns).filter(_underscore2.default.property('locked')).map(_underscore2.default.property('name')).value();\r\n\t var colqConfig = {\r\n\t 'column.lock': columnLock,\r\n\t 'column.in': columnIn\r\n\t };\r\n\r\n\t if (config.selectable) {\r\n\t columnIn.unshift('checkbox');\r\n\t columnLock.unshift('checkbox');\r\n\t }\r\n\r\n\t if (_underscore2.default.has(config.columnShifter, 'totalColumns')) {\r\n\t colqConfig['column.take'] = config.columnShifter.totalColumns;\r\n\t }\r\n\t return colqConfig;\r\n\t },\r\n\r\n\r\n\t // Todo[hezhan]: deprecated?\r\n\t // ColumnGroup(config) {\r\n\t // return {\r\n\t // 'column.group': config.columnGroup,\r\n\t // };\r\n\t // },\r\n\r\n\t ColumnShifter: function ColumnShifter() {},\r\n\t ColumnTemplate: function ColumnTemplate(config) {\r\n\t return {\r\n\t 'column.template': _underscore2.default.reduce(config.columns, function (columnTmpl, column) {\r\n\t if (column.headerTemplate) {\r\n\t columnTmpl[column.name] = column.headerTemplate;\r\n\t }\r\n\t return columnTmpl;\r\n\t }, {})\r\n\t };\r\n\t },\r\n\t ColumnHoverText: function ColumnHoverText() {},\r\n\t Editable: function Editable(config) {\r\n\t var editableOptions = {};\r\n\r\n\t _underscore2.default.each(config.columns, function (column) {\r\n\t if (column.editable) {\r\n\t var options = editableOptions[column.name] = {\r\n\t condition: function condition() {\r\n\t return true;\r\n\t },\r\n\t editor: _index4.default\r\n\t };\r\n\r\n\t if (_underscore2.default.isFunction(column.editable)) {\r\n\t options.condition = column.editable;\r\n\t } else if (_underscore2.default.isObject(column.editable)) {\r\n\t _underscore2.default.extend(options, column.editable);\r\n\t }\r\n\t }\r\n\t });\r\n\r\n\t var tooltipText = _underscore2.default.result(config.editable, 'tooltipText', 'Edit');\r\n\t var iconClasses = _underscore2.default.result(config.editable, 'iconClasses', ['glyphicon', 'glyphicon-pencil']);\r\n\r\n\t return {\r\n\t 'column.editable': editableOptions,\r\n\t 'editable.tooltip.text': tooltipText,\r\n\t 'editable.icon.class': iconClasses\r\n\t };\r\n\t },\r\n\t MemoryQueryable: function MemoryQueryable(config) {\r\n\t return {\r\n\t 'column.sortable': _underscore2.default.reduce(config.columns, function (columnSortable, column) {\r\n\t if (column.sortable) {\r\n\t columnSortable[column.name] = column.sortable;\r\n\t }\r\n\t return columnSortable;\r\n\t }, {})\r\n\t };\r\n\t },\r\n\t Odata: function Odata(config) {\r\n\t return _underscore2.default.extend(_underscore2.default.pick(config.dataSource, ['url', 'skip', 'take', 'filter', 'orderby', 'select']));\r\n\t },\r\n\t PropertyTemplate: function PropertyTemplate(config) {\r\n\t return {\r\n\t 'property.template': _underscore2.default.reduce(config.columns, function (propTmpl, column) {\r\n\t if (column.template) {\r\n\t propTmpl[column.name] = column.template;\r\n\t }\r\n\t return propTmpl;\r\n\t }, {})\r\n\t };\r\n\t },\r\n\t RowIndex: function RowIndex() {},\r\n\t Row: function Row(config) {\r\n\t return {\r\n\t 'row.classes': _underscore2.default.result(config.rows, 'classes')\r\n\t };\r\n\t },\r\n\t RowCheckbox: function RowCheckbox(config) {\r\n\t return {\r\n\t 'row.check.id': _underscore2.default.chain(config).result('dataSource').result('schema').result('key', 'rowIndex').value(),\r\n\t 'row.check.single': config.selectable === 'single',\r\n\t 'column.checked': 'checkbox',\r\n\t 'row.check.allow': function rowCheckAllow(model) {\r\n\t var type = _underscore2.default.chain(model).result('$metadata').result('type').value();\r\n\r\n\t return !_underscore2.default.contains(['segmentation', 'aggregate'], type);\r\n\t }\r\n\t };\r\n\t },\r\n\t Page: function Page(config) {\r\n\t return {\r\n\t 'page.size': config.pageable.pageSize,\r\n\t 'page.number': 0\r\n\t };\r\n\t },\r\n\t Sink: function Sink(config) {\r\n\t var data = _underscore2.default.result(config.dataSource, 'data', []);\r\n\r\n\t if (_underscore2.default.isArray(data)) {\r\n\t return { seed: data };\r\n\t } else if (data instanceof _backbone2.default.Collection) {\r\n\t return { seed: data.toJSON() };\r\n\t }\r\n\t }\r\n\t};\r\n\r\n\texports.default = function (definePlugin) {\r\n\t return definePlugin('projection', ['config'], function (config) {\r\n\t var projection = null;\r\n\r\n\t function pipeProjection(name) {\r\n\t var Projection = _index2.default[name];\r\n\t var configProj = projectionConfigs[name](config);\r\n\t var projectionDest = new Projection(configProj);\r\n\r\n\t if (projection) {\r\n\t projection = projection.pipe(projectionDest);\r\n\t } else {\r\n\t projection = projectionDest;\r\n\t }\r\n\t }\r\n\r\n\t var dataSourceType = config.dataSource.type || 'memory';\r\n\t if (dataSourceType === 'js-data') {\r\n\t pipeProjection('JSData');\r\n\t } else if (dataSourceType === 'memory') {\r\n\t pipeProjection('Sink');\r\n\t pipeProjection('MemoryQueryable');\r\n\t if (config.dataSource.data instanceof _backbone2.default.Collection) {\r\n\t var updating = false;\r\n\t var scheduleUpdate = function scheduleUpdate() {\r\n\t if (!updating) {\r\n\t updating = true;\r\n\t window.setTimeout(function () {\r\n\t projection.set('seed', config.dataSource.data.toJSON());\r\n\t updating = false;\r\n\t }, 0);\r\n\t }\r\n\t };\r\n\t config.dataSource.data.on('all', scheduleUpdate);\r\n\t }\r\n\t } else if (dataSourceType === 'odata') {\r\n\t pipeProjection('Odata');\r\n\t } else {\r\n\t throw new Error('dataSource.type \"' + config.dataSource.type + '\" is not supported');\r\n\t }\r\n\r\n\t var dataSourceProjection = projection;\r\n\r\n\t pipeProjection('A11y');\r\n\t pipeProjection('Columns');\r\n\t pipeProjection('Map');\r\n\t if (config.aggregate) {\r\n\t pipeProjection('AggregateRow');\r\n\t }\r\n\t pipeProjection('ColumnQueryable');\r\n\t pipeProjection('ColumnI18n');\r\n\t // Todo[hezhan]: deprecated?\r\n\t // if (config.enablePoP) {\r\n\t // pipeProjection('ColumnGroup');\r\n\t // }\r\n\t if (_underscore2.default.has(config.columnShifter, 'totalColumns')) {\r\n\t pipeProjection('ColumnShifter');\r\n\t }\r\n\t pipeProjection('ColumnTemplate');\r\n\t pipeProjection('ColumnHoverText');\r\n\t pipeProjection('PropertyTemplate');\r\n\t if (config.selectable) {\r\n\t pipeProjection('RowIndex');\r\n\t pipeProjection('RowCheckbox');\r\n\t }\r\n\t if (config.rows || config.selectable) {\r\n\t pipeProjection('Row');\r\n\t }\r\n\t if (_underscore2.default.has(config.pageable, 'pageSize')) {\r\n\t pipeProjection('Page');\r\n\t }\r\n\t if (_underscore2.default.find(config.columns, _underscore2.default.property('editable'))) {\r\n\t pipeProjection('Editable');\r\n\t }\r\n\r\n\t (0, _utility.delegateEvents)({\r\n\t from: dataSourceProjection,\r\n\t to: projection,\r\n\t events: ['update:beginning', 'update:finished']\r\n\t });\r\n\r\n\t return projection;\r\n\t });\r\n\t};\r\n\r\n/***/ }),\r\n/* 18 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t'use strict';\r\n\r\n\tmodule.exports = {\r\n\t A11y: __webpack_require__(19),\r\n\t AggregateRow: __webpack_require__(22),\r\n\t Base: __webpack_require__(20),\r\n\t ColumnI18n: __webpack_require__(23),\r\n\t ColumnQueryable: __webpack_require__(25),\r\n\t ColumnShifter: __webpack_require__(26),\r\n\t ColumnTemplate: __webpack_require__(27),\r\n\t EditableString: __webpack_require__(28),\r\n\t Editable: __webpack_require__(30),\r\n\t JSData: __webpack_require__(39),\r\n\t Map: __webpack_require__(40),\r\n\t MemoryQueryable: __webpack_require__(41),\r\n\t Memory: __webpack_require__(42),\r\n\t Mock: __webpack_require__(43),\r\n\t Odata: __webpack_require__(44),\r\n\t Page: __webpack_require__(45),\r\n\t PropertyTemplate: __webpack_require__(46),\r\n\t RowCheckbox: __webpack_require__(47),\r\n\t Row: __webpack_require__(49),\r\n\t RowTriStateCheckboxProjection: __webpack_require__(50),\r\n\t RowIndex: __webpack_require__(52),\r\n\t Sink: __webpack_require__(53),\r\n\t // Todo[hezhan]: deprecated?\r\n\t // ColumnGroup: require('./column-group'),\r\n\t ColumnHoverText: __webpack_require__(54),\r\n\t Columns: __webpack_require__(55).default\r\n\t};\r\n\r\n/***/ }),\r\n/* 19 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3), __webpack_require__(8), __webpack_require__(20)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_, Backbone, BaseProjection /* , schemaProperties, Response */) {\r\n\t var defaultselectAllLabel = 'Select All';\r\n\t var Model = BaseProjection.extend({\r\n\t defaults: {\r\n\t 'a11y.selection.selectAllLabel': 'Select All'\r\n\t },\r\n\t name: 'a11y',\r\n\t update: function update(options) {\r\n\t var selectAllLabel = this.get('a11y.selection.selectAllLabel');\r\n\t if (Model.__super__.update.call(this, options)) {\r\n\t this.patch({\r\n\t 'a11y.selection.uniqueId': _.uniqueId().concat('-'),\r\n\t 'a11y.selection.selectAllLabel': _.isString(selectAllLabel) ? selectAllLabel : defaultselectAllLabel\r\n\t });\r\n\t }\r\n\t }\r\n\t });\r\n\t return Model;\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 20 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3), __webpack_require__(8), __webpack_require__(21)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_, Backbone, Response) {\r\n\t var Model = Backbone.Model.extend({\r\n\t initialize: function initialize() {\r\n\t _.bindAll(this, 'onSrcUpdate', 'beforeSet', 'afterSet', 'update');\r\n\t this.data = new Response();\r\n\t this.src = undefined;\r\n\t this.on('change', function (model) {\r\n\t // todo [akamel] the model here is the settings model\r\n\t this.update({ model: model });\r\n\t }.bind(this));\r\n\t },\r\n\r\n\t constructor: function constructor() {\r\n\t // used to figure out which options to set localy and which ones to pass down the pipe\r\n\t this.localKeys = _.keys(this.defaults);\r\n\t // todo [akamel] this might prevent us from overriding initialize\r\n\t Model.__super__.constructor.apply(this, arguments);\r\n\t },\r\n\r\n\t pipe: function pipe(to) {\r\n\t if (to) {\r\n\t to.setSrc(this);\r\n\t }\r\n\r\n\t return to;\r\n\t },\r\n\r\n\t setSrc: function setSrc(src) {\r\n\t this.src = src;\r\n\t if (this.src) {\r\n\t this.src.data.off('change', this.onSrcUpdate);\r\n\t this.src.off('all', this.bubble);\r\n\t }\r\n\r\n\t if (this.src) {\r\n\t this.src.data.on('change', this.onSrcUpdate);\r\n\t this.src.on('all', this.bubble);\r\n\t }\r\n\r\n\t this.update();\r\n\t },\r\n\r\n\t patch: function patch(delta) {\r\n\t var src = this.src ? this.src.data.toJSON() : {};\r\n\t delta = _.isObject(delta) ? delta : {};\r\n\r\n\t if (delta.error) {\r\n\t console.warn(delta.error.stack || delta.error);\r\n\t }\r\n\r\n\t this.data.set(_.defaults(delta, this.attributes, src));\r\n\t },\r\n\r\n\t beforeSet: function beforeSet() /* local, other */{},\r\n\t afterSet: function afterSet() {},\r\n\r\n\t onSrcUpdate: function onSrcUpdate() /* model */{\r\n\t this.update();\r\n\t },\r\n\t bubble: function bubble() {\r\n\t var key = _.first(arguments);\r\n\r\n\t if (_.has(this.events, key)) {\r\n\t var fct = this[this.events[key]];\r\n\t if (_.isFunction(fct)) {\r\n\t fct.apply(this, _.rest(arguments));\r\n\t }\r\n\t }\r\n\r\n\t // todo [akamel] can this result in multiple redraw calls?\r\n\t if (this.src) {\r\n\t this.src.bubble.apply(this.src, _.toArray(arguments));\r\n\t }\r\n\t },\r\n\r\n\t update: function update(options) {\r\n\t options = options || {};\r\n\r\n\t if (this.src) {\r\n\t if (options.deep) {\r\n\t this.src.update(options);\r\n\t return false;\r\n\t }\r\n\r\n\t return true;\r\n\t }\r\n\r\n\t return false;\r\n\t }\r\n\t });\r\n\r\n\t Model.prototype.set = function (key, value, options) {\r\n\t var obj = {};\r\n\r\n\t if (_.isString(key)) {\r\n\t obj[key] = value;\r\n\t } else {\r\n\t obj = key;\r\n\t options = value;\r\n\t }\r\n\r\n\t var local = _.pick(obj, this.localKeys);\r\n\t var other = _.omit(obj, this.localKeys);\r\n\r\n\t this.beforeSet(local, other);\r\n\r\n\t var ret = Model.__super__.set.call(this, local, options);\r\n\r\n\t // todo [akamel] if we set options that span multiple data sources we will trigger change multiple times in the chain??\r\n\t // pass along non-local options\r\n\t if (_.size(other)) {\r\n\t if (this.src) {\r\n\t this.src.set(other, options);\r\n\t }\r\n\t }\r\n\t this.afterSet();\r\n\r\n\t return ret;\r\n\t };\r\n\r\n\t Model.keyRegex = /^([\\w_\\-$]+):(.+)$/;\r\n\r\n\t Model.prototype.get = function (key) {\r\n\t var match = Model.keyRegex.exec(key);\r\n\r\n\t if (match) {\r\n\t var type = match[1];\r\n\t var name = match[2];\r\n\r\n\t switch (type) {\r\n\t case 'projection':\r\n\t {\r\n\t var p = this;\r\n\t do {\r\n\t if (p.name === name) {\r\n\t return p;\r\n\t }\r\n\t p = p.src;\r\n\t } while (p);\r\n\t break;\r\n\t }\r\n\t default:\r\n\t {\r\n\t throw new Error('unknown special get key type');\r\n\t }\r\n\t }\r\n\t } else {\r\n\t var ret = Model.__super__.get.apply(this, arguments);\r\n\r\n\t if (_.isUndefined(ret)) {\r\n\t if (this.src) {\r\n\t ret = this.src.get.apply(this.src, arguments);\r\n\t }\r\n\t }\r\n\r\n\t return ret;\r\n\t }\r\n\t };\r\n\r\n\t return Model;\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 21 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3), __webpack_require__(8)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_, Backbone) {\r\n\t return Backbone.Model.extend({\r\n\t defaults: {\r\n\t value: [],\r\n\t select: null,\r\n\t count: 0,\r\n\t aggregate: []\r\n\t }\r\n\t });\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 22 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3), __webpack_require__(8), __webpack_require__(20)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_, Backbone, BaseProjection) {\r\n\t var createRows = function createRows(fn, data) {\r\n\t var rows = fn(data);\r\n\r\n\t _.each(rows, function (row) {\r\n\t row.$metadata = _.extend({}, row.$metadata, { type: 'aggregate' });\r\n\t });\r\n\r\n\t return rows;\r\n\t };\r\n\r\n\t var Model = BaseProjection.extend({\r\n\r\n\t defaults: {\r\n\t 'aggregate.top': null,\r\n\t 'aggregate.bottom': null\r\n\t },\r\n\r\n\t name: 'aggregate-row',\r\n\r\n\t update: function update(options) {\r\n\t var value, topFn, rowTop, bottomFn, rowBottom;\r\n\r\n\t if (Model.__super__.update.call(this, options)) {\r\n\t value = this.src.data.get('value');\r\n\r\n\t if (value) {\r\n\t topFn = this.get('aggregate.top');\r\n\t bottomFn = this.get('aggregate.bottom');\r\n\t rowTop = _.isFunction(topFn) ? createRows(topFn, this.src.data) : null;\r\n\t rowBottom = _.isFunction(bottomFn) ? createRows(bottomFn, this.src.data) : null;\r\n\r\n\t if (rowTop) {\r\n\t value = _.flatten(rowTop).concat(value);\r\n\t }\r\n\r\n\t if (rowBottom) {\r\n\t value = value.concat(_.flatten(rowBottom));\r\n\t }\r\n\r\n\t this.patch({\r\n\t value: value\r\n\t });\r\n\t }\r\n\t }\r\n\t }\r\n\r\n\t });\r\n\r\n\t return Model;\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 23 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3), __webpack_require__(8), __webpack_require__(20), __webpack_require__(24), __webpack_require__(21)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_, Backbone, BaseProjection /* , schemaProperties, Response */) {\r\n\t var Model = BaseProjection.extend({\r\n\t defaults: {\r\n\t 'column.i18n': {\r\n\t '': function _(name) {\r\n\t return name;\r\n\t }\r\n\t },\r\n\t 'subColumn.i18n': {}\r\n\t },\r\n\t name: 'column-i18n',\r\n\t beforeSet: function beforeSet(local) {\r\n\t if (_.has(local, 'column.i18n')) {\r\n\t if (!_.isObject(local['column.i18n'])) {\r\n\t local['column.i18n'] = this.defaults['column.i18n'];\r\n\t }\r\n\t }\r\n\t },\r\n\t update: function update(options) {\r\n\t // todo [akamel] when calling a deep update; suppress onchange event based updates\r\n\t // Model.__super__.update.call(this, options);\r\n\r\n\t if (Model.__super__.update.call(this, options)) {\r\n\t var model = this.src.data;\r\n\t var colOptions = this.get('column.i18n');\r\n\t var subColOptions = this.get('subColumn.i18n');\r\n\t var columns = model.get('columns') || {};\r\n\t var $default = colOptions[''];\r\n\r\n\t var i18nColumns = {};\r\n\t _.each(_.keys(columns), function (element) {\r\n\t var opt = colOptions[element];\r\n\t if (_.isUndefined(opt)) {\r\n\t opt = $default;\r\n\t }\r\n\r\n\t i18nColumns[element] = _.defaults({\r\n\t $text: _.isFunction(opt) ? opt(element) : opt,\r\n\t property: element\r\n\t }, columns[element]);\r\n\r\n\t i18nColumns[element].config = i18nColumns[element].config || {};\r\n\t i18nColumns[element].config.subColTitle = subColOptions[element];\r\n\t });\r\n\r\n\t this.patch({\r\n\t columns: i18nColumns\r\n\t });\r\n\t } else {\r\n\t // todo [akamel] unset our properties only\r\n\t // this.unset();\r\n\t }\r\n\t }\r\n\t });\r\n\r\n\t return Model;\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 24 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_) {\r\n\t function from(arr) {\r\n\t var obj = _.first(arr);\r\n\r\n\t return _.keys(obj || {});\r\n\t }\r\n\r\n\t return { from: from };\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 25 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3), __webpack_require__(8), __webpack_require__(20), __webpack_require__(24), __webpack_require__(21)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_, Backbone, BaseProjection /* , schemaProperties, Response */) {\r\n\t var Model = BaseProjection.extend({\r\n\t defaults: {\r\n\t 'column.skip': 0,\r\n\t 'column.take': Number.MAX_VALUE,\r\n\t 'column.lock': [],\r\n\t 'column.filter': function columnFilter() {\r\n\t return true;\r\n\t },\r\n\t 'column.in': undefined\r\n\t },\r\n\t name: 'column-queryable',\r\n\t update: function update(options) {\r\n\t if (Model.__super__.update.call(this, options)) {\r\n\t var model = this.src.data;\r\n\t var take = this.get('column.take');\r\n\t var skip = this.get('column.skip');\r\n\t var lock = this.get('column.lock') || [];\r\n\t var filter = this.get('column.filter');\r\n\t // todo [akamel] consider renaming to column.select\r\n\t var $in = this.get('column.in');\r\n\t var select = _.size(model.get('columns')) ? _.map(model.get('columns'), function (i) {\r\n\t return i.property;\r\n\t }) : model.get('select');\r\n\t var unlocked = _.isFunction(filter) ? _.filter($in || select, filter) : $in || select;\r\n\t var lookup = model.get('columns');\r\n\t var set = _.chain(unlocked).difference(lock).value();\r\n\t var col = set;\r\n\r\n\t if (!_.isNumber(take)) {\r\n\t take = Number.MAX_VALUE;\r\n\t }\r\n\r\n\t take = Math.max(take - _.size(lock), 0);\r\n\t if (_.size(set) < skip) {\r\n\t skip = 0;\r\n\t // this.set({ 'columns.skip' : 0 }, { silent : true });\r\n\t }\r\n\r\n\t // start query\r\n\t var skipped = _.first(set, skip);\r\n\r\n\t if (skip) {\r\n\t col = _.rest(set, skip);\r\n\t }\r\n\r\n\t var remaining = _.rest(col, take);\r\n\r\n\t col = _.union(lock, _.first(col, take));\r\n\t // end query\r\n\r\n\t _.each(col, function (element) {\r\n\t if (!lookup[element]) {\r\n\t lookup[element] = { property: element };\r\n\t }\r\n\t lookup[element].$lock = _.contains(lock, element);\r\n\t });\r\n\r\n\t this.patch({\r\n\t 'select': col,\r\n\t // todo [akamel] rename to column.in???\r\n\t // , 'columns.select' : set\r\n\t 'columns.skipped': skipped,\r\n\t 'columns.remaining': remaining,\r\n\t // , 'columns.count' : _.size(res)\r\n\t // todo [akamel] do we still need to update skip?\r\n\t 'column.skip': skip\r\n\t });\r\n\t } else {\r\n\t // todo [akamel] unset our properties only\r\n\t // this.unset();\r\n\t }\r\n\t }\r\n\t });\r\n\r\n\t return Model;\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 26 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3), __webpack_require__(8), __webpack_require__(20), __webpack_require__(24), __webpack_require__(21)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_, Backbone, BaseProjection /* , schemaProperties, Response */) {\r\n\t var Model = BaseProjection.extend({\r\n\t defaults: {},\r\n\t name: 'column-shifter',\r\n\t events: {\r\n\t 'layout:click:header': 'thClick'\r\n\t },\r\n\t update: function update(options) {\r\n\t // todo [akamel] when calling a deep update; suppress onchange event based updates\r\n\t if (Model.__super__.update.call(this, options)) {\r\n\t var model = this.src.data;\r\n\t // todo [akamel] have 'columns' crated at the source so we don't have to put this all over the place\r\n\t var columns = model.get('columns');\r\n\t var select = model.get('select');\r\n\t var colSkipped = model.get('columns.skipped');\r\n\t var colRemaining = model.get('columns.remaining');\r\n\r\n\t var unlockedAt = Math.max(_.findIndex(select, function (col) {\r\n\t return columns[col] && !columns[col].$lock;\r\n\t }), 0);\r\n\r\n\t var hasLess = _.size(colSkipped);\r\n\t var hasMore = _.size(colRemaining);\r\n\r\n\t var colLess = {\r\n\t property: 'column.skip.less',\r\n\t $metadata: {\r\n\t 'attr.head': { class: ['skip-less'] },\r\n\t 'enabled': hasLess\r\n\t },\r\n\t $html: ''\r\n\t };\r\n\t var colMore = {\r\n\t property: 'column.skip.more',\r\n\t $metadata: {\r\n\t 'attr.head': { class: ['skip-more'] },\r\n\t 'enabled': hasMore\r\n\t },\r\n\t $html: ''\r\n\t };\r\n\r\n\t if (!hasLess) {\r\n\t colLess.$metadata['attr.head'].class.push('disabled');\r\n\t }\r\n\r\n\t if (!hasMore) {\r\n\t colMore.$metadata['attr.head'].class.push('disabled');\r\n\t }\r\n\r\n\t select.splice(unlockedAt, 0, colLess.property);\r\n\t columns[colLess.property] = _.defaults(colLess, columns[colLess.property]);\r\n\t select.push(colMore.property);\r\n\t columns[colMore.property] = _.defaults(colMore, columns[colMore.property]);\r\n\r\n\t this.patch({\r\n\t columns: columns,\r\n\t select: select\r\n\t });\r\n\t } else {\r\n\t // todo [akamel] unset our properties only\r\n\t // this.unset();\r\n\t }\r\n\t },\r\n\t thClick: function thClick(e, arg) {\r\n\t if (_.has(arg.column, '$metadata') && arg.column.$metadata.enabled) {\r\n\t var ret = 0;\r\n\t var skip = this.get('column.skip');\r\n\r\n\t // todo [akamel] is this logic solid?\r\n\t switch (arg.property) {\r\n\t case 'column.skip.less':\r\n\t {\r\n\t ret = _.isNumber(skip) ? Math.max(skip - 1, 0) : 0;\r\n\t break;\r\n\t }\r\n\t case 'column.skip.more':\r\n\t {\r\n\t ret = _.isNumber(skip) ? skip + 1 : 0;\r\n\t break;\r\n\t }\r\n\t default:\r\n\t }\r\n\r\n\t this.set({ 'column.skip': ret });\r\n\t }\r\n\t }\r\n\t });\r\n\r\n\t return Model;\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 27 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3), __webpack_require__(20)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_, BaseProjection) {\r\n\t 'use strict';\r\n\r\n\t var Model = BaseProjection.extend({\r\n\t defaults: {\r\n\t 'column.template': {}\r\n\t },\r\n\t name: 'column-template',\r\n\t update: function update(options) {\r\n\t // todo [akamel] when calling a deep update; suppress onchange event based updates\r\n\t // Model.__super__.update.call(this, options);\r\n\r\n\t // TODO [imang]: columns: ideally we should not need to read from select.\r\n\t if (Model.__super__.update.call(this, options)) {\r\n\t var model = this.src.data;\r\n\t var colTemplate = this.get('column.template');\r\n\t var columns = model.get('columns');\r\n\t _.each(columns, function (item, property) {\r\n\t var ret = _.clone(item);\r\n\t var templateValue = colTemplate[property];\r\n\r\n\t if (_.has(colTemplate, property)) {\r\n\t ret.$html = _.isFunction(templateValue) ? templateValue(ret) : templateValue;\r\n\t }\r\n\r\n\t columns[property] = ret;\r\n\t });\r\n\r\n\t this.patch({ columns: columns });\r\n\t } else {\r\n\t // todo [akamel] unset our properties only\r\n\t // this.unset();\r\n\t }\r\n\t }\r\n\t });\r\n\r\n\t return Model;\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 28 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t/**\r\n\t *\r\n\t * Important!!!\r\n\t *\r\n\t * The initial check-in is for unblock the simple grid in advanced campaign creation and\r\n\t * may cause bugs if you try to use it with some more complex grid. Please DO NOT use this\r\n\t * projection until we update this and remove the comments here.\r\n\t *\r\n\t * todo [yucongj, wewei] add the model to maintail the input data.\r\n\t *\r\n\t */\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3), __webpack_require__(7), __webpack_require__(20), __webpack_require__(29)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_, jquery, BaseProjection, editableTemplate) {\r\n\t 'use strict';\r\n\r\n\t var Model = BaseProjection.extend({\r\n\t defaults: {\r\n\t 'column.editable.string': {}\r\n\t },\r\n\t name: 'column-editable-string',\r\n\t update: function update(options) {\r\n\t if (Model.__super__.update.call(this, options)) {\r\n\t var model = this.src.data;\r\n\t var columnEditable = this.get('column.editable.string');\r\n\t var value = _.map(model.get('value'), function (item) {\r\n\t var ret = _.clone(item);\r\n\r\n\t _.each(columnEditable, function (value, key) {\r\n\t if (_.has(ret, key)) {\r\n\t if (!_.isObject(ret[key])) {\r\n\t var obj = new Object(ret[key]); //eslint-disable-line\r\n\r\n\t if (_.isUndefined(ret[key])) {\r\n\t obj.$undefined = true;\r\n\t }\r\n\r\n\t if (_.isNull(ret[key])) {\r\n\t obj.$null = true;\r\n\t }\r\n\r\n\t ret[key] = obj;\r\n\t }\r\n\r\n\t var defaultValue = ret[key].$undefined || ret[key].$null ? value.defaultValue : ret[key];\r\n\r\n\t ret[key].$html = editableTemplate({ defaultValue: defaultValue });\r\n\t }\r\n\t });\r\n\r\n\t return ret;\r\n\t });\r\n\r\n\t this.patch({ value: value });\r\n\t }\r\n\t }\r\n\t });\r\n\r\n\t return Model;\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 29 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar jade = __webpack_require__(10);\r\n\r\n\tmodule.exports = function template(locals) {\r\n\tvar buf = [];\r\n\tvar jade_mixins = {};\r\n\tvar jade_interp;\r\n\t;var locals_for_with = (locals || {});(function (defaultValue) {\r\n\tbuf.push(\"\");}.call(this,\"defaultValue\" in locals_for_with?locals_for_with.defaultValue:typeof defaultValue!==\"undefined\"?defaultValue:undefined));;return buf.join(\"\");\r\n\t}\r\n\r\n/***/ }),\r\n/* 30 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3), __webpack_require__(7), __webpack_require__(20), __webpack_require__(31), __webpack_require__(32), __webpack_require__(35)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_, $, BaseProjection, defaultEditableTemplate, prompt) {\r\n\t 'use strict';\r\n\r\n\t function isReadonlyRow(item) {\r\n\t return !item || item.$metadata && _.contains(['aggregate', 'segmentation'], item.$metadata.type);\r\n\t }\r\n\r\n\t return BaseProjection.extend({\r\n\t defaults: {\r\n\t 'column.editable': [],\r\n\t 'editable.icon.class': ['glyphicon', 'glyphicon-pencil'],\r\n\t 'editable.tooltip.text': 'Edit',\r\n\t 'editable.template': defaultEditableTemplate\r\n\t },\r\n\t name: 'column-editable',\r\n\t events: {\r\n\t 'layout:click:cell': 'tdClick'\r\n\t },\r\n\r\n\t beforeSet: function beforeSet(local) {\r\n\t var editable = function editable() {\r\n\t return true;\r\n\t };\r\n\r\n\t if (_.has(local, 'column.editable')) {\r\n\t var editableOptions = local['column.editable'];\r\n\t var viewConfig = {};\r\n\t var conditions = {};\r\n\r\n\t if (_.isArray(editableOptions)) {\r\n\t _.each(editableOptions, function (editableColumn) {\r\n\t if (_.isString(editableColumn)) {\r\n\t conditions[editableColumn] = editable;\r\n\t } else if (_.isObject(editableColumn) && _.isString(editableColumn.name)) {\r\n\t conditions[editableColumn.name] = _.isFunction(editableColumn.condition) ? editableColumn.condition : editable;\r\n\t }\r\n\t viewConfig[editableColumn] = null;\r\n\t });\r\n\t } else {\r\n\t _.each(editableOptions, function (options, columnName) {\r\n\t if (_.isFunction(options)) {\r\n\t conditions[columnName] = editable;\r\n\t viewConfig[columnName] = options;\r\n\t } else if (_.isObject(options)) {\r\n\t conditions[columnName] = options.condition;\r\n\t viewConfig[columnName] = options.editor;\r\n\t }\r\n\t });\r\n\t }\r\n\r\n\t this.viewConfig = viewConfig;\r\n\t this.isEditable = function (key, item) {\r\n\t return _.isFunction(conditions[key]) && conditions[key](item);\r\n\t };\r\n\t }\r\n\t },\r\n\r\n\t update: function update(options) {\r\n\t if (BaseProjection.prototype.update.call(this, options)) {\r\n\t var model = this.src.data;\r\n\t var columns = model.get('columns');\r\n\t var iconClasses = this.get('editable.icon.class');\r\n\t var tooltipText = this.get('editable.tooltip.text');\r\n\t var editableTemplate = this.get('editable.template');\r\n\r\n\t _.each(this.viewConfig, function (view, key) {\r\n\t var column = columns[key] || { property: key };\r\n\t var $metadata = column.$metadata = column.$metadata || {};\r\n\t var attrBody = $metadata['attr.body'] = $metadata['attr.body'] || {};\r\n\t var className = attrBody.class || [];\r\n\r\n\t if (_.isString(className)) {\r\n\t className = className.split(/\\s+/);\r\n\t }\r\n\t attrBody.class = _.union(className, ['grid-editable-cell']);\r\n\r\n\t columns[key] = column;\r\n\t });\r\n\r\n\t var value = _.map(model.get('value'), function (item) {\r\n\t return isReadonlyRow(item) ? item : _.mapObject(item, function (value, key) {\r\n\t if (this.isEditable(key, item)) {\r\n\t var $html = null;\r\n\t var text = null;\r\n\r\n\t if (_.isObject(value)) {\r\n\t $html = value.$html;\r\n\t } else {\r\n\t text = value;\r\n\t value = {};\r\n\t }\r\n\r\n\t value.$html = editableTemplate({\r\n\t $html: $html,\r\n\t text: text,\r\n\t tooltipText: tooltipText,\r\n\t classes: iconClasses\r\n\t });\r\n\t }\r\n\t return value;\r\n\t }, this);\r\n\t }, this);\r\n\r\n\t this.patch({ value: value });\r\n\t }\r\n\t },\r\n\r\n\t tdClick: function tdClick(e, arg) {\r\n\t var _this = this;\r\n\r\n\t var schema = null;\r\n\t var metadata = arg.column.$metadata;\r\n\t // TODO: wewei\r\n\t // let's rethink this\r\n\t var property = metadata && metadata.map || arg.property;\r\n\r\n\t if (!isReadonlyRow(arg.model) && this.isEditable(arg.property, arg.model) && e.target.tagName !== 'A' && $(e.target).closest('.is-not-trigger').length === 0) {\r\n\t schema = arg.grid.options.get('schema');\r\n\t var editor = this.viewConfig[arg.property] || prompt;\r\n\t var position = arg.grid.layout.container.offset(e.currentTarget);\r\n\t var $td = $(e.currentTarget);\r\n\r\n\t position.right = position.left + $td.outerWidth();\r\n\t position.bottom = position.top + $td.outerHeight();\r\n\t editor({\r\n\t model: arg.model,\r\n\t schema: schema,\r\n\t position: position,\r\n\t property: property,\r\n\t onSubmit: function onSubmit(model) {\r\n\t _this.trigger('edit', model, property);\r\n\t }\r\n\t });\r\n\t }\r\n\t }\r\n\r\n\t });\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 31 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar jade = __webpack_require__(10);\r\n\r\n\tmodule.exports = function template(locals) {\r\n\tvar buf = [];\r\n\tvar jade_mixins = {};\r\n\tvar jade_interp;\r\n\t;var locals_for_with = (locals || {});(function ($html, classes, text, tooltipText) {\r\n\tbuf.push(\"
\" + (null == (jade_interp = $html) ? \"\" : jade_interp) + (jade.escape(null == (jade_interp = text) ? \"\" : jade_interp)));}.call(this,\"$html\" in locals_for_with?locals_for_with.$html:typeof $html!==\"undefined\"?$html:undefined,\"classes\" in locals_for_with?locals_for_with.classes:typeof classes!==\"undefined\"?classes:undefined,\"text\" in locals_for_with?locals_for_with.text:typeof text!==\"undefined\"?text:undefined,\"tooltipText\" in locals_for_with?locals_for_with.tooltipText:typeof tooltipText!==\"undefined\"?tooltipText:undefined));;return buf.join(\"\");\r\n\t}\r\n\r\n/***/ }),\r\n/* 32 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\r\n\r\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(7), __webpack_require__(33), __webpack_require__(8), __webpack_require__(3), __webpack_require__(34)], __WEBPACK_AMD_DEFINE_RESULT__ = function ($, Promise, Backbone, _, template) {\r\n\t var PopupEditor = Backbone.View.extend({\r\n\t events: {\r\n\t 'click .save': function clickSave() {\r\n\t this.trigger('save', this.model);\r\n\t },\r\n\t 'click .cancel': function clickCancel() {\r\n\t this.trigger('cancel');\r\n\t },\r\n\t 'change .editor': function changeEditor(e) {\r\n\t this.setValue(e.target.value);\r\n\t },\r\n\t 'click form': function clickForm(e) {\r\n\t e.stopPropagation();\r\n\t },\r\n\t 'submit form': function submitForm() {\r\n\t this.trigger('save', this.model);\r\n\t return false;\r\n\t }\r\n\t },\r\n\r\n\t initialize: function initialize(options) {\r\n\t this.position = options.position;\r\n\t this.model = options.model;\r\n\t this.property = options.property;\r\n\t this.saveButtonText = options.saveButtonText || 'Save';\r\n\t this.cancelButtonText = options.cancelButtonText || 'Cancel';\r\n\t },\r\n\r\n\t getValue: function getValue() {\r\n\t if (this.property && _.isObject(this.property)) {\r\n\t var _property = this.property,\r\n\t name = _property.name,\r\n\t value = _property.value;\r\n\r\n\t return value(this.model)[name];\r\n\t }\r\n\r\n\t return (this.model || {})[this.property];\r\n\t },\r\n\r\n\t setValue: function setValue(val) {\r\n\t if (this.property && _.isObject(this.property)) {\r\n\t var _property2 = this.property,\r\n\t name = _property2.name,\r\n\t value = _property2.value;\r\n\r\n\t value(this.model)[name] = val;\r\n\t } else {\r\n\t this.model[this.property] = val;\r\n\t }\r\n\t },\r\n\r\n\t render: function render() {\r\n\t var _this = this;\r\n\r\n\t var val = this.getValue();\r\n\r\n\t this.$el.html(template({\r\n\t value: val,\r\n\t saveButtonText: this.saveButtonText,\r\n\t cancelButtonText: this.cancelButtonText\r\n\t }));\r\n\t this.$el.css({ position: 'absolute' });\r\n\r\n\t if (this.position.left) {\r\n\t this.$el.css({ left: this.position.left });\r\n\t } else {\r\n\t this.$el.css({ right: this.position.right });\r\n\t }\r\n\t if (this.position.top) {\r\n\t this.$el.css({ top: this.position.top });\r\n\t } else {\r\n\t this.$el.css({ bottom: this.position.bottom });\r\n\t }\r\n\r\n\t this.dismiss = function () {\r\n\t this.trigger('cancel');\r\n\t }.bind(this);\r\n\r\n\t window.setTimeout(function () {\r\n\t $(window).on('click', _this.dismiss);\r\n\t }, 0);\r\n\r\n\t return this;\r\n\t },\r\n\r\n\t remove: function remove() {\r\n\t $(window).off('click', this.dismiss);\r\n\t Backbone.View.prototype.remove.apply(this, arguments);\r\n\t },\r\n\r\n\t focus: function focus() {\r\n\t var input = this.$el.find('.editor');\r\n\t input.select();\r\n\t }\r\n\r\n\t });\r\n\r\n\t return function (options) {\r\n\t var editor = new PopupEditor(options);\r\n\r\n\t document.body.appendChild(editor.render().el);\r\n\r\n\t editor.focus();\r\n\r\n\t editor.on('save', function (model) {\r\n\t editor.remove();\r\n\t options.onSubmit && options.onSubmit(model);\r\n\t });\r\n\r\n\t editor.on('cancel', function () {\r\n\t editor.remove();\r\n\t options.onCancel && options.onCancel();\r\n\t });\r\n\t };\r\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n\r\n/***/ }),\r\n/* 33 */\r\n/***/ (function(module, exports) {\r\n\r\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_33__;\r\n\r\n/***/ }),\r\n/* 34 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\tvar jade = __webpack_require__(10);\r\n\r\n\tmodule.exports = function template(locals) {\r\n\tvar buf = [];\r\n\tvar jade_mixins = {};\r\n\tvar jade_interp;\r\n\t;var locals_for_with = (locals || {});(function (cancelButtonText, saveButtonText, value) {\r\n\tbuf.push(\"
  
\");}.call(this,\"cancelButtonText\" in locals_for_with?locals_for_with.cancelButtonText:typeof cancelButtonText!==\"undefined\"?cancelButtonText:undefined,\"saveButtonText\" in locals_for_with?locals_for_with.saveButtonText:typeof saveButtonText!==\"undefined\"?saveButtonText:undefined,\"value\" in locals_for_with?locals_for_with.value:typeof value!==\"undefined\"?value:undefined));;return buf.join(\"\");\r\n\t}\r\n\r\n/***/ }),\r\n/* 35 */\r\n/***/ (function(module, exports, __webpack_require__) {\r\n\r\n\t// style-loader: Adds some css to the DOM by adding a