| onClose={() => setEmbeddingModalOpen(false)} | onClose={() => setEmbeddingModalOpen(false)} | ||||
| appBaseUrl={appBaseURL} | appBaseUrl={appBaseURL} | ||||
| accessToken={accessToken} | accessToken={accessToken} | ||||
| className='z-50' | |||||
| /> | /> | ||||
| </PortalToFollowElem > | </PortalToFollowElem > | ||||
| ) | ) | 
| setOpen(false) | setOpen(false) | ||||
| }} | }} | ||||
| className='sm:min-w-[528px]' | className='sm:min-w-[528px]' | ||||
| wrapperClassName='z-50' | |||||
| title={t('appDebug.datasetConfig.settingTitle')} | title={t('appDebug.datasetConfig.settingTitle')} | ||||
| > | > | ||||
| <ConfigContent | <ConfigContent | 
| isShow={isShow} | isShow={isShow} | ||||
| onClose={onHide} | onClose={onHide} | ||||
| className='!p-8 !pb-6 !mt-14 !max-w-none !w-[640px]' | className='!p-8 !pb-6 !mt-14 !max-w-none !w-[640px]' | ||||
| wrapperClassName='!z-50' | |||||
| > | > | ||||
| <div className='mb-2 text-xl font-semibold text-[#1D2939]'> | <div className='mb-2 text-xl font-semibold text-[#1D2939]'> | ||||
| {t(`appAnnotation.initSetup.${isInit ? 'title' : 'configTitle'}`)} | {t(`appAnnotation.initSetup.${isInit ? 'title' : 'configTitle'}`)} | 
| mask?: boolean | mask?: boolean | ||||
| positionCenter?: boolean | positionCenter?: boolean | ||||
| isOpen: boolean | isOpen: boolean | ||||
| // closable: boolean | |||||
| showClose?: boolean | showClose?: boolean | ||||
| clickOutsideNotOpen?: boolean | clickOutsideNotOpen?: boolean | ||||
| onClose: () => void | onClose: () => void | 
| import type { FC } from 'react' | import type { FC } from 'react' | ||||
| import React from 'react' | import React from 'react' | ||||
| import { useTranslation } from 'react-i18next' | import { useTranslation } from 'react-i18next' | ||||
| import cn from 'classnames' | |||||
| import s from './style.module.css' | import s from './style.module.css' | ||||
| import Modal from '@/app/components/base/modal' | import Modal from '@/app/components/base/modal' | ||||
| import Button from '@/app/components/base/button' | import Button from '@/app/components/base/button' | ||||
| <Modal | <Modal | ||||
| isShow={isShow} | isShow={isShow} | ||||
| onClose={onHide} | onClose={onHide} | ||||
| wrapperClassName='z-50' | |||||
| className={cn(s.delModal, 'z-50')} | |||||
| className={s.delModal} | |||||
| closable | closable | ||||
| > | > | ||||
| <div onClick={(e) => { | <div onClick={(e) => { | 
| .modal-dialog { | .modal-dialog { | ||||
| @apply relative z-10; | |||||
| @apply relative z-50; | |||||
| } | } | ||||
| .modal-panel { | .modal-panel { | 
| title={t('datasetDocuments.list.table.rename')} | title={t('datasetDocuments.list.table.rename')} | ||||
| isShow | isShow | ||||
| onClose={onClose} | onClose={onClose} | ||||
| wrapperClassName='!z-50' | |||||
| > | > | ||||
| <div className={'mt-6 font-medium text-sm leading-[21px] text-gray-900'}>{t('datasetDocuments.list.table.name')}</div> | <div className={'mt-6 font-medium text-sm leading-[21px] text-gray-900'}>{t('datasetDocuments.list.table.name')}</div> | ||||
| <input className={'mt-2 w-full rounded-lg h-10 box-border px-3 text-sm leading-10 bg-gray-100'} | <input className={'mt-2 w-full rounded-lg h-10 box-border px-3 text-sm leading-10 bg-gray-100'} | 
| title={t('common.chat.renameConversation')} | title={t('common.chat.renameConversation')} | ||||
| isShow={isShow} | isShow={isShow} | ||||
| onClose={onClose} | onClose={onClose} | ||||
| wrapperClassName='!z-50' | |||||
| > | > | ||||
| <div className={'mt-6 font-medium text-sm leading-[21px] text-gray-900'}>{t('common.chat.conversationName')}</div> | <div className={'mt-6 font-medium text-sm leading-[21px] text-gray-900'}>{t('common.chat.conversationName')}</div> | ||||
| <input className={'mt-2 w-full rounded-lg h-10 box-border px-3 text-sm leading-10 bg-gray-100'} | <input className={'mt-2 w-full rounded-lg h-10 box-border px-3 text-sm leading-10 bg-gray-100'} | 
| return ( | return ( | ||||
| <Modal | <Modal | ||||
| title={t(`${i18nPrefix}.authorization`)} | title={t(`${i18nPrefix}.authorization`)} | ||||
| wrapperClassName='z-50 w-400' | |||||
| isShow={isShow} | isShow={isShow} | ||||
| onClose={onHide} | onClose={onHide} | ||||
| > | > |