2023-12-12 12:28:39 -05:00
|
|
|
import DButton from "discourse/components/d-button";
|
|
|
|
import i18n from "discourse-common/helpers/i18n";
|
|
|
|
|
|
|
|
const AiHelperLoading = <template>
|
2024-07-10 14:01:05 -04:00
|
|
|
<div class="ai-helper-loading">
|
2023-12-12 12:28:39 -05:00
|
|
|
<div class="dot-falling"></div>
|
|
|
|
<span>
|
|
|
|
{{i18n "discourse_ai.ai_helper.context_menu.loading"}}
|
|
|
|
</span>
|
|
|
|
<DButton
|
|
|
|
@icon="times"
|
|
|
|
@title="discourse_ai.ai_helper.context_menu.cancel"
|
|
|
|
@action={{@cancel}}
|
|
|
|
class="btn-flat cancel-request"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</template>;
|
|
|
|
|
|
|
|
export default AiHelperLoading;
|