import { r as registerInstance, c as createEvent, h, H as Host } from './index-102043e0.js';
import { g as getEmbeddedTranslation } from './mentorinty-bridge-api-fc8ad2d8.js';
import './kimlikApi-ac700c81.js';
import './data-transfer-field-918730a3.js';
import './BaseField-461b6d0c.js';
import './filter-cbaa3d7d.js';
import './FieldModelGenerator-ee438a53.js';
import './index-ef734a5e.js';
import './index-336ef773.js';
import './date-ce777316.js';
import './index-0e8b9ea2.js';
import './index-c3eacf05.js';
import './index-a1675f50.js';
import './attachment-32decf79.js';
import './data-model-f5160369.js';
import './membership-821de3c5.js';
import './membership-config-68ed7772.js';
import './table-config-720f8ea0.js';
import './string-3065a411.js';
import './User-d2ee8b71.js';
import './CalendarConfig-cc1e3a80.js';
import './session-4127c2a1.js';
import './UserSettings-7b80b841.js';
import './cookie-647f9dc7.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 };
