import { r as registerInstance, c as createEvent, h, H as Host } from './index-b7735e0d.js';
import { g as getEmbeddedTranslation } from './mentorinty-bridge-api-78ab1153.js';
import './apiBase-d573f009.js';
import './data-transfer-field-918730a3.js';
import './BaseField-461b6d0c.js';
import './filter-cbaa3d7d.js';
import './FieldModelGenerator-020f4a04.js';
import './reference-field-0e7cd534.js';
import './index-7b119e61.js';
import './index-403101cb.js';
import './date-ce777316.js';
import './index-1d3efe49.js';
import './index-eb14fd2d.js';
import './index-80ec23ef.js';
import './index-4c39b6a6.js';
import './index-774783ee.js';
import './attachment-32decf79.js';
import './data-model-f7ccf826.js';
import './membership-e92743d1.js';
import './table-config-0c06fb1f.js';
import './string-3065a411.js';
import './User-1ef5a482.js';
import './CalendarConfig-88c2213e.js';
import './session-b16a440c.js';
import './UserSettings-27df01e6.js';
import './cookie-1686830b.js';
import './kimlikApi-0d7e6ce7.js';
import './_commonjsHelpers-27f122dd.js';
import './index-d3bd30bd.js';

let MentornityScheduleMeetingButtonOnCard = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
    this.action = 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 (h(Host, { class: "d-flex flex-column" }, 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 },
        });
      } }, h("div", { class: "d-flex justify-content-between align-items-center text-primary" }, h("span", null, getEmbeddedTranslation(language, 'getMeeting')), h("dvn-icon", { iconName: "uil uil-calendar-alt", scale: "large" }))), h("div", { class: "d-flex justify-content-center pt-2" }, h("dvn-button", { onClick: () => {
        this.action.emit({
          type: 'navigation',
          direction: 'forward',
          name: 'view-details',
          params: { item },
        });
      }, leaned: true, view: "flat" }, getEmbeddedTranslation(language, 'viewDetails')))));
  }
};

export { MentornityScheduleMeetingButtonOnCard as mentornity_schedule_meeting_button_on_card };
