'use strict';

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

const index = require('./index-1ee80297.js');
const mentorintyBridgeApi = require('./mentorinty-bridge-api-ede51458.js');
require('./kimlikApi-1cd43caf.js');
require('./data-transfer-field-0ce05c1a.js');
require('./BaseField-d019ade6.js');
require('./filter-d5040f65.js');
require('./FieldModelGenerator-2c39c8e9.js');
require('./index-42baafa9.js');
require('./index-a77c3004.js');
require('./date-25b104f6.js');
require('./index-521d07b9.js');
require('./index-9e7c4ca0.js');
require('./index-30008542.js');
require('./attachment-3090e25e.js');
require('./data-model-c51de090.js');
require('./membership-14c44e7c.js');
require('./membership-config-6ba394cc.js');
require('./table-config-be88299b.js');
require('./string-de672b69.js');
require('./User-286a0714.js');
require('./CalendarConfig-fed039db.js');
require('./session-612c0d2f.js');
require('./UserSettings-016122e8.js');
require('./cookie-c4d9848a.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;
