text: import _createClass from "@babel/runtime/helpers/createClass";
  import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose";
  import Ext_Base from '../../Ext/Base.js';
  
  var Ext_direct_Provider =
  /*#__PURE__*/
  function (_Ext_Base) {
    _inheritsLoose(Ext_direct_Provider, _Ext_Base);
  
    Ext_direct_Provider.PROPERTIES = function PROPERTIES() {
      return ['headers', 'id', 'listeners', 'relayedEvents'];
    };
  
    Ext_direct_Provider.EVENTS = function EVENTS() {
      return [{
        name: 'connect',
        parameters: 'provider'
      }, {
        name: 'data',
        parameters: 'provider,e'
      }, {
        name: 'disconnect',
        parameters: 'provider'
      }, {
        name: 'exception',
        parameters: 'provider,e'
      }, {
        name: 'ready',
        parameters: 'cmd,cmdAll'
      }];
    };
  
    Ext_direct_Provider.getProperties = function getProperties(properties) {
      properties = properties.concat(Ext_direct_Provider.PROPERTIES());
      return Ext_Base.getProperties(properties);
    };
  
    Ext_direct_Provider.getEvents = function getEvents(events) {
      events = events.concat(Ext_direct_Provider.EVENTS());
      return Ext_Base.getEvents(events);
    };
  
    _createClass(Ext_direct_Provider, null, [{
      key: "observedAttributes",
      get: function get() {
        var attrs = _Ext_Base.observedAttributes;
        Ext_direct_Provider.PROPERTIES().forEach(function (property, index, array) {
          attrs.push(property);
        });
        Ext_direct_Provider.EVENTS().forEach(function (eventparameter, index, array) {
          attrs.push('on' + eventparameter.name);
        });
        return attrs;
      }
    }]);
  
    function Ext_direct_Provider(properties, events) {
      return _Ext_Base.call(this, properties.concat(Ext_direct_Provider.PROPERTIES()), events.concat(Ext_direct_Provider.EVENTS())) || this;
    }
  
    var _proto = Ext_direct_Provider.prototype;
  
    _proto.connectedCallback = function connectedCallback() {
      _Ext_Base.prototype.connectedCallback.call(this);
    };
  
    _proto.attributeChangedCallback = function attributeChangedCallback(attrName, oldVal, newVal) {
      _Ext_Base.prototype.attributeChangedCallback.call(this, attrName, oldVal, newVal);
    };
  
    return Ext_direct_Provider;
  }(Ext_Base);
  
  export { Ext_direct_Provider as default };