import { onMounted, resolveComponent, openBlock, createElementBlock, withModifiers, createVNode, withCtx, createElementVNode, createTextVNode } from 'vue';
import { L as Logic } from './index-2059e79e.mjs';
import script$1 from './TsButton.mjs';
import { s as script$2 } from './headerText-0fd3adc1.mjs';
import './_commonjsHelpers-fe705abc.mjs';
import 'http';
import 'https';
import 'stream';
import 'assert';
import 'tty';
import 'util';
import 'os';
import 'has-flag';
import 'zlib';
import 'form-data';

var script = {
    components: {
        TsButton: script$1,
        TsHeaderText: script$2,
    },
    props: {},
    name: "TsPaymentMethod",
    setup() {
        onMounted(() => {
            Logic.payments.wallet.InitiatePaymentMethod();
        });
    },
};

const _hoisted_1 = ["onClick"];
const _hoisted_2 = /*#__PURE__*/createTextVNode(" Add Payment Method ");
const _hoisted_3 = { class: "w-full flex flex-col py-3 mdlg:!px-3 px-0 space-y-2" };
const _hoisted_4 = /*#__PURE__*/createElementVNode("div", {
  id: "payment-container",
  class: "!w-full"
}, null, -1 /* HOISTED */);
const _hoisted_5 = { class: "w-full flex flex-row items-center justify-center" };
const _hoisted_6 = /*#__PURE__*/createTextVNode(" Add ");

function render(_ctx, _cache, $props, $setup, $data, $options) {
  const _component_ts_header_text = resolveComponent("ts-header-text");
  const _component_ts_button = resolveComponent("ts-button");

  return (openBlock(), createElementBlock("div", {
    class: "rounded shadow-md bg-white md:!py-5 md:!px-5 space-y-2 lg:!text-sm mdlg:!text-[12px] text-xs py-3 pb-4 px-4 flex flex-col lg:!w-[30%] mdlg:!w-[37%] md:!w-[50%] w-full",
    onClick: withModifiers($event => (true), ["stop"])
  }, [
    createVNode(_component_ts_header_text, {
      size: 'lg',
      customClass: ' w-full text-center'
    }, {
      default: withCtx(() => [
        _hoisted_2
      ]),
      _: 1 /* STABLE */
    }),
    createElementVNode("div", _hoisted_3, [
      _hoisted_4,
      createElementVNode("div", _hoisted_5, [
        createVNode(_component_ts_button, {
          id: "submit-button",
          padding: 'py-2 px-6'
        }, {
          default: withCtx(() => [
            _hoisted_6
          ]),
          _: 1 /* STABLE */
        })
      ])
    ])
  ], 8 /* PROPS */, _hoisted_1))
}

script.render = render;
script.__file = "src/components/TsPaymentMethod/index.vue";

export { script as default };
