vlocity-dc-base-component/vlocity-dc-base-component.js

/*************************************************************************
 *
 * VLOCITY, INC. CONFIDENTIAL
 * __________________
 *
 *  [2014] - [2020] Vlocity, Inc.
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Vlocity, Inc. and its suppliers,
 * if any. The intellectual and technical concepts contained
 * herein are proprietary to Vlocity, Inc. and its suppliers and may be
 * covered by U.S. and Foreign Patents, patents in process, and are
 * protected by trade secret or copyright law. Dissemination of this
 * information and reproduction, modification or reverse-engineering
 * of this material, is prohibited unless prior written permission
 * is obtained from Vlocity, Inc.
 *
 */
import { LitElement } from "lit-element";
import { newportStylesheetURL } from "../vlocity-dc-utils/vlocity-dc-style-util.js";

/**
 * @class VlocityDCBaseComponent
 * @extends {LitElement}
 *
 * @classdesc
 * VlocityDCBaseComponent is base class and it will be extended by all DC components. And this class will contain common logic of all component
 * @property {String} ndsLibPath - string value of NDS resource url
 *
 */
export default class VlocityDCBaseComponent extends LitElement {
  constructor() {
    super();
    this.ndsLibPath = newportStylesheetURL();
    this.authConfiguration = null;
  }

  connectedCallback() {
    super.connectedCallback();
  }
}