'}return e.factory=function(){var t=function(){return new e};return t},e.prototype.link=function(e,t,i,o){var r=t.parent().parent();if(!n.isUndefined(r)&&r.hasClass("ms-Callout-main")){var c=t.detach();r.prepend(c)}},e}();t.CalloutHeaderDirective=l;var s=function(){function e(){this.restrict="E",this.transclude=!0,this.replace=!1,this.scope=!1,this.template='
'}return e.factory=function(){var t=function(){return new e};return t},e}();t.CalloutContentDirective=s;var a=function(){function e(){this.restrict="E",this.transclude=!0,this.replace=!1,this.scope=!1,this.template=''}return e.factory=function(){var t=function(){return new e};return t},e}();t.CalloutActionsDirective=a;var u=function(){function e(){this.restrict="E",this.transclude=!0,this.replace=!1,this.template="
"+'
',this.require=["uifCallout"],this.scope={ngShow:"=",uifType:"@"},this.controller=c}return e.factory=function(){var t=function(){return new e};return t},e.prototype.link=function(e,t,i,c){var l=c[0];if(i.$observe("uifType",function(e){n.isUndefined(o.CalloutType[e])&&l.$log.error('Error [ngOfficeUiFabric] officeuifabric.components.callout - "'+e+'" is not a valid value for uifType. It should be oobe or peek')}),i.uifArrow||(e.arrowDirection="Left"),i.$observe("uifArrow",function(t){if(n.isUndefined(r.CalloutArrow[t]))return void l.$log.error('Error [ngOfficeUiFabric] officeuifabric.components.callout - "'+t+'" is not a valid value for uifArrow. It should be left, right, top, bottom.');var i=t.charAt(0).toUpperCase();i+=t.slice(1).toLowerCase(),e.arrowDirection=i}),e.hasSeparator=!n.isUndefined(i.uifActionText)||!n.isUndefined(i.uifSeparator),!n.isUndefined(i.uifClose)){e.closeButton=!0;var s=n.element(''),a=t.find("div").eq(0);a.append(s),s.bind("click",function(t){e.ngShow=!1,e.closeButtonClicked=!0,e.$apply()})}t.bind("mouseenter",function(t){e.isMouseOver=!0,e.$apply()}),t.bind("mouseleave",function(t){e.isMouseOver=!1,e.$apply()}),e.$watch("ngShow",function(t,i){var n=!t&&e.closeButtonClicked;return n?void(e.ngShow=e.closeButtonClicked=!1):void(t||(e.ngShow=e.isMouseOver))}),e.$watch("isMouseOver",function(t,i){!t&&i&&(e.closeButton||(e.ngShow=!1))})},e}();t.CalloutDirective=u,t.module=n.module("officeuifabric.components.callout",["officeuifabric.components"]).directive("uifCallout",u.factory()).directive("uifCalloutHeader",l.factory()).directive("uifCalloutContent",s.factory()).directive("uifCalloutActions",a.factory())},function(e,t){"use strict";!function(e){e[e.oobe=0]="oobe",e[e.peek=1]="peek"}(t.CalloutType||(t.CalloutType={}));t.CalloutType},function(e,t){"use strict";!function(e){e[e.left=0]="left",e[e.right=1]="right",e[e.top=2]="top",e[e.bottom=3]="bottom"}(t.CalloutArrow||(t.CalloutArrow={}));t.CalloutArrow},function(e,t,i){"use strict";var n=i(2),o=i(8),r=function(){function e(e){this.$log=e}return e.$inject=["$log"],e}();t.ChoicefieldOptionController=r;var c=function(){function e(){this.template='',this.restrict="E",this.require=["uifChoicefieldOption","^?uifChoicefieldGroup"],this.replace=!0,this.transclude=!0,this.scope={ngFalseValue:"@",ngModel:"=",ngTrueValue:"@",uifType:"@",value:"@"},this.controller=r}return e.factory=function(){var t=function(){return new e};return t},e.prototype.compile=function(e,t,i){var n=e.find("input");return"ngModel"in t||n.removeAttr("ng-model"),{pre:this.preLink}},e.prototype.preLink=function(e,t,i,n,r){var c=n[0],l=n[1];if(e.$watch("uifType",function(e,t){void 0===o.ChoicefieldType[e]&&c.$log.error('Error [ngOfficeUiFabric] officeuifabric.components.choicefield - "'+e+'" is not a valid value for uifType. Supported options are listed here: https://github.com/ngOfficeUIFabric/ng-officeuifabric/blob/master/src/components/choicefield/choicefieldTypeEnum.ts')}),null!=l){var s=function(){var e=l.getViewValue()===i.value;t.find("input").prop("checked",e)};l.addRender(s),i.$observe("value",s),t.on("$destroy",function(){l.removeRender(s)})}var a="disabled"in i,u=e.$parent.$parent;a=a||null!=u&&u.disabled,a&&t.find("input").attr("disabled","disabled"),t.on("click",function(t){a||e.$apply(function(){null!=l&&l.setViewValue(i.value,t)})})},e}();t.ChoicefieldOptionDirective=c;var l=function(){function e(e,t){this.$element=e,this.$scope=t,this.renderFns=[]}return e.prototype.init=function(){var e=this;"undefined"!=typeof this.$scope.ngModel&&null!=this.$scope.ngModel&&(this.$scope.ngModel.$render=function(){e.render()},this.render())},e.prototype.addRender=function(e){this.renderFns.push(e)},e.prototype.removeRender=function(e){this.renderFns.splice(this.renderFns.indexOf(e))},e.prototype.setViewValue=function(e,t){this.$scope.ngModel.$setViewValue(e,t),this.render()},e.prototype.getViewValue=function(){return"undefined"!=typeof this.$scope.ngModel&&null!=this.$scope.ngModel?this.$scope.ngModel.$viewValue:void 0},e.prototype.render=function(){for(var e=0;e',this.restrict="E",this.transclude=!0,this.require=["uifChoicefieldGroup","?ngModel"],this.controller=l}return e.factory=function(){var t=function(){return new e};return t},e.prototype.compile=function(e,t,i){return{pre:this.preLink}},e.prototype.preLink=function(e,t,i,n){var o=n[0],r=n[1];e.ngModel=r,o.init(),e.disabled="disabled"in i},e}();t.ChoicefieldGroupDirective=s,t.module=n.module("officeuifabric.components.choicefield",["officeuifabric.components"]).directive("uifChoicefieldOption",c.factory()).directive("uifChoicefieldGroup",s.factory())},function(e,t){"use strict";!function(e){e[e.radio=0]="radio",e[e.checkbox=1]="checkbox"}(t.ChoicefieldType||(t.ChoicefieldType={}));t.ChoicefieldType},function(e,t,i){"use strict";var n,o=i(2);!function(e){e[e.link=0]="link",e[e.divider=1]="divider",e[e.header=2]="header",e[e.subMenu=3]="subMenu"}(n||(n={})),t.contextualMenuItemDirectiveName="uifContextualMenuItem",t.contextualMenuDirectiveName="uifContextualMenu";var r=function(){function e(e){var t=this;this.$log=e,this.restrict="E",this.require="^uifContextualMenu",this.transclude=!0,this.controller=c,this.template=function(e,i){var r=i.uifType;return o.isUndefined(r)?t.templateTypes[n.link]:(void 0===n[r]&&t.$log.error("Error [ngOfficeUiFabric] officeuifabric.components.contextualmenu - unsupported menu type:\nthe type '"+r+"' is not supported by ng-Office UI Fabric as valid type for context menu.Supported types can be found under MenuItemTypes enum here:\nhttps://github.com/ngOfficeUIFabric/ng-officeuifabric/blob/master/src/components/contextualmenu/contextualMenu.ts"),t.templateTypes[n[r]])},this.replace=!0,this.scope={isDisabled:"=uifIsDisabled",isSelected:"=uifIsSelected",onClick:"&uifClick",text:"=uifText",type:"@uifType"},this.templateTypes={},this.templateTypes[n.subMenu]='
',this.templateTypes[n.divider]=''}return e.factory=function(){var t=function(t){return new e(t)};return t.$inject=["$log"],t},e.prototype.link=function(e,t,i,n,r){"boolean"!=typeof e.isDisabled&&void 0!==e.isDisabled&&n.$log.error("Error [ngOfficeUiFabric] officeuifabric.components.contextualmenu - invalid attribute type: 'uif-is-disabled'.\nThe type '"+typeof e.isDisabled+"' is not supported as valid type for 'uif-is-disabled' attribute for . The valid type is boolean."),"boolean"!=typeof e.isSelected&&void 0!==e.isSelected&&n.$log.error("Error [ngOfficeUiFabric] officeuifabric.components.contextualmenu - invalid attribute type: 'uif-is-selected'.\nThe type '"+typeof e.isSelected+"' is not supported as valid type for 'uif-is-selected' attribute for . The valid type is boolean."),r(function(e){t.find("div").replaceWith(e)}),e.selectItem=function(){n.isMultiSelectionMenu()||n.onDeselectItems(),o.isUndefined(e.isSelected)&&!e.isDisabled?e.isSelected=!0:e.isSelected=!e.isSelected,n.isRootMenu()?n.onCloseMenus(e.$id):e.hasChildMenu?n.onCloseMenus(e.$id):(n.onCloseMenus(null,!0),n.onDeselectItems(!0)),e.hasChildMenu&&e.childMenuCtrl.openMenu(),o.isUndefined(e.onClick)||e.onClick()},e.$on("uif-menu-deselect",function(){e.isSelected=!1}),e.$on("uif-menu-close",function(t,i){e.hasChildMenu&&e.$id!==i&&e.childMenuCtrl.closeMenu()})},e}();t.ContextualMenuItemDirective=r;var c=function(){function e(e,t){this.$scope=e,this.$element=t}return e.prototype.setChildMenu=function(e){this.$scope.hasChildMenu=!0,this.$scope.childMenuCtrl=e},e.$inject=["$scope","$element"],e}();t.ContextualMenuItemController=c;var l=function(){function e(){this.restrict="E",this.require=t.contextualMenuDirectiveName,this.transclude=!0,this.template='
',this.replace=!0,this.controller=s,this.scope={isOpen:"=uifIsOpen",multiselect:"@uifMultiselect"}}return e.factory=function(){var t=function(){return new e};return t},e.prototype.link=function(e,i,n,r){var c=i.controller(t.contextualMenuItemDirectiveName);o.isUndefined(c)||c.setChildMenu(r),o.isUndefined(e.multiselect)||"true"!==e.multiselect.toLowerCase()||i.addClass("ms-ContextualMenu--multiselect")},e}();t.ContextualMenuDirective=l;var s=function(){function e(e,i,n,r){var c=this;this.$scope=e,this.$animate=i,this.$element=n,this.$log=r,this.isOpenClassName="is-open",o.isUndefined(n.controller(t.contextualMenuItemDirectiveName))&&(e.isRootMenu=!0),e.$watch("isOpen",function(e){"boolean"!=typeof e&&void 0!==e&&c.$log.error("Error [ngOfficeUiFabric] officeuifabric.components.contextualmenu - invalid attribute type: 'uif-is-open'.\nThe type '"+typeof e+"' is not supported as valid type for 'uif-is-open' attribute for . The valid type is boolean."),i[e?"addClass":"removeClass"](n,c.isOpenClassName)})}return e.prototype.onDeselectItems=function(e){this.$scope.$broadcast("uif-menu-deselect"),e&&this.$scope.$emit("uif-menu-deselect")},e.prototype.onCloseMenus=function(e,t){t?this.$scope.$emit("uif-menu-close"):this.$scope.$broadcast("uif-menu-close",e)},e.prototype.openMenu=function(){this.$scope.isOpen=!0},e.prototype.closeMenu=function(){this.$scope.isOpen=!1},e.prototype.isRootMenu=function(){return this.$scope.isRootMenu},e.prototype.isMultiSelectionMenu=function(){return o.isUndefined(this.$scope.multiselect)?!1:"true"===this.$scope.multiselect.toLowerCase()},e.$inject=["$scope","$animate","$element","$log"],e}();t.ContextualMenuController=s,t.module=o.module("officeuifabric.components.contextualmenu",["officeuifabric.components"]).directive(t.contextualMenuDirectiveName,l.factory()).directive(t.contextualMenuItemDirectiveName,r.factory())},function(e,t,i){"use strict";var n=i(2),o=function(){function e(){this.template='',this.restrict="E",this.require="^uifDropdown",this.replace=!0,this.transclude=!0}return e.factory=function(){var t=function(){return new e};return t},e.prototype.compile=function(e,t,i){return{post:this.postLink}},e.prototype.postLink=function(e,t,i,n,o){if(!n)throw"Dropdown controller not found!";t.on("click",function(o){e.$apply(function(){n.setViewValue(t.find("span").html(),i.value,o)})})},e}();t.DropdownOptionDirective=o;var r=function(){function e(e,t){this.$element=e,this.$scope=t}return e.prototype.init=function(){var e=this;this.$element.bind("click",function(){if(!e.$scope.disabled){e.$scope.isOpen=!e.$scope.isOpen,e.$scope.$apply();var t=angular.element(this.querySelector(".ms-Dropdown"))[0].clientWidth;angular.element(this.querySelector(".ms-Dropdown-items"))[0].style.width=t+"px"}}),"undefined"!=typeof this.$scope.ngModel&&null!=this.$scope.ngModel&&(this.$scope.ngModel.$render=function(){for(var t=e.$element.find("li"),i=0;i{{selectedTitle}}
',this.restrict="E",this.transclude=!0,this.require=["uifDropdown","?ngModel"],this.scope={},this.controller=r}return e.factory=function(){var t=function(){return new e};return t},e.prototype.compile=function(e,t,i){return{pre:this.preLink}},e.prototype.preLink=function(e,t,i,n){var o=n[0],r=n[1];e.ngModel=r,o.init(),e.disabled="disabled"in i},e}();t.DropdownDirective=c,t.module=n.module("officeuifabric.components.dropdown",["officeuifabric.components"]).directive("uifOption",o.factory()).directive("uifDropdown",c.factory())},function(e,t,i){"use strict";var n=i(2),o=i(12),r=function(){function e(e){this.$log=e}return e.$inject=["$log"],e}(),c=function(){function e(){this.restrict="E",this.template='',this.scope={uifType:"@"},this.transclude=!0,this.controller=r,this.controllerAs="icon"}return e.factory=function(){var t=function(){return new e};return t},e.prototype.link=function(e,t,i,n){e.$watch("uifType",function(t,i){void 0===o.IconEnum[t]&&n.$log.error("Error [ngOfficeUiFabric] officeuifabric.components.icon - Unsupported icon: The icon ('"+e.uifType+"') is not supported by the Office UI Fabric. Supported options are listed here: https://github.com/ngOfficeUIFabric/ng-officeuifabric/blob/master/src/components/icon/iconEnum.ts")})},e}();t.IconDirective=c,t.module=n.module("officeuifabric.components.icon",["officeuifabric.components"]).directive("uifIcon",c.factory())},function(e,t){"use strict";!function(e){e[e.alert=0]="alert",e[e.alert2=1]="alert2",e[e.alertOutline=2]="alertOutline",e[e.arrowDown=3]="arrowDown",e[e.arrowDown2=4]="arrowDown2",e[e.arrowDownLeft=5]="arrowDownLeft",e[e.arrowDownRight=6]="arrowDownRight",e[e.arrowLeft=7]="arrowLeft",e[e.arrowRight=8]="arrowRight",e[e.arrowUp=9]="arrowUp",e[e.arrowUp2=10]="arrowUp2",e[e.arrowUpLeft=11]="arrowUpLeft",e[e.arrowUpRight=12]="arrowUpRight",e[e.ascending=13]="ascending",e[e.at=14]="at",e[e.attachment=15]="attachment",e[e.bag=16]="bag",e[e.balloon=17]="balloon",e[e.bell=18]="bell",e[e.boards=19]="boards",e[e.bold=20]="bold",e[e.bookmark=21]="bookmark",e[e.books=22]="books",e[e.briefcase=23]="briefcase",e[e.bundle=24]="bundle",e[e.cake=25]="cake",e[e.calendar=26]="calendar",e[e.calendarDay=27]="calendarDay",e[e.calendarPublic=28]="calendarPublic",e[e.calendarWeek=29]="calendarWeek",e[e.calendarWorkWeek=30]="calendarWorkWeek",e[e.camera=31]="camera",e[e.car=32]="car",e[e.caretDown=33]="caretDown",e[e.caretDownLeft=34]="caretDownLeft",e[e.caretDownOutline=35]="caretDownOutline",e[e.caretDownRight=36]="caretDownRight",e[e.caretLeft=37]="caretLeft",e[e.caretLeftOutline=38]="caretLeftOutline",e[e.caretRight=39]="caretRight",e[e.caretRightOutline=40]="caretRightOutline",e[e.caretUp=41]="caretUp",e[e.caretUpLeft=42]="caretUpLeft",e[e.caretUpOutline=43]="caretUpOutline",e[e.caretUpRight=44]="caretUpRight",e[e.cart=45]="cart",e[e.cat=46]="cat",e[e.chart=47]="chart",e[e.chat=48]="chat",e[e.chatAdd=49]="chatAdd",e[e.check=50]="check",e[e.checkbox=51]="checkbox",e[e.checkboxCheck=52]="checkboxCheck",e[e.checkboxEmpty=53]="checkboxEmpty",e[e.checkboxMixed=54]="checkboxMixed",e[e.checkPeople=55]="checkPeople",e[e.chevronDown=56]="chevronDown",e[e.chevronLeft=57]="chevronLeft",e[e.chevronRight=58]="chevronRight",e[e.chevronsDown=59]="chevronsDown",e[e.chevronsLeft=60]="chevronsLeft",e[e.chevronsRight=61]="chevronsRight",e[e.chevronsUp=62]="chevronsUp",e[e.chevronThickDown=63]="chevronThickDown",e[e.chevronThickLeft=64]="chevronThickLeft",e[e.chevronThickRight=65]="chevronThickRight",e[e.chevronThickUp=66]="chevronThickUp",e[e.chevronThinDown=67]="chevronThinDown",e[e.chevronThinLeft=68]="chevronThinLeft",e[e.chevronThinRight=69]="chevronThinRight",e[e.chevronThinUp=70]="chevronThinUp",e[e.chevronUp=71]="chevronUp",e[e.circle=72]="circle",e[e.circleBall=73]="circleBall",e[e.circleBalloons=74]="circleBalloons",e[e.circleCar=75]="circleCar",e[e.circleCat=76]="circleCat",e[e.circleCoffee=77]="circleCoffee",e[e.circleDog=78]="circleDog",e[e.circleEmpty=79]="circleEmpty",e[e.circleFill=80]="circleFill",e[e.circleFilled=81]="circleFilled",e[e.circleHalfFilled=82]="circleHalfFilled",e[e.circleInfo=83]="circleInfo",e[e.circleLightning=84]="circleLightning",e[e.circlePill=85]="circlePill",e[e.circlePlane=86]="circlePlane",e[e.circlePlus=87]="circlePlus",e[e.circlePoodle=88]="circlePoodle",e[e.circleUnfilled=89]="circleUnfilled",e[e.classNotebook=90]="classNotebook",e[e.classroom=91]="classroom",e[e.clock=92]="clock",e[e.clutter=93]="clutter",e[e.coffee=94]="coffee",e[e.collapse=95]="collapse",e[e.conflict=96]="conflict",e[e.contact=97]="contact",e[e.contactForm=98]="contactForm",e[e.contactPublic=99]="contactPublic",e[e.copy=100]="copy",e[e.creditCard=101]="creditCard",e[e.creditCardOutline=102]="creditCardOutline",e[e.dashboard=103]="dashboard",e[e.descending=104]="descending",e[e.desktop=105]="desktop",e[e.deviceWipe=106]="deviceWipe",e[e.dialpad=107]="dialpad",e[e.directions=108]="directions",e[e.document=109]="document",e[e.documentAdd=110]="documentAdd",e[e.documentForward=111]="documentForward",e[e.documentLandscape=112]="documentLandscape",e[e.documentPDF=113]="documentPDF",e[e.documentReply=114]="documentReply",e[e.documents=115]="documents",e[e.documentSearch=116]="documentSearch",e[e.dog=117]="dog",e[e.dogAlt=118]="dogAlt",e[e.dot=119]="dot",e[e.download=120]="download",e[e.drm=121]="drm",e[e.drop=122]="drop",e[e.dropdown=123]="dropdown",e[e.editBox=124]="editBox",e[e.ellipsis=125]="ellipsis",e[e.embed=126]="embed",e[e.event=127]="event",e[e.eventCancel=128]="eventCancel",e[e.eventInfo=129]="eventInfo",e[e.eventRecurring=130]="eventRecurring",e[e.eventShare=131]="eventShare",e[e.exclamation=132]="exclamation",e[e.expand=133]="expand",e[e.eye=134]="eye",e[e.favorites=135]="favorites",e[e.fax=136]="fax",e[e.fieldMail=137]="fieldMail",e[e.fieldNumber=138]="fieldNumber",e[e.fieldText=139]="fieldText",e[e.fieldTextBox=140]="fieldTextBox",e[e.fileDocument=141]="fileDocument",e[e.fileImage=142]="fileImage",e[e.filePDF=143]="filePDF",e[e.filter=144]="filter",e[e.filterClear=145]="filterClear",e[e.firstAid=146]="firstAid",e[e.flag=147]="flag",e[e.folder=148]="folder",e[e.folderMove=149]="folderMove",e[e.folderPublic=150]="folderPublic",e[e.folderSearch=151]="folderSearch",e[e.fontColor=152]="fontColor",e[e.fontDecrease=153]="fontDecrease",e[e.fontIncrease=154]="fontIncrease",e[e.frowny=155]="frowny",e[e.fullscreen=156]="fullscreen",e[e.gear=157]="gear",e[e.glasses=158]="glasses",e[e.globe=159]="globe",e[e.graph=160]="graph",e[e.group=161]="group",e[e.header=162]="header",e[e.heart=163]="heart",e[e.heartEmpty=164]="heartEmpty",e[e.hide=165]="hide",e[e.home=166]="home",e[e.inboxCheck=167]="inboxCheck",e[e.info=168]="info",e[e.infoCircle=169]="infoCircle",e[e.italic=170]="italic",e[e.key=171]="key",e[e.late=172]="late",e[e.lifesaver=173]="lifesaver",e[e.lifesaverLock=174]="lifesaverLock",e[e.lightBulb=175]="lightBulb",e[e.lightning=176]="lightning",e[e.link=177]="link",e[e.linkRemove=178]="linkRemove",e[e.listBullets=179]="listBullets",e[e.listCheck=180]="listCheck",e[e.listCheckbox=181]="listCheckbox",e[e.listGroup=182]="listGroup",e[e.listGroup2=183]="listGroup2",e[e.listNumbered=184]="listNumbered",e[e.lock=185]="lock",e[e.mail=186]="mail",e[e.mailCheck=187]="mailCheck",e[e.mailDown=188]="mailDown",e[e.mailEdit=189]="mailEdit",e[e.mailEmpty=190]="mailEmpty",e[e.mailError=191]="mailError",e[e.mailOpen=192]="mailOpen",e[e.mailPause=193]="mailPause",e[e.mailPublic=194]="mailPublic",e[e.mailRead=195]="mailRead",e[e.mailSend=196]="mailSend",e[e.mailSync=197]="mailSync",e[e.mailUnread=198]="mailUnread",e[e.mapMarker=199]="mapMarker",e[e.meal=200]="meal",e[e.menu=201]="menu",e[e.menu2=202]="menu2",e[e.merge=203]="merge",e[e.metadata=204]="metadata",e[e.microphone=205]="microphone",e[e.miniatures=206]="miniatures",e[e.minus=207]="minus",e[e.mobile=208]="mobile",e[e.money=209]="money",e[e.move=210]="move",e[e.multiChoice=211]="multiChoice",e[e.music=212]="music",e[e.navigate=213]="navigate",e[e["new"]=214]="new",e[e.newsfeed=215]="newsfeed",e[e.note=216]="note",e[e.notebook=217]="notebook",e[e.noteEdit=218]="noteEdit",e[e.noteForward=219]="noteForward",e[e.noteReply=220]="noteReply",e[e.notRecurring=221]="notRecurring",e[e.onedrive=222]="onedrive",e[e.onlineAdd=223]="onlineAdd",e[e.onlineJoin=224]="onlineJoin",e[e.oofReply=225]="oofReply",e[e.org=226]="org",e[e.page=227]="page",e[e.paint=228]="paint",e[e.panel=229]="panel",e[e.partner=230]="partner",e[e.pause=231]="pause",e[e.pencil=232]="pencil",e[e.people=233]="people",e[e.peopleAdd=234]="peopleAdd",e[e.peopleCheck=235]="peopleCheck",e[e.peopleError=236]="peopleError",e[e.peoplePause=237]="peoplePause",e[e.peopleRemove=238]="peopleRemove",e[e.peopleSecurity=239]="peopleSecurity",e[e.peopleSync=240]="peopleSync",e[e.person=241]="person",e[e.personAdd=242]="personAdd",e[e.personRemove=243]="personRemove",e[e.phone=244]="phone",e[e.phoneAdd=245]="phoneAdd",e[e.phoneTransfer=246]="phoneTransfer",e[e.picture=247]="picture",e[e.pictureAdd=248]="pictureAdd",e[e.pictureEdit=249]="pictureEdit",e[e.pictureRemove=250]="pictureRemove",e[e.pill=251]="pill",e[e.pinDown=252]="pinDown",e[e.pinLeft=253]="pinLeft",e[e.placeholder=254]="placeholder",e[e.plane=255]="plane",e[e.play=256]="play",e[e.plus=257]="plus",e[e.plus2=258]="plus2",e[e.pointItem=259]="pointItem",e[e.popout=260]="popout",e[e.post=261]="post",e[e.print=262]="print",e[e.protectionCenter=263]="protectionCenter",e[e.question=264]="question",e[e.questionReverse=265]="questionReverse",e[e.quote=266]="quote",e[e.radioButton=267]="radioButton",e[e.reactivate=268]="reactivate",e[e.receiptCheck=269]="receiptCheck",e[e.receiptForward=270]="receiptForward",e[e.receiptReply=271]="receiptReply",e[e.refresh=272]="refresh",e[e.reload=273]="reload",e[e.reply=274]="reply",e[e.replyAll=275]="replyAll",e[e.replyAllAlt=276]="replyAllAlt",e[e.replyAlt=277]="replyAlt",e[e.ribbon=278]="ribbon",e[e.room=279]="room",e[e.save=280]="save",e[e.scheduling=281]="scheduling",e[e.search=282]="search",e[e.section=283]="section",e[e.sections=284]="sections",e[e.settings=285]="settings",e[e.share=286]="share",e[e.shield=287]="shield",e[e.sites=288]="sites",e[e.smiley=289]="smiley",e[e.soccer=290]="soccer",e[e.socialListening=291]="socialListening",e[e.sort=292]="sort",e[e.sortLines=293]="sortLines",e[e.split=294]="split",e[e.star=295]="star",e[e.starEmpty=296]="starEmpty",e[e.stopwatch=297]="stopwatch",e[e.story=298]="story",e[e.styleRemove=299]="styleRemove",e[e.subscribe=300]="subscribe",e[e.sun=301]="sun",e[e.sunAdd=302]="sunAdd",e[e.sunQuestion=303]="sunQuestion",e[e.support=304]="support",e[e.table=305]="table",e[e.tablet=306]="tablet",e[e.tag=307]="tag",e[e.taskRecurring=308]="taskRecurring",e[e.tasks=309]="tasks",e[e.teamwork=310]="teamwork",e[e.text=311]="text",e[e.textBox=312]="textBox",e[e.tile=313]="tile",e[e.timeline=314]="timeline",e[e.today=315]="today",e[e.toggle=316]="toggle",e[e.toggleMiddle=317]="toggleMiddle",e[e.touch=318]="touch",e[e.trash=319]="trash",e[e.triangleDown=320]="triangleDown",e[e.triangleEmptyDown=321]="triangleEmptyDown",e[e.triangleEmptyLeft=322]="triangleEmptyLeft",e[e.triangleEmptyRight=323]="triangleEmptyRight",e[e.triangleEmptyUp=324]="triangleEmptyUp",e[e.triangleLeft=325]="triangleLeft",e[e.triangleRight=326]="triangleRight",e[e.triangleUp=327]="triangleUp",e[e.trophy=328]="trophy",e[e.underline=329]="underline",e[e.unsubscribe=330]="unsubscribe",e[e.upload=331]="upload",e[e.video=332]="video",e[e.voicemail=333]="voicemail",e[e.voicemailForward=334]="voicemailForward",e[e.voicemailReply=335]="voicemailReply",e[e.waffle=336]="waffle",e[e.work=337]="work",e[e.wrench=338]="wrench",e[e.x=339]="x",e[e.xCircle=340]="xCircle"}(t.IconEnum||(t.IconEnum={}));t.IconEnum},function(e,t,i){"use strict";var n=i(2),o=function(){function e(){this.restrict="E",this.template='',this.scope={ngHref:"@"},this.transclude=!0,this.replace=!0}return e.factory=function(){var t=function(){return new e};return t},e}();t.LinkDirective=o,t.module=n.module("officeuifabric.components.link",["officeuifabric.components"]).directive("uifLink",o.factory())},function(e,t,i){"use strict";var n=i(2),o=i(15),r=(function(){function e(e){this.log=e}return e.$inject=["$log"],e}(),function(){function e(t){this.log=t,this.restrict="E",this.template="",this.scope={uifMode:"@"},this.transclude=!0,e.log=t}return e.factory=function(){var t=function(t){return new e(t)};return t.$inject=["$log"],t},e.prototype.link=function(t){t.$watch("uifMode",function(i,n){void 0===o.OverlayMode[i]&&e.log.error("Error [ngOfficeUiFabric] officeuifabric.components.overlay - Unsupported overlay mode: The overlay mode ('"+t.uifMode+"') is not supported by the Office UI Fabric. Supported options are listed here: https://github.com/ngOfficeUIFabric/ng-officeuifabric/blob/master/src/components/overlay/overlayModeEnum.ts")})},e}());t.OverlayDirective=r,t.module=n.module("officeuifabric.components.overlay",["officeuifabric.components"]).directive("uifOverlay",r.factory())},function(e,t){"use strict";!function(e){e[e.light=0]="light",e[e.dark=1]="dark"}(t.OverlayMode||(t.OverlayMode={}));t.OverlayMode},function(e,t,i){"use strict";var n=i(2),o=function(){function e(t){this.log=t,this.restrict="E",this.template='
{{uifName}}
{{uifDescription}}
',this.scope={uifDescription:"@",uifName:"@",uifPercentComplete:"@"},e.log=t}return e.factory=function(){var t=function(t){return new e(t)};return t.$inject=["$log"],t},e.prototype.link=function(t){t.$watch("uifPercentComplete",function(i,n){if(null==i||""===i)return void(t.uifPercentComplete=0);var o=parseFloat(i);(isNaN(o)||0>o||o>100)&&(e.log.error("Error [ngOfficeUiFabric] officeuifabric.components.progressindicator - Percent complete must be a valid number between 0 and 100."),t.uifPercentComplete=Math.max(Math.min(o,100),0))})},e}();t.ProgressIndicatorDirective=o,t.module=n.module("officeuifabric.components.progressindicator",["officeuifabric.components"]).directive("uifProgressIndicator",o.factory())},function(e,t,i){"use strict";var n=i(2),o=function(){function e(){this.template='',this.scope={placeholder:"=",value:"="}}return e.factory=function(){var t=function(){return new e};return t},e.prototype.link=function(e,t,i){e.isFocus=!1,e.isCancel=!1,e.isLabelHidden=!1,e.isActive=!1,e.inputFocus=function(){e.isFocus=!0,e.isLabelHidden=!0,e.isActive=!0},e.inputBlur=function(){e.isCancel&&(e.value="",e.isLabelHidden=!1),e.isActive=!1,("undefined"==typeof e.value||""===e.value)&&(e.isLabelHidden=!1),e.isFocus=e.isCancel=!1},e.btnMousedown=function(){e.isCancel=!0},e.$watch("value",function(t){e.isFocus||(t&&""!==t?e.isLabelHidden=!0:e.isLabelHidden=!1,e.value=t)}),e.$watch("placeholder",function(t){e.placeholder=t})},e}();t.SearchBoxDirective=o,t.module=n.module("officeuifabric.components.searchbox",["officeuifabric.components"]).directive("uifSearchbox",o.factory())},function(e,t,i){"use strict";var n=i(2),o=i(19),r=function(){function e(){this.restrict="E",this.transclude=!0,this.replace=!0,this.template='',this.controller=c,this.scope={ngShow:"="}}return e.factory=function(){var t=function(){return new e};return t},e.prototype.link=function(e,t,i,r,c){n.isDefined(i.uifSize)&&(n.isUndefined(o.SpinnerSize[i.uifSize])&&r.$log.error("Error [ngOfficeUiFabric] officeuifabric.components.spinner - Unsupported size: Spinner size ('"+i.uifSize+"') is not supported by the Office UI Fabric."),
o.SpinnerSize[i.uifSize]===o.SpinnerSize.large&&t.addClass("ms-Spinner--large")),null!=i.ngShow?e.$watch("ngShow",function(e,t,i){e?i.start():i.stop()}):e.start(),c(function(e){if(e.length>0){var i=n.element("");i.addClass("ms-Spinner-label").append(e),t.append(i)}}),e.init()},e}();t.SpinnerDirective=r;var c=function(){function e(e,t,i,n){var o=this;this.$scope=e,this.$element=t,this.$interval=i,this.$log=n,this._offsetSize=.179,this._numCircles=8,this._animationSpeed=90,this._circles=[],e.init=function(){o.createCirclesAndArrange(),o.setInitialOpacity()},e.start=function(){o._animationInterval=i(function(){for(var e=o._circles.length;e--;)o.fadeCircle(o._circles[e])},o._animationSpeed)},e.stop=function(){i.cancel(o._animationInterval)}}return e.prototype.createCirclesAndArrange=function(){for(var e=this.$element[0].clientWidth,t=this.$element[0].clientHeight,i=0,n=e*this._offsetSize,o=2*Math.PI/this._numCircles,r=this._numCircles,c=.5*(e-n);r--;){var s=this.createCircle(),a=Math.round(.5*e+c*Math.cos(i)-.5*s[0].clientWidth)-.5*n,u=Math.round(.5*t+c*Math.sin(i)-.5*s[0].clientHeight)-.5*n;this.$element.append(s),s.css("left",a+"px"),s.css("top",u+"px"),i+=o;var d=new l(s,r);this._circles.push(d)}},e.prototype.createCircle=function(){var e=n.element(""),t=this.$element[0].clientWidth,i=t*this._offsetSize+"px";return e.addClass("ms-Spinner-circle").css("width",i).css("height",i),e},e.prototype.setInitialOpacity=function(){var e,t=this;this._fadeIncrement=1/this._numCircles,this._circles.forEach(function(i,n){e=t._fadeIncrement*(n+1),i.opacity=e})},e.prototype.fadeCircle=function(e){var t=e.opacity-this._fadeIncrement;0>=t&&(t=1),e.opacity=t},e.$inject=["$scope","$element","$interval","$log"],e}(),l=function(){function e(e,t){this.circleElement=e,this.circleIndex=t}return Object.defineProperty(e.prototype,"opacity",{get:function(){return+this.circleElement.css("opacity")},set:function(e){this.circleElement.css("opacity",e)},enumerable:!0,configurable:!0}),e}();t.module=n.module("officeuifabric.components.spinner",["officeuifabric.components"]).directive("uifSpinner",r.factory())},function(e,t){"use strict";!function(e){e[e.small=0]="small",e[e.large=1]="large"}(t.SpinnerSize||(t.SpinnerSize={}));t.SpinnerSize},function(e,t,i){"use strict";var n=i(2),o=i(21),r=function(){function e(e,t){this.$scope=e,this.$log=t,this.$scope.orderBy=null,this.$scope.orderAsc=!0,this.$scope.rows=[]}return Object.defineProperty(e.prototype,"orderBy",{get:function(){return this.$scope.orderBy},set:function(e){this.$scope.orderBy=e,this.$scope.$digest()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderAsc",{get:function(){return this.$scope.orderAsc},set:function(e){this.$scope.orderAsc=e,this.$scope.$digest()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rowSelectMode",{get:function(){return this.$scope.rowSelectMode},set:function(e){void 0===o.TableRowSelectModeEnum[e]&&this.$log.error("Error [ngOfficeUiFabric] officeuifabric.components.table. '"+e+"' is not a valid option for 'uif-row-select-mode'. Valid options are none|single|multiple."),this.$scope.rowSelectMode=e,this.$scope.$digest()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){return this.$scope.rows},set:function(e){this.$scope.rows=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedItems",{get:function(){for(var e=[],t=0;t',this.controller=r,this.controllerAs="table"}return e.factory=function(){var t=function(){return new e};return t},e.prototype.link=function(e,t,i,n){void 0!==i.uifRowSelectMode&&null!==i.uifRowSelectMode&&(void 0===o.TableRowSelectModeEnum[i.uifRowSelectMode]?n.$log.error("Error [ngOfficeUiFabric] officeuifabric.components.table. '"+i.uifRowSelectMode+"' is not a valid option for 'uif-row-select-mode'. Valid options are none|single|multiple."):e.rowSelectMode=i.uifRowSelectMode),void 0===e.rowSelectMode&&(e.rowSelectMode=o.TableRowSelectModeEnum[o.TableRowSelectModeEnum.none])},e}();t.TableDirective=c;var l=function(){function e(e,t){this.$scope=e,this.$log=t}return Object.defineProperty(e.prototype,"item",{get:function(){return this.$scope.item},set:function(e){this.$scope.item=e,this.$scope.$digest()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.$scope.selected},set:function(e){this.$scope.selected=e,this.$scope.$digest()},enumerable:!0,configurable:!0}),e.$inject=["$scope","$log"],e}(),s=function(){function e(){this.restrict="E",this.transclude=!0,this.replace=!0,this.template='',this.require="^uifTable",this.scope={item:"=uifItem"},this.controller=l}return e.factory=function(){var t=function(){return new e};return t},e.prototype.link=function(e,t,i,n){if(void 0!==i.uifSelected&&null!==i.uifSelected){var r=i.uifSelected.toLowerCase();"true"!==r&&"false"!==r?n.$log.error("Error [ngOfficeUiFabric] officeuifabric.components.table. '"+i.uifSelected+"' is not a valid boolean value. Valid options are true|false."):"true"===r&&(e.selected=!0)}void 0!==e.item&&n.rows.push(e),e.rowClick=function(t){e.selected=!e.selected,e.$apply()},e.$watch("selected",function(e,i,r){if(e===!0){if(n.rowSelectMode===o.TableRowSelectModeEnum[o.TableRowSelectModeEnum.single]&&n.rows)for(var c=0;c',this.replace=!0,this.require=["^uifTable","^uifTableRow"]}return e.factory=function(){var t=function(){return new e};return t},e.prototype.link=function(e,t,i,n){e.rowSelectClick=function(t){var i=n[0],r=n[1];if(i.rowSelectMode===o.TableRowSelectModeEnum[o.TableRowSelectModeEnum.multiple]&&(void 0===r.item||null===r.item)){for(var c=!1,l=0;l',this.replace=!0}return e.factory=function(){var t=function(){return new e};return t},e}();t.TableCellDirective=u;var d=function(){function e(){this.restrict="E",this.transclude=!0,this.replace=!0,this.template='',this.require="^uifTable"}return e.factory=function(){var t=function(){return new e};return t},e.prototype.link=function(e,t,i,n){e.headerClick=function(e){n.orderBy===i.uifOrderBy?n.orderAsc=!n.orderAsc:(n.orderBy=i.uifOrderBy,n.orderAsc=!0)},e.$watch("table.orderBy",function(e,n,o){if(n!==e&&e===i.uifOrderBy){for(var r=t.parent().children(),c=0;c ')}}),e.$watch("table.orderAsc",function(e,i,n){if(2===t.children().length){var o=i?"ms-Icon--caretDown":"ms-Icon--caretUp",r=e?"ms-Icon--caretDown":"ms-Icon--caretUp";t.children().eq(1).children().eq(0).removeClass(o).addClass(r)}}),"uifOrderBy"in i&&t.on("click",e.headerClick)},e}();t.TableHeaderDirective=d,t.module=n.module("officeuifabric.components.table",["officeuifabric.components"]).directive("uifTable",c.factory()).directive("uifTableRow",s.factory()).directive("uifTableRowSelect",a.factory()).directive("uifTableCell",u.factory()).directive("uifTableHeader",d.factory())},function(e,t){"use strict";!function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.multiple=2]="multiple"}(t.TableRowSelectModeEnum||(t.TableRowSelectModeEnum={}));t.TableRowSelectModeEnum},function(e,t,i){"use strict";var n=i(2),o=function(){function e(){this.template="