<script setup lang="ts">
import { isEmpty } from 'lodash';
const emit = defineEmits(['dropData', 'selectComponent'])

const _props = defineProps<{
  dataResult?: any[]
}>()

const SETTING_OPTIONS = {
  MAX_ELEMENT: 3
}
</script>
<template>
  <div class="breadcrumb">
    <ul class="breadcrumb__list">
      <li class="breadcrumb__list__item">
          <p class="breadcrumb__list__item__title">
            <nuxt-link to="/">Trang chủ</nuxt-link>
          </p>
      </li>
    </ul>

    <div class="button">
      <div class="button__increase">
        <svg class="ri-font-size" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11.246 15H4.75416L2.75416 20H0.600098L7.0001 4H9.0001L15.4001 20H13.246L11.246 15ZM10.446 13L8.0001 6.88516L5.55416 13H10.446ZM21.0001 12.5351V12H23.0001V20H21.0001V19.4649C20.4118 19.8052 19.7287 20 19.0001 20C16.791 20 15.0001 18.2091 15.0001 16C15.0001 13.7909 16.791 12 19.0001 12C19.7287 12 20.4118 12.1948 21.0001 12.5351ZM19.0001 18C20.1047 18 21.0001 17.1046 21.0001 16C21.0001 14.8954 20.1047 14 19.0001 14C17.8955 14 17.0001 14.8954 17.0001 16C17.0001 17.1046 17.8955 18 19.0001 18Z"></path></svg>
        <svg  class="ri-add-line" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z"></path></svg>
      </div>
      <div class="button__decrease">
        <svg class="ri-font-size" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11.246 15H4.75416L2.75416 20H0.600098L7.0001 4H9.0001L15.4001 20H13.246L11.246 15ZM10.446 13L8.0001 6.88516L5.55416 13H10.446ZM21.0001 12.5351V12H23.0001V20H21.0001V19.4649C20.4118 19.8052 19.7287 20 19.0001 20C16.791 20 15.0001 18.2091 15.0001 16C15.0001 13.7909 16.791 12 19.0001 12C19.7287 12 20.4118 12.1948 21.0001 12.5351ZM19.0001 18C20.1047 18 21.0001 17.1046 21.0001 16C21.0001 14.8954 20.1047 14 19.0001 14C17.8955 14 17.0001 14.8954 17.0001 16C17.0001 17.1046 17.8955 18 19.0001 18Z"></path></svg>
        <svg class="ri-subtract-line" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M5 11V13H19V11H5Z"></path></svg>
      </div>
    </div>
  </div>
</template>
<style lang="scss" scoped>
.breadcrumb {
  display: flex;
  justify-content: space-between;

  &__list {
    padding: 0px;
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.25rem;

    &__item {
      display: inline-block;
      position: relative;
      &:first-child {
        color: blue;
      }

      &:not(:first-child):before {
        content: "";
        width: 7px;
        height: 7px;
        border-top: 1px solid #bdbdbd;
        border-right: 1px solid #bdbdbd;
        transform: rotate(45deg);
        position: absolute;
        left: -18px;
        top: 8px;
      }
    }
  }

  .button {
    display: flex;
    gap: 4px;

    &__increase, &__decrease {
      width: 32px;
      height: 32px;
      background-color: rgb(243, 244, 246);
      border-radius: 50px;
      position: relative;

      & .ri-font-size {
        font-size: 17px;
        position: absolute;
        top: 50%;
        left: 40%;
        transform: translateY(-50%) translateX(-45%);
      }

      & .ri-add-line, & .ri-subtract-line {
        position: absolute;
        right: 4px;
        top: 4px;
        width: 12px;
      }
    }

  }
}
.empty {
  border-radius: 6px;
  background: #409eff;
  width: 40px;
  min-height: 20px;
}


</style>