static createProperty(t,e=F){// Do not generate an accessor if the prototype already has one, since
// it would be lost otherwise and that would never be the user's intention;
// Instead, we expect users to call `requestUpdate` themselves from
// user-defined accessors. Note that if the super has an accessor we will
// still overwrite it
if(
// Note, since this can be called by the `@property` decorator which
// is called before `finalize`, we ensure storage exists for property
// metadata.
this._ensureClassProperties(),this._classProperties.set(t,e),e.noAccessor||this.prototype.hasOwnProperty(t))return;const s="symbol"==typeof t?Symbol():`__${t}`;Object.defineProperty(this.prototype,t,{
// tslint:disable-next-line:no-any no symbol in index
get(){return this[s]},set(e){
// tslint:disable-next-line:no-any no symbol in index
const i=this[t];// tslint:disable-next-line:no-any no symbol in index
this[s]=e,this._requestUpdate(t,i)},configurable:!0,enumerable:!0})}
/**
   * Creates a property accessor on the element prototype if one does not exist.
   * The property setter calls the property's `hasChanged` property option
   * or uses a strict identity check to determine whether or not to request
   * an update.
   * @nocollapse
   */
Creates a property accessor on the element prototype if one does not exist.
The property setter calls the property's `hasChanged` property option
or uses a strict identity check to determine whether or not to request
an update.
@nocollapse
Creates a property accessor on the element prototype if one does not exist . The property setter calls the property ' s ` hasChanged ` property option or uses a strict identity check to determine whether or not to request an update . @nocollapse
static createProperty(t,e=F){
if(
this._ensureClassProperties(),this._classProperties.set(t,e),e.noAccessor||this.prototype.hasOwnProperty(t))return;const s="symbol"==typeof t?Symbol():`__${t}`;Object.defineProperty(this.prototype,t,{
get(){return this[s]},set(e){
const i=this[t];
this[s]=e,this._requestUpdate(t,i)},configurable:!0,enumerable:!0})}
static createProperty ( t , e = F ) { if ( this . _ensureClassProperties ( ) , this . _classProperties . set ( t , e ) , e . noAccessor || this . prototype . hasOwnProperty ( t ) ) return ; const s = "symbol" == typeof t ? Symbol ( ) : ` ${ t } ` ; Object . defineProperty ( this . prototype , t , { get ( ) { return this [ s ] } , set ( e ) { const i = this [ t ] ; this [ s ] = e , this . _requestUpdate ( t , i ) } , configurable : ! 0 , enumerable : ! 0 } ) }
Creates a property accessor on the element prototype if one does not exist.
Creates a property accessor on the element prototype if one does not exist .
// Do not generate an accessor if the prototype already has one, since // it would be lost otherwise and that would never be the user's intention; // Instead, we expect users to call `requestUpdate` themselves from // user-defined accessors. Note that if the super has an accessor we will // still overwrite it // Note, since this can be called by the `@property` decorator which // is called before `finalize`, we ensure storage exists for property // metadata. // tslint:disable-next-line:no-any no symbol in index // tslint:disable-next-line:no-any no symbol in index // tslint:disable-next-line:no-any no symbol in index