'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-df541290.js');
require('./index-5e992066.js');
const index$1 = require('./index-c12b8888.js');
const App = require('./App-1e388484.js');
require('./index-3e5f1089.js');
require('./index-fe328b96.js');
require('./index-0b6f1dd9.js');
require('./_commonjsHelpers-10109b76.js');
require('./index-b7493032.js');

const ComponentDemo = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
  }
  async componentWillLoad() {
    index$1.Connection.baseUrl = "https://api.payfunc.com/";
    index$1.Connection.key = "";
  }
  render() {
    const items = [
      {
        number: "ts001-b",
        name: "Basic T-shirt, black",
        price: 119.6,
        vat: 29.9,
        quantity: 5,
      },
      {
        number: "ts001-w",
        name: "Basic T-shirt, white",
        price: 200.0,
        vat: 50.0,
        quantity: 10,
      },
    ];
    return (index.h(App.App, { label: "Component Demo" }, index.h("ig-user-menu", { slot: "nav-end", "user-name": "Test User AB" }), index.h("smoothly-room", { path: "item", label: "Items" }, index.h("ig-items-display", { items: items, currency: "SEK" }), index.h("ig-items-display", { items: 1337.4222, currency: "SEK" })), index.h("smoothly-room", { label: "Orders", path: "order" }, index.h("ig-orders", { orders: this.orders })), index.h("smoothly-room", { path: "onboard", label: "Onboard" }, index.h("onboard-demo", null))));
  }
  get element() { return index.getElement(this); }
};

exports.component_demo = ComponentDemo;
