ember-source 2.16.0 → 2.16.1

Sign up to get free protection for your applications and to get access to all the features.
data/dist/ember.min.js CHANGED
@@ -1280,7 +1280,7 @@ o.sourceReference=n,o.pathReference=r,o.lastPath=null,o.innerReference=null
1280
1280
  var s=o.innerTag=new i.UpdatableTag(i.CONSTANT_TAG)
1281
1281
  return o.tag=(0,i.combine)([n.tag,r.tag,s]),o}return(0,t.inherits)(o,e),o.create=function(e,t){var n
1282
1282
  return(0,i.isConst)(t)?(n=t.value().split("."),(0,i.referenceFromParts)(e,n)):new o(e,t)},o.prototype.compute=function(){var e,t=this.lastPath,n=this.innerReference,r=this.innerTag,o=this.lastPath=this.pathReference.value()
1283
- return o!==t&&(void 0!==o&&null!==o?(e=typeof o,"string"===e?n=this.innerReference=(0,i.referenceFromParts)(this.sourceReference,o.split(".")):"number"===e&&(n=this.innerReference=this.sourceReference.get(""+o)),r.update(n.tag)):(n=this.innerReference=null,r.update(i.CONSTANT_TAG))),n?n.value():null},o.prototype[r.UPDATE]=function(e){(0,n.set)(this.sourceReference.value(),this.pathReference.value(),e)},o}(r.CachedReference)}),e("ember-glimmer/helpers/hash",["exports"],function(e){"use strict"
1283
+ return o!==t&&(void 0!==o&&null!==o&&""!==o?(e=typeof o,"string"===e?n=this.innerReference=(0,i.referenceFromParts)(this.sourceReference,o.split(".")):"number"===e&&(n=this.innerReference=this.sourceReference.get(""+o)),r.update(n.tag)):(n=this.innerReference=null,r.update(i.CONSTANT_TAG))),n?n.value():null},o.prototype[r.UPDATE]=function(e){(0,n.set)(this.sourceReference.value(),this.pathReference.value(),e)},o}(r.CachedReference)}),e("ember-glimmer/helpers/hash",["exports"],function(e){"use strict"
1284
1284
  e["default"]=function(e,t){return t.named.capture()}}),e("ember-glimmer/helpers/if-unless",["exports","ember-babel","ember-debug","ember-glimmer/utils/references","@glimmer/reference"],function(e,t,n,r,i){"use strict"
1285
1285
  e.inlineIf=function(e,t){var n=t.positional
1286
1286
  return o.create(n.at(0),n.at(1),n.at(2))},e.inlineUnless=function(e,t){var n=t.positional
@@ -1420,13 +1420,13 @@ e.setTemplates=function(e){t=e},e.getTemplates=function(){return t},e.getTemplat
1420
1420
  var t={}}),e("ember-glimmer/templates/component",["exports","ember-glimmer/template"],function(e,t){"use strict"
1421
1421
  e["default"]=(0,t["default"])({id:"mvSJ6iUj",block:'{"symbols":["&default"],"statements":[[11,1]],"hasEval":false}',meta:{moduleName:"ember-glimmer/templates/component.hbs"}})}),e("ember-glimmer/templates/empty",["exports","ember-glimmer/template"],function(e,t){"use strict"
1422
1422
  e["default"]=(0,t["default"])({id:"EPhvcwzD",block:'{"symbols":[],"statements":[],"hasEval":false}',meta:{moduleName:"ember-glimmer/templates/empty.hbs"}})}),e("ember-glimmer/templates/link-to",["exports","ember-glimmer/template"],function(e,t){"use strict"
1423
- e["default"]=(0,t["default"])({id:"+G5dMm85",block:'{"symbols":["&default"],"statements":[[4,"if",[[19,0,["linkTitle"]]],null,{"statements":[[1,[18,"linkTitle"],false]],"parameters":[]},{"statements":[[11,1]],"parameters":[]}]],"hasEval":false}',meta:{moduleName:"ember-glimmer/templates/link-to.hbs"}})}),e("ember-glimmer/templates/outlet",["exports","ember-glimmer/template"],function(e,t){"use strict"
1423
+ e["default"]=(0,t["default"])({id:"Gq3gxZ6f",block:'{"symbols":["&default"],"statements":[[4,"if",[[20,["linkTitle"]]],null,{"statements":[[1,[18,"linkTitle"],false]],"parameters":[]},{"statements":[[11,1]],"parameters":[]}]],"hasEval":false}',meta:{moduleName:"ember-glimmer/templates/link-to.hbs"}})}),e("ember-glimmer/templates/outlet",["exports","ember-glimmer/template"],function(e,t){"use strict"
1424
1424
  e["default"]=(0,t["default"])({id:"NblF8298",block:'{"symbols":[],"statements":[[1,[18,"outlet"],false]],"hasEval":false}',meta:{moduleName:"ember-glimmer/templates/outlet.hbs"}})}),e("ember-glimmer/templates/root",["exports","ember-glimmer/template"],function(e,t){"use strict"
1425
1425
  e["default"]=(0,t["default"])({id:"Jhwo1zmY",block:'{"symbols":[],"statements":[[1,[25,"component",[[19,0,[]]],null],false]],"hasEval":false}',meta:{moduleName:"ember-glimmer/templates/root.hbs"}})}),e("ember-glimmer/utils/bindings",["exports","ember-babel","@glimmer/reference","@glimmer/wire-format","ember-debug","ember-metal","ember-runtime","ember-glimmer/component","ember-glimmer/utils/string"],function(e,t,n,r,i,o,s,a,u){"use strict"
1426
1426
  function c(e,t){return e[a.ROOT_REF].get(t)}function l(e,t){var r="attrs"===t[0]
1427
1427
  return r&&(t.shift(),1===t.length)?c(e,t[0]):(0,n.referenceFromParts)(e[a.ROOT_REF],t)}e.ClassNameBinding=e.IsVisibleBinding=e.AttributeBinding=void 0,e.wrapComponentClassAttribute=function(e){if(!e)return e
1428
1428
  var t,n,i,o,s,a=e[0],u=e[1],c=a.indexOf("class")
1429
- return c!==-1&&(t=u[c],n=t[0],n===r.Ops.Get&&(i=u[c],o=i[2],s=o[o.length-1],e[1][c]=[r.Ops.Helper,["-class"],[i,s]])),e},e.AttributeBinding={parse:function(e){var t,n,r=e.indexOf(":")
1429
+ return c!==-1&&(t=u[c],n=t[0],n!==r.Ops.Get&&n!==r.Ops.MaybeLocal||(i=u[c],o=i[i.length-1],s=o[o.length-1],e[1][c]=[r.Ops.Helper,["-class"],[i,s]])),e},e.AttributeBinding={parse:function(e){var t,n,r=e.indexOf(":")
1430
1430
  return r===-1?[e,e,!0]:(t=e.substring(0,r),n=e.substring(r+1),[t,n,!1])},install:function(e,t,n,r){var i,s=n[0],a=n[1]
1431
1431
  n[2]
1432
1432
  if("id"===a)return i=(0,o.get)(t,s),void 0!==i&&null!==i||(i=t.elementId),void r.addStaticAttribute(e,"id",i)
@@ -1996,7 +1996,7 @@ r._qpDelegate=(0,n.get)(this,"_qp.states.inactive"),this.resetController(r,e,t)}
1996
1996
  for(i=0;i<a.length;++i)if(o=s[a[i]],o&&(0,n.get)(this._optionsForQueryParam(o),"refreshModel")&&this.router.currentState){this.refresh()
1997
1997
  break}return!0},finalizeQueryParamChange:function(e,t,r){if("application"!==this.fullRouteName)return!0
1998
1998
  if(r){var i,o,a,u,c,l,p,h,f,m,g,y=r.state.handlerInfos,v=this.router,b=v._queryParamsFor(y),_=v._qpUpdates,w=void 0
1999
- for((0,s.stashParamNames)(v,y),i=0;i<b.qps.length;++i)o=b.qps[i],a=o.route,u=a.controller,c=o.urlKey in e&&o.urlKey,l=void 0,p=void 0,_&&o.urlKey in _?(l=(0,n.get)(u,o.prop),p=a.serializeQueryParam(l,o.urlKey,o.type)):c?(p=e[c],l=a.deserializeQueryParam(p,o.urlKey,o.type)):(p=o.serializedDefaultValue,l=d(o.defaultValue)),u._qpDelegate=(0,n.get)(a,"_qp.states.inactive"),h=p!==o.serializedValue,h&&(r.queryParamsOnly&&w!==!1&&(f=a._optionsForQueryParam(o),m=(0,n.get)(f,"replace"),m?w=!0:m===!1&&(w=!1)),(0,n.set)(u,o.prop,l)),o.serializedValue=p,g=o.serializedDefaultValue===p,g&&!r._keepDefaultQueryParamValues||t.push({value:p,visible:!0,key:c||o.urlKey})
1999
+ for((0,s.stashParamNames)(v,y),i=0;i<b.qps.length;++i)o=b.qps[i],a=o.route,u=a.controller,c=o.urlKey in e&&o.urlKey,l=void 0,p=void 0,_&&o.urlKey in _?(l=(0,n.get)(u,o.prop),p=a.serializeQueryParam(l,o.urlKey,o.type)):c?(p=e[c],void 0!==p&&(l=a.deserializeQueryParam(p,o.urlKey,o.type))):(p=o.serializedDefaultValue,l=d(o.defaultValue)),u._qpDelegate=(0,n.get)(a,"_qp.states.inactive"),h=p!==o.serializedValue,h&&(r.queryParamsOnly&&w!==!1&&(f=a._optionsForQueryParam(o),m=(0,n.get)(f,"replace"),m?w=!0:m===!1&&(w=!1)),(0,n.set)(u,o.prop,l)),o.serializedValue=p,g=o.serializedDefaultValue===p,g&&!r._keepDefaultQueryParamValues||t.push({value:p,visible:!0,key:c||o.urlKey})
2000
2000
  w&&r.method("replace"),b.qps.forEach(function(e){var t=(0,n.get)(e.route,"_qp"),r=e.route.controller
2001
2001
  r._qpDelegate=(0,n.get)(t,"states.active")}),v._qpUpdates=null}}},deactivate:a,activate:a,transitionTo:function(){var e
2002
2002
  return(e=this.router).transitionTo.apply(e,(0,s.prefixRouteNameArg)(this,arguments))},intermediateTransitionTo:function(){var e;(e=this.router).intermediateTransitionTo.apply(e,(0,s.prefixRouteNameArg)(this,arguments))},refresh:function(){return this.router._routerMicrolib.refresh(this)},replaceWith:function(){var e
@@ -2096,7 +2096,7 @@ if(n)return n.serializeMethod||s.defaultSerialize}},_setupRouter:function(e){var
2096
2096
  o.getHandler=this._getHandlerFunction(),o.getSerializer=this._getSerializerFunction()
2097
2097
  var s=function(){e.setURL(i),(0,r.set)(n,"currentURL",i)}
2098
2098
  o.updateURL=function(e){i=e,r.run.once(s)},e.replaceURL&&(t=function(){e.replaceURL(i),(0,r.set)(n,"currentURL",i)},o.replaceURL=function(e){i=e,r.run.once(t)}),o.didTransition=function(e){n.didTransition(e)},o.willTransition=function(e,t,r){n.willTransition(e,t,r)}},_serializeQueryParams:function(e,t){var n=this
2099
- E(this,e,t,function(e,r,i){i?(delete t[e],t[i.urlKey]=i.route.serializeQueryParam(r,i.urlKey,i.type)):void 0===r||(t[e]=n._serializeQueryParam(r,(0,o.typeOf)(r)))})},_serializeQueryParam:function(e,t){return"array"===t?JSON.stringify(e):""+e},_deserializeQueryParams:function(e,t){E(this,e,t,function(e,n,r){r&&(delete t[e],t[r.prop]=r.route.deserializeQueryParam(n,r.urlKey,r.type))})},_deserializeQueryParam:function(e,t){return"boolean"===t?"true"===e:"number"===t?Number(e).valueOf():"array"===t?(0,o.A)(JSON.parse(e)):e},_pruneDefaultQueryParamValues:function(e,t){var n,r=this._queryParamsFor(e)
2099
+ E(this,e,t,function(e,r,i){i?(delete t[e],t[i.urlKey]=i.route.serializeQueryParam(r,i.urlKey,i.type)):void 0===r||(t[e]=n._serializeQueryParam(r,(0,o.typeOf)(r)))})},_serializeQueryParam:function(e,t){return null===e||void 0===e?e:"array"===t?JSON.stringify(e):""+e},_deserializeQueryParams:function(e,t){E(this,e,t,function(e,n,r){r&&(delete t[e],t[r.prop]=r.route.deserializeQueryParam(n,r.urlKey,r.type))})},_deserializeQueryParam:function(e,t){return null===e||void 0===e?e:"boolean"===t?"true"===e:"number"===t?Number(e).valueOf():"array"===t?(0,o.A)(JSON.parse(e)):e},_pruneDefaultQueryParamValues:function(e,t){var n,r=this._queryParamsFor(e)
2100
2100
  for(var i in t)n=r.map[i],n&&n.serializedDefaultValue===t[i]&&delete t[i]},_doTransition:function(e,n,r,i){var o,s=e||(0,c.getActiveTargetName)(this._routerMicrolib),a={}
2101
2101
  this._processActiveTransitionQueryParams(s,n,a,r),(0,t.assign)(a,r),this._prepareQueryParams(s,n,a,i)
2102
2102
  var u=(0,c.routeArgs)(s,n,a),l=(o=this._routerMicrolib).transitionTo.apply(o,u)
@@ -2182,11 +2182,11 @@ return c(t,function(e){var t=this,n=(0,s.A)()
2182
2182
  return e.forEach(function(e){var i=(0,r.get)(t,e);(0,o.isArray)(i)&&i.forEach(function(e){n.indexOf(e)===-1&&n.push(e)})}),n})}function f(e,t){return u(e,function(e){var n=this
2183
2183
  return e.slice().sort(function(e,r){return t.call(n,e,r)})})}function d(e,t){var n=new r.ComputedProperty(function(i){function a(){this.notifyPropertyChange(i)}var u=this,c=(0,r.get)(this,t),l=n._activeObserverMap||(n._activeObserverMap=new r.WeakMap),p=l.get(this)
2184
2184
  void 0!==p&&p.forEach(function(e){return r.removeObserver.apply(void 0,e)})
2185
- var h="@this"===e,f=h?this:(0,r.get)(this,e)
2186
- if(!(0,o.isArray)(f))return(0,s.A)()
2187
- var d=m(c)
2188
- return p=d.map(function(t){var n=t[0],i=h?"@each."+n:e+".@each."+n
2189
- return(0,r.addObserver)(u,i,a),[u,i,a]}),l.set(this,p),g(f,d)},{dependentKeys:[t+".[]"],readOnly:!0})
2185
+ var h=m(c)
2186
+ p=h.map(function(t){var n=t[0],i=f?"@each."+n:e+".@each."+n
2187
+ return(0,r.addObserver)(u,i,a),[u,i,a]}),l.set(this,p)
2188
+ var f="@this"===e,d=f?this:(0,r.get)(this,e)
2189
+ return(0,o.isArray)(d)?g(d,h):(0,s.A)()},{dependentKeys:[t+".[]"],readOnly:!0})
2190
2190
  return n._activeObserverMap=void 0,n}function m(e){return e.map(function(e){var t=e.split(":"),n=t[0],r=t[1]
2191
2191
  return r=r||"asc",[n,r]})}function g(e,t){return(0,s.A)(e.slice().sort(function(e,n){var o,s,a,u,c
2192
2192
  for(o=0;o<t.length;o++)if(s=t[o],a=s[0],u=s[1],c=(0,i["default"])((0,r.get)(e,a),(0,r.get)(n,a)),0!==c)return"desc"===u?-1*c:c
@@ -2605,7 +2605,7 @@ var b,_=s.computed
2605
2605
  _.alias=s.alias,s["default"].computed=_,s["default"].ComputedProperty=s.ComputedProperty,s["default"].cacheFor=s.cacheFor,s["default"].assert=u.assert,s["default"].warn=u.warn,s["default"].debug=u.debug,s["default"].deprecate=u.deprecate,s["default"].deprecateFunc=u.deprecateFunc,s["default"].runInDebug=u.runInDebug,s["default"].Debug={registerDeprecationHandler:u.registerDeprecationHandler,registerWarnHandler:u.registerWarnHandler},s["default"].merge=s.merge,s["default"].instrument=s.instrument,s["default"].subscribe=s.instrumentationSubscribe,s["default"].Instrumentation={instrument:s.instrument,subscribe:s.instrumentationSubscribe,unsubscribe:s.instrumentationUnsubscribe,reset:s.instrumentationReset},s["default"].Error=u.Error,s["default"].META_DESC=s.META_DESC,s["default"].meta=s.meta,s["default"].get=s.get,s["default"].getWithDefault=s.getWithDefault,s["default"]._getPath=s._getPath,s["default"].set=s.set,s["default"].trySet=s.trySet,s["default"].FEATURES=a.FEATURES,s["default"].FEATURES.isEnabled=u.isFeatureEnabled,s["default"]._Cache=s.Cache,s["default"].on=s.on,s["default"].addListener=s.addListener,s["default"].removeListener=s.removeListener,s["default"]._suspendListener=s.suspendListener,s["default"]._suspendListeners=s.suspendListeners,s["default"].sendEvent=s.sendEvent,s["default"].hasListeners=s.hasListeners,s["default"].watchedEvents=s.watchedEvents,s["default"].listenersFor=s.listenersFor,s["default"].isNone=s.isNone,s["default"].isEmpty=s.isEmpty,s["default"].isBlank=s.isBlank,s["default"].isPresent=s.isPresent,s["default"].run=s.run,s["default"]._ObserverSet=s.ObserverSet,s["default"].propertyWillChange=s.propertyWillChange,s["default"].propertyDidChange=s.propertyDidChange,s["default"].overrideChains=s.overrideChains,s["default"].beginPropertyChanges=s.beginPropertyChanges,s["default"].endPropertyChanges=s.endPropertyChanges,s["default"].changeProperties=s.changeProperties,s["default"].platform={defineProperty:!0,hasPropertyAccessors:!0},s["default"].defineProperty=s.defineProperty,s["default"].watchKey=s.watchKey,s["default"].unwatchKey=s.unwatchKey,s["default"].removeChainWatcher=s.removeChainWatcher,s["default"]._ChainNode=s.ChainNode,s["default"].finishChains=s.finishChains,s["default"].watchPath=s.watchPath,s["default"].unwatchPath=s.unwatchPath,s["default"].watch=s.watch,s["default"].isWatching=s.isWatching,s["default"].unwatch=s.unwatch,s["default"].destroy=s.destroy,s["default"].libraries=s.libraries,s["default"].OrderedSet=s.OrderedSet,s["default"].Map=s.Map,s["default"].MapWithDefault=s.MapWithDefault,s["default"].getProperties=s.getProperties,s["default"].setProperties=s.setProperties,s["default"].expandProperties=s.expandProperties,s["default"].NAME_KEY=i.NAME_KEY,s["default"].addObserver=s.addObserver,s["default"].observersFor=s.observersFor,s["default"].removeObserver=s.removeObserver,s["default"]._suspendObserver=s._suspendObserver,s["default"]._suspendObservers=s._suspendObservers,s["default"].required=s.required,s["default"].aliasMethod=s.aliasMethod,s["default"].observer=s.observer,s["default"].immediateObserver=s._immediateObserver,s["default"].mixin=s.mixin,s["default"].Mixin=s.Mixin,s["default"].bind=s.bind,s["default"].Binding=s.Binding,s["default"].isGlobalPath=s.isGlobalPath,Object.defineProperty(s["default"],"ENV",{get:function(){return n.ENV},enumerable:!1}),Object.defineProperty(s["default"],"lookup",{get:function(){return n.context.lookup},set:function(e){n.context.lookup=e},enumerable:!1}),s["default"].EXTEND_PROTOTYPES=n.ENV.EXTEND_PROTOTYPES,Object.defineProperty(s["default"],"LOG_STACKTRACE_ON_DEPRECATION",{get:function(){return n.ENV.LOG_STACKTRACE_ON_DEPRECATION},set:function(e){n.ENV.LOG_STACKTRACE_ON_DEPRECATION=!!e},enumerable:!1}),Object.defineProperty(s["default"],"LOG_VERSION",{get:function(){return n.ENV.LOG_VERSION},set:function(e){n.ENV.LOG_VERSION=!!e},enumerable:!1}),Object.defineProperty(s["default"],"LOG_BINDINGS",{get:function(){return n.ENV.LOG_BINDINGS},set:function(e){n.ENV.LOG_BINDINGS=!!e},enumerable:!1}),Object.defineProperty(s["default"],"onerror",{get:s.getOnerror,set:s.setOnerror,enumerable:!1}),Object.defineProperty(s["default"],"K",{get:function(){return v}}),Object.defineProperty(s["default"],"testing",{get:u.isTesting,set:u.setTesting,enumerable:!1}),s["default"]._Backburner=c["default"],s["default"].Logger=l["default"],s["default"].String=p.String,s["default"].Object=p.Object,s["default"]._RegistryProxyMixin=p.RegistryProxyMixin,s["default"]._ContainerProxyMixin=p.ContainerProxyMixin,s["default"].compare=p.compare,s["default"].copy=p.copy,s["default"].isEqual=p.isEqual,s["default"].inject=p.inject,s["default"].Array=p.Array,s["default"].Comparable=p.Comparable,s["default"].Enumerable=p.Enumerable,s["default"].ArrayProxy=p.ArrayProxy,s["default"].ObjectProxy=p.ObjectProxy,s["default"].ActionHandler=p.ActionHandler,s["default"].CoreObject=p.CoreObject,s["default"].NativeArray=p.NativeArray,s["default"].Copyable=p.Copyable,s["default"].Freezable=p.Freezable,s["default"].FROZEN_ERROR=p.FROZEN_ERROR,s["default"].MutableEnumerable=p.MutableEnumerable,s["default"].MutableArray=p.MutableArray,s["default"].TargetActionSupport=p.TargetActionSupport,s["default"].Evented=p.Evented,s["default"].PromiseProxyMixin=p.PromiseProxyMixin,s["default"].Observable=p.Observable,s["default"].typeOf=p.typeOf,s["default"].isArray=p.isArray,s["default"].Object=p.Object,s["default"].onLoad=p.onLoad,s["default"].runLoadHooks=p.runLoadHooks,s["default"].Controller=p.Controller,s["default"].ControllerMixin=p.ControllerMixin,s["default"].Service=p.Service,s["default"]._ProxyMixin=p._ProxyMixin,s["default"].RSVP=p.RSVP,s["default"].Namespace=p.Namespace,_.empty=p.empty,_.notEmpty=p.notEmpty,_.none=p.none,_.not=p.not,_.bool=p.bool,_.match=p.match,_.equal=p.equal,_.gt=p.gt,_.gte=p.gte,_.lt=p.lt,_.lte=p.lte,_.oneWay=p.oneWay,_.reads=p.oneWay,_.readOnly=p.readOnly,_.deprecatingAlias=p.deprecatingAlias,_.and=p.and,_.or=p.or,_.any=p.any,_.sum=p.sum,_.min=p.min,_.max=p.max,_.map=p.map,_.sort=p.sort,_.setDiff=p.setDiff,_.mapBy=p.mapBy,_.filter=p.filter,_.filterBy=p.filterBy,_.uniq=p.uniq,_.uniqBy=p.uniqBy,_.union=p.union,_.intersect=p.intersect,_.collect=p.collect,Object.defineProperty(s["default"],"STRINGS",{configurable:!1,get:p.getStrings,set:p.setStrings}),Object.defineProperty(s["default"],"BOOTED",{configurable:!1,enumerable:!1,get:p.isNamespaceSearchDisabled,set:p.setNamespaceSearchDisabled}),s["default"].Component=h.Component,h.Helper.helper=h.helper,s["default"].Helper=h.Helper,s["default"].Checkbox=h.Checkbox,s["default"].TextField=h.TextField,s["default"].TextArea=h.TextArea,s["default"].LinkComponent=h.LinkComponent,n.ENV.EXTEND_PROTOTYPES.String&&(String.prototype.htmlSafe=function(){return(0,h.htmlSafe)(this)})
2606
2606
  var w=s["default"].Handlebars=s["default"].Handlebars||{},O=s["default"].HTMLBars=s["default"].HTMLBars||{},E=w.Utils=w.Utils||{}
2607
2607
  Object.defineProperty(w,"SafeString",{get:h._getSafeString}),O.template=w.template=h.template,E.escapeExpression=h.escapeExpression,p.String.htmlSafe=h.htmlSafe,p.String.isHTMLSafe=h.isHTMLSafe,Object.defineProperty(s["default"],"TEMPLATES",{get:h.getTemplates,set:h.setTemplates,configurable:!1,enumerable:!1}),e.VERSION=f["default"],s["default"].VERSION=f["default"],s.libraries.registerCoreLibrary("Ember",f["default"]),s["default"].$=d.jQuery,s["default"].ViewTargetActionSupport=d.ViewTargetActionSupport,s["default"].ViewUtils={isSimpleClick:d.isSimpleClick,getViewElement:d.getViewElement,getViewBounds:d.getViewBounds,getViewClientRects:d.getViewClientRects,getViewBoundingClientRect:d.getViewBoundingClientRect,getRootViews:d.getRootViews,getChildViews:d.getChildViews},s["default"].TextSupport=d.TextSupport,s["default"].ComponentLookup=d.ComponentLookup,s["default"].EventDispatcher=d.EventDispatcher,s["default"].Location=m.Location,s["default"].AutoLocation=m.AutoLocation,s["default"].HashLocation=m.HashLocation,s["default"].HistoryLocation=m.HistoryLocation,s["default"].NoneLocation=m.NoneLocation,s["default"].controllerFor=m.controllerFor,s["default"].generateControllerFactory=m.generateControllerFactory,s["default"].generateController=m.generateController,s["default"].RouterDSL=m.RouterDSL,s["default"].Router=m.Router,s["default"].Route=m.Route,s["default"].Application=g.Application,s["default"].ApplicationInstance=g.ApplicationInstance,s["default"].Engine=g.Engine,s["default"].EngineInstance=g.EngineInstance,s["default"].DefaultResolver=s["default"].Resolver=g.Resolver,(0,p.runLoadHooks)("Ember.Application",g.Application),s["default"].DataAdapter=y.DataAdapter,s["default"].ContainerDebugAdapter=y.ContainerDebugAdapter,(0,t.has)("ember-template-compiler")&&(0,t["default"])("ember-template-compiler"),(0,t.has)("ember-testing")&&(b=(0,t["default"])("ember-testing"),s["default"].Test=b.Test,s["default"].Test.Adapter=b.Adapter,s["default"].Test.QUnitAdapter=b.QUnitAdapter,s["default"].setupForTesting=b.setupForTesting),(0,p.runLoadHooks)("Ember"),e["default"]=s["default"],r.IS_NODE?r.module.exports=s["default"]:n.context.exports.Ember=n.context.exports.Em=s["default"]}),e("ember/version",["exports"],function(e){"use strict"
2608
- e["default"]="2.16.0"}),e("node-module",["exports"],function(e){var t="object"==typeof module&&"function"==typeof module.require
2608
+ e["default"]="2.16.1"}),e("node-module",["exports"],function(e){var t="object"==typeof module&&"function"==typeof module.require
2609
2609
  t?(e.require=module.require,e.module=module,e.IS_NODE=t):(e.require=null,e.module=null,e.IS_NODE=t)}),e("route-recognizer",["exports"],function(e){"use strict"
2610
2610
  function t(){var e=g(null)
2611
2611
  return e.__=void 0,delete e.__,e}function n(e,t,r){return function(i,o){var s=e+i
data/dist/ember.prod.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.16.0
9
+ * @version 2.16.1
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -11547,19 +11547,18 @@ enifed('ember-application/system/application-instance', ['exports', 'ember-utils
11547
11547
  it once the particular test run or FastBoot request has finished.
11548
11548
 
11549
11549
  @public
11550
- @class Ember.ApplicationInstance
11551
- @extends Ember.EngineInstance
11550
+ @class ApplicationInstance
11551
+ @extends EngineInstance
11552
11552
  */
11553
11553
 
11554
11554
  /**
11555
- @module ember
11556
- @submodule ember-application
11555
+ @module @ember/application
11557
11556
  */
11558
11557
 
11559
11558
  var ApplicationInstance = _engineInstance.default.extend({
11560
11559
  /**
11561
11560
  The `Application` for which this is an instance.
11562
- @property {Ember.Application} application
11561
+ @property {Application} application
11563
11562
  @private
11564
11563
  */
11565
11564
  application: null,
@@ -11755,7 +11754,7 @@ enifed('ember-application/system/application-instance', ['exports', 'ember-utils
11755
11754
  Internal, experimental or otherwise unstable flags are marked as private.
11756
11755
 
11757
11756
  @class BootOptions
11758
- @namespace Ember.ApplicationInstance
11757
+ @namespace ApplicationInstance
11759
11758
  @public
11760
11759
  */
11761
11760
  BootOptions = function () {
@@ -12078,8 +12077,7 @@ enifed('ember-application/system/application', ['exports', 'ember-babel', 'ember
12078
12077
  begins.
12079
12078
 
12080
12079
  @class Application
12081
- @namespace Ember
12082
- @extends Ember.Engine
12080
+ @extends Engine
12083
12081
  @uses RegistryProxyMixin
12084
12082
  @public
12085
12083
  */
@@ -12487,8 +12485,8 @@ enifed('ember-application/system/engine-instance', ['exports', 'ember-babel', 'e
12487
12485
  running `Engine`.
12488
12486
 
12489
12487
  @public
12490
- @class Ember.EngineInstance
12491
- @extends Ember.Object
12488
+ @class EngineInstance
12489
+ @extends EmberObject
12492
12490
  @uses RegistryProxyMixin
12493
12491
  @uses ContainerProxyMixin
12494
12492
  */
@@ -12639,7 +12637,8 @@ enifed('ember-application/system/engine-parent', ['exports', 'ember-utils'], fun
12639
12637
  @method getEngineParent
12640
12638
  @param {EngineInstance} engine An engine instance.
12641
12639
  @return {EngineInstance} The parent engine instance.
12642
- @for Ember
12640
+ @for @ember/engine
12641
+ @static
12643
12642
  @private
12644
12643
  */
12645
12644
  function (engine) {
@@ -12687,7 +12686,6 @@ enifed('ember-application/system/engine', ['exports', 'ember-babel', 'ember-util
12687
12686
  Engines can spawn `EngineInstance` instances via `buildInstance()`.
12688
12687
 
12689
12688
  @class Engine
12690
- @namespace Ember
12691
12689
  @extends Ember.Namespace
12692
12690
  @uses RegistryProxy
12693
12691
  @public
@@ -13075,8 +13073,7 @@ enifed('ember-application/system/resolver', ['exports', 'ember-utils', 'ember-me
13075
13073
 
13076
13074
  exports.Resolver = undefined;
13077
13075
  /**
13078
- @module ember
13079
- @submodule ember-application
13076
+ @module @ember/application
13080
13077
  */
13081
13078
 
13082
13079
  exports.Resolver = _emberRuntime.Object.extend({
@@ -13142,32 +13139,25 @@ enifed('ember-application/system/resolver', ['exports', 'ember-utils', 'ember-me
13142
13139
 
13143
13140
  Some examples of how names are resolved:
13144
13141
 
13145
- ```
13142
+ ```text
13146
13143
  'template:post' //=> Ember.TEMPLATES['post']
13147
13144
  'template:posts/byline' //=> Ember.TEMPLATES['posts/byline']
13148
13145
  'template:posts.byline' //=> Ember.TEMPLATES['posts/byline']
13149
- 'template:blogPost' //=> Ember.TEMPLATES['blogPost']
13150
- // OR
13151
- // Ember.TEMPLATES['blog_post']
13146
+ 'template:blogPost' //=> Ember.TEMPLATES['blog-post']
13152
13147
  'controller:post' //=> App.PostController
13153
13148
  'controller:posts.index' //=> App.PostsIndexController
13154
13149
  'controller:blog/post' //=> Blog.PostController
13155
- 'controller:basic' //=> Ember.Controller
13150
+ 'controller:basic' //=> Controller
13156
13151
  'route:post' //=> App.PostRoute
13157
13152
  'route:posts.index' //=> App.PostsIndexRoute
13158
13153
  'route:blog/post' //=> Blog.PostRoute
13159
- 'route:basic' //=> Ember.Route
13160
- 'view:post' //=> App.PostView
13161
- 'view:posts.index' //=> App.PostsIndexView
13162
- 'view:blog/post' //=> Blog.PostView
13163
- 'view:basic' //=> Ember.View
13154
+ 'route:basic' //=> Route
13164
13155
  'foo:post' //=> App.PostFoo
13165
13156
  'model:post' //=> App.Post
13166
13157
  ```
13167
13158
 
13168
- @class DefaultResolver
13169
- @namespace Ember
13170
- @extends Ember.Object
13159
+ @class GlobalsResolver
13160
+ @extends EmberObject
13171
13161
  @public
13172
13162
  */
13173
13163
 
@@ -13493,12 +13483,7 @@ enifed('ember-application/system/resolver', ['exports', 'ember-utils', 'ember-me
13493
13483
  enifed('ember-application/utils/validate-type', ['exports', 'ember-debug'], function (exports, _emberDebug) {
13494
13484
  'use strict';
13495
13485
 
13496
- exports.default = /**
13497
- @module ember
13498
- @submodule ember-application
13499
- */
13500
-
13501
- function (resolvedType, parsedName) {
13486
+ exports.default = function (resolvedType, parsedName) {
13502
13487
  var validationAttributes = VALIDATED_TYPES[parsedName.type];
13503
13488
 
13504
13489
  if (!validationAttributes) {
@@ -13723,10 +13708,9 @@ enifed('ember-debug/deprecate', ['exports', 'ember-debug/error', 'ember-console'
13723
13708
  exports.missingOptionsUntilDeprecation = exports.missingOptionsIdDeprecation = exports.missingOptionsDeprecation = exports.registerHandler = undefined;
13724
13709
 
13725
13710
  /**
13726
- @module ember
13727
- @submodule ember-debug
13711
+ @module @ember/debug
13712
+ @public
13728
13713
  */
13729
-
13730
13714
  /**
13731
13715
  Allows for runtime registration of handler functions that override the default deprecation behavior.
13732
13716
  Deprecations are invoked by calls to [Ember.deprecate](https://emberjs.com/api/classes/Ember.html#method_deprecate).
@@ -13759,7 +13743,7 @@ enifed('ember-debug/deprecate', ['exports', 'ember-debug/error', 'ember-console'
13759
13743
  @public
13760
13744
  @static
13761
13745
  @method registerDeprecationHandler
13762
- @for Ember.Debug
13746
+ @for @ember/debug
13763
13747
  @param handler {Function} A function to handle deprecation calls.
13764
13748
  @since 2.1.0
13765
13749
  */
@@ -13774,11 +13758,14 @@ enifed('ember-debug/deprecate', ['exports', 'ember-debug/error', 'ember-console'
13774
13758
  enifed("ember-debug/error", ["exports", "ember-babel"], function (exports, _emberBabel) {
13775
13759
  "use strict";
13776
13760
 
13761
+ /**
13762
+ @module @ember/error
13763
+ */
13764
+
13777
13765
  /**
13778
13766
  A subclass of the JavaScript Error object for use in Ember.
13779
13767
 
13780
- @class Error
13781
- @namespace Ember
13768
+ @class EmberError
13782
13769
  @extends Error
13783
13770
  @constructor
13784
13771
  @public
@@ -13827,6 +13814,10 @@ enifed('ember-debug/features', ['exports', 'ember-environment', 'ember/features'
13827
13814
 
13828
13815
  exports.default =
13829
13816
 
13817
+ /**
13818
+ @module ember
13819
+ */
13820
+
13830
13821
  /**
13831
13822
  The hash of enabled Canary features. Add to this, any canary features
13832
13823
  before creating your application.
@@ -13959,8 +13950,7 @@ enifed('ember-debug/warn', ['exports', 'ember-console', 'ember-debug/deprecate',
13959
13950
  exports.missingOptionsDeprecation = exports.missingOptionsIdDeprecation = exports.registerHandler = undefined;
13960
13951
 
13961
13952
  /**
13962
- @module ember
13963
- @submodule ember-debug
13953
+ @module @ember/debug
13964
13954
  */
13965
13955
 
13966
13956
  exports.default = function () {};
@@ -15242,10 +15232,7 @@ enifed('ember-glimmer/component-managers/outlet', ['exports', 'ember-babel', 'em
15242
15232
  outlet = _ref$render.outlet;
15243
15233
 
15244
15234
  return { object: name + ':' + outlet };
15245
- } /**
15246
- @module ember
15247
- @submodule ember-glimmer
15248
- */
15235
+ }
15249
15236
 
15250
15237
  function NOOP() {}
15251
15238
 
@@ -15572,19 +15559,18 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
15572
15559
  var BOUNDS = exports.BOUNDS = (0, _emberUtils.symbol)('BOUNDS');
15573
15560
 
15574
15561
  /**
15575
- @module ember
15576
- @submodule ember-glimmer
15562
+ @module @ember/component
15577
15563
  */
15578
15564
 
15579
15565
  /**
15580
- An `Ember.Component` is a view that is completely
15566
+ A `Component` is a view that is completely
15581
15567
  isolated. Properties accessed in its templates go
15582
15568
  to the view object and actions are targeted at
15583
15569
  the view object. There is no access to the
15584
15570
  surrounding context or outer controller; all
15585
15571
  contextual information must be passed in.
15586
15572
 
15587
- The easiest way to create an `Ember.Component` is via
15573
+ The easiest way to create a `Component` is via
15588
15574
  a template. If you name a template
15589
15575
  `app/components/my-foo.hbs`, you will be able to use
15590
15576
  `{{my-foo}}` in other templates, which will make
@@ -15620,7 +15606,7 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
15620
15606
 
15621
15607
  If you want to customize the component, in order to
15622
15608
  handle events or actions, you implement a subclass
15623
- of `Ember.Component` named after the name of the
15609
+ of `Component` named after the name of the
15624
15610
  component.
15625
15611
 
15626
15612
  For example, you could implement the action
@@ -15701,11 +15687,13 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
15701
15687
 
15702
15688
  ```app/components/my-widget.js
15703
15689
  import Component from '@ember/component';
15690
+ import { computed } from '@ember/object';
15704
15691
 
15705
15692
  export default Component.extend({
15706
15693
  classNameBindings: ['propertyA', 'propertyB'],
15694
+
15707
15695
  propertyA: 'from-a',
15708
- propertyB: Ember.computed(function() {
15696
+ propertyB: computed(function() {
15709
15697
  if (someLogic) { return 'from-b'; }
15710
15698
  })
15711
15699
  });
@@ -15726,6 +15714,7 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
15726
15714
 
15727
15715
  export default Component.extend({
15728
15716
  classNameBindings: ['hovered'],
15717
+
15729
15718
  hovered: true
15730
15719
  });
15731
15720
  ```
@@ -15745,6 +15734,7 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
15745
15734
 
15746
15735
  export default Component.extend({
15747
15736
  classNameBindings: ['awesome:so-very-cool'],
15737
+
15748
15738
  awesome: true
15749
15739
  });
15750
15740
  ```
@@ -15763,6 +15753,7 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
15763
15753
 
15764
15754
  export default Component.extend({
15765
15755
  classNameBindings: ['isUrgent'],
15756
+
15766
15757
  isUrgent: true
15767
15758
  });
15768
15759
  ```
@@ -15778,10 +15769,12 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
15778
15769
 
15779
15770
  ```app/components/my-widget.js
15780
15771
  import Component from '@ember/component';
15772
+ import EmberObject from '@ember/object';
15781
15773
 
15782
15774
  export default Component.extend({
15783
15775
  classNameBindings: ['messages.empty'],
15784
- messages: Ember.Object.create({
15776
+
15777
+ messages: EmberObject.create({
15785
15778
  empty: true
15786
15779
  })
15787
15780
  });
@@ -15849,7 +15842,7 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
15849
15842
  representation. If the value becomes `false` or `undefined` the class name
15850
15843
  will be removed.
15851
15844
  Both `classNames` and `classNameBindings` are concatenated properties. See
15852
- [Ember.Object](/api/classes/Ember.Object.html) documentation for more
15845
+ [EmberObject](/api/classes/Ember.Object.html) documentation for more
15853
15846
  information about concatenated properties.
15854
15847
 
15855
15848
 
@@ -15866,6 +15859,7 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
15866
15859
  export default Component.extend({
15867
15860
  tagName: 'a',
15868
15861
  attributeBindings: ['href'],
15862
+
15869
15863
  href: 'http://google.com'
15870
15864
  });
15871
15865
  ```
@@ -15885,6 +15879,7 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
15885
15879
  export default Component.extend({
15886
15880
  tagName: 'a',
15887
15881
  attributeBindings: ['url:href'],
15882
+
15888
15883
  url: 'http://google.com'
15889
15884
  });
15890
15885
  ```
@@ -15904,6 +15899,7 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
15904
15899
  export default Component.extend({
15905
15900
  tagName: 'use',
15906
15901
  attributeBindings: ['xlinkHref:xlink:href'],
15902
+
15907
15903
  xlinkHref: '#triangle'
15908
15904
  });
15909
15905
  ```
@@ -15923,6 +15919,7 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
15923
15919
  export default Component.extend({
15924
15920
  tagName: 'input',
15925
15921
  attributeBindings: ['disabled'],
15922
+
15926
15923
  disabled: false
15927
15924
  });
15928
15925
  ```
@@ -15937,11 +15934,13 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
15937
15934
 
15938
15935
  ```app/components/my-text-input.js
15939
15936
  import Component from '@ember/component';
15937
+ import { computed } from '@ember/object';
15940
15938
 
15941
15939
  export default Component.extend({
15942
15940
  tagName: 'input',
15943
15941
  attributeBindings: ['disabled'],
15944
- disabled: Ember.computed(function() {
15942
+
15943
+ disabled: computed(function() {
15945
15944
  if (someLogic) {
15946
15945
  return true;
15947
15946
  } else {
@@ -15966,7 +15965,7 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
15966
15965
 
15967
15966
  Updates to the property of an attribute binding will result in automatic
15968
15967
  update of the HTML attribute in the component's rendered HTML representation.
15969
- `attributeBindings` is a concatenated property. See [Ember.Object](/api/classes/Ember.Object.html)
15968
+ `attributeBindings` is a concatenated property. See [EmberObject](/api/classes/Ember.Object.html)
15970
15969
  documentation for more information about concatenated properties.
15971
15970
 
15972
15971
 
@@ -16086,7 +16085,6 @@ enifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'emb
16086
16085
  * `drop`
16087
16086
 
16088
16087
  @class Component
16089
- @namespace Ember
16090
16088
  @extends Ember.CoreView
16091
16089
  @uses Ember.TargetActionSupport
16092
16090
  @uses Ember.ClassNamesSupport
@@ -16210,17 +16208,19 @@ enifed('ember-glimmer/components/link-to', ['exports', 'ember-console', 'ember-d
16210
16208
  'use strict';
16211
16209
 
16212
16210
  /**
16213
- `Ember.LinkComponent` renders an element whose `click` event triggers a
16214
- transition of the application's instance of `Ember.Router` to
16211
+ @module @ember/routing
16212
+ */
16213
+ /**
16214
+ `LinkComponent` renders an element whose `click` event triggers a
16215
+ transition of the application's instance of `Router` to
16215
16216
  a supplied route by name.
16216
16217
 
16217
- `Ember.LinkComponent` components are invoked with {{#link-to}}. Properties
16218
+ `LinkComponent` components are invoked with {{#link-to}}. Properties
16218
16219
  of this class can be overridden with `reopen` to customize application-wide
16219
16220
  behavior.
16220
16221
 
16221
16222
  @class LinkComponent
16222
- @namespace Ember
16223
- @extends Ember.Component
16223
+ @extends Component
16224
16224
  @see {Ember.Templates.helpers.link-to}
16225
16225
  @public
16226
16226
  **/
@@ -16665,7 +16665,6 @@ enifed('ember-glimmer/components/link-to', ['exports', 'ember-console', 'ember-d
16665
16665
  }
16666
16666
  }); /**
16667
16667
  @module ember
16668
- @submodule ember-glimmer
16669
16668
  */
16670
16669
 
16671
16670
  /**
@@ -16740,11 +16739,14 @@ enifed('ember-glimmer/components/link-to', ['exports', 'ember-console', 'ember-d
16740
16739
 
16741
16740
  any passed value to `disabled` will disable it except `undefined`.
16742
16741
  to ensure that only `true` disable the `link-to` component you can
16743
- override the global behavior of `Ember.LinkComponent`.
16742
+ override the global behavior of `LinkComponent`.
16744
16743
 
16745
16744
  ```javascript
16746
- Ember.LinkComponent.reopen({
16747
- disabled: Ember.computed(function(key, value) {
16745
+ import LinkComponent from '@ember/routing/link-component';
16746
+ import { computed } from '@ember/object';
16747
+
16748
+ LinkComponent.reopen({
16749
+ disabled: computed(function(key, value) {
16748
16750
  if (value !== undefined) {
16749
16751
  this.set('_isDisabled', value === true);
16750
16752
  }
@@ -16760,7 +16762,7 @@ enifed('ember-glimmer/components/link-to', ['exports', 'ember-console', 'ember-d
16760
16762
  fill the element's `href` property with a url that
16761
16763
  matches the path to the supplied `routeName` for your
16762
16764
  router's configured `Location` scheme, which defaults
16763
- to Ember.HashLocation.
16765
+ to HashLocation.
16764
16766
 
16765
16767
  ### Handling current route
16766
16768
  `{{link-to}}` will apply a CSS class name of 'active'
@@ -16925,7 +16927,7 @@ enifed('ember-glimmer/components/link-to', ['exports', 'ember-console', 'ember-d
16925
16927
  ```
16926
16928
 
16927
16929
  ### Overriding attributes
16928
- You can override any given property of the `Ember.LinkComponent`
16930
+ You can override any given property of the `LinkComponent`
16929
16931
  that is generated by the `{{link-to}}` component by passing
16930
16932
  key/value pairs, like so:
16931
16933
 
@@ -16935,18 +16937,20 @@ enifed('ember-glimmer/components/link-to', ['exports', 'ember-console', 'ember-d
16935
16937
  {{/link-to}}
16936
16938
  ```
16937
16939
 
16938
- See [Ember.LinkComponent](/api/classes/Ember.LinkComponent.html) for a
16940
+ See [LinkComponent](/api/classes/Ember.LinkComponent.html) for a
16939
16941
  complete list of overrideable properties. Be sure to also
16940
16942
  check out inherited properties of `LinkComponent`.
16941
16943
 
16942
16944
  ### Overriding Application-wide Defaults
16943
- ``{{link-to}}`` creates an instance of `Ember.LinkComponent`
16945
+ ``{{link-to}}`` creates an instance of `LinkComponent`
16944
16946
  for rendering. To override options for your entire
16945
- application, reopen `Ember.LinkComponent` and supply the
16947
+ application, reopen `LinkComponent` and supply the
16946
16948
  desired values:
16947
16949
 
16948
16950
  ``` javascript
16949
- Ember.LinkComponent.reopen({
16951
+ import LinkComponent from '@ember/routing/link-component';
16952
+
16953
+ LinkComponent.reopen({
16950
16954
  activeClass: "is-active",
16951
16955
  tagName: 'li'
16952
16956
  })
@@ -16956,18 +16960,19 @@ enifed('ember-glimmer/components/link-to', ['exports', 'ember-console', 'ember-d
16956
16960
  this manner:
16957
16961
 
16958
16962
  ``` javascript
16959
- Ember.LinkComponent.reopen({
16963
+ import LinkCompoennt from '@ember/routing/link-component';
16964
+
16965
+ LinkComponent.reopen({
16960
16966
  eventName: 'customEventName'
16961
16967
  });
16962
16968
  ```
16963
-
16964
16969
  @method link-to
16965
16970
  @for Ember.Templates.helpers
16966
16971
  @param {String} routeName
16967
16972
  @param {Object} [context]*
16968
16973
  @param [options] {Object} Handlebars key/value pairs of options, you can override any property of Ember.LinkComponent
16969
16974
  @return {String} HTML string
16970
- @see {Ember.LinkComponent}
16975
+ @see {LinkComponent}
16971
16976
  @public
16972
16977
  */
16973
16978
 
@@ -16999,8 +17004,7 @@ enifed('ember-glimmer/components/text_field', ['exports', 'ember-metal', 'ember-
16999
17004
  'use strict';
17000
17005
 
17001
17006
  var inputTypes = Object.create(null); /**
17002
- @module ember
17003
- @submodule ember-views
17007
+ @module @ember/component
17004
17008
  */
17005
17009
 
17006
17010
  function canSetTypeOfInput(type) {
@@ -17037,12 +17041,10 @@ enifed('ember-glimmer/components/text_field', ['exports', 'ember-metal', 'ember-
17037
17041
  ## Layout and LayoutName properties
17038
17042
 
17039
17043
  Because HTML `input` elements are self closing `layout` and `layoutName`
17040
- properties will not be applied. See [Ember.View](/api/classes/Ember.View.html)'s
17041
- layout section for more information.
17044
+ properties will not be applied.
17042
17045
 
17043
17046
  @class TextField
17044
- @namespace Ember
17045
- @extends Ember.Component
17047
+ @extends Component
17046
17048
  @uses Ember.TextSupport
17047
17049
  @public
17048
17050
  */
@@ -17434,7 +17436,7 @@ enifed('ember-glimmer/helper', ['exports', 'ember-utils', 'ember-runtime', '@gli
17434
17436
  exports.helper =
17435
17437
 
17436
17438
  /**
17437
- In many cases, the ceremony of a full `Ember.Helper` class is not required.
17439
+ In many cases, the ceremony of a full `Helper` class is not required.
17438
17440
  The `helper` method create pure-function helpers without instances. For
17439
17441
  example:
17440
17442
 
@@ -17451,6 +17453,7 @@ enifed('ember-glimmer/helper', ['exports', 'ember-utils', 'ember-runtime', '@gli
17451
17453
  @static
17452
17454
  @param {Function} helper The helper function
17453
17455
  @method helper
17456
+ @for @ember/component/helper
17454
17457
  @public
17455
17458
  @since 1.13.0
17456
17459
  */
@@ -17500,13 +17503,12 @@ enifed('ember-glimmer/helper', ['exports', 'ember-utils', 'ember-runtime', '@gli
17500
17503
 
17501
17504
  Additionally, class helpers can call `recompute` to force a new computation.
17502
17505
 
17503
- @class Ember.Helper
17506
+ @class Helper
17504
17507
  @public
17505
17508
  @since 1.13.0
17506
17509
  */
17507
17510
  /**
17508
- @module ember
17509
- @submodule ember-glimmer
17511
+ @module @ember/component
17510
17512
  */
17511
17513
 
17512
17514
  var Helper = _emberRuntime.FrameworkObject.extend({
@@ -17669,7 +17671,6 @@ enifed('ember-glimmer/helpers/action', ['exports', 'ember-utils', 'ember-metal',
17669
17671
 
17670
17672
  var INVOKE = exports.INVOKE = (0, _emberUtils.symbol)('INVOKE'); /**
17671
17673
  @module ember
17672
- @submodule ember-glimmer
17673
17674
  */
17674
17675
  var ACTION = exports.ACTION = (0, _emberUtils.symbol)('ACTION');
17675
17676
 
@@ -17864,7 +17865,7 @@ enifed('ember-glimmer/helpers/action', ['exports', 'ember-utils', 'ember-metal',
17864
17865
  If you need the default handler to trigger you should either register your
17865
17866
  own event handler, or use event methods on your view class. See
17866
17867
  ["Responding to Browser Events"](/api/classes/Ember.Component#responding-to-browser-events)
17867
- in the documentation for Ember.Component for more information.
17868
+ in the documentation for `Component` for more information.
17868
17869
 
17869
17870
  ### Specifying DOM event type
17870
17871
 
@@ -18067,8 +18068,8 @@ enifed('ember-glimmer/helpers/component', ['exports', 'ember-babel', 'ember-util
18067
18068
  this.lastName = nameOrDef;
18068
18069
 
18069
18070
  if (typeof nameOrDef === 'string') {
18070
- false && !(nameOrDef !== 'input') && (0, _emberDebug.assert)('You cannot use the input helper as a contextual helper. Please extend Ember.TextField or Ember.Checkbox to use it as a contextual component.', nameOrDef !== 'input');
18071
- false && !(nameOrDef !== 'textarea') && (0, _emberDebug.assert)('You cannot use the textarea helper as a contextual helper. Please extend Ember.TextArea to use it as a contextual component.', nameOrDef !== 'textarea');
18071
+ false && !(nameOrDef !== 'input') && (0, _emberDebug.assert)('You cannot use the input helper as a contextual helper. Please extend TextField or Checkbox to use it as a contextual component.', nameOrDef !== 'input');
18072
+ false && !(nameOrDef !== 'textarea') && (0, _emberDebug.assert)('You cannot use the textarea helper as a contextual helper. Please extend TextArea to use it as a contextual component.', nameOrDef !== 'textarea');
18072
18073
 
18073
18074
  definition = env.getComponentDefinition(nameOrDef, meta);
18074
18075
  false && !definition && (0, _emberDebug.assert)('The component helper cannot be used without a valid component name. You used "' + nameOrDef + '" via (component "' + nameOrDef + '")', definition);
@@ -18163,7 +18164,6 @@ enifed('ember-glimmer/helpers/concat', ['exports', 'ember-glimmer/utils/referenc
18163
18164
 
18164
18165
  /**
18165
18166
  @module ember
18166
- @submodule ember-glimmer
18167
18167
  */
18168
18168
 
18169
18169
  /**
@@ -18193,7 +18193,6 @@ enifed('ember-glimmer/helpers/each-in', ['exports', 'ember-utils'], function (ex
18193
18193
 
18194
18194
  exports.isEachIn = /**
18195
18195
  @module ember
18196
- @submodule ember-glimmer
18197
18196
  */
18198
18197
  function (ref) {
18199
18198
  return ref && ref[EACH_IN_REFERENCE];
@@ -18360,7 +18359,7 @@ enifed('ember-glimmer/helpers/get', ['exports', 'ember-babel', 'ember-metal', 'e
18360
18359
  var path = this.lastPath = this.pathReference.value();
18361
18360
 
18362
18361
  if (path !== lastPath) {
18363
- if (path !== undefined && path !== null) {
18362
+ if (path !== undefined && path !== null && path !== '') {
18364
18363
  pathType = typeof path;
18365
18364
 
18366
18365
 
@@ -18560,7 +18559,7 @@ enifed('ember-glimmer/helpers/loc', ['exports', 'ember-glimmer/utils/references'
18560
18559
  };
18561
18560
 
18562
18561
  /**
18563
- Calls [Ember.String.loc](/api/classes/Ember.String.html#method_loc) with the
18562
+ Calls [loc](/api/classes/Ember.String.html#method_loc) with the
18564
18563
  provided string. This is a convenient way to localize text within a template.
18565
18564
  For example:
18566
18565
 
@@ -18594,7 +18593,6 @@ enifed('ember-glimmer/helpers/loc', ['exports', 'ember-glimmer/utils/references'
18594
18593
 
18595
18594
  /**
18596
18595
  @module ember
18597
- @submodule ember-glimmer
18598
18596
  */
18599
18597
  function locHelper(_ref) {
18600
18598
  var positional = _ref.positional;
@@ -18629,7 +18627,6 @@ enifed('ember-glimmer/helpers/log', ['exports', 'ember-glimmer/utils/references'
18629
18627
  }
18630
18628
  /**
18631
18629
  @module ember
18632
- @submodule ember-glimmer
18633
18630
  */
18634
18631
  });
18635
18632
  enifed('ember-glimmer/helpers/mut', ['exports', 'ember-utils', 'ember-debug', 'ember-glimmer/utils/references', 'ember-glimmer/helpers/action'], function (exports, _emberUtils, _emberDebug, _references, _action) {
@@ -18741,7 +18738,6 @@ enifed('ember-glimmer/helpers/mut', ['exports', 'ember-utils', 'ember-debug', 'e
18741
18738
  */
18742
18739
  /**
18743
18740
  @module ember
18744
- @submodule ember-glimmer
18745
18741
  */
18746
18742
  var MUT_REFERENCE = (0, _emberUtils.symbol)('MUT');
18747
18743
  var SOURCE = (0, _emberUtils.symbol)('SOURCE');
@@ -18775,7 +18771,6 @@ enifed('ember-glimmer/helpers/query-param', ['exports', 'ember-utils', 'ember-gl
18775
18771
  */
18776
18772
  /**
18777
18773
  @module ember
18778
- @submodule ember-glimmer
18779
18774
  */
18780
18775
  function queryParams(_ref) {
18781
18776
  var positional = _ref.positional,
@@ -19994,8 +19989,8 @@ enifed('ember-glimmer/syntax/input', ['exports', 'ember-debug', 'ember-glimmer/u
19994
19989
 
19995
19990
  /**
19996
19991
  The `{{input}}` helper lets you create an HTML `<input />` component.
19997
- It causes an `Ember.TextField` component to be rendered. For more info,
19998
- see the [Ember.TextField](/api/classes/Ember.TextField.html) docs and
19992
+ It causes an `TextField` component to be rendered. For more info,
19993
+ see the [TextField](/api/classes/Ember.TextField.html) docs and
19999
19994
  the [templates guide](https://emberjs.com/guides/templates/input-helpers/).
20000
19995
 
20001
19996
  ```handlebars
@@ -20065,22 +20060,23 @@ enifed('ember-glimmer/syntax/input', ['exports', 'ember-debug', 'ember-glimmer/u
20065
20060
  ```
20066
20061
  See more about [Text Support Actions](/api/classes/Ember.TextField.html)
20067
20062
 
20068
- ### Extending `Ember.TextField`
20063
+ ### Extending `TextField`
20069
20064
 
20070
- Internally, `{{input type="text"}}` creates an instance of `Ember.TextField`, passing
20071
- arguments from the helper to `Ember.TextField`'s `create` method. You can extend the
20065
+ Internally, `{{input type="text"}}` creates an instance of `TextField`, passing
20066
+ arguments from the helper to `TextField`'s `create` method. You can extend the
20072
20067
  capabilities of text inputs in your applications by reopening this class. For example,
20073
20068
  if you are building a Bootstrap project where `data-*` attributes are used, you
20074
20069
  can add one to the `TextField`'s `attributeBindings` property:
20075
20070
 
20076
20071
  ```javascript
20077
- Ember.TextField.reopen({
20072
+ import TextField from '@ember/component/text-field';
20073
+ TextField.reopen({
20078
20074
  attributeBindings: ['data-error']
20079
20075
  });
20080
20076
  ```
20081
20077
 
20082
- Keep in mind when writing `Ember.TextField` subclasses that `Ember.TextField`
20083
- itself extends `Ember.Component`. Expect isolated component semantics, not
20078
+ Keep in mind when writing `TextField` subclasses that `TextField`
20079
+ itself extends `Component`. Expect isolated component semantics, not
20084
20080
  legacy 1.x view semantics (like `controller` being present).
20085
20081
  See more about [Ember components](/api/classes/Ember.Component.html)
20086
20082
 
@@ -20106,15 +20102,17 @@ enifed('ember-glimmer/syntax/input', ['exports', 'ember-debug', 'ember-glimmer/u
20106
20102
  * `autofocus`
20107
20103
  * `form`
20108
20104
 
20109
- ### Extending `Ember.Checkbox`
20105
+ ### Extending `Checkbox`
20110
20106
 
20111
- Internally, `{{input type="checkbox"}}` creates an instance of `Ember.Checkbox`, passing
20112
- arguments from the helper to `Ember.Checkbox`'s `create` method. You can extend the
20107
+ Internally, `{{input type="checkbox"}}` creates an instance of `Checkbox`, passing
20108
+ arguments from the helper to `Checkbox`'s `create` method. You can extend the
20113
20109
  capablilties of checkbox inputs in your applications by reopening this class. For example,
20114
20110
  if you wanted to add a css class to all checkboxes in your application:
20115
20111
 
20116
20112
  ```javascript
20117
- Ember.Checkbox.reopen({
20113
+ import Checkbox from '@ember/component/checkbox';
20114
+
20115
+ Checkbox.reopen({
20118
20116
  classNames: ['my-app-checkbox']
20119
20117
  });
20120
20118
  ```
@@ -20169,7 +20167,6 @@ enifed('ember-glimmer/syntax/input', ['exports', 'ember-debug', 'ember-glimmer/u
20169
20167
  };
20170
20168
  /**
20171
20169
  @module ember
20172
- @submodule ember-glimmer
20173
20170
  */
20174
20171
  function buildTextFieldSyntax(params, hash, builder) {
20175
20172
  var definition = builder.env.getComponentDefinition('-text-field', builder.meta.templateMeta);
@@ -20196,7 +20193,7 @@ enifed('ember-glimmer/syntax/mount', ['exports', 'ember-debug', 'ember-glimmer/s
20196
20193
 
20197
20194
  Additionally, you can also pass in a `model` argument that will be
20198
20195
  set as the engines model. This can be an existing object:
20199
-
20196
+
20200
20197
  ```
20201
20198
  <div>
20202
20199
  {{mount 'admin' model=userSettings}}
@@ -20225,7 +20222,6 @@ enifed('ember-glimmer/syntax/mount', ['exports', 'ember-debug', 'ember-glimmer/s
20225
20222
  */
20226
20223
  /**
20227
20224
  @module ember
20228
- @submodule ember-glimmer
20229
20225
  */
20230
20226
  function (name, params, hash, builder) {
20231
20227
  false && !(params.length === 1) && (0, _emberDebug.assert)('You can only pass a single positional argument to the {{mount}} helper, e.g. {{mount "chat-engine"}}.', params.length === 1);
@@ -20512,7 +20508,6 @@ enifed('ember-glimmer/syntax/render', ['exports', '@glimmer/reference', 'ember-d
20512
20508
  };
20513
20509
  /**
20514
20510
  @module ember
20515
- @submodule ember-glimmer
20516
20511
  */
20517
20512
 
20518
20513
  function makeComponentDefinition(vm, args) {
@@ -20615,7 +20610,7 @@ enifed("ember-glimmer/templates/empty", ["exports", "ember-glimmer/template"], f
20615
20610
  enifed("ember-glimmer/templates/link-to", ["exports", "ember-glimmer/template"], function (exports, _template) {
20616
20611
  "use strict";
20617
20612
 
20618
- exports.default = (0, _template.default)({ "id": "+G5dMm85", "block": "{\"symbols\":[\"&default\"],\"statements\":[[4,\"if\",[[19,0,[\"linkTitle\"]]],null,{\"statements\":[[1,[18,\"linkTitle\"],false]],\"parameters\":[]},{\"statements\":[[11,1]],\"parameters\":[]}]],\"hasEval\":false}", "meta": { "moduleName": "ember-glimmer/templates/link-to.hbs" } });
20613
+ exports.default = (0, _template.default)({ "id": "Gq3gxZ6f", "block": "{\"symbols\":[\"&default\"],\"statements\":[[4,\"if\",[[20,[\"linkTitle\"]]],null,{\"statements\":[[1,[18,\"linkTitle\"],false]],\"parameters\":[]},{\"statements\":[[11,1]],\"parameters\":[]}]],\"hasEval\":false}", "meta": { "moduleName": "ember-glimmer/templates/link-to.hbs" } });
20619
20614
  });
20620
20615
  enifed("ember-glimmer/templates/outlet", ["exports", "ember-glimmer/template"], function (exports, _template) {
20621
20616
  "use strict";
@@ -20653,9 +20648,9 @@ enifed('ember-glimmer/utils/bindings', ['exports', 'ember-babel', '@glimmer/refe
20653
20648
  _values$index = values[index], type = _values$index[0];
20654
20649
 
20655
20650
 
20656
- if (type === _wireFormat.Ops.Get) {
20651
+ if (type === _wireFormat.Ops.Get || type === _wireFormat.Ops.MaybeLocal) {
20657
20652
  getExp = values[index];
20658
- path = getExp[2];
20653
+ path = getExp[getExp.length - 1];
20659
20654
  propName = path[path.length - 1];
20660
20655
 
20661
20656
  hash[1][index] = [_wireFormat.Ops.Helper, ['-class'], [getExp, propName]];
@@ -20873,7 +20868,6 @@ enifed('ember-glimmer/utils/curly-component-state-bucket', ['exports'], function
20873
20868
 
20874
20869
  /**
20875
20870
  @module ember
20876
- @submodule ember-glimmer
20877
20871
  */
20878
20872
 
20879
20873
  /**
@@ -21697,11 +21691,13 @@ enifed('ember-glimmer/utils/string', ['exports', 'ember-debug'], function (expor
21697
21691
  ensure Ember's rendering layer does not escape the HTML.
21698
21692
 
21699
21693
  ```javascript
21700
- Ember.String.htmlSafe('<div>someString</div>')
21694
+ import { htmlSafe } from '@ember/string';
21695
+
21696
+ htmlSafe('<div>someString</div>')
21701
21697
  ```
21702
21698
 
21703
21699
  @method htmlSafe
21704
- @for Ember.String
21700
+ @for @ember/string
21705
21701
  @static
21706
21702
  @return {Handlebars.SafeString} A string that will not be HTML escaped by Handlebars.
21707
21703
  @public
@@ -21717,18 +21713,20 @@ enifed('ember-glimmer/utils/string', ['exports', 'ember-debug'], function (expor
21717
21713
  }
21718
21714
 
21719
21715
  /**
21720
- Detects if a string was decorated using `Ember.String.htmlSafe`.
21716
+ Detects if a string was decorated using `htmlSafe`.
21721
21717
 
21722
21718
  ```javascript
21719
+ import { htmlSafe, isHTMLSafe } from '@ember/string';
21720
+
21723
21721
  var plainString = 'plain string',
21724
- safeString = Ember.String.htmlSafe('<div>someValue</div>');
21722
+ safeString = htmlSafe('<div>someValue</div>');
21725
21723
 
21726
- Ember.String.isHTMLSafe(plainString); // false
21727
- Ember.String.isHTMLSafe(safeString); // true
21724
+ isHTMLSafe(plainString); // false
21725
+ isHTMLSafe(safeString); // true
21728
21726
  ```
21729
21727
 
21730
21728
  @method isHTMLSafe
21731
- @for Ember.String
21729
+ @for @ember/string
21732
21730
  @static
21733
21731
  @return {Boolean} `true` if the string was decorated with `htmlSafe`, `false` otherwise.
21734
21732
  @public
@@ -21974,7 +21972,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
21974
21972
 
21975
21973
  /**
21976
21974
  @module ember
21977
- @submodule ember-metal
21978
21975
  */
21979
21976
 
21980
21977
  /**
@@ -22175,8 +22172,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22175
22172
  }
22176
22173
 
22177
22174
  /**
22178
- @module ember
22179
- @submodule ember-metal
22175
+ @module @ember/object
22180
22176
  */
22181
22177
  /*
22182
22178
  The event system uses a series of nested hashes to store listeners on an
@@ -22200,7 +22196,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22200
22196
  Add an event listener
22201
22197
 
22202
22198
  @method addListener
22203
- @for Ember
22199
+ @static
22200
+ @for @ember/object/events
22204
22201
  @param obj
22205
22202
  @param {String} eventName
22206
22203
  @param {Object|Function} target A target object or a function
@@ -22209,7 +22206,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22209
22206
  @public
22210
22207
  */
22211
22208
  function addListener(obj, eventName, target, method, once) {
22212
- false && !(!!obj && !!eventName) && emberDebug.assert('You must pass at least an object and event name to Ember.addListener', !!obj && !!eventName);
22209
+ false && !(!!obj && !!eventName) && emberDebug.assert('You must pass at least an object and event name to addListener', !!obj && !!eventName);
22213
22210
  false && !(eventName !== 'didInitAttrs') && emberDebug.deprecate('didInitAttrs called in ' + (obj && obj.toString && obj.toString()) + '.', eventName !== 'didInitAttrs', {
22214
22211
  id: 'ember-views.did-init-attrs',
22215
22212
  until: '3.0.0',
@@ -22236,10 +22233,11 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22236
22233
  /**
22237
22234
  Remove an event listener
22238
22235
 
22239
- Arguments should match those passed to `Ember.addListener`.
22236
+ Arguments should match those passed to `addListener`.
22240
22237
 
22241
22238
  @method removeListener
22242
- @for Ember
22239
+ @static
22240
+ @for @ember/object/events
22243
22241
  @param obj
22244
22242
  @param {String} eventName
22245
22243
  @param {Object|Function} target A target object or a function
@@ -22247,7 +22245,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22247
22245
  @public
22248
22246
  */
22249
22247
  function removeListener(obj, eventName, target, method) {
22250
- false && !(!!obj && !!eventName) && emberDebug.assert('You must pass at least an object and event name to Ember.removeListener', !!obj && !!eventName);
22248
+ false && !(!!obj && !!eventName) && emberDebug.assert('You must pass at least an object and event name to removeListener', !!obj && !!eventName);
22251
22249
 
22252
22250
  if (!method && 'function' === typeof target) {
22253
22251
  method = target;
@@ -22267,7 +22265,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22267
22265
  setting that property.
22268
22266
 
22269
22267
  @method suspendListener
22270
- @for Ember
22268
+ @static
22269
+ @for @ember/object/events
22271
22270
 
22272
22271
  @private
22273
22272
  @param obj
@@ -22284,7 +22283,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22284
22283
  Suspends multiple listeners during a callback.
22285
22284
 
22286
22285
  @method suspendListeners
22287
- @for Ember
22286
+ @static
22287
+ @for @ember/object/events
22288
22288
 
22289
22289
  @private
22290
22290
  @param obj
@@ -22306,7 +22306,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22306
22306
 
22307
22307
  @private
22308
22308
  @method watchedEvents
22309
- @for Ember
22309
+ @static
22310
+ @for @ember/object/events
22310
22311
  @param obj
22311
22312
  */
22312
22313
 
@@ -22318,7 +22319,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22318
22319
  is not passed, the actions stored on the passed object are invoked.
22319
22320
 
22320
22321
  @method sendEvent
22321
- @for Ember
22322
+ @static
22323
+ @for @ember/object/events
22322
22324
  @param obj
22323
22325
  @param {String} eventName
22324
22326
  @param {Array} params Optional parameters for each listener.
@@ -22379,7 +22381,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22379
22381
  /**
22380
22382
  @private
22381
22383
  @method hasListeners
22382
- @for Ember
22384
+ @static
22385
+ @for @ember/object/events
22383
22386
  @param obj
22384
22387
  @param {String} eventName
22385
22388
  */
@@ -22388,7 +22391,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22388
22391
  /**
22389
22392
  @private
22390
22393
  @method listenersFor
22391
- @for Ember
22394
+ @static
22395
+ @for @ember/object/events
22392
22396
  @param obj
22393
22397
  @param {String} eventName
22394
22398
  */
@@ -22420,19 +22424,24 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22420
22424
 
22421
22425
 
22422
22426
  ``` javascript
22423
- let Job = Ember.Object.extend({
22424
- logCompleted: Ember.on('completed', function() {
22427
+ import EmberObject from '@ember/object';
22428
+ import { on } from '@ember/object/evented';
22429
+ import { sendEvent } from '@ember/object/events';
22430
+
22431
+ let Job = EmberObject.extend({
22432
+ logCompleted: on('completed', function() {
22425
22433
  console.log('Job completed!');
22426
22434
  })
22427
22435
  });
22428
22436
 
22429
22437
  let job = Job.create();
22430
22438
 
22431
- Ember.sendEvent(job, 'completed'); // Logs 'Job completed!'
22439
+ sendEvent(job, 'completed'); // Logs 'Job completed!'
22432
22440
  ```
22433
22441
 
22434
22442
  @method on
22435
- @for Ember
22443
+ @static
22444
+ @for @ember/object/evented
22436
22445
  @param {String} eventNames*
22437
22446
  @param {Function} func
22438
22447
  @return func
@@ -22579,6 +22588,11 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22579
22588
  };
22580
22589
  }
22581
22590
 
22591
+ /**
22592
+ @module ember
22593
+ @private
22594
+ */
22595
+
22582
22596
  var PROPERTY_DID_CHANGE = emberUtils.symbol('PROPERTY_DID_CHANGE');
22583
22597
 
22584
22598
  var beforeObserverSet = new ObserverSet();
@@ -22890,7 +22904,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22890
22904
  }
22891
22905
 
22892
22906
  /**
22893
- @module ember-metal
22907
+ @module @ember/object
22894
22908
  */
22895
22909
 
22896
22910
  // ..........................................................
@@ -22932,7 +22946,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22932
22946
  /**
22933
22947
  NOTE: This is a low-level method used by other parts of the API. You almost
22934
22948
  never want to call this method directly. Instead you should use
22935
- `Ember.mixin()` to define new properties.
22949
+ `mixin()` to define new properties.
22936
22950
 
22937
22951
  Defines a property on an object. This method works much like the ES5
22938
22952
  `Object.defineProperty()` method except that it can also accept computed
@@ -22946,8 +22960,10 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22946
22960
  ## Examples
22947
22961
 
22948
22962
  ```javascript
22963
+ import { defineProperty, computed } from '@ember/object';
22964
+
22949
22965
  // ES5 compatible mode
22950
- Ember.defineProperty(contact, 'firstName', {
22966
+ defineProperty(contact, 'firstName', {
22951
22967
  writable: true,
22952
22968
  configurable: false,
22953
22969
  enumerable: true,
@@ -22955,17 +22971,17 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
22955
22971
  });
22956
22972
 
22957
22973
  // define a simple property
22958
- Ember.defineProperty(contact, 'lastName', undefined, 'Jolley');
22974
+ defineProperty(contact, 'lastName', undefined, 'Jolley');
22959
22975
 
22960
22976
  // define a computed property
22961
- Ember.defineProperty(contact, 'fullName', Ember.computed('firstName', 'lastName', function() {
22977
+ defineProperty(contact, 'fullName', computed('firstName', 'lastName', function() {
22962
22978
  return this.firstName+' '+this.lastName;
22963
22979
  }));
22964
22980
  ```
22965
22981
 
22966
22982
  @private
22967
22983
  @method defineProperty
22968
- @for Ember
22984
+ @for @ember/object
22969
22985
  @param {Object} obj the object to define this property on. This may be a prototype.
22970
22986
  @param {String} keyName the name of the property
22971
22987
  @param {Descriptor} [desc] an instance of `Descriptor` (typically a
@@ -23513,7 +23529,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
23513
23529
  }
23514
23530
 
23515
23531
  /**
23516
- @module ember-metal
23532
+ @module ember
23517
23533
  */
23518
23534
 
23519
23535
  var UNDEFINED = emberUtils.symbol('undefined');
@@ -24159,7 +24175,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24159
24175
  }
24160
24176
 
24161
24177
  /**
24162
- @module ember-metal
24178
+ @module @ember/object
24163
24179
  */
24164
24180
 
24165
24181
  var ALLOWABLE_TYPES = {
@@ -24198,7 +24214,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24198
24214
  an error.
24199
24215
 
24200
24216
  @method get
24201
- @for Ember
24217
+ @for @ember/object
24218
+ @static
24202
24219
  @param {Object} obj The object to retrieve from.
24203
24220
  @param {String} keyName The property key to retrieve
24204
24221
  @return {Object} the property value or `null`.
@@ -24258,7 +24275,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24258
24275
  ```
24259
24276
 
24260
24277
  @method getWithDefault
24261
- @for Ember
24278
+ @for @ember/object
24279
+ @static
24262
24280
  @param {Object} obj The object to retrieve from.
24263
24281
  @param {String} keyName The name of the property to retrieve
24264
24282
  @param {Object} defaultValue The value to return if the property value is undefined
@@ -24267,6 +24285,9 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24267
24285
  */
24268
24286
 
24269
24287
 
24288
+ /**
24289
+ @module @ember/object
24290
+ */
24270
24291
  /**
24271
24292
  Sets the value of a property on an object, respecting computed properties
24272
24293
  and notifying observers and other listeners of the change. If the
@@ -24278,7 +24299,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24278
24299
  ```
24279
24300
 
24280
24301
  @method set
24281
- @for Ember
24302
+ @static
24303
+ @for @ember/object
24282
24304
  @param {Object} obj The object to modify.
24283
24305
  @param {String} keyName The property key to set
24284
24306
  @param {Object} value The value to set
@@ -24346,7 +24368,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24346
24368
  an object has been destroyed.
24347
24369
 
24348
24370
  @method trySet
24349
- @for Ember
24371
+ @static
24372
+ @for @ember/object
24350
24373
  @param {Object} root The object to modify.
24351
24374
  @param {String} path The property path to set
24352
24375
  @param {Object} value The value to set
@@ -24357,8 +24380,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24357
24380
  }
24358
24381
 
24359
24382
  /**
24360
- @module ember
24361
- @submodule ember-metal
24383
+ @module @ember/object
24362
24384
  */
24363
24385
 
24364
24386
  var END_WITH_EACH_REGEX = /\.@each$/;
@@ -24372,19 +24394,22 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24372
24394
  Example
24373
24395
 
24374
24396
  ```js
24397
+ import { expandProperties } from '@ember/object/computed';
24398
+
24375
24399
  function echo(arg){ console.log(arg); }
24376
24400
 
24377
- Ember.expandProperties('foo.bar', echo); //=> 'foo.bar'
24378
- Ember.expandProperties('{foo,bar}', echo); //=> 'foo', 'bar'
24379
- Ember.expandProperties('foo.{bar,baz}', echo); //=> 'foo.bar', 'foo.baz'
24380
- Ember.expandProperties('{foo,bar}.baz', echo); //=> 'foo.baz', 'bar.baz'
24381
- Ember.expandProperties('foo.{bar,baz}.[]', echo) //=> 'foo.bar.[]', 'foo.baz.[]'
24382
- Ember.expandProperties('{foo,bar}.{spam,eggs}', echo) //=> 'foo.spam', 'foo.eggs', 'bar.spam', 'bar.eggs'
24383
- Ember.expandProperties('{foo}.bar.{baz}') //=> 'foo.bar.baz'
24401
+ expandProperties('foo.bar', echo); //=> 'foo.bar'
24402
+ expandProperties('{foo,bar}', echo); //=> 'foo', 'bar'
24403
+ expandProperties('foo.{bar,baz}', echo); //=> 'foo.bar', 'foo.baz'
24404
+ expandProperties('{foo,bar}.baz', echo); //=> 'foo.baz', 'bar.baz'
24405
+ expandProperties('foo.{bar,baz}.[]', echo) //=> 'foo.bar.[]', 'foo.baz.[]'
24406
+ expandProperties('{foo,bar}.{spam,eggs}', echo) //=> 'foo.spam', 'foo.eggs', 'bar.spam', 'bar.eggs'
24407
+ expandProperties('{foo}.bar.{baz}') //=> 'foo.bar.baz'
24384
24408
  ```
24385
24409
 
24386
24410
  @method expandProperties
24387
- @for Ember
24411
+ @static
24412
+ @for @ember/object
24388
24413
  @public
24389
24414
  @param {String} pattern The property pattern to expand.
24390
24415
  @param {Function} callback The callback to invoke. It is invoked once per
@@ -24426,7 +24451,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24426
24451
  }
24427
24452
 
24428
24453
  /**
24429
- @module ember-metal
24454
+ @module ember
24430
24455
  */
24431
24456
  /**
24432
24457
  Starts watching a property on an object. Whenever the property changes,
@@ -24462,11 +24487,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24462
24487
  }
24463
24488
  }
24464
24489
 
24465
- /**
24466
- @module ember
24467
- @submodule ember-metal
24468
- */
24469
-
24470
24490
  // ..........................................................
24471
24491
  // DEPENDENT KEYS
24472
24492
  //
@@ -24512,8 +24532,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24512
24532
  }
24513
24533
 
24514
24534
  /**
24515
- @module ember
24516
- @submodule ember-metal
24535
+ @module @ember/object
24517
24536
  */
24518
24537
 
24519
24538
  var DEEP_EACH_REGEX = /\.@each\.[^.]+\./;
@@ -24527,23 +24546,25 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24527
24546
  result to be recomputed if the dependencies are modified.
24528
24547
 
24529
24548
  In the following example we declare a computed property - `fullName` - by calling
24530
- `.Ember.computed()` with property dependencies (`firstName` and `lastName`) as leading arguments and getter accessor function. The `fullName` getter function
24549
+ `computed` with property dependencies (`firstName` and `lastName`) as leading arguments and getter accessor function. The `fullName` getter function
24531
24550
  will be called once (regardless of how many times it is accessed) as long
24532
24551
  as its dependencies have not changed. Once `firstName` or `lastName` are updated
24533
24552
  any future calls (or anything bound) to `fullName` will incorporate the new
24534
24553
  values.
24535
24554
 
24536
24555
  ```javascript
24537
- let Person = Ember.Object.extend({
24556
+ import EmberObject, { computed } from '@ember/object';
24557
+
24558
+ let Person = EmberObject.extend({
24538
24559
  // these will be supplied by `create`
24539
24560
  firstName: null,
24540
24561
  lastName: null,
24541
24562
 
24542
- fullName: Ember.computed('firstName', 'lastName', function() {
24563
+ fullName: computed('firstName', 'lastName', function() {
24543
24564
  let firstName = this.get('firstName'),
24544
24565
  lastName = this.get('lastName');
24545
24566
 
24546
- return firstName + ' ' + lastName;
24567
+ return `${firstName} ${lastName}`;
24547
24568
  })
24548
24569
  });
24549
24570
 
@@ -24560,12 +24581,14 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24560
24581
  value you want to set it to as arguments.
24561
24582
 
24562
24583
  ```javascript
24563
- let Person = Ember.Object.extend({
24584
+ import EmberObject, { computed } from '@ember/object';
24585
+
24586
+ let Person = EmberObject.extend({
24564
24587
  // these will be supplied by `create`
24565
24588
  firstName: null,
24566
24589
  lastName: null,
24567
24590
 
24568
- fullName: Ember.computed('firstName', 'lastName', {
24591
+ fullName: computed('firstName', 'lastName', {
24569
24592
  get(key) {
24570
24593
  let firstName = this.get('firstName'),
24571
24594
  lastName = this.get('lastName');
@@ -24595,12 +24618,14 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24595
24618
  You can also mark computed property as `.readOnly()` and block all attempts to set it.
24596
24619
 
24597
24620
  ```javascript
24598
- let Person = Ember.Object.extend({
24621
+ import EmberObject, { computed } from '@ember/object';
24622
+
24623
+ let Person = EmberObject.extend({
24599
24624
  // these will be supplied by `create`
24600
24625
  firstName: null,
24601
24626
  lastName: null,
24602
24627
 
24603
- fullName: Ember.computed('firstName', 'lastName', {
24628
+ fullName: computed('firstName', 'lastName', {
24604
24629
  get(key) {
24605
24630
  let firstName = this.get('firstName');
24606
24631
  let lastName = this.get('lastName');
@@ -24619,7 +24644,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24619
24644
  - [New computed syntax explained in "Ember 1.12 released" ](https://emberjs.com/blog/2015/05/13/ember-1-12-released.html#toc_new-computed-syntax)
24620
24645
 
24621
24646
  @class ComputedProperty
24622
- @namespace Ember
24623
24647
  @public
24624
24648
  */
24625
24649
  function ComputedProperty(config, opts) {
@@ -24628,10 +24652,10 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24628
24652
  if (hasGetterOnly) {
24629
24653
  this._getter = config;
24630
24654
  } else {
24631
- false && !(typeof config === 'object' && !Array.isArray(config)) && emberDebug.assert('Ember.computed expects a function or an object as last argument.', typeof config === 'object' && !Array.isArray(config));
24655
+ false && !(typeof config === 'object' && !Array.isArray(config)) && emberDebug.assert('computed expects a function or an object as last argument.', typeof config === 'object' && !Array.isArray(config));
24632
24656
  false && !Object.keys(config).every(function (key) {
24633
24657
  return key === 'get' || key === 'set';
24634
- }) && emberDebug.assert('Config object passed to an Ember.computed can only contain `get` or `set` keys.', Object.keys(config).every(function (key) {
24658
+ }) && emberDebug.assert('Config object passed to computed can only contain `get` or `set` keys.', Object.keys(config).every(function (key) {
24635
24659
  return key === 'get' || key === 'set';
24636
24660
  }));
24637
24661
 
@@ -24664,15 +24688,19 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24664
24688
  invalidation and notification when cached value is invalidated.
24665
24689
 
24666
24690
  ```javascript
24667
- let outsideService = Ember.Object.extend({
24668
- value: Ember.computed(function() {
24691
+ import EmberObject, { computed } from '@ember/object';
24692
+
24693
+ let outsideService = EmberObject.extend({
24694
+ value: computed(function() {
24669
24695
  return OutsideService.getValue();
24670
24696
  }).volatile()
24671
24697
  }).create();
24672
24698
  ```
24673
24699
 
24674
24700
  @method volatile
24675
- @return {Ember.ComputedProperty} this
24701
+ @static
24702
+ @for @ember/object/computed
24703
+ @return {ComputedProperty} this
24676
24704
  @chainable
24677
24705
  @public
24678
24706
  */
@@ -24686,8 +24714,10 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24686
24714
  mode the computed property will throw an error when set.
24687
24715
 
24688
24716
  ```javascript
24689
- let Person = Ember.Object.extend({
24690
- guid: Ember.computed(function() {
24717
+ import EmberObject, { computed } from '@ember/object';
24718
+
24719
+ let Person = EmberObject.extend({
24720
+ guid: computed(function() {
24691
24721
  return 'guid-guid-guid';
24692
24722
  }).readOnly()
24693
24723
  });
@@ -24698,7 +24728,9 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24698
24728
  ```
24699
24729
 
24700
24730
  @method readOnly
24701
- @return {Ember.ComputedProperty} this
24731
+ @static
24732
+ @for @ember/object/computed
24733
+ @return {ComputedProperty} this
24702
24734
  @chainable
24703
24735
  @public
24704
24736
  */
@@ -24714,13 +24746,15 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24714
24746
  arguments containing key paths that this computed property depends on.
24715
24747
 
24716
24748
  ```javascript
24717
- let President = Ember.Object.extend({
24718
- fullName: Ember.computed(function() {
24749
+ import EmberObject, { computed } from '@ember/object';
24750
+
24751
+ let President = EmberObject.extend({
24752
+ fullName: computed('firstName', 'lastName', function() {
24719
24753
  return this.get('firstName') + ' ' + this.get('lastName');
24720
24754
 
24721
24755
  // Tell Ember that this computed property depends on firstName
24722
24756
  // and lastName
24723
- }).property('firstName', 'lastName')
24757
+ })
24724
24758
  });
24725
24759
 
24726
24760
  let president = President.create({
@@ -24732,8 +24766,10 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24732
24766
  ```
24733
24767
 
24734
24768
  @method property
24769
+ @static
24770
+ @for @ember/object/computed
24735
24771
  @param {String} path* zero or more property paths
24736
- @return {Ember.ComputedProperty} this
24772
+ @return {ComputedProperty} this
24737
24773
  @chainable
24738
24774
  @public
24739
24775
  */
@@ -24779,6 +24815,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24779
24815
  via the `metaForProperty()` function.
24780
24816
 
24781
24817
  @method meta
24818
+ @static
24819
+ @for @ember/object/computed
24782
24820
  @param {Object} meta
24783
24821
  @chainable
24784
24822
  @public
@@ -24935,13 +24973,15 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24935
24973
  /**
24936
24974
  This helper returns a new property descriptor that wraps the passed
24937
24975
  computed property function. You can use this helper to define properties
24938
- with mixins or via `Ember.defineProperty()`.
24976
+ with mixins or via `defineProperty()`.
24939
24977
 
24940
24978
  If you pass a function as an argument, it will be used as a getter. A computed
24941
24979
  property defined in this way might look like this:
24942
24980
 
24943
24981
  ```js
24944
- let Person = Ember.Object.extend({
24982
+ import EmberObject, { computed } from '@ember/object';
24983
+
24984
+ let Person = EmberObject.extend({
24945
24985
  init() {
24946
24986
  this._super(...arguments);
24947
24987
 
@@ -24949,7 +24989,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24949
24989
  this.lastName = 'Jones';
24950
24990
  },
24951
24991
 
24952
- fullName: Ember.computed('firstName', 'lastName', function() {
24992
+ fullName: computed('firstName', 'lastName', function() {
24953
24993
  return `${this.get('firstName')} ${this.get('lastName')}`;
24954
24994
  })
24955
24995
  });
@@ -24966,7 +25006,9 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24966
25006
  argument to provide both a getter and setter:
24967
25007
 
24968
25008
  ```js
24969
- let Person = Ember.Object.extend({
25009
+ import EmberObject, { computed } from '@ember/object';
25010
+
25011
+ let Person = EmberObject.extend({
24970
25012
  init() {
24971
25013
  this._super(...arguments);
24972
25014
 
@@ -24974,7 +25016,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
24974
25016
  this.lastName = 'Jones';
24975
25017
  },
24976
25018
 
24977
- fullName: Ember.computed('firstName', 'lastName', {
25019
+ fullName: computed('firstName', 'lastName', {
24978
25020
  get(key) {
24979
25021
  return `${this.get('firstName')} ${this.get('lastName')}`;
24980
25022
  },
@@ -25008,13 +25050,12 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25008
25050
  }.property('firstName', 'lastName')
25009
25051
  ```
25010
25052
 
25011
- @class computed
25012
- @namespace Ember
25013
- @constructor
25053
+ @method computed
25054
+ @for @ember/object
25014
25055
  @static
25015
25056
  @param {String} [dependentKeys*] Optional dependent keys that trigger this computed property.
25016
25057
  @param {Function} func The computed property function.
25017
- @return {Ember.ComputedProperty} property descriptor instance
25058
+ @return {ComputedProperty} property descriptor instance
25018
25059
  @public
25019
25060
  */
25020
25061
 
@@ -25026,7 +25067,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25026
25067
  it to be created.
25027
25068
 
25028
25069
  @method cacheFor
25029
- @for Ember
25070
+ @static
25071
+ @for @ember/object/internals
25030
25072
  @param {Object} obj the object whose property you want to check
25031
25073
  @param {String} key the name of the property whose cached value you want
25032
25074
  to return
@@ -25143,18 +25185,24 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25143
25185
  AliasedProperty.prototype._meta = undefined;
25144
25186
  AliasedProperty.prototype.meta = ComputedProperty.prototype.meta;
25145
25187
 
25188
+ /**
25189
+ @module @ember/polyfills
25190
+ */
25146
25191
  /**
25147
25192
  Merge the contents of two objects together into the first object.
25148
25193
 
25149
25194
  ```javascript
25150
- Ember.merge({ first: 'Tom' }, { last: 'Dale' }); // { first: 'Tom', last: 'Dale' }
25195
+ import { merge } from '@ember/polyfills';
25196
+
25197
+ merge({ first: 'Tom' }, { last: 'Dale' }); // { first: 'Tom', last: 'Dale' }
25151
25198
  var a = { first: 'Yehuda' };
25152
25199
  var b = { last: 'Katz' };
25153
- Ember.merge(a, b); // a == { first: 'Yehuda', last: 'Katz' }, b == { last: 'Katz' }
25200
+ merge(a, b); // a == { first: 'Yehuda', last: 'Katz' }, b == { last: 'Katz' }
25154
25201
  ```
25155
25202
 
25156
25203
  @method merge
25157
- @for Ember
25204
+ @static
25205
+ @for @ember/polyfills
25158
25206
  @param {Object} original The object to merge into
25159
25207
  @param {Object} updates The object to copy properties from
25160
25208
  @return {Object}
@@ -25164,7 +25212,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25164
25212
 
25165
25213
  /**
25166
25214
  @module ember
25167
- @submodule ember-metal
25168
25215
  */
25169
25216
 
25170
25217
  /**
@@ -25182,15 +25229,22 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25182
25229
  /* eslint no-console:off */
25183
25230
  /* global console */
25184
25231
 
25232
+ /**
25233
+ @module @ember/instrumentation
25234
+ @private
25235
+ */
25236
+
25185
25237
  /**
25186
25238
  The purpose of the Ember Instrumentation module is
25187
25239
  to provide efficient, general-purpose instrumentation
25188
25240
  for Ember.
25189
25241
 
25190
- Subscribe to a listener by using `Ember.subscribe`:
25242
+ Subscribe to a listener by using `subscribe`:
25191
25243
 
25192
25244
  ```javascript
25193
- Ember.subscribe("render", {
25245
+ import { subscribe } from '@ember/instrumentation';
25246
+
25247
+ subscribe("render", {
25194
25248
  before(name, timestamp, payload) {
25195
25249
 
25196
25250
  },
@@ -25205,15 +25259,17 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25205
25259
  value will be passed as a fourth parameter to the `after`
25206
25260
  callback.
25207
25261
 
25208
- Instrument a block of code by using `Ember.instrument`:
25262
+ Instrument a block of code by using `instrument`:
25209
25263
 
25210
25264
  ```javascript
25211
- Ember.instrument("render.handlebars", payload, function() {
25265
+ import { instrument } from '@ember/instrumentation';
25266
+
25267
+ instrument("render.handlebars", payload, function() {
25212
25268
  // rendering logic
25213
25269
  }, binding);
25214
25270
  ```
25215
25271
 
25216
- Event names passed to `Ember.instrument` are namespaced
25272
+ Event names passed to `instrument` are namespaced
25217
25273
  by periods, from more general to more specific. Subscribers
25218
25274
  can listen for events by whatever level of granularity they
25219
25275
  are interested in.
@@ -25225,7 +25281,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25225
25281
  even `render.handlebars.layout`.
25226
25282
 
25227
25283
  @class Instrumentation
25228
- @namespace Ember
25229
25284
  @static
25230
25285
  @private
25231
25286
  */
@@ -25261,8 +25316,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25261
25316
  Notifies event's subscribers, calls `before` and `after` hooks.
25262
25317
 
25263
25318
  @method instrument
25264
- @namespace Ember.Instrumentation
25265
-
25319
+ @for @ember/instrumentation
25320
+ @static
25266
25321
  @param {String} [name] Namespaced event name.
25267
25322
  @param {Object} _payload
25268
25323
  @param {Function} callback Function that you're instrumenting.
@@ -25347,7 +25402,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25347
25402
  Subscribes to a particular event or instrumented block of code.
25348
25403
 
25349
25404
  @method subscribe
25350
- @namespace Ember.Instrumentation
25405
+ @for @ember/instrumentation
25406
+ @static
25351
25407
 
25352
25408
  @param {String} [pattern] Namespaced event name.
25353
25409
  @param {Object} [object] Before and After hooks.
@@ -25361,7 +25417,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25361
25417
  Unsubscribes from a particular event or instrumented block of code.
25362
25418
 
25363
25419
  @method unsubscribe
25364
- @namespace Ember.Instrumentation
25420
+ @for @ember/instrumentation
25421
+ @static
25365
25422
 
25366
25423
  @param {Object} [subscriber]
25367
25424
  @private
@@ -25369,10 +25426,11 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25369
25426
 
25370
25427
 
25371
25428
  /**
25372
- Resets `Ember.Instrumentation` by flushing list of subscribers.
25429
+ Resets `Instrumentation` by flushing list of subscribers.
25373
25430
 
25374
25431
  @method reset
25375
- @namespace Ember.Instrumentation
25432
+ @for @ember/instrumentation
25433
+ @static
25376
25434
  @private
25377
25435
  */
25378
25436
 
@@ -25419,6 +25477,9 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25419
25477
  }
25420
25478
  }
25421
25479
 
25480
+ /**
25481
+ @module ember
25482
+ */
25422
25483
  var id = 0;
25423
25484
 
25424
25485
  // Returns whether Type(value) is Object according to the terminology in the spec
@@ -25559,22 +25620,26 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25559
25620
 
25560
25621
  var weak_map = emberUtils.HAS_NATIVE_WEAKMAP ? WeakMap : WeakMapPolyfill;
25561
25622
 
25623
+ /**
25624
+ @module @ember/utils
25625
+ */
25562
25626
  /**
25563
25627
  Returns true if the passed value is null or undefined. This avoids errors
25564
25628
  from JSLint complaining about use of ==, which can be technically
25565
25629
  confusing.
25566
25630
 
25567
25631
  ```javascript
25568
- Ember.isNone(); // true
25569
- Ember.isNone(null); // true
25570
- Ember.isNone(undefined); // true
25571
- Ember.isNone(''); // false
25572
- Ember.isNone([]); // false
25573
- Ember.isNone(function() {}); // false
25632
+ isNone(); // true
25633
+ isNone(null); // true
25634
+ isNone(undefined); // true
25635
+ isNone(''); // false
25636
+ isNone([]); // false
25637
+ isNone(function() {}); // false
25574
25638
  ```
25575
25639
 
25576
25640
  @method isNone
25577
- @for Ember
25641
+ @static
25642
+ @for @ember/utils
25578
25643
  @param {Object} obj Value to test
25579
25644
  @return {Boolean}
25580
25645
  @public
@@ -25583,28 +25648,32 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25583
25648
  return obj === null || obj === undefined;
25584
25649
  }
25585
25650
 
25651
+ /**
25652
+ @module @ember/utils
25653
+ */
25586
25654
  /**
25587
25655
  Verifies that a value is `null` or `undefined`, an empty string, or an empty
25588
25656
  array.
25589
25657
 
25590
- Constrains the rules on `Ember.isNone` by returning true for empty strings and
25658
+ Constrains the rules on `isNone` by returning true for empty strings and
25591
25659
  empty arrays.
25592
25660
 
25593
25661
  ```javascript
25594
- Ember.isEmpty(); // true
25595
- Ember.isEmpty(null); // true
25596
- Ember.isEmpty(undefined); // true
25597
- Ember.isEmpty(''); // true
25598
- Ember.isEmpty([]); // true
25599
- Ember.isEmpty({}); // false
25600
- Ember.isEmpty('Adam Hawkins'); // false
25601
- Ember.isEmpty([0,1,2]); // false
25602
- Ember.isEmpty('\n\t'); // false
25603
- Ember.isEmpty(' '); // false
25662
+ isEmpty(); // true
25663
+ isEmpty(null); // true
25664
+ isEmpty(undefined); // true
25665
+ isEmpty(''); // true
25666
+ isEmpty([]); // true
25667
+ isEmpty({}); // false
25668
+ isEmpty('Adam Hawkins'); // false
25669
+ isEmpty([0,1,2]); // false
25670
+ isEmpty('\n\t'); // false
25671
+ isEmpty(' '); // false
25604
25672
  ```
25605
25673
 
25606
25674
  @method isEmpty
25607
- @for Ember
25675
+ @static
25676
+ @for @ember/utils
25608
25677
  @param {Object} obj Value to test
25609
25678
  @return {Boolean}
25610
25679
  @public
@@ -25646,25 +25715,31 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25646
25715
  return false;
25647
25716
  }
25648
25717
 
25718
+ /**
25719
+ @module @ember/utils
25720
+ */
25649
25721
  /**
25650
25722
  A value is blank if it is empty or a whitespace string.
25651
25723
 
25652
25724
  ```javascript
25653
- Ember.isBlank(); // true
25654
- Ember.isBlank(null); // true
25655
- Ember.isBlank(undefined); // true
25656
- Ember.isBlank(''); // true
25657
- Ember.isBlank([]); // true
25658
- Ember.isBlank('\n\t'); // true
25659
- Ember.isBlank(' '); // true
25660
- Ember.isBlank({}); // false
25661
- Ember.isBlank('\n\t Hello'); // false
25662
- Ember.isBlank('Hello world'); // false
25663
- Ember.isBlank([1,2,3]); // false
25725
+ import { isBlank } from '@ember/utils';
25726
+
25727
+ isBlank(); // true
25728
+ isBlank(null); // true
25729
+ isBlank(undefined); // true
25730
+ isBlank(''); // true
25731
+ isBlank([]); // true
25732
+ isBlank('\n\t'); // true
25733
+ isBlank(' '); // true
25734
+ isBlank({}); // false
25735
+ isBlank('\n\t Hello'); // false
25736
+ isBlank('Hello world'); // false
25737
+ isBlank([1,2,3]); // false
25664
25738
  ```
25665
25739
 
25666
25740
  @method isBlank
25667
- @for Ember
25741
+ @static
25742
+ @for @ember/utils
25668
25743
  @param {Object} obj Value to test
25669
25744
  @return {Boolean}
25670
25745
  @since 1.5.0
@@ -25674,31 +25749,35 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25674
25749
  return isEmpty(obj) || typeof obj === 'string' && /\S/.test(obj) === false;
25675
25750
  }
25676
25751
 
25752
+ /**
25753
+ @module @ember/utils
25754
+ */
25677
25755
  /**
25678
25756
  A value is present if it not `isBlank`.
25679
25757
 
25680
25758
  ```javascript
25681
- Ember.isPresent(); // false
25682
- Ember.isPresent(null); // false
25683
- Ember.isPresent(undefined); // false
25684
- Ember.isPresent(''); // false
25685
- Ember.isPresent(' '); // false
25686
- Ember.isPresent('\n\t'); // false
25687
- Ember.isPresent([]); // false
25688
- Ember.isPresent({ length: 0 }) // false
25689
- Ember.isPresent(false); // true
25690
- Ember.isPresent(true); // true
25691
- Ember.isPresent('string'); // true
25692
- Ember.isPresent(0); // true
25693
- Ember.isPresent(function() {}) // true
25694
- Ember.isPresent({}); // true
25695
- Ember.isPresent(false); // true
25696
- Ember.isPresent('\n\t Hello'); // true
25697
- Ember.isPresent([1,2,3]); // true
25759
+ isPresent(); // false
25760
+ isPresent(null); // false
25761
+ isPresent(undefined); // false
25762
+ isPresent(''); // false
25763
+ isPresent(' '); // false
25764
+ isPresent('\n\t'); // false
25765
+ isPresent([]); // false
25766
+ isPresent({ length: 0 }) // false
25767
+ isPresent(false); // true
25768
+ isPresent(true); // true
25769
+ isPresent('string'); // true
25770
+ isPresent(0); // true
25771
+ isPresent(function() {}) // true
25772
+ isPresent({}); // true
25773
+ isPresent(false); // true
25774
+ isPresent('\n\t Hello'); // true
25775
+ isPresent([1,2,3]); // true
25698
25776
  ```
25699
25777
 
25700
25778
  @method isPresent
25701
- @for Ember
25779
+ @static
25780
+ @for @ember/utils
25702
25781
  @param {Object} obj Value to test
25703
25782
  @return {Boolean}
25704
25783
  @since 1.8.0
@@ -25723,6 +25802,9 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25723
25802
  onErrorMethod: 'onerror'
25724
25803
  });
25725
25804
 
25805
+ /**
25806
+ @module @ember/runloop
25807
+ */
25726
25808
  // ..........................................................
25727
25809
  // run - this is ideally the only public API the dev sees
25728
25810
  //
@@ -25743,8 +25825,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25743
25825
  });
25744
25826
  ```
25745
25827
 
25746
- @class run
25747
- @namespace Ember
25828
+ @class @ember/runloop
25748
25829
  @static
25749
25830
  @constructor
25750
25831
  @param {Object} [target] target of method to call
@@ -25787,7 +25868,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25787
25868
  ```
25788
25869
 
25789
25870
  @method join
25790
- @namespace Ember
25871
+ @static
25872
+ @for @ember/runloop
25791
25873
  @param {Object} [target] target of method to call
25792
25874
  @param {Function|String} method Method to invoke.
25793
25875
  May be a function or a string. If you pass a string
@@ -25851,7 +25933,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25851
25933
  method be safely handled and executed by the Ember run loop.
25852
25934
 
25853
25935
  @method bind
25854
- @namespace Ember
25936
+ @static
25937
+ @for @ember/runloop
25855
25938
  @param {Object} [target] target of method to call
25856
25939
  @param {Function|String} method Method to invoke.
25857
25940
  May be a function or a string. If you pass a string
@@ -25895,6 +25978,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25895
25978
  ```
25896
25979
 
25897
25980
  @method begin
25981
+ @static
25982
+ @for @ember/runloop
25898
25983
  @return {void}
25899
25984
  @public
25900
25985
  */
@@ -25914,6 +25999,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25914
25999
  ```
25915
26000
 
25916
26001
  @method end
26002
+ @static
26003
+ @for @ember/runloop
25917
26004
  @return {void}
25918
26005
  @public
25919
26006
  */
@@ -25961,6 +26048,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
25961
26048
  ```
25962
26049
 
25963
26050
  @method schedule
26051
+ @static
26052
+ @for @ember/runloop
25964
26053
  @param {String} queue The name of the queue to schedule against.
25965
26054
  Default queues are 'sync' and 'actions'
25966
26055
  @param {Object} [target] target object to use as the context when invoking a method.
@@ -26001,6 +26090,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26001
26090
  ```
26002
26091
 
26003
26092
  @method sync
26093
+ @static
26094
+ @for @ember/runloop
26004
26095
  @return {void}
26005
26096
  @private
26006
26097
  */
@@ -26027,6 +26118,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26027
26118
  ```
26028
26119
 
26029
26120
  @method later
26121
+ @static
26122
+ @for @ember/runloop
26030
26123
  @param {Object} [target] target of method to invoke
26031
26124
  @param {Function|String} method The method to invoke.
26032
26125
  If you pass a string it will be resolved on the
@@ -26045,6 +26138,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26045
26138
  to calling `scheduleOnce` with the "actions" queue.
26046
26139
 
26047
26140
  @method once
26141
+ @static
26142
+ @for @ember/runloop
26048
26143
  @param {Object} [target] The target of the method to invoke.
26049
26144
  @param {Function|String} method The method to invoke.
26050
26145
  If you pass a string it will be resolved on the
@@ -26123,6 +26218,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26123
26218
  Available queues, and their order, can be found at `run.queues`
26124
26219
 
26125
26220
  @method scheduleOnce
26221
+ @static
26222
+ @for @ember/runloop
26126
26223
  @param {String} [queue] The name of the queue to schedule against. Default queues are 'sync' and 'actions'.
26127
26224
  @param {Object} [target] The target of the method to invoke.
26128
26225
  @param {Function|String} method The method to invoke.
@@ -26195,6 +26292,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26195
26292
  outside of the current run loop, i.e. with `run.next`.
26196
26293
 
26197
26294
  @method next
26295
+ @static
26296
+ @for @ember/runloop
26198
26297
  @param {Object} [target] target of method to invoke
26199
26298
  @param {Function|String} method The method to invoke.
26200
26299
  If you pass a string it will be resolved on the
@@ -26265,6 +26364,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26265
26364
  ```
26266
26365
 
26267
26366
  @method cancel
26367
+ @static
26368
+ @for @ember/runloop
26268
26369
  @param {Object} timer Timer object to cancel
26269
26370
  @return {Boolean} true if canceled or false/undefined if it wasn't found
26270
26371
  @public
@@ -26331,6 +26432,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26331
26432
  ```
26332
26433
 
26333
26434
  @method debounce
26435
+ @static
26436
+ @for @ember/runloop
26334
26437
  @param {Object} [target] target of method to invoke
26335
26438
  @param {Function|String} method The method to invoke.
26336
26439
  May be a function or a string. If you pass a string
@@ -26374,6 +26477,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26374
26477
  ```
26375
26478
 
26376
26479
  @method throttle
26480
+ @static
26481
+ @for @ember/runloop
26377
26482
  @param {Object} [target] target of method to invoke
26378
26483
  @param {Function|String} method The method to invoke.
26379
26484
  May be a function or a string. If you pass a string
@@ -26405,6 +26510,9 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26405
26510
  }
26406
26511
  };
26407
26512
 
26513
+ /**
26514
+ @module ember
26515
+ */
26408
26516
  /**
26409
26517
  Helper class that allows you to register your library with Ember.
26410
26518
 
@@ -26472,7 +26580,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26472
26580
 
26473
26581
  /**
26474
26582
  @module ember
26475
- @submodule ember-metal
26476
26583
  */
26477
26584
 
26478
26585
  /*
@@ -26480,7 +26587,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26480
26587
  which are often used as dictionaries, may only have Strings as keys.
26481
26588
 
26482
26589
  Because Ember has a way to get a unique identifier for every object
26483
- via `Ember.guidFor`, we can implement a performant Map with arbitrary
26590
+ via `guidFor`, we can implement a performant Map with arbitrary
26484
26591
  keys. Because it is commonly used in low-level bookkeeping, Map is
26485
26592
  implemented as a pure JavaScript object for performance.
26486
26593
 
@@ -26490,7 +26597,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26490
26597
  forEach method for iteration.
26491
26598
 
26492
26599
  Map is mocked out to look like an Ember object, so you can do
26493
- `Ember.Map.create()` for symmetry with other Ember classes.
26600
+ `EmberMap.create()` for symmetry with other Ember classes.
26494
26601
  */
26495
26602
  function missingFunction(fn) {
26496
26603
  throw new TypeError(Object.prototype.toString.call(fn) + ' is not a function');
@@ -26702,7 +26809,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26702
26809
  Internally, a Map has two data structures:
26703
26810
 
26704
26811
  1. `keys`: an OrderedSet of all of the existing keys
26705
- 2. `values`: a JavaScript Object indexed by the `Ember.guidFor(key)`
26812
+ 2. `values`: a JavaScript Object indexed by the `guidFor(key)`
26706
26813
 
26707
26814
  When a key/value pair is added for the first time, we
26708
26815
  add the key to the `keys` OrderedSet, and create or
@@ -26907,7 +27014,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26907
27014
  @param [options]
26908
27015
  @param {*} [options.defaultValue]
26909
27016
  @return {Ember.MapWithDefault|Ember.Map} If options are passed, returns
26910
- `Ember.MapWithDefault` otherwise returns `Ember.Map`
27017
+ `MapWithDefault` otherwise returns `EmberMap`
26911
27018
  @private
26912
27019
  */
26913
27020
  MapWithDefault.create = function (options) {
@@ -26958,23 +27065,32 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26958
27065
  };
26959
27066
 
26960
27067
  /**
26961
- To get multiple properties at once, call `Ember.getProperties`
27068
+ @module @ember/object
27069
+ */
27070
+
27071
+ /**
27072
+ To get multiple properties at once, call `getProperties`
26962
27073
  with an object followed by a list of strings or an array:
26963
27074
 
26964
27075
  ```javascript
26965
- Ember.getProperties(record, 'firstName', 'lastName', 'zipCode');
27076
+ import { getProperties } from '@ember/object';
27077
+
27078
+ getProperties(record, 'firstName', 'lastName', 'zipCode');
26966
27079
  // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }
26967
27080
  ```
26968
27081
 
26969
27082
  is equivalent to:
26970
27083
 
26971
27084
  ```javascript
26972
- Ember.getProperties(record, ['firstName', 'lastName', 'zipCode']);
27085
+ import { getProperties } from '@ember/object';
27086
+
27087
+ getProperties(record, ['firstName', 'lastName', 'zipCode']);
26973
27088
  // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }
26974
27089
  ```
26975
27090
 
26976
27091
  @method getProperties
26977
- @for Ember
27092
+ @static
27093
+ @for @ember/object
26978
27094
  @param {Object} obj
26979
27095
  @param {String...|Array} list of keys to get
26980
27096
  @return {Object}
@@ -26982,6 +27098,9 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26982
27098
  */
26983
27099
 
26984
27100
 
27101
+ /**
27102
+ @module @ember/object
27103
+ */
26985
27104
  /**
26986
27105
  Set a list of properties on an object. These properties are set inside
26987
27106
  a single `beginPropertyChanges` and `endPropertyChanges` batch, so
@@ -26998,6 +27117,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
26998
27117
  ```
26999
27118
 
27000
27119
  @method setProperties
27120
+ @static
27121
+ @for @ember/object
27001
27122
  @param obj
27002
27123
  @param {Object} properties
27003
27124
  @return properties
@@ -27006,7 +27127,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
27006
27127
 
27007
27128
 
27008
27129
  /**
27009
- @module ember-metal
27130
+ @module @ember/object
27010
27131
  */
27011
27132
 
27012
27133
  function changeEvent(keyName) {
@@ -27019,7 +27140,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
27019
27140
 
27020
27141
  /**
27021
27142
  @method addObserver
27022
- @for Ember
27143
+ @static
27144
+ @for @ember/object/observers
27023
27145
  @param obj
27024
27146
  @param {String} _path
27025
27147
  @param {Object|Function} target
@@ -27035,7 +27157,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
27035
27157
 
27036
27158
  /**
27037
27159
  @method removeObserver
27038
- @for Ember
27160
+ @static
27161
+ @for @ember/object/observers
27039
27162
  @param obj
27040
27163
  @param {String} path
27041
27164
  @param {Object|Function} target
@@ -27051,7 +27174,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
27051
27174
 
27052
27175
  /**
27053
27176
  @method _addBeforeObserver
27054
- @for Ember
27177
+ @static
27178
+ @for @ember/object/observers
27055
27179
  @param obj
27056
27180
  @param {String} path
27057
27181
  @param {Object|Function} target
@@ -27076,7 +27200,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
27076
27200
 
27077
27201
  /**
27078
27202
  @method removeBeforeObserver
27079
- @for Ember
27203
+ @static
27204
+ @for @ember/object/observers
27080
27205
  @param obj
27081
27206
  @param {String} path
27082
27207
  @param {Object|Function} target
@@ -27093,7 +27218,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
27093
27218
 
27094
27219
  /**
27095
27220
  @module ember
27096
- @submodule ember-metal
27097
27221
  */
27098
27222
 
27099
27223
  // ..........................................................
@@ -27572,8 +27696,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
27572
27696
 
27573
27697
 
27574
27698
  /**
27575
- @module ember
27576
- @submodule ember-metal
27699
+ @module @ember/object
27577
27700
  */
27578
27701
  var a_concat = Array.prototype.concat;
27579
27702
  var isArray = Array.isArray;
@@ -27947,7 +28070,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
27947
28070
 
27948
28071
  /**
27949
28072
  @method mixin
27950
- @for Ember
27951
28073
  @param obj
27952
28074
  @param mixins*
27953
28075
  @return obj
@@ -27956,21 +28078,28 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
27956
28078
 
27957
28079
 
27958
28080
  /**
27959
- The `Ember.Mixin` class allows you to create mixins, whose properties can be
28081
+ The `Mixin` class allows you to create mixins, whose properties can be
27960
28082
  added to other classes. For instance,
27961
28083
 
27962
28084
  ```javascript
27963
- const EditableMixin = Ember.Mixin.create({
28085
+ import Mixin from '@ember/object/mixin';
28086
+
28087
+ const EditableMixin = Mixin.create({
27964
28088
  edit() {
27965
28089
  console.log('starting to edit');
27966
28090
  this.set('isEditing', true);
27967
28091
  },
27968
28092
  isEditing: false
27969
28093
  });
28094
+ ```
28095
+
28096
+ ```javascript
28097
+ import EmberObject from '@ember/object';
28098
+ import EditableMixin from '../mixins/editable';
27970
28099
 
27971
28100
  // Mix mixins into classes by passing them as the first arguments to
27972
28101
  // `.extend.`
27973
- const Comment = Ember.Object.extend(EditableMixin, {
28102
+ const Comment = EmberObject.extend(EditableMixin, {
27974
28103
  post: null
27975
28104
  });
27976
28105
 
@@ -27981,8 +28110,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
27981
28110
  comment.edit(); // outputs 'starting to edit'
27982
28111
  ```
27983
28112
 
27984
- Note that Mixins are created with `Ember.Mixin.create`, not
27985
- `Ember.Mixin.extend`.
28113
+ Note that Mixins are created with `Mixin.create`, not
28114
+ `Mixin.extend`.
27986
28115
 
27987
28116
  Note that mixins extend a constructor's prototype so arrays and object literals
27988
28117
  defined as properties will be shared amongst objects that implement the mixin.
@@ -27991,28 +28120,43 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
27991
28120
 
27992
28121
  ```javascript
27993
28122
  // filters array will be shared amongst any object implementing mixin
27994
- const FilterableMixin = Ember.Mixin.create({
27995
- filters: Ember.A()
28123
+ import Mixin from '@ember/object/mixin';
28124
+ import { A } from '@ember/array';
28125
+
28126
+ const FilterableMixin = Mixin.create({
28127
+ filters: A()
27996
28128
  });
28129
+ ```
28130
+
28131
+ ```javascript
28132
+ import Mixin from '@ember/object/mixin';
28133
+ import { A } from '@ember/array';
28134
+ import { computed } from '@ember/object';
27997
28135
 
27998
28136
  // filters will be a separate array for every object implementing the mixin
27999
- const FilterableMixin = Ember.Mixin.create({
28000
- filters: Ember.computed(function() {
28001
- return Ember.A();
28137
+ const FilterableMixin = Mixin.create({
28138
+ filters: computed(function() {
28139
+ return A();
28002
28140
  })
28003
28141
  });
28142
+ ```
28143
+
28144
+ ```javascript
28145
+ import Mixin from '@ember/object/mixin';
28146
+ import { A } from '@ember/array';
28004
28147
 
28005
28148
  // filters will be created as a separate array during the object's initialization
28006
- const Filterable = Ember.Mixin.create({
28149
+ const Filterable = Mixin.create({
28150
+ filters: null,
28151
+
28007
28152
  init() {
28008
28153
  this._super(...arguments);
28009
- this.set("filters", Ember.A());
28154
+ this.set("filters", A());
28010
28155
  }
28011
28156
  });
28012
28157
  ```
28013
28158
 
28014
28159
  @class Mixin
28015
- @namespace Ember
28016
28160
  @public
28017
28161
  */
28018
28162
 
@@ -28063,6 +28207,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
28063
28207
 
28064
28208
  /**
28065
28209
  @method create
28210
+ @for @ember/object/mixin
28066
28211
  @static
28067
28212
  @param arguments*
28068
28213
  @public
@@ -28084,7 +28229,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
28084
28229
  };
28085
28230
 
28086
28231
  // returns the mixins currently applied to the specified object
28087
- // TODO: Make Ember.mixin
28232
+ // TODO: Make `mixin`
28088
28233
 
28089
28234
 
28090
28235
  Mixin.mixins = function (obj) {
@@ -28298,7 +28443,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
28298
28443
  ```
28299
28444
 
28300
28445
  @method aliasMethod
28301
- @for Ember
28446
+ @static
28447
+ @for @ember/object
28302
28448
  @param {String} methodName name of the method to alias
28303
28449
  @public
28304
28450
  */
@@ -28312,8 +28458,11 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
28312
28458
  Specify a method that observes property changes.
28313
28459
 
28314
28460
  ```javascript
28315
- Ember.Object.extend({
28316
- valueObserver: Ember.observer('value', function() {
28461
+ import EmberObject from '@ember/object';
28462
+ import { observer } from '@ember/object';
28463
+
28464
+ export default EmberObject.extend({
28465
+ valueObserver: observer('value', function() {
28317
28466
  // Executes whenever the "value" property changes
28318
28467
  })
28319
28468
  });
@@ -28323,11 +28472,12 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
28323
28472
  enabled.
28324
28473
 
28325
28474
  @method observer
28326
- @for Ember
28475
+ @for @ember/object
28327
28476
  @param {String} propertyNames*
28328
28477
  @param {Function} func
28329
28478
  @return func
28330
28479
  @public
28480
+ @static
28331
28481
  */
28332
28482
  function observer() {
28333
28483
  var _paths = void 0,
@@ -28343,7 +28493,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
28343
28493
 
28344
28494
  if (typeof args[args.length - 1] !== 'function') {
28345
28495
  // revert to old, soft-deprecated argument ordering
28346
- false && !false && emberDebug.deprecate('Passing the dependentKeys after the callback function in Ember.observer is deprecated. Ensure the callback function is the last argument.', false, { id: 'ember-metal.observer-argument-order', until: '3.0.0' });
28496
+ false && !false && emberDebug.deprecate('Passing the dependentKeys after the callback function in observer is deprecated. Ensure the callback function is the last argument.', false, { id: 'ember-metal.observer-argument-order', until: '3.0.0' });
28347
28497
 
28348
28498
  func = args.shift();
28349
28499
  _paths = args;
@@ -28352,10 +28502,10 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
28352
28502
  _paths = args;
28353
28503
  }
28354
28504
 
28355
- false && !(typeof func === 'function') && emberDebug.assert('Ember.observer called without a function', typeof func === 'function');
28505
+ false && !(typeof func === 'function') && emberDebug.assert('observer called without a function', typeof func === 'function');
28356
28506
  false && !(_paths.length > 0 && _paths.every(function (p) {
28357
28507
  return typeof p === 'string' && p.length;
28358
- })) && emberDebug.assert('Ember.observer called without valid path', _paths.length > 0 && _paths.every(function (p) {
28508
+ })) && emberDebug.assert('observer called without valid path', _paths.length > 0 && _paths.every(function (p) {
28359
28509
  return typeof p === 'string' && p.length;
28360
28510
  }));
28361
28511
 
@@ -28376,15 +28526,17 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
28376
28526
  Specify a method that observes property changes.
28377
28527
 
28378
28528
  ```javascript
28379
- Ember.Object.extend({
28529
+ import EmberObject from '@ember/object';
28530
+
28531
+ EmberObject.extend({
28380
28532
  valueObserver: Ember.immediateObserver('value', function() {
28381
28533
  // Executes whenever the "value" property changes
28382
28534
  })
28383
28535
  });
28384
28536
  ```
28385
28537
 
28386
- In the future, `Ember.observer` may become asynchronous. In this event,
28387
- `Ember.immediateObserver` will maintain the synchronous behavior.
28538
+ In the future, `observer` may become asynchronous. In this event,
28539
+ `immediateObserver` will maintain the synchronous behavior.
28388
28540
 
28389
28541
  Also available as `Function.prototype.observesImmediately` if prototype extensions are
28390
28542
  enabled.
@@ -28393,7 +28545,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
28393
28545
  @for Ember
28394
28546
  @param {String} propertyNames*
28395
28547
  @param {Function} func
28396
- @deprecated Use `Ember.observer` instead.
28548
+ @deprecated Use `observer` instead.
28397
28549
  @return func
28398
28550
  @private
28399
28551
  */
@@ -28417,6 +28569,11 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
28417
28569
  */
28418
28570
 
28419
28571
 
28572
+ /**
28573
+ @module ember
28574
+ @private
28575
+ */
28576
+
28420
28577
  /**
28421
28578
  Read-only property that returns the result of a container lookup.
28422
28579
 
@@ -28440,7 +28597,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
28440
28597
  var desc = this[keyName];
28441
28598
  var owner = emberUtils.getOwner(this) || this.container; // fallback to `container` for backwards compat
28442
28599
 
28443
- false && !(desc && desc.isDescriptor && desc.type) && emberDebug.assert('InjectedProperties should be defined with the Ember.inject computed property macros.', desc && desc.isDescriptor && desc.type);
28600
+ false && !(desc && desc.isDescriptor && desc.type) && emberDebug.assert('InjectedProperties should be defined with the inject computed property macros.', desc && desc.isDescriptor && desc.type);
28444
28601
  false && !owner && emberDebug.assert('Attempting to lookup an injected property on an object without a container, ensure that the object was instantiated via a container.', owner);
28445
28602
 
28446
28603
  return owner.lookup(desc.type + ':' + (desc.name || keyName));
@@ -28489,11 +28646,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
28489
28646
  return Descriptor$$1;
28490
28647
  }(Descriptor);
28491
28648
 
28492
- /**
28493
- @module ember
28494
- @submodule ember-metal
28495
- */
28496
-
28497
28649
  exports['default'] = Ember;
28498
28650
  exports.computed = function () {
28499
28651
  for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
@@ -28676,10 +28828,10 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
28676
28828
  _key;
28677
28829
  var events = args;
28678
28830
 
28679
- false && !(typeof func === 'function') && emberDebug.assert('Ember.on expects function as last argument', typeof func === 'function');
28831
+ false && !(typeof func === 'function') && emberDebug.assert('on expects function as last argument', typeof func === 'function');
28680
28832
  false && !(events.length > 0 && events.every(function (p) {
28681
28833
  return typeof p === 'string' && p.length;
28682
- })) && emberDebug.assert('Ember.on called without valid event names', events.length > 0 && events.every(function (p) {
28834
+ })) && emberDebug.assert('on called without valid event names', events.length > 0 && events.every(function (p) {
28683
28835
  return typeof p === 'string' && p.length;
28684
28836
  }));
28685
28837
 
@@ -28800,7 +28952,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
28800
28952
  exports._immediateObserver = function () {
28801
28953
  var i, arg;
28802
28954
 
28803
- false && !false && emberDebug.deprecate('Usage of `Ember.immediateObserver` is deprecated, use `Ember.observer` instead.', false, { id: 'ember-metal.immediate-observer', until: '3.0.0' });
28955
+ false && !false && emberDebug.deprecate('Usage of `Ember.immediateObserver` is deprecated, use `observer` instead.', false, { id: 'ember-metal.immediate-observer', until: '3.0.0' });
28804
28956
 
28805
28957
  for (i = 0; i < arguments.length; i++) {
28806
28958
  arg = arguments[i];
@@ -28951,7 +29103,6 @@ enifed('ember-routing/ext/controller', ['exports', 'ember-metal', 'ember-runtime
28951
29103
 
28952
29104
  /**
28953
29105
  @module ember
28954
- @submodule ember-routing
28955
29106
  */
28956
29107
 
28957
29108
  _emberRuntime.ControllerMixin.reopen({
@@ -29035,11 +29186,6 @@ enifed('ember-routing/ext/controller', ['exports', 'ember-metal', 'ember-runtime
29035
29186
  enifed('ember-routing/ext/run_loop', ['ember-metal'], function (_emberMetal) {
29036
29187
  'use strict';
29037
29188
 
29038
- /**
29039
- @module ember
29040
- @submodule ember-views
29041
- */
29042
-
29043
29189
  // Add a new named queue after the 'actions' queue (where RSVP promises
29044
29190
  // resolve), which is used in router transitions to prevent unnecessary
29045
29191
  // loading state entry if all context promises resolve on the
@@ -29584,8 +29730,7 @@ enifed('ember-routing/location/history_location', ['exports', 'ember-metal', 'em
29584
29730
  'use strict';
29585
29731
 
29586
29732
  /**
29587
- @module ember
29588
- @submodule ember-routing
29733
+ @module @ember/routing
29589
29734
  */
29590
29735
 
29591
29736
  var popstateFired = false;
@@ -29626,8 +29771,7 @@ enifed('ember-routing/location/history_location', ['exports', 'ember-metal', 'em
29626
29771
  define.
29627
29772
 
29628
29773
  @class HistoryLocation
29629
- @namespace Ember
29630
- @extends Ember.Object
29774
+ @extends EmberObject
29631
29775
  @protected
29632
29776
  */
29633
29777
  exports.default = _emberRuntime.Object.extend({
@@ -30082,7 +30226,6 @@ enifed('ember-routing/services/router', ['exports', 'ember-runtime', 'ember-rout
30082
30226
  */
30083
30227
  /**
30084
30228
  @module ember
30085
- @submodule ember-routing
30086
30229
  */
30087
30230
 
30088
30231
  var RouterService = _emberRuntime.Service.extend({
@@ -30380,7 +30523,6 @@ enifed("ember-routing/system/controller_for", ["exports"], function (exports) {
30380
30523
  exports.default =
30381
30524
  /**
30382
30525
  @module ember
30383
- @submodule ember-routing
30384
30526
  */
30385
30527
 
30386
30528
  /**
@@ -30397,11 +30539,6 @@ enifed("ember-routing/system/controller_for", ["exports"], function (exports) {
30397
30539
  enifed('ember-routing/system/dsl', ['exports', 'ember-utils', 'ember-debug'], function (exports, _emberUtils, _emberDebug) {
30398
30540
  'use strict';
30399
30541
 
30400
- /**
30401
- @module ember
30402
- @submodule ember-routing
30403
- */
30404
-
30405
30542
  var uuid = 0;
30406
30543
 
30407
30544
  var DSL = function () {
@@ -30660,7 +30797,6 @@ enifed('ember-routing/system/generate_controller', ['exports', 'ember-metal', 'e
30660
30797
 
30661
30798
  /**
30662
30799
  @module ember
30663
- @submodule ember-routing
30664
30800
  */
30665
30801
 
30666
30802
  /**
@@ -30702,8 +30838,7 @@ enifed('ember-routing/system/route', ['exports', 'ember-utils', 'ember-metal', '
30702
30838
  }
30703
30839
 
30704
30840
  /**
30705
- @module ember
30706
- @submodule ember-routing
30841
+ @module @ember/routing
30707
30842
  */
30708
30843
 
30709
30844
  /**
@@ -30711,10 +30846,9 @@ enifed('ember-routing/system/route', ['exports', 'ember-utils', 'ember-metal', '
30711
30846
  the [routing guide](https://emberjs.com/guides/routing/) for documentation.
30712
30847
 
30713
30848
  @class Route
30714
- @namespace Ember
30715
- @extends Ember.Object
30849
+ @extends EmberObject
30716
30850
  @uses Ember.ActionHandler
30717
- @uses Ember.Evented
30851
+ @uses Evented
30718
30852
  @since 1.0.0
30719
30853
  @public
30720
30854
  */
@@ -30784,7 +30918,7 @@ enifed('ember-routing/system/route', ['exports', 'ember-utils', 'ember-metal', '
30784
30918
  }
30785
30919
  ```
30786
30920
  @property queryParams
30787
- @for Ember.Route
30921
+ @for Route
30788
30922
  @type Object
30789
30923
  @since 1.6.0
30790
30924
  @public
@@ -31185,7 +31319,7 @@ enifed('ember-routing/system/route', ['exports', 'ember-utils', 'ember-metal', '
31185
31319
  ```
31186
31320
  @event loading
31187
31321
  @param {Transition} transition
31188
- @param {Ember.Route} route The route that triggered the loading event
31322
+ @param {Route} route The route that triggered the loading event
31189
31323
  @since 1.2.0
31190
31324
  @public
31191
31325
  */
@@ -31294,7 +31428,7 @@ enifed('ember-routing/system/route', ['exports', 'ember-utils', 'ember-metal', '
31294
31428
  });
31295
31429
  ```
31296
31430
  @property controller
31297
- @type Ember.Controller
31431
+ @type Controller
31298
31432
  @since 1.6.0
31299
31433
  @public
31300
31434
  */
@@ -31365,7 +31499,10 @@ enifed('ember-routing/system/route', ['exports', 'ember-utils', 'ember-metal', '
31365
31499
  } else {
31366
31500
  if (presentKey) {
31367
31501
  svalue = params[presentKey];
31368
- value = route.deserializeQueryParam(svalue, qp.urlKey, qp.type);
31502
+
31503
+ if (svalue !== undefined) {
31504
+ value = route.deserializeQueryParam(svalue, qp.urlKey, qp.type);
31505
+ }
31369
31506
  } else {
31370
31507
  // No QP provided; use default value.
31371
31508
  svalue = qp.serializedDefaultValue;
@@ -32133,8 +32270,7 @@ enifed('ember-routing/system/router', ['exports', 'ember-utils', 'ember-console'
32133
32270
  }
32134
32271
 
32135
32272
  /**
32136
- @module ember
32137
- @submodule ember-routing
32273
+ @module @ember/routing
32138
32274
  */
32139
32275
 
32140
32276
  var slice = Array.prototype.slice;
@@ -32144,9 +32280,8 @@ enifed('ember-routing/system/router', ['exports', 'ember-utils', 'ember-console'
32144
32280
  the [routing guide](https://emberjs.com/guides/routing/) for documentation.
32145
32281
 
32146
32282
  @class Router
32147
- @namespace Ember
32148
- @extends Ember.Object
32149
- @uses Ember.Evented
32283
+ @extends EmberObject
32284
+ @uses Evented
32150
32285
  @public
32151
32286
  */
32152
32287
  var EmberRouter = _emberRuntime.Object.extend(_emberRuntime.Evented, {
@@ -32161,7 +32296,7 @@ enifed('ember-routing/system/router', ['exports', 'ember-utils', 'ember-console'
32161
32296
  This value is defaulted to `auto` by the `locationType` setting of `/config/environment.js`
32162
32297
  @property location
32163
32298
  @default 'hash'
32164
- @see {Ember.Location}
32299
+ @see {Location}
32165
32300
  @public
32166
32301
  */
32167
32302
  location: 'hash',
@@ -32639,7 +32774,9 @@ enifed('ember-routing/system/router', ['exports', 'ember-utils', 'ember-console'
32639
32774
  });
32640
32775
  },
32641
32776
  _serializeQueryParam: function (value, type) {
32642
- if (type === 'array') {
32777
+ if (value === null || value === undefined) {
32778
+ return value;
32779
+ } else if (type === 'array') {
32643
32780
  return JSON.stringify(value);
32644
32781
  }
32645
32782
 
@@ -32656,7 +32793,9 @@ enifed('ember-routing/system/router', ['exports', 'ember-utils', 'ember-console'
32656
32793
  });
32657
32794
  },
32658
32795
  _deserializeQueryParam: function (value, defaultType) {
32659
- if (defaultType === 'boolean') {
32796
+ if (value === null || value === undefined) {
32797
+ return value;
32798
+ } else if (defaultType === 'boolean') {
32660
32799
  return value === 'true';
32661
32800
  } else if (defaultType === 'number') {
32662
32801
  return Number(value).valueOf();
@@ -32851,7 +32990,7 @@ enifed('ember-routing/system/router', ['exports', 'ember-utils', 'ember-console'
32851
32990
  return true;
32852
32991
  }
32853
32992
 
32854
- if (_fromRouterService) {
32993
+ if (_fromRouterService && presentProp !== false) {
32855
32994
  return false;
32856
32995
  }
32857
32996
 
@@ -32859,7 +32998,7 @@ enifed('ember-routing/system/router', ['exports', 'ember-utils', 'ember-console'
32859
32998
  }() && (0, _emberDebug.assert)('You passed the `' + presentProp + '` query parameter during a transition into ' + qp.route.routeName + ', please update to ' + qp.urlKey, function () {
32860
32999
  if (qp.urlKey === presentProp) {
32861
33000
  return true;
32862
- }if (_fromRouterService) {
33001
+ }if (_fromRouterService && presentProp !== false) {
32863
33002
  return false;
32864
33003
  }return true;
32865
33004
  }());
@@ -33141,7 +33280,7 @@ enifed('ember-routing/system/router', ['exports', 'ember-utils', 'ember-console'
33141
33280
 
33142
33281
  @private
33143
33282
  @param {Owner} owner
33144
- @param {Ember.Router} router
33283
+ @param {Router} router
33145
33284
  @param {String} localName
33146
33285
  @param {String} fullName
33147
33286
  @return {Boolean}
@@ -33908,9 +34047,10 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
33908
34047
 
33909
34048
  @since 1.6.0
33910
34049
  @method empty
33911
- @for Ember.computed
34050
+ @static
34051
+ @for @ember/object/computed
33912
34052
  @param {String} dependentKey
33913
- @return {Ember.ComputedProperty} computed property which negate
34053
+ @return {ComputedProperty} computed property which negate
33914
34054
  the original value for property
33915
34055
  @public
33916
34056
  */
@@ -33939,9 +34079,10 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
33939
34079
  ```
33940
34080
 
33941
34081
  @method notEmpty
33942
- @for Ember.computed
34082
+ @static
34083
+ @for @ember/object/computed
33943
34084
  @param {String} dependentKey
33944
- @return {Ember.ComputedProperty} computed property which returns true if
34085
+ @return {ComputedProperty} computed property which returns true if
33945
34086
  original value for property is not empty.
33946
34087
  @public
33947
34088
  */
@@ -33974,9 +34115,10 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
33974
34115
  ```
33975
34116
 
33976
34117
  @method none
33977
- @for Ember.computed
34118
+ @static
34119
+ @for @ember/object/computed
33978
34120
  @param {String} dependentKey
33979
- @return {Ember.ComputedProperty} computed property which
34121
+ @return {ComputedProperty} computed property which
33980
34122
  returns true if original value for property is null or undefined.
33981
34123
  @public
33982
34124
  */
@@ -34006,9 +34148,10 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34006
34148
  ```
34007
34149
 
34008
34150
  @method not
34009
- @for Ember.computed
34151
+ @static
34152
+ @for @ember/object/computed
34010
34153
  @param {String} dependentKey
34011
- @return {Ember.ComputedProperty} computed property which returns
34154
+ @return {ComputedProperty} computed property which returns
34012
34155
  inverse of the original value for property
34013
34156
  @public
34014
34157
  */
@@ -34040,9 +34183,10 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34040
34183
  ```
34041
34184
 
34042
34185
  @method bool
34043
- @for Ember.computed
34186
+ @static
34187
+ @for @ember/object/computed
34044
34188
  @param {String} dependentKey
34045
- @return {Ember.ComputedProperty} computed property which converts
34189
+ @return {ComputedProperty} computed property which converts
34046
34190
  to boolean the original value for property
34047
34191
  @public
34048
34192
  */
@@ -34075,10 +34219,11 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34075
34219
  ```
34076
34220
 
34077
34221
  @method match
34078
- @for Ember.computed
34222
+ @static
34223
+ @for @ember/object/computed
34079
34224
  @param {String} dependentKey
34080
34225
  @param {RegExp} regexp
34081
- @return {Ember.ComputedProperty} computed property which match
34226
+ @return {ComputedProperty} computed property which match
34082
34227
  the original value for property against a given RegExp
34083
34228
  @public
34084
34229
  */
@@ -34111,10 +34256,11 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34111
34256
  ```
34112
34257
 
34113
34258
  @method equal
34114
- @for Ember.computed
34259
+ @static
34260
+ @for @ember/object/computed
34115
34261
  @param {String} dependentKey
34116
34262
  @param {String|Number|Object} value
34117
- @return {Ember.ComputedProperty} computed property which returns true if
34263
+ @return {ComputedProperty} computed property which returns true if
34118
34264
  the original value for property is equal to the given value.
34119
34265
  @public
34120
34266
  */
@@ -34146,10 +34292,11 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34146
34292
  ```
34147
34293
 
34148
34294
  @method gt
34149
- @for Ember.computed
34295
+ @static
34296
+ @for @ember/object/computed
34150
34297
  @param {String} dependentKey
34151
34298
  @param {Number} value
34152
- @return {Ember.ComputedProperty} computed property which returns true if
34299
+ @return {ComputedProperty} computed property which returns true if
34153
34300
  the original value for property is greater than given value.
34154
34301
  @public
34155
34302
  */
@@ -34181,10 +34328,11 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34181
34328
  ```
34182
34329
 
34183
34330
  @method gte
34184
- @for Ember.computed
34331
+ @static
34332
+ @for @ember/object/computed
34185
34333
  @param {String} dependentKey
34186
34334
  @param {Number} value
34187
- @return {Ember.ComputedProperty} computed property which returns true if
34335
+ @return {ComputedProperty} computed property which returns true if
34188
34336
  the original value for property is greater or equal then given value.
34189
34337
  @public
34190
34338
  */
@@ -34216,10 +34364,11 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34216
34364
  ```
34217
34365
 
34218
34366
  @method lt
34219
- @for Ember.computed
34367
+ @static
34368
+ @for @ember/object/computed
34220
34369
  @param {String} dependentKey
34221
34370
  @param {Number} value
34222
- @return {Ember.ComputedProperty} computed property which returns true if
34371
+ @return {ComputedProperty} computed property which returns true if
34223
34372
  the original value for property is less then given value.
34224
34373
  @public
34225
34374
  */
@@ -34251,10 +34400,11 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34251
34400
  ```
34252
34401
 
34253
34402
  @method lte
34254
- @for Ember.computed
34403
+ @static
34404
+ @for @ember/object/computed
34255
34405
  @param {String} dependentKey
34256
34406
  @param {Number} value
34257
- @return {Ember.ComputedProperty} computed property which returns true if
34407
+ @return {ComputedProperty} computed property which returns true if
34258
34408
  the original value for property is less or equal than given value.
34259
34409
  @public
34260
34410
  */
@@ -34296,9 +34446,10 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34296
34446
  ```
34297
34447
 
34298
34448
  @method and
34299
- @for Ember.computed
34449
+ @static
34450
+ @for @ember/object/computed
34300
34451
  @param {String} dependentKey*
34301
- @return {Ember.ComputedProperty} computed property which performs
34452
+ @return {ComputedProperty} computed property which performs
34302
34453
  a logical `and` on the values of all the original values for properties.
34303
34454
  @public
34304
34455
  */
@@ -34326,9 +34477,10 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34326
34477
  ```
34327
34478
 
34328
34479
  @method alias
34329
- @for Ember.computed
34480
+ @static
34481
+ @for @ember/object/computed
34330
34482
  @param {String} dependentKey
34331
- @return {Ember.ComputedProperty} computed property which creates an
34483
+ @return {ComputedProperty} computed property which creates an
34332
34484
  alias to the original value for property.
34333
34485
  @public
34334
34486
  */
@@ -34360,9 +34512,10 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34360
34512
  ```
34361
34513
 
34362
34514
  @method oneWay
34363
- @for Ember.computed
34515
+ @static
34516
+ @for @ember/object/computed
34364
34517
  @param {String} dependentKey
34365
- @return {Ember.ComputedProperty} computed property which creates a
34518
+ @return {ComputedProperty} computed property which creates a
34366
34519
  one way computed property to the original value for property.
34367
34520
  @public
34368
34521
  */
@@ -34375,9 +34528,10 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34375
34528
  whose name is somewhat ambiguous as to which direction the data flows.
34376
34529
 
34377
34530
  @method reads
34378
- @for Ember.computed
34531
+ @static
34532
+ @for @ember/object/computed
34379
34533
  @param {String} dependentKey
34380
- @return {Ember.ComputedProperty} computed property which creates a
34534
+ @return {ComputedProperty} computed property which creates a
34381
34535
  one way computed property to the original value for property.
34382
34536
  @public
34383
34537
  */
@@ -34410,9 +34564,10 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34410
34564
  ```
34411
34565
 
34412
34566
  @method readOnly
34413
- @for Ember.computed
34567
+ @static
34568
+ @for @ember/object/computed
34414
34569
  @param {String} dependentKey
34415
- @return {Ember.ComputedProperty} computed property which creates a
34570
+ @return {ComputedProperty} computed property which creates a
34416
34571
  one way computed property to the original value for property.
34417
34572
  @since 1.5.0
34418
34573
  @public
@@ -34443,10 +34598,11 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34443
34598
  ```
34444
34599
 
34445
34600
  @method deprecatingAlias
34446
- @for Ember.computed
34601
+ @static
34602
+ @for @ember/object/computed
34447
34603
  @param {String} dependentKey
34448
34604
  @param {Object} options Options for `Ember.deprecate`.
34449
- @return {Ember.ComputedProperty} computed property which creates an
34605
+ @return {ComputedProperty} computed property which creates an
34450
34606
  alias with a deprecation to the original value for property.
34451
34607
  @since 1.7.0
34452
34608
  @public
@@ -34469,8 +34625,7 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34469
34625
  };
34470
34626
 
34471
34627
  /**
34472
- @module ember
34473
- @submodule ember-metal
34628
+ @module @ember/object
34474
34629
  */
34475
34630
 
34476
34631
  function expandPropertiesToArray(predicateName, properties) {
@@ -34555,9 +34710,10 @@ enifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'emb
34555
34710
  ```
34556
34711
 
34557
34712
  @method or
34558
- @for Ember.computed
34713
+ @static
34714
+ @for @ember/object/computed
34559
34715
  @param {String} dependentKey*
34560
- @return {Ember.ComputedProperty} computed property which performs
34716
+ @return {ComputedProperty} computed property which performs
34561
34717
  a logical `or` on the values of all the original values for properties.
34562
34718
  @public
34563
34719
  */
@@ -34577,7 +34733,8 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
34577
34733
  in the dependent array.
34578
34734
 
34579
34735
  @method sum
34580
- @for Ember.computed
34736
+ @for @ember/object/computed
34737
+ @static
34581
34738
  @param {String} dependentKey
34582
34739
  @return {Ember.ComputedProperty} computes the sum of all values in the dependentKey's array
34583
34740
  @since 1.4.0
@@ -34625,7 +34782,8 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
34625
34782
  This behavior is consistent with `Math.max`.
34626
34783
 
34627
34784
  @method max
34628
- @for Ember.computed
34785
+ @for @ember/object/computed
34786
+ @static
34629
34787
  @param {String} dependentKey
34630
34788
  @return {Ember.ComputedProperty} computes the largest value in the dependentKey's array
34631
34789
  @public
@@ -34673,7 +34831,8 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
34673
34831
  This behavior is consistent with `Math.min`.
34674
34832
 
34675
34833
  @method min
34676
- @for Ember.computed
34834
+ @for @ember/object/computed
34835
+ @static
34677
34836
  @param {String} dependentKey
34678
34837
  @return {Ember.ComputedProperty} computes the smallest value in the dependentKey's array
34679
34838
  @public
@@ -34713,7 +34872,8 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
34713
34872
  ```
34714
34873
 
34715
34874
  @method map
34716
- @for Ember.computed
34875
+ @for @ember/object/computed
34876
+ @static
34717
34877
  @param {String} dependentKey
34718
34878
  @param {Function} callback
34719
34879
  @return {Ember.ComputedProperty} an array mapped via the callback
@@ -34747,7 +34907,8 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
34747
34907
  ```
34748
34908
 
34749
34909
  @method mapBy
34750
- @for Ember.computed
34910
+ @for @ember/object/computed
34911
+ @static
34751
34912
  @param {String} dependentKey
34752
34913
  @param {String} propertyKey
34753
34914
  @return {Ember.ComputedProperty} an array mapped to the specified key
@@ -34814,7 +34975,8 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
34814
34975
 
34815
34976
 
34816
34977
  @method filter
34817
- @for Ember.computed
34978
+ @for @ember/object/computed
34979
+ @static
34818
34980
  @param {String} dependentKey
34819
34981
  @param {Function} callback
34820
34982
  @return {Ember.ComputedProperty} the filtered array
@@ -34844,7 +35006,8 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
34844
35006
  ```
34845
35007
 
34846
35008
  @method filterBy
34847
- @for Ember.computed
35009
+ @for @ember/object/computed
35010
+ @static
34848
35011
  @param {String} dependentKey
34849
35012
  @param {String} propertyKey
34850
35013
  @param {*} value
@@ -34891,7 +35054,8 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
34891
35054
  ```
34892
35055
 
34893
35056
  @method uniq
34894
- @for Ember.computed
35057
+ @for @ember/object/computed
35058
+ @static
34895
35059
  @param {String} propertyKey*
34896
35060
  @return {Ember.ComputedProperty} computes a new array with all the
34897
35061
  unique elements from the dependent array
@@ -34923,7 +35087,8 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
34923
35087
  ```
34924
35088
 
34925
35089
  @method uniqBy
34926
- @for Ember.computed
35090
+ @for @ember/object/computed
35091
+ @static
34927
35092
  @param {String} dependentKey
34928
35093
  @param {String} propertyKey
34929
35094
  @return {Ember.ComputedProperty} computes a new array with all the
@@ -34980,7 +35145,8 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
34980
35145
  ```
34981
35146
 
34982
35147
  @method union
34983
- @for Ember.computed
35148
+ @for @ember/object/computed
35149
+ @static
34984
35150
  @param {String} propertyKey*
34985
35151
  @return {Ember.ComputedProperty} computes a new array with all the
34986
35152
  unique elements from the dependent array
@@ -35007,7 +35173,8 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
35007
35173
  ```
35008
35174
 
35009
35175
  @method intersect
35010
- @for Ember.computed
35176
+ @for @ember/object/computed
35177
+ @static
35011
35178
  @param {String} propertyKey*
35012
35179
  @return {Ember.ComputedProperty} computes a new array with all the
35013
35180
  duplicated elements from the dependent arrays
@@ -35078,7 +35245,8 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
35078
35245
  ```
35079
35246
 
35080
35247
  @method setDiff
35081
- @for Ember.computed
35248
+ @for @ember/object/computed
35249
+ @static
35082
35250
  @param {String} setAProperty
35083
35251
  @param {String} setBProperty
35084
35252
  @return {Ember.ComputedProperty} computes a new array with all the
@@ -35132,7 +35300,8 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
35132
35300
  ```
35133
35301
 
35134
35302
  @method collect
35135
- @for Ember.computed
35303
+ @for @ember/object/computed
35304
+ @static
35136
35305
  @param {String} dependentKey*
35137
35306
  @return {Ember.ComputedProperty} computed property which maps
35138
35307
  values of all passed in properties to an array.
@@ -35219,7 +35388,8 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
35219
35388
  ```
35220
35389
 
35221
35390
  @method sort
35222
- @for Ember.computed
35391
+ @for @ember/object/computed
35392
+ @static
35223
35393
  @param {String} itemsKey
35224
35394
  @param {String or Function} sortDefinition a dependent key to an
35225
35395
  array of sort properties (add `:desc` to the arrays sort properties to sort descending) or a function to use when sorting
@@ -35238,8 +35408,7 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
35238
35408
  }
35239
35409
  };
35240
35410
  /**
35241
- @module ember
35242
- @submodule ember-runtime
35411
+ @module @ember/object
35243
35412
  */
35244
35413
 
35245
35414
  function reduceMacro(dependentKey, callback, initialValue) {
@@ -35356,12 +35525,6 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
35356
35525
  });
35357
35526
  }
35358
35527
 
35359
- var itemsKeyIsAtThis = itemsKey === '@this';
35360
- var items = itemsKeyIsAtThis ? this : (0, _emberMetal.get)(this, itemsKey);
35361
- if (!(0, _utils.isArray)(items)) {
35362
- return (0, _native_array.A)();
35363
- }
35364
-
35365
35528
  function sortPropertyDidChange() {
35366
35529
  this.notifyPropertyChange(key);
35367
35530
  }
@@ -35377,6 +35540,12 @@ enifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils
35377
35540
 
35378
35541
  activeObserversMap.set(this, activeObservers);
35379
35542
 
35543
+ var itemsKeyIsAtThis = itemsKey === '@this';
35544
+ var items = itemsKeyIsAtThis ? this : (0, _emberMetal.get)(this, itemsKey);
35545
+ if (!(0, _utils.isArray)(items)) {
35546
+ return (0, _native_array.A)();
35547
+ }
35548
+
35380
35549
  return sortByNormalizedSortProperties(items, normalizedSortProperties);
35381
35550
  }, { dependentKeys: [sortPropertiesKey + '.[]'], readOnly: true });
35382
35551
 
@@ -35417,14 +35586,12 @@ enifed('ember-runtime/controllers/controller', ['exports', 'ember-debug', 'ember
35417
35586
  'use strict';
35418
35587
 
35419
35588
  /**
35420
- @module ember
35421
- @submodule ember-runtime
35589
+ @module @ember/controller
35422
35590
  */
35423
35591
 
35424
35592
  /**
35425
35593
  @class Controller
35426
- @namespace Ember
35427
- @extends Ember.Object
35594
+ @extends EmberObject
35428
35595
  @uses Ember.ControllerMixin
35429
35596
  @public
35430
35597
  */
@@ -35451,21 +35618,12 @@ enifed('ember-runtime/controllers/controller', ['exports', 'ember-debug', 'ember
35451
35618
 
35452
35619
  This example will create a `posts` property on the `post` controller that
35453
35620
  looks up the `posts` controller in the container, making it easy to
35454
- reference other controllers. This is functionally equivalent to:
35621
+ reference other controllers.
35455
35622
 
35456
- ```app/controllers/post.js
35457
- import Controller from '@ember/controller';
35458
- import { alias } from '@ember/object/computed';
35459
-
35460
- export default Controller.extend({
35461
- needs: 'posts',
35462
- posts: alias('controllers.posts')
35463
- });
35464
- ```
35465
-
35466
- @method controller
35623
+ @method inject
35624
+ @static
35625
+ @for @ember/controller
35467
35626
  @since 1.10.0
35468
- @for Ember.inject
35469
35627
  @param {String} name (optional) name of the controller to inject, defaults
35470
35628
  to the property's name
35471
35629
  @return {Ember.InjectedProperty} injection descriptor instance
@@ -35494,7 +35652,8 @@ enifed('ember-runtime/copy', ['exports', 'ember-debug', 'ember-runtime/system/ob
35494
35652
  is simply returned.
35495
35653
 
35496
35654
  @method copy
35497
- @for Ember
35655
+ @static
35656
+ @for @ember/object/internals
35498
35657
  @param {Object} obj The object to clone
35499
35658
  @param {Boolean} [deep=false] If true, a deep copy of the object is made.
35500
35659
  @return {Object} The copied object
@@ -35513,6 +35672,9 @@ enifed('ember-runtime/copy', ['exports', 'ember-debug', 'ember-runtime/system/ob
35513
35672
  return _copy(obj, deep, deep ? [] : null, deep ? [] : null);
35514
35673
  };
35515
35674
 
35675
+ /**
35676
+ @module @ember/object
35677
+ */
35516
35678
  function _copy(obj, deep, seen, copies) {
35517
35679
  var ret = void 0,
35518
35680
  loc = void 0,
@@ -35578,7 +35740,6 @@ enifed('ember-runtime/ext/function', ['ember-environment', 'ember-metal', 'ember
35578
35740
 
35579
35741
  var FunctionPrototype = Function.prototype; /**
35580
35742
  @module ember
35581
- @submodule ember-runtime
35582
35743
  */
35583
35744
 
35584
35745
  if (_emberEnvironment.ENV.EXTEND_PROTOTYPES.Function) {
@@ -35652,7 +35813,7 @@ enifed('ember-runtime/ext/function', ['ember-environment', 'ember-metal', 'ember
35652
35813
  });
35653
35814
  ```
35654
35815
  In the future this method may become asynchronous.
35655
- See `Ember.observer`.
35816
+ See `observer`.
35656
35817
  @method observes
35657
35818
  @for Function
35658
35819
  @public
@@ -35796,8 +35957,7 @@ enifed('ember-runtime/ext/string', ['ember-environment', 'ember-runtime/system/s
35796
35957
  'use strict';
35797
35958
 
35798
35959
  /**
35799
- @module ember
35800
- @submodule ember-runtime
35960
+ @module @ember/string
35801
35961
  */
35802
35962
 
35803
35963
  var StringPrototype = String.prototype;
@@ -35806,7 +35966,8 @@ enifed('ember-runtime/ext/string', ['ember-environment', 'ember-runtime/system/s
35806
35966
  /**
35807
35967
  See [Ember.String.fmt](/api/classes/Ember.String.html#method_fmt).
35808
35968
  @method fmt
35809
- @for String
35969
+ @for @ember/string
35970
+ @static
35810
35971
  @private
35811
35972
  @deprecated
35812
35973
  */
@@ -35823,7 +35984,8 @@ enifed('ember-runtime/ext/string', ['ember-environment', 'ember-runtime/system/s
35823
35984
  /**
35824
35985
  See [Ember.String.w](/api/classes/Ember.String.html#method_w).
35825
35986
  @method w
35826
- @for String
35987
+ @for @ember/string
35988
+ @static
35827
35989
  @private
35828
35990
  */
35829
35991
  StringPrototype.w = function () {
@@ -35833,7 +35995,8 @@ enifed('ember-runtime/ext/string', ['ember-environment', 'ember-runtime/system/s
35833
35995
  /**
35834
35996
  See [Ember.String.loc](/api/classes/Ember.String.html#method_loc).
35835
35997
  @method loc
35836
- @for String
35998
+ @for @ember/string
35999
+ @static
35837
36000
  @private
35838
36001
  */
35839
36002
  StringPrototype.loc = function () {
@@ -35849,7 +36012,8 @@ enifed('ember-runtime/ext/string', ['ember-environment', 'ember-runtime/system/s
35849
36012
  /**
35850
36013
  See [Ember.String.camelize](/api/classes/Ember.String.html#method_camelize).
35851
36014
  @method camelize
35852
- @for String
36015
+ @for @ember/string
36016
+ @static
35853
36017
  @private
35854
36018
  */
35855
36019
  StringPrototype.camelize = function () {
@@ -35859,7 +36023,8 @@ enifed('ember-runtime/ext/string', ['ember-environment', 'ember-runtime/system/s
35859
36023
  /**
35860
36024
  See [Ember.String.decamelize](/api/classes/Ember.String.html#method_decamelize).
35861
36025
  @method decamelize
35862
- @for String
36026
+ @for @ember/string
36027
+ @static
35863
36028
  @private
35864
36029
  */
35865
36030
  StringPrototype.decamelize = function () {
@@ -35869,7 +36034,8 @@ enifed('ember-runtime/ext/string', ['ember-environment', 'ember-runtime/system/s
35869
36034
  /**
35870
36035
  See [Ember.String.dasherize](/api/classes/Ember.String.html#method_dasherize).
35871
36036
  @method dasherize
35872
- @for String
36037
+ @for @ember/string
36038
+ @static
35873
36039
  @private
35874
36040
  */
35875
36041
  StringPrototype.dasherize = function () {
@@ -35879,7 +36045,8 @@ enifed('ember-runtime/ext/string', ['ember-environment', 'ember-runtime/system/s
35879
36045
  /**
35880
36046
  See [Ember.String.underscore](/api/classes/Ember.String.html#method_underscore).
35881
36047
  @method underscore
35882
- @for String
36048
+ @for @ember/string
36049
+ @static
35883
36050
  @private
35884
36051
  */
35885
36052
  StringPrototype.underscore = function () {
@@ -35889,7 +36056,8 @@ enifed('ember-runtime/ext/string', ['ember-environment', 'ember-runtime/system/s
35889
36056
  /**
35890
36057
  See [Ember.String.classify](/api/classes/Ember.String.html#method_classify).
35891
36058
  @method classify
35892
- @for String
36059
+ @for @ember/string
36060
+ @static
35893
36061
  @private
35894
36062
  */
35895
36063
  StringPrototype.classify = function () {
@@ -35899,7 +36067,8 @@ enifed('ember-runtime/ext/string', ['ember-environment', 'ember-runtime/system/s
35899
36067
  /**
35900
36068
  See [Ember.String.capitalize](/api/classes/Ember.String.html#method_capitalize).
35901
36069
  @method capitalize
35902
- @for String
36070
+ @for @ember/string
36071
+ @static
35903
36072
  @private
35904
36073
  */
35905
36074
  StringPrototype.capitalize = function () {
@@ -36532,7 +36701,6 @@ enifed('ember-runtime/mixins/-proxy', ['exports', 'ember-babel', '@glimmer/refer
36532
36701
 
36533
36702
  /**
36534
36703
  @module ember
36535
- @submodule ember-runtime
36536
36704
  */
36537
36705
 
36538
36706
  function contentPropertyWillChange(content, contentKey) {
@@ -36670,7 +36838,6 @@ enifed('ember-runtime/mixins/action_handler', ['exports', 'ember-metal', 'ember-
36670
36838
  */
36671
36839
  /**
36672
36840
  @module ember
36673
- @submodule ember-runtime
36674
36841
  */
36675
36842
 
36676
36843
  var ActionHandler = _emberMetal.Mixin.create({
@@ -36754,15 +36921,14 @@ enifed('ember-runtime/mixins/array', ['exports', 'ember-utils', 'ember-metal', '
36754
36921
  contents in a KVO-friendly way. You can also be notified whenever the
36755
36922
  membership of an array changes by using `.observes('myArray.[]')`.
36756
36923
 
36757
- To support `Ember.Array` in your own class, you must override two
36924
+ To support `EmberArray` in your own class, you must override two
36758
36925
  primitives to use it: `length()` and `objectAt()`.
36759
36926
 
36760
- Note that the Ember.Array mixin also incorporates the `Ember.Enumerable`
36761
- mixin. All `Ember.Array`-like objects are also enumerable.
36927
+ Note that the EmberArray mixin also incorporates the `Ember.Enumerable`
36928
+ mixin. All `EmberArray`-like objects are also enumerable.
36762
36929
 
36763
- @class Array
36764
- @namespace Ember
36765
- @uses Ember.Enumerable
36930
+ @class EmberArray
36931
+ @uses Enumerable
36766
36932
  @since Ember 0.9.0
36767
36933
  @public
36768
36934
  */
@@ -37195,7 +37361,6 @@ enifed('ember-runtime/mixins/container_proxy', ['exports', 'ember-metal'], funct
37195
37361
 
37196
37362
  /**
37197
37363
  @module ember
37198
- @submodule ember-runtime
37199
37364
  */
37200
37365
  exports.default = _emberMetal.Mixin.create({
37201
37366
  /**
@@ -37315,8 +37480,8 @@ enifed('ember-runtime/mixins/enumerable', ['exports', 'ember-utils', 'ember-meta
37315
37480
  'use strict';
37316
37481
 
37317
37482
  var _emberA = void 0; /**
37318
- @module ember
37319
- @submodule ember-runtime
37483
+ @module @ember/enumerable
37484
+ @private
37320
37485
  */
37321
37486
 
37322
37487
  // ..........................................................
@@ -37385,7 +37550,6 @@ enifed('ember-runtime/mixins/enumerable', ['exports', 'ember-utils', 'ember-meta
37385
37550
  JavaScript 1.8 API.
37386
37551
 
37387
37552
  @class Enumerable
37388
- @namespace Ember
37389
37553
  @since Ember 0.9
37390
37554
  @private
37391
37555
  */
@@ -38114,7 +38278,6 @@ enifed('ember-runtime/mixins/freezable', ['exports', 'ember-metal', 'ember-debug
38114
38278
  */
38115
38279
  /**
38116
38280
  @module ember
38117
- @submodule ember-runtime
38118
38281
  */
38119
38282
 
38120
38283
  exports.Freezable = _emberMetal.Mixin.create({
@@ -38156,8 +38319,7 @@ enifed('ember-runtime/mixins/mutable_array', ['exports', 'ember-metal', 'ember-r
38156
38319
 
38157
38320
  exports.removeAt = removeAt;
38158
38321
  /**
38159
- @module ember
38160
- @submodule ember-runtime
38322
+ @module @ember/array
38161
38323
  */
38162
38324
 
38163
38325
  var OUT_OF_RANGE_EXCEPTION = 'Index out of range';
@@ -38200,8 +38362,7 @@ enifed('ember-runtime/mixins/mutable_array', ['exports', 'ember-metal', 'ember-r
38200
38362
  modified, but if its underlying enumerable changes, it will change also.
38201
38363
 
38202
38364
  @class MutableArray
38203
- @namespace Ember
38204
- @uses Ember.Array
38365
+ @uses EmberArray
38205
38366
  @uses Ember.MutableEnumerable
38206
38367
  @public
38207
38368
  */
@@ -38217,7 +38378,7 @@ enifed('ember-runtime/mixins/mutable_array', ['exports', 'ember-metal', 'ember-r
38217
38378
  idx >= length, then append to the end of the array.
38218
38379
  @param {Number} amt Number of elements that should be removed from
38219
38380
  the array, starting at *idx*.
38220
- @param {Array} objects An array of zero or more objects that should be
38381
+ @param {EmberArray} objects An array of zero or more objects that should be
38221
38382
  inserted into the array at *idx*
38222
38383
  @public
38223
38384
  */
@@ -38257,7 +38418,7 @@ enifed('ember-runtime/mixins/mutable_array', ['exports', 'ember-metal', 'ember-r
38257
38418
  @method insertAt
38258
38419
  @param {Number} idx index of insert the object at.
38259
38420
  @param {Object} object object to insert
38260
- @return {Ember.Array} receiver
38421
+ @return {EmberArray} receiver
38261
38422
  @public
38262
38423
  */
38263
38424
  insertAt: function (idx, object) {
@@ -38283,7 +38444,7 @@ enifed('ember-runtime/mixins/mutable_array', ['exports', 'ember-metal', 'ember-r
38283
38444
  @method removeAt
38284
38445
  @param {Number} start index, start of range
38285
38446
  @param {Number} len length of passing range
38286
- @return {Ember.Array} receiver
38447
+ @return {EmberArray} receiver
38287
38448
  @public
38288
38449
  */
38289
38450
  removeAt: function (start, len) {
@@ -38316,8 +38477,8 @@ enifed('ember-runtime/mixins/mutable_array', ['exports', 'ember-metal', 'ember-r
38316
38477
  colors.pushObjects(['yellow', 'orange']); // ['red', 'yellow', 'orange']
38317
38478
  ```
38318
38479
  @method pushObjects
38319
- @param {Ember.Enumerable} objects the objects to add
38320
- @return {Ember.Array} receiver
38480
+ @param {Enumerable} objects the objects to add
38481
+ @return {EmberArray} receiver
38321
38482
  @public
38322
38483
  */
38323
38484
  pushObjects: function (objects) {
@@ -38400,8 +38561,8 @@ enifed('ember-runtime/mixins/mutable_array', ['exports', 'ember-metal', 'ember-r
38400
38561
  colors.unshiftObjects('yellow'); // Type Error: 'undefined' is not a function
38401
38562
  ```
38402
38563
  @method unshiftObjects
38403
- @param {Ember.Enumerable} objects the objects to add
38404
- @return {Ember.Array} receiver
38564
+ @param {Enumberable} objects the objects to add
38565
+ @return {EmberArray} receiver
38405
38566
  @public
38406
38567
  */
38407
38568
  unshiftObjects: function (objects) {
@@ -38413,7 +38574,7 @@ enifed('ember-runtime/mixins/mutable_array', ['exports', 'ember-metal', 'ember-r
38413
38574
  Reverse objects in the array. Works just like `reverse()` but it is
38414
38575
  KVO-compliant.
38415
38576
  @method reverseObjects
38416
- @return {Ember.Array} receiver
38577
+ @return {EmberArray} receiver
38417
38578
  @public
38418
38579
  */
38419
38580
  reverseObjects: function () {
@@ -38436,9 +38597,9 @@ enifed('ember-runtime/mixins/mutable_array', ['exports', 'ember-metal', 'ember-r
38436
38597
  colors.setObjects([]); // []
38437
38598
  ```
38438
38599
  @method setObjects
38439
- @param {Ember.Array} objects array whose content will be used for replacing
38600
+ @param {EmberArray} objects array whose content will be used for replacing
38440
38601
  the content of the receiver
38441
- @return {Ember.Array} receiver with the new content
38602
+ @return {EmberArray} receiver with the new content
38442
38603
  @public
38443
38604
  */
38444
38605
  setObjects: function (objects) {
@@ -38465,7 +38626,7 @@ enifed('ember-runtime/mixins/mutable_array', ['exports', 'ember-metal', 'ember-r
38465
38626
  ```
38466
38627
  @method removeObject
38467
38628
  @param {*} obj object to remove
38468
- @return {Ember.Array} receiver
38629
+ @return {EmberArray} receiver
38469
38630
  @public
38470
38631
  */
38471
38632
  removeObject: function (obj) {
@@ -38492,7 +38653,7 @@ enifed('ember-runtime/mixins/mutable_array', ['exports', 'ember-metal', 'ember-r
38492
38653
  ```
38493
38654
  @method addObject
38494
38655
  @param {*} obj object to add, if not already present
38495
- @return {Ember.Array} receiver
38656
+ @return {EmberArray} receiver
38496
38657
  @public
38497
38658
  */
38498
38659
  addObject: function (obj) {
@@ -38707,7 +38868,7 @@ enifed('ember-runtime/mixins/observable', ['exports', 'ember-metal', 'ember-debu
38707
38868
  `endPropertyChanges()` to deliver the deferred change notifications and end
38708
38869
  deferring.
38709
38870
  @method beginPropertyChanges
38710
- @return {Ember.Observable}
38871
+ @return {Observable}
38711
38872
  @private
38712
38873
  */
38713
38874
  beginPropertyChanges: function () {
@@ -38724,7 +38885,7 @@ enifed('ember-runtime/mixins/observable', ['exports', 'ember-metal', 'ember-debu
38724
38885
  notifications. When you are done making changes, call this method to
38725
38886
  deliver the deferred change notifications and end deferring.
38726
38887
  @method endPropertyChanges
38727
- @return {Ember.Observable}
38888
+ @return {Observable}
38728
38889
  @private
38729
38890
  */
38730
38891
  endPropertyChanges: function () {
@@ -38745,7 +38906,7 @@ enifed('ember-runtime/mixins/observable', ['exports', 'ember-metal', 'ember-debu
38745
38906
  like.
38746
38907
  @method propertyWillChange
38747
38908
  @param {String} keyName The property key that is about to change.
38748
- @return {Ember.Observable}
38909
+ @return {Observable}
38749
38910
  @private
38750
38911
  */
38751
38912
  propertyWillChange: function (keyName) {
@@ -38766,7 +38927,7 @@ enifed('ember-runtime/mixins/observable', ['exports', 'ember-metal', 'ember-debu
38766
38927
  like.
38767
38928
  @method propertyDidChange
38768
38929
  @param {String} keyName The property key that has just changed.
38769
- @return {Ember.Observable}
38930
+ @return {Observable}
38770
38931
  @private
38771
38932
  */
38772
38933
  propertyDidChange: function (keyName) {
@@ -38779,7 +38940,7 @@ enifed('ember-runtime/mixins/observable', ['exports', 'ember-metal', 'ember-debu
38779
38940
  succession.
38780
38941
  @method notifyPropertyChange
38781
38942
  @param {String} keyName The property key to be notified about.
38782
- @return {Ember.Observable}
38943
+ @return {Observable}
38783
38944
  @public
38784
38945
  */
38785
38946
  notifyPropertyChange: function (keyName) {
@@ -38952,8 +39113,7 @@ enifed('ember-runtime/mixins/promise_proxy', ['exports', 'ember-metal', 'ember-d
38952
39113
  'use strict';
38953
39114
 
38954
39115
  /**
38955
- @module ember
38956
- @submodule ember-runtime
39116
+ @module @ember/object
38957
39117
  */
38958
39118
 
38959
39119
  function tap(proxy, promise) {
@@ -39036,7 +39196,7 @@ enifed('ember-runtime/mixins/promise_proxy', ['exports', 'ember-metal', 'ember-d
39036
39196
  proxy.get('lastName') //=> 'Penner'
39037
39197
  ```
39038
39198
 
39039
- @class Ember.PromiseProxyMixin
39199
+ @class PromiseProxyMixin
39040
39200
  @public
39041
39201
  */
39042
39202
  exports.default = _emberMetal.Mixin.create({
@@ -39539,8 +39699,7 @@ enifed('ember-runtime/system/array_proxy', ['exports', 'ember-metal', 'ember-run
39539
39699
  'use strict';
39540
39700
 
39541
39701
  /**
39542
- @module ember
39543
- @submodule ember-runtime
39702
+ @module @ember/array
39544
39703
  */
39545
39704
 
39546
39705
  var OUT_OF_RANGE_EXCEPTION = 'Index out of range';
@@ -39584,9 +39743,8 @@ enifed('ember-runtime/system/array_proxy', ['exports', 'ember-metal', 'ember-run
39584
39743
  ```
39585
39744
 
39586
39745
  @class ArrayProxy
39587
- @namespace Ember
39588
- @extends Ember.Object
39589
- @uses Ember.MutableArray
39746
+ @extends EmberObject
39747
+ @uses MutableArray
39590
39748
  @public
39591
39749
  */
39592
39750
  exports.default = _object.default.extend(_mutable_array.default, {
@@ -39595,7 +39753,7 @@ enifed('ember-runtime/system/array_proxy', ['exports', 'ember-metal', 'ember-run
39595
39753
  The content array. Must be an object that implements `Ember.Array` and/or
39596
39754
  `Ember.MutableArray.`
39597
39755
  @property content
39598
- @type Ember.Array
39756
+ @type EmberArray
39599
39757
  @private
39600
39758
  */
39601
39759
  content: null,
@@ -39631,7 +39789,7 @@ enifed('ember-runtime/system/array_proxy', ['exports', 'ember-metal', 'ember-run
39631
39789
  @method replaceContent
39632
39790
  @param {Number} idx The starting index
39633
39791
  @param {Number} amt The number of items to remove from the content.
39634
- @param {Array} objects Optional array of objects to insert or null if no
39792
+ @param {EmberArray} objects Optional array of objects to insert or null if no
39635
39793
  objects.
39636
39794
  @return {void}
39637
39795
  @private
@@ -39664,7 +39822,7 @@ enifed('ember-runtime/system/array_proxy', ['exports', 'ember-metal', 'ember-run
39664
39822
  /**
39665
39823
  Override to implement content array `willChange` observer.
39666
39824
  @method contentArrayWillChange
39667
- @param {Ember.Array} contentArray the content array
39825
+ @param {EmberArray} contentArray the content array
39668
39826
  @param {Number} start starting index of the change
39669
39827
  @param {Number} removeCount count of items removed
39670
39828
  @param {Number} addCount count of items added
@@ -39674,7 +39832,7 @@ enifed('ember-runtime/system/array_proxy', ['exports', 'ember-metal', 'ember-run
39674
39832
  /**
39675
39833
  Override to implement content array `didChange` observer.
39676
39834
  @method contentArrayDidChange
39677
- @param {Ember.Array} contentArray the content array
39835
+ @param {EmberArray} contentArray the content array
39678
39836
  @param {Number} start starting index of the change
39679
39837
  @param {Number} removeCount count of items removed
39680
39838
  @param {Number} addCount count of items added
@@ -40058,7 +40216,6 @@ enifed('ember-runtime/system/core_object', ['exports', 'ember-utils', 'ember-met
40058
40216
 
40059
40217
  /**
40060
40218
  @class CoreObject
40061
- @namespace Ember
40062
40219
  @public
40063
40220
  */
40064
40221
  var CoreObject = makeCtor();
@@ -40296,7 +40453,8 @@ enifed('ember-runtime/system/lazy_load', ['exports', 'ember-environment'], funct
40296
40453
  ```
40297
40454
 
40298
40455
  @method onLoad
40299
- @for Ember
40456
+ @static
40457
+ @for @ember/application
40300
40458
  @param name {String} name of hook
40301
40459
  @param callback {Function} callback to be called
40302
40460
  @private
@@ -40317,7 +40475,8 @@ enifed('ember-runtime/system/lazy_load', ['exports', 'ember-environment'], funct
40317
40475
  loading. Triggers any callbacks registered for this event.
40318
40476
 
40319
40477
  @method runLoadHooks
40320
- @for Ember
40478
+ @static
40479
+ @for @ember/application
40321
40480
  @param name {String} name of hook
40322
40481
  @param object {Object} object to pass to callbacks
40323
40482
  @private
@@ -40342,8 +40501,7 @@ enifed('ember-runtime/system/lazy_load', ['exports', 'ember-environment'], funct
40342
40501
  };
40343
40502
 
40344
40503
  /**
40345
- @module ember
40346
- @submodule ember-runtime
40504
+ @module @ember/application
40347
40505
  */
40348
40506
 
40349
40507
  var loadHooks = _emberEnvironment.ENV.EMBER_LOAD_HOOKS || {}; /*globals CustomEvent */
@@ -40357,7 +40515,6 @@ enifed('ember-runtime/system/namespace', ['exports', 'ember-utils', 'ember-metal
40357
40515
  exports.isSearchDisabled = // Preloaded into namespaces
40358
40516
  /**
40359
40517
  @module ember
40360
- @submodule ember-runtime
40361
40518
  */
40362
40519
  function () {
40363
40520
  return searchDisabled;
@@ -40610,10 +40767,9 @@ enifed('ember-runtime/system/native_array', ['exports', 'ember-metal', 'ember-en
40610
40767
  false, this will be applied automatically. Otherwise you can apply the mixin
40611
40768
  at anytime by calling `Ember.NativeArray.apply(Array.prototype)`.
40612
40769
 
40613
- @class NativeArray
40614
- @namespace Ember
40615
- @uses Ember.MutableArray
40616
- @uses Ember.Observable
40770
+ @class Ember.NativeArray
40771
+ @uses MutableArray
40772
+ @uses Observable
40617
40773
  @uses Ember.Copyable
40618
40774
  @public
40619
40775
  */
@@ -40708,8 +40864,9 @@ enifed('ember-runtime/system/native_array', ['exports', 'ember-metal', 'ember-en
40708
40864
  ```
40709
40865
 
40710
40866
  @method A
40711
- @for Ember
40712
- @return {Ember.NativeArray}
40867
+ @static
40868
+ @for @ember/array
40869
+ @return {EmberArray}
40713
40870
  @public
40714
40871
  */
40715
40872
  var A = void 0;
@@ -40748,10 +40905,9 @@ enifed('ember-runtime/system/object', ['exports', 'ember-utils', 'ember-metal',
40748
40905
  of `Ember.CoreObject` with the `Ember.Observable` mixin applied. For details,
40749
40906
  see the documentation for each of these.
40750
40907
 
40751
- @class Object
40752
- @namespace Ember
40753
- @extends Ember.CoreObject
40754
- @uses Ember.Observable
40908
+ @class EmberObject
40909
+ @extends CoreObject
40910
+ @uses Observable
40755
40911
  @public
40756
40912
  */
40757
40913
  var EmberObject = _core_object.default.extend(_observable.default, (_CoreObject$extend = {
@@ -40803,6 +40959,11 @@ enifed('ember-runtime/system/object_proxy', ['exports', 'ember-runtime/system/ob
40803
40959
  enifed('ember-runtime/system/service', ['exports', 'ember-runtime/system/object', 'ember-runtime/inject'], function (exports, _object, _inject) {
40804
40960
  'use strict';
40805
40961
 
40962
+ /**
40963
+ @module @ember/service
40964
+ @public
40965
+ */
40966
+
40806
40967
  /**
40807
40968
  Creates a property that lazily looks up a service in the container. There
40808
40969
  are no restrictions as to what objects a service can be injected into.
@@ -40826,9 +40987,10 @@ enifed('ember-runtime/system/service', ['exports', 'ember-runtime/system/object'
40826
40987
  that looks up the `auth` service in the container, making it easily
40827
40988
  accessible in the `model` hook.
40828
40989
 
40829
- @method service
40990
+ @method inject
40991
+ @static
40830
40992
  @since 1.10.0
40831
- @for Ember.inject
40993
+ @for @ember/service
40832
40994
  @param {String} name (optional) name of the service to inject, defaults to
40833
40995
  the property's name
40834
40996
  @return {Ember.InjectedProperty} injection descriptor instance
@@ -40839,8 +41001,7 @@ enifed('ember-runtime/system/service', ['exports', 'ember-runtime/system/object'
40839
41001
 
40840
41002
  /**
40841
41003
  @class Service
40842
- @namespace Ember
40843
- @extends Ember.Object
41004
+
40844
41005
  @since 1.10.0
40845
41006
  @public
40846
41007
  */
@@ -40858,8 +41019,7 @@ enifed('ember-runtime/system/string', ['exports', 'ember-metal', 'ember-debug',
40858
41019
  exports.capitalize = exports.underscore = exports.classify = exports.camelize = exports.dasherize = exports.decamelize = exports.w = exports.loc = exports.fmt = undefined;
40859
41020
 
40860
41021
  var STRING_DASHERIZE_REGEXP = /[ _]/g; /**
40861
- @module ember
40862
- @submodule ember-runtime
41022
+ @module @ember/string
40863
41023
  */
40864
41024
 
40865
41025
  var STRING_DASHERIZE_CACHE = new _emberMetal.Cache(1000, function (key) {
@@ -40989,8 +41149,6 @@ enifed('ember-runtime/system/string', ['exports', 'ember-metal', 'ember-debug',
40989
41149
  added to the `String.prototype` as well.
40990
41150
 
40991
41151
  @class String
40992
- @namespace Ember
40993
- @static
40994
41152
  @public
40995
41153
  */
40996
41154
  exports.default = {
@@ -41169,6 +41327,9 @@ enifed('ember-runtime/utils', ['exports', 'ember-runtime/mixins/array', 'ember-r
41169
41327
 
41170
41328
  exports.isArray =
41171
41329
 
41330
+ /**
41331
+ @module @ember/array
41332
+ */
41172
41333
  /**
41173
41334
  Returns true if the passed object is an array or Array-like.
41174
41335
 
@@ -41188,7 +41349,8 @@ enifed('ember-runtime/utils', ['exports', 'ember-runtime/mixins/array', 'ember-r
41188
41349
  ```
41189
41350
 
41190
41351
  @method isArray
41191
- @for Ember
41352
+ @static
41353
+ @for @ember/array
41192
41354
  @param {Object} obj The object to test
41193
41355
  @return {Boolean} true if the passed object is an array or Array-like
41194
41356
  @public
@@ -41214,7 +41376,9 @@ enifed('ember-runtime/utils', ['exports', 'ember-runtime/mixins/array', 'ember-r
41214
41376
  }
41215
41377
  return false;
41216
41378
  }
41217
-
41379
+ /**
41380
+ @module @ember/utils
41381
+ */
41218
41382
  /**
41219
41383
  Returns a consistent type for the passed object.
41220
41384
 
@@ -41265,10 +41429,11 @@ enifed('ember-runtime/utils', ['exports', 'ember-runtime/mixins/array', 'ember-r
41265
41429
  ```
41266
41430
 
41267
41431
  @method typeOf
41268
- @for Ember
41432
+ @for @ember/utils
41269
41433
  @param {Object} item the item to check
41270
41434
  @return {String} the type
41271
41435
  @public
41436
+ @static
41272
41437
  */
41273
41438
  ;
41274
41439
  exports.typeOf = typeOf;
@@ -41368,6 +41533,10 @@ enifed('ember-utils', ['exports'], function (exports) {
41368
41533
  return str;
41369
41534
  }
41370
41535
 
41536
+ /**
41537
+ @module @ember/object
41538
+ */
41539
+
41371
41540
  /**
41372
41541
  Previously we used `Ember.$.uuid`, however `$.uuid` has been removed from
41373
41542
  jQuery master. We'll just bootstrap our own uuid now.
@@ -41443,7 +41612,8 @@ enifed('ember-utils', ['exports'], function (exports) {
41443
41612
 
41444
41613
  @private
41445
41614
  @method generateGuid
41446
- @for Ember
41615
+ @static
41616
+ @for @ember/object/internals
41447
41617
  @param {Object} [obj] Object the guid will be used for. If passed in, the guid will
41448
41618
  be saved on the object and reused whenever you pass the same object
41449
41619
  again.
@@ -41464,8 +41634,9 @@ enifed('ember-utils', ['exports'], function (exports) {
41464
41634
  You can also use this method on DOM Element objects.
41465
41635
 
41466
41636
  @public
41637
+ @static
41467
41638
  @method guidFor
41468
- @for Ember
41639
+ @for @ember/object/internals
41469
41640
  @param {Object} obj any object, string, number, Element, or primitive
41470
41641
  @return {String} the unique guid for this instance.
41471
41642
  */
@@ -41480,8 +41651,7 @@ enifed('ember-utils', ['exports'], function (exports) {
41480
41651
  }
41481
41652
 
41482
41653
  /**
41483
- @module ember
41484
- @submodule ember-runtime
41654
+ @module @ember/application
41485
41655
  */
41486
41656
 
41487
41657
  var OWNER = symbol('OWNER');
@@ -41503,7 +41673,7 @@ enifed('ember-utils', ['exports'], function (exports) {
41503
41673
  import Component from '@ember/component';
41504
41674
  import { computed } from '@ember/object';
41505
41675
  import { getOwner } from '@ember/application';
41506
-
41676
+
41507
41677
  // Usage:
41508
41678
  //
41509
41679
  // {{play-audio audioType=model.audioType audioFile=model.file}}
@@ -41522,7 +41692,8 @@ enifed('ember-utils', ['exports'], function (exports) {
41522
41692
  ```
41523
41693
 
41524
41694
  @method getOwner
41525
- @for Ember
41695
+ @static
41696
+ @for @ember/application
41526
41697
  @param {Object} object An object with an owner.
41527
41698
  @return {Object} An owner object.
41528
41699
  @since 2.3.0
@@ -41535,7 +41706,8 @@ enifed('ember-utils', ['exports'], function (exports) {
41535
41706
  useful in some testing cases.
41536
41707
 
41537
41708
  @method setOwner
41538
- @for Ember
41709
+ @static
41710
+ @for @ember/application
41539
41711
  @param {Object} object An object instance.
41540
41712
  @param {Object} object The new owner object of the object instance.
41541
41713
  @since 2.3.0
@@ -41543,6 +41715,9 @@ enifed('ember-utils', ['exports'], function (exports) {
41543
41715
  */
41544
41716
 
41545
41717
 
41718
+ /**
41719
+ @module @ember/polyfills
41720
+ */
41546
41721
  /**
41547
41722
  Copy properties from a source object to a target object.
41548
41723
 
@@ -41554,11 +41729,12 @@ enifed('ember-utils', ['exports'], function (exports) {
41554
41729
  ```
41555
41730
 
41556
41731
  @method assign
41557
- @for Ember
41732
+ @for @ember/polyfills
41558
41733
  @param {Object} original The object to assign into
41559
41734
  @param {Object} ...args The objects to copy properties from
41560
41735
  @return {Object}
41561
41736
  @public
41737
+ @static
41562
41738
  */
41563
41739
  function assign(original) {
41564
41740
  var i, arg, updates, _i, prop;
@@ -41653,7 +41829,9 @@ enifed('ember-utils', ['exports'], function (exports) {
41653
41829
  }
41654
41830
 
41655
41831
  var objectToString = Object.prototype.toString;
41656
-
41832
+ /**
41833
+ @module @ember/debug
41834
+ */
41657
41835
  /**
41658
41836
  Convenience method to inspect an object. This method will attempt to
41659
41837
  convert the object into a useful string description.
@@ -41662,7 +41840,7 @@ enifed('ember-utils', ['exports'], function (exports) {
41662
41840
  use something like JSDump: https://github.com/NV/jsDump
41663
41841
 
41664
41842
  @method inspect
41665
- @for Ember
41843
+ @static
41666
41844
  @param {Object} obj The object you want to inspect.
41667
41845
  @return {String} A description of the object
41668
41846
  @since 1.4.0
@@ -41743,6 +41921,9 @@ enifed('ember-utils', ['exports'], function (exports) {
41743
41921
 
41744
41922
  var isArray = Array.isArray;
41745
41923
 
41924
+ /**
41925
+ @module @ember/array
41926
+ */
41746
41927
  /**
41747
41928
  Forces the passed object to be part of an array. If the object is already
41748
41929
  an array, it will return the object. Otherwise, it will add the object to
@@ -41761,7 +41942,8 @@ enifed('ember-utils', ['exports'], function (exports) {
41761
41942
  ```
41762
41943
 
41763
41944
  @method makeArray
41764
- @for Ember
41945
+ @static
41946
+ @for @ember/array
41765
41947
  @param {Object} obj the object
41766
41948
  @return {Array}
41767
41949
  @private
@@ -42227,7 +42409,6 @@ enifed('ember-views/mixins/action_support', ['exports', 'ember-utils', 'ember-me
42227
42409
 
42228
42410
  /**
42229
42411
  @module ember
42230
- @submodule ember-views
42231
42412
  */
42232
42413
 
42233
42414
  function validateAction(component, actionName) {
@@ -42416,7 +42597,6 @@ enifed('ember-views/mixins/class_names_support', ['exports', 'ember-metal', 'emb
42416
42597
 
42417
42598
  /**
42418
42599
  @module ember
42419
- @submodule ember-views
42420
42600
  */
42421
42601
 
42422
42602
  var EMPTY_ARRAY = Object.freeze([]);
@@ -42490,7 +42670,6 @@ enifed('ember-views/mixins/text_support', ['exports', 'ember-metal', 'ember-runt
42490
42670
 
42491
42671
  /**
42492
42672
  @module ember
42493
- @submodule ember-views
42494
42673
  */
42495
42674
 
42496
42675
  var KEY_EVENTS = {
@@ -42593,7 +42772,7 @@ enifed('ember-views/mixins/text_support', ['exports', 'ember-metal', 'ember-runt
42593
42772
  @class TextSupport
42594
42773
  @namespace Ember
42595
42774
  @uses Ember.TargetActionSupport
42596
- @extends Ember.Mixin
42775
+ @extends Mixin
42597
42776
  @private
42598
42777
  */
42599
42778
  exports.default = _emberMetal.Mixin.create(_emberRuntime.TargetActionSupport, {
@@ -43005,7 +43184,6 @@ enifed("ember-views/system/action_manager", ["exports"], function (exports) {
43005
43184
  exports.default = ActionManager;
43006
43185
  /**
43007
43186
  @module ember
43008
- @submodule ember-views
43009
43187
  */
43010
43188
 
43011
43189
  function ActionManager() {}
@@ -43024,7 +43202,6 @@ enifed('ember-views/system/event_dispatcher', ['exports', 'ember-utils', 'ember-
43024
43202
 
43025
43203
  /**
43026
43204
  @module ember
43027
- @submodule ember-views
43028
43205
  */
43029
43206
 
43030
43207
  var ROOT_ELEMENT_CLASS = 'ember-application';
@@ -43318,11 +43495,7 @@ enifed('ember-views/system/ext', ['ember-metal'], function (_emberMetal) {
43318
43495
  // after bindings have synced, and a queue for scheduling actions
43319
43496
  // that should occur after view rendering.
43320
43497
 
43321
- _emberMetal.run._addQueue('render', 'actions'); /**
43322
- @module ember
43323
- @submodule ember-views
43324
- */
43325
-
43498
+ _emberMetal.run._addQueue('render', 'actions');
43326
43499
  _emberMetal.run._addQueue('afterRender', 'render');
43327
43500
  });
43328
43501
  enifed('ember-views/system/jquery', ['exports', 'ember-environment'], function (exports, _emberEnvironment) {
@@ -43401,7 +43574,6 @@ enifed('ember-views/system/utils', ['exports', 'ember-utils'], function (exports
43401
43574
 
43402
43575
  /**
43403
43576
  @module ember
43404
- @submodule ember-views
43405
43577
  */
43406
43578
 
43407
43579
  function (event) {
@@ -43765,11 +43937,6 @@ enifed('ember-views/views/states/default', ['exports', 'ember-debug'], function
43765
43937
  enifed('ember-views/views/states/destroying', ['exports', 'ember-utils', 'ember-debug', 'ember-views/views/states/default'], function (exports, _emberUtils, _emberDebug, _default2) {
43766
43938
  'use strict';
43767
43939
 
43768
- /**
43769
- @module ember
43770
- @submodule ember-views
43771
- */
43772
-
43773
43940
  var destroying = Object.create(_default2.default);
43774
43941
 
43775
43942
  (0, _emberUtils.assign)(destroying, {
@@ -43813,11 +43980,6 @@ enifed('ember-views/views/states/has_element', ['exports', 'ember-utils', 'ember
43813
43980
  enifed('ember-views/views/states/in_dom', ['exports', 'ember-utils', 'ember-metal', 'ember-debug', 'ember-views/views/states/has_element'], function (exports, _emberUtils, _emberMetal, _emberDebug, _has_element) {
43814
43981
  'use strict';
43815
43982
 
43816
- /**
43817
- @module ember
43818
- @submodule ember-views
43819
- */
43820
-
43821
43983
  var inDOM = Object.create(_has_element.default);
43822
43984
 
43823
43985
  (0, _emberUtils.assign)(inDOM, {
@@ -44289,13 +44451,6 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'node-module',
44289
44451
  // this is so that the global exports occur properly
44290
44452
 
44291
44453
 
44292
- /**
44293
- Alias for jQuery
44294
-
44295
- @method $
44296
- @for Ember
44297
- @public
44298
- */
44299
44454
  _emberMetal.default.$ = _emberViews.jQuery;
44300
44455
 
44301
44456
  _emberMetal.default.ViewTargetActionSupport = _emberViews.ViewTargetActionSupport;
@@ -44357,6 +44512,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'node-module',
44357
44512
 
44358
44513
  /**
44359
44514
  @module ember
44515
+ @private
44360
44516
  */
44361
44517
  exports.default = _emberMetal.default;
44362
44518
 
@@ -44366,11 +44522,31 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'node-module',
44366
44522
  } else {
44367
44523
  _emberEnvironment.context.exports.Ember = _emberEnvironment.context.exports.Em = _emberMetal.default;
44368
44524
  }
44525
+
44526
+ /**
44527
+ @module jquery
44528
+ @public
44529
+ */
44530
+
44531
+ /**
44532
+ @class jquery
44533
+ @public
44534
+ @static
44535
+ */
44536
+
44537
+ /**
44538
+ Alias for jQuery
44539
+
44540
+ @for jquery
44541
+ @method $
44542
+ @static
44543
+ @public
44544
+ */
44369
44545
  });
44370
44546
  enifed("ember/version", ["exports"], function (exports) {
44371
44547
  "use strict";
44372
44548
 
44373
- exports.default = "2.16.0";
44549
+ exports.default = "2.16.1";
44374
44550
  });
44375
44551
  enifed('node-module', ['exports'], function(_exports) {
44376
44552
  var IS_NODE = typeof module === 'object' && typeof module.require === 'function';