Files
certd/packages/ui/certd-client/src/components/index.ts
T

50 lines
1.9 KiB
TypeScript
Raw Normal View History

2023-01-29 13:44:19 +08:00
import PiContainer from "./container.vue";
import TextEditable from "./editable.vue";
2024-09-05 14:33:45 +08:00
import vip from "./vip-button/install.js";
2023-01-29 13:44:19 +08:00
import { CheckCircleOutlined, InfoCircleOutlined, UndoOutlined } from "@ant-design/icons-vue";
2024-08-27 13:46:19 +08:00
import CronEditor from "./cron-editor/index.vue";
2024-10-24 14:46:16 +08:00
import FoldBox from "./fold-box.vue";
import { CronLight } from "@certd/vue-js-cron-light";
import "@certd/vue-js-cron-light/dist/light.css";
2024-09-20 19:29:16 +08:00
import Plugins from "./plugins/index";
2024-11-30 01:57:09 +08:00
import LoadingButton from "./loading-button.vue";
import IconSelect from "./icon-select.vue";
2024-12-22 14:00:46 +08:00
import ExpiresTimeText from "./expires-time-text.vue";
2025-03-19 00:28:50 +08:00
import FileInput from "./file-input.vue";
import PemInput from "./pem-input.vue";
2025-04-07 23:52:21 +08:00
import { defineAsyncComponent } from "vue";
import NotificationSelector from "../views/certd/notification/notification-selector/index.vue";
2025-05-31 00:45:54 +08:00
import EmailSelector from "./email-selector/index.vue";
2025-06-04 23:00:37 +08:00
import ValidTimeFormat from "./valid-time-format.vue";
2023-01-29 13:44:19 +08:00
export default {
2024-08-24 01:05:06 +08:00
install(app: any) {
2025-04-07 23:52:21 +08:00
app.component(
"CodeEditor",
defineAsyncComponent(() => import("./code-editor/index.vue"))
);
2025-05-31 00:45:54 +08:00
app.component("EmailSelector", EmailSelector);
app.component("NotificationSelector", NotificationSelector);
2023-01-29 13:44:19 +08:00
app.component("PiContainer", PiContainer);
app.component("TextEditable", TextEditable);
2025-03-19 00:28:50 +08:00
app.component("FileInput", FileInput);
app.component("PemInput", PemInput);
2025-06-04 23:00:37 +08:00
app.component("ValidTimeFormat", ValidTimeFormat);
2025-04-07 23:52:21 +08:00
// app.component("CodeEditor", CodeEditor);
2024-09-05 14:33:45 +08:00
2024-08-27 13:46:19 +08:00
app.component("CronLight", CronLight);
app.component("CronEditor", CronEditor);
2023-01-29 13:44:19 +08:00
2024-10-24 14:46:16 +08:00
app.component("FoldBox", FoldBox);
2023-01-29 13:44:19 +08:00
app.component("CheckCircleOutlined", CheckCircleOutlined);
app.component("InfoCircleOutlined", InfoCircleOutlined);
app.component("UndoOutlined", UndoOutlined);
2024-09-05 14:33:45 +08:00
2024-11-30 01:57:09 +08:00
app.component("LoadingButton", LoadingButton);
app.component("IconSelect", IconSelect);
2024-12-22 14:00:46 +08:00
app.component("ExpiresTimeText", ExpiresTimeText);
2024-09-05 14:33:45 +08:00
app.use(vip);
2024-09-20 19:29:16 +08:00
app.use(Plugins);
2025-03-19 00:28:50 +08:00
},
2023-01-29 13:44:19 +08:00
};