How to use the @babel/runtime/helpers/classCallCheck function in @babel/runtime

To help you get started, we’ve selected a few @babel/runtime examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kintone / kintone-js-sdk / esm / base / model / record / record / AddRecordRequest.js View on Github external
function AddRecordRequest(appID, recordHashTableData) {
    _classCallCheck(this, AddRecordRequest);

    this.app = appID;
    this.record = recordHashTableData;
  }
  /**
github kintone / kintone-js-sdk / esm / base / model / app / form / GetFormFieldsRequest.js View on Github external
function GetFormFieldsRequest(appID, lang) {
    _classCallCheck(this, GetFormFieldsRequest);

    this.appID = appID;
    this.lang = lang;
  }
  /**
github kintone / kintone-js-sdk / esm / browser / module / connection / Connection.js View on Github external
function Connection() {
    var _this;

    var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
        auth = _ref.auth,
        guestSpaceID = _ref.guestSpaceID;

    _classCallCheck(this, Connection);

    if (auth instanceof kintoneBaseJSSDK.Auth) {
      var domain = window.location.host;
      _this = _possibleConstructorReturn(this, _getPrototypeOf(Connection).call(this, {
        domain: domain,
        auth: auth,
        guestSpaceID: guestSpaceID
      }));
      _this.kintoneAuth = auth;
    } else {
      var _domain = window.location.host;
      var basicAuth = new kintoneBaseJSSDK.Auth();
      _this = _possibleConstructorReturn(this, _getPrototypeOf(Connection).call(this, {
        domain: _domain,
        auth: basicAuth,
        guestSpaceID: guestSpaceID
github cube-js / cube.js / packages / cubejs-react / dist / cubejs-react.esm.js View on Github external
function QueryRenderer(props) {
    var _this;

    _classCallCheck(this, QueryRenderer);

    _this = _possibleConstructorReturn(this, _getPrototypeOf(QueryRenderer).call(this, props));
    _this.state = {};
    _this.mutexObj = {};
    return _this;
  }
github kintone / kintone-js-sdk / esm / base / model / comment / CommentContent.js View on Github external
function CommentContent(text, mentions) {
    _classCallCheck(this, CommentContent);

    this.text = text;
    this.mentions = mentions;
  }
  /**
github kintone / kintone-js-sdk / esm / base / model / exception / KintoneAPIException.js View on Github external
function KintoneAPIException(httpErrCode, errorResponse) {
    _classCallCheck(this, KintoneAPIException);

    this.httpErrorCode = httpErrCode;
    this.errorResponse = errorResponse;
  }
  /**
github kintone / kintone-js-sdk / esm / browser / module / bulkRequest / BulkRequest.js View on Github external
function BulkRequest() {
    var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
        conn = _ref.connection;

    _classCallCheck(this, BulkRequest);

    var connection = conn;

    if (!connection) {
      connection = new Connection();
    }

    return _possibleConstructorReturn(this, _getPrototypeOf(BulkRequest).call(this, {
      connection: connection
    }));
  }
github kintone / kintone-js-sdk / esm / base / model / record / record / GetRecordRequest.js View on Github external
function GetRecordRequest(appID, recordID) {
    _classCallCheck(this, GetRecordRequest);

    this.app = appID;
    this.id = recordID;
  }
  /**
github kintone / kintone-js-sdk / esm / base / model / record / record / UpdateRecordStatusItem.js View on Github external
function UpdateRecordStatusItem(recordID, actionName, assignee, revision) {
    _classCallCheck(this, UpdateRecordStatusItem);

    this.recordID = recordID;
    this.action = actionName;
    this.assignee = assignee;
    this.revision = revision;
  }
  /**
github kintone / kintone-js-sdk / esm / base / model / bulkRequest / BulkRequestItem.js View on Github external
function BulkRequestItem(method, api, payload) {
    _classCallCheck(this, BulkRequestItem);

    this.method = method;
    this.api = api;
    this.payload = payload.toJSON ? payload.toJSON() : payload;
  }
  /**