'use strict';

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

const index = require('./index-ce58ddc5.js');
const mentorintyBridgeApi = require('./mentorinty-bridge-api-616ff4b9.js');
require('./apiBase-b14a8285.js');
require('./data-transfer-field-0ce05c1a.js');
require('./BaseField-d019ade6.js');
require('./filter-d5040f65.js');
require('./FieldModelGenerator-1af8e5c3.js');
require('./reference-field-dda66f2e.js');
require('./index-f92537c9.js');
require('./index-7e3bc620.js');
require('./date-25b104f6.js');
require('./index-9ea6c7b1.js');
require('./index-93271b8c.js');
require('./index-29b7cb16.js');
require('./index-792d710c.js');
require('./index-fa185e3b.js');
require('./attachment-3090e25e.js');
require('./data-model-9afb7f54.js');
require('./membership-310dd68e.js');
require('./table-config-73a193be.js');
require('./string-de672b69.js');
require('./User-e15e0b6d.js');
require('./CalendarConfig-7f8ef631.js');
require('./session-fe19e012.js');
require('./UserSettings-fc04eb54.js');
require('./cookie-ea977378.js');
require('./kimlikApi-f4f62100.js');
require('./_commonjsHelpers-206db00d.js');
require('./index-33e96540.js');

let MentornityScheduleMeetingButtonOnCard = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    this.action = index.createEvent(this, "action", 7);
  }
  render() {
    var _a, _b;
    const { item } = this;
    const language = ((_b = (_a = this.field) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.language) || 'en';
    return (index.h(index.Host, { class: "d-flex flex-column" }, index.h("dvn-card", { leaned: true, selectable: true, selected: true, overrideStyle: { flex: 1 }, tint: "primary", elevation: 0, cornerRadius: 10, onClick: () => {
        this.action.emit({
          type: 'navigation',
          direction: 'forward',
          name: 'schedule-meeting',
          params: { item },
        });
      } }, index.h("div", { class: "d-flex justify-content-between align-items-center text-primary" }, index.h("span", null, mentorintyBridgeApi.getEmbeddedTranslation(language, 'getMeeting')), index.h("dvn-icon", { iconName: "uil uil-calendar-alt", scale: "large" }))), index.h("div", { class: "d-flex justify-content-center pt-2" }, index.h("dvn-button", { onClick: () => {
        this.action.emit({
          type: 'navigation',
          direction: 'forward',
          name: 'view-details',
          params: { item },
        });
      }, leaned: true, view: "flat" }, mentorintyBridgeApi.getEmbeddedTranslation(language, 'viewDetails')))));
  }
};

exports.mentornity_schedule_meeting_button_on_card = MentornityScheduleMeetingButtonOnCard;
