feat:admin page

This commit is contained in:
Rama Priyanto 2025-01-10 18:52:58 +07:00
parent 7011bc104b
commit 474ec7a313
3433 changed files with 345298 additions and 2288 deletions

View File

@ -0,0 +1,95 @@
"use client";
import SiteBreadcrumb from "@/components/site-breadcrumb";
import { Progress } from "@/components/ui/progress";
import { getUserFeedbacks } from "@/service/master/faq";
import { Icon } from "@iconify/react/dist/iconify.js";
import { stringify } from "querystring";
import { useEffect, useState } from "react";
export default function UserFeedback() {
const [listData, setListData] = useState<any>([]);
useEffect(() => {
initState();
}, []);
async function initState() {
const response = await getUserFeedbacks();
console.log("ssss", response?.data?.data);
setListData(response?.data?.data);
}
const renderStar = (count: number) => {
const mapped = [1, 2, 3, 4, 5];
return (
<div className="flex flex-row gap-3 items-center">
{mapped?.map((row) =>
row < count + 1 ? (
<Icon key={row} icon="emojione:star" width={33} />
) : (
<Icon key={row} icon="emojione-monotone:star" width={33} />
)
)}
</div>
);
};
return (
<div>
<SiteBreadcrumb />
<div className="flex flex-col gap-2 bg-white p-4">
<p className="text-lg">Hasil Feedback</p>
<div className="grid grid-cols-2 gap-5">
{listData?.map(
(list: any) =>
list?.avgScore !== "NaN" && (
<div
key={list?.id}
className="flex flex-col gap-2 bg-gray-100 rounded-md p-5"
>
<div className="flex flex-row gap-3 items-center">
<p className="text-3xl">{parseInt(list?.avgScore)}</p>
{renderStar(parseInt(list?.avgScore))}
</div>
<p className="font-semibold">{list?.question}</p>
<div className="flex flex-row gap-3 items-center">
<p className="w-[120px]">Penilaian 5</p>
<Progress
value={parseInt(list?.score5)}
className="w-[70%]"
/>
</div>
<div className="flex flex-row gap-3 items-center">
<p className="w-[120px]">Penilaian 4</p>
<Progress
value={parseInt(list?.score4)}
className="w-[70%]"
/>
</div>
<div className="flex flex-row gap-3 items-center">
<p className="w-[120px]">Penilaian 3</p>
<Progress
value={parseInt(list?.score3)}
className="w-[70%]"
/>
</div>
<div className="flex flex-row gap-3 items-center">
<p className="w-[120px]">Penilaian 2</p>
<Progress
value={parseInt(list?.score2)}
className="w-[70%]"
/>
</div>
<div className="flex flex-row gap-3 items-center">
<p className="w-[120px]">Penilaian 1</p>
<Progress
value={parseInt(list?.score1)}
className="w-[70%]"
/>
</div>
</div>
)
)}
</div>
</div>
</div>
);
}

View File

@ -69,7 +69,10 @@ export default function CollaborationPage() {
loading();
const response = await deleteCollabDiscussion(dataId);
console.log(response);
toast({
title: "Sukses hapus",
});
setReplyValue("");
close();
initState();
}
@ -79,7 +82,7 @@ export default function CollaborationPage() {
loading();
const data = {
ticketId: id,
replyValue,
message: replyValue,
parentId: null,
};

View File

@ -100,14 +100,6 @@ const columns: ColumnDef<any>[] = [
View
</DropdownMenuItem>
</Link>
<DropdownMenuItem className="p-2 border-b text-default-700 group focus:bg-default focus:text-primary-foreground rounded-none">
<SquarePen className="w-4 h-4 me-1.5" />
Edit
</DropdownMenuItem>
<DropdownMenuItem className="p-2 border-b text-destructive bg-destructive/30 focus:bg-destructive focus:text-destructive-foreground rounded-none">
<Trash2 className="w-4 h-4 me-1.5" />
Delete
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
);

View File

@ -26,6 +26,8 @@ import {
saveTicketInternalReply,
} from "@/service/communication/communication";
import { Textarea } from "@/components/ui/textarea";
import { Icon } from "@iconify/react/dist/iconify.js";
import { Link } from "@/i18n/routing";
const taskSchema = z.object({
title: z.string().min(1, { message: "Judul diperlukan" }),
@ -34,33 +36,6 @@ const taskSchema = z.object({
}),
});
export type escalationDetail = {
id: number;
title: string;
createdAt: string;
commentFromUserName: string;
message: string;
createdBy: {
id: number;
fullname: string;
};
sendTo: {
id: number;
fullname: string;
};
status: {
id: number;
name: string;
};
priority: {
id: number;
name: string;
};
description: string;
narration: string;
is_active: string;
};
export type replyDetail = {
id: number;
message: string;
@ -79,7 +54,7 @@ export default function FormDetailEscalation() {
const MySwal = withReactContent(Swal);
const { id } = useParams() as { id: string };
const [detail, setDetail] = useState<escalationDetail>();
const [detail, setDetail] = useState<any>();
const [ticketReply, setTicketReply] = useState<replyDetail[]>([]);
const [replyVisible, setReplyVisible] = useState(false);
const [replyMessage, setReplyMessage] = useState("");
@ -165,121 +140,134 @@ export default function FormDetailEscalation() {
};
return (
<Card>
<div className="px-6 py-6">
<div className="flex">
<div className="flex flex-col mt-6 w-full mb-3">
{detail !== undefined && (
<div key={detail?.id} className="bg-slate-300 rounded-md">
<p className="px-3 py-3 bg-slate-300 rounded-md text-lg font-semibold">
Ticket #{detail.id}
</p>
<div className="flex flex-row gap-3 mt-3 bg-blue-300 py-2 px-2">
<Avatar>
<AvatarImage
src={"/images/avatar/avatar-3.png"}
alt={`mabes`}
/>
</Avatar>
<div>
<p>
<span className="font-bold">
{detail?.commentFromUserName}
</span>{" "}
mengirimkan pesan untuk{" "}
<span className="font-bold">{detail?.message}</span>
</p>
<p>{detail?.createdAt}</p>
</div>
<div>
<div className="flex">
<div className="flex flex-col mt-6 w-full mb-3">
{detail !== undefined && (
<div key={detail?.id} className="bg-slate-300 rounded-md">
<p className="p-5 bg-slate-300 rounded-md text-lg font-semibold">
Ticket #{detail.id}
</p>
<div className="flex flex-row gap-3 bg-sky-100 p-5 items-center">
<Icon icon="qlementine-icons:user-16" width={36} />
<div>
<p>
<span className="font-bold">
{detail?.commentFromUserName}
</span>
{` `}
mengirimkan pesan untuk{` `}
<Link
href={
detail?.feed
? detail?.feed?.permalink_url == undefined
? detail?.feedUrl
: detail?.feed?.permalink_url
: ""
}
target="_blank"
className="font-bold"
>
{detail?.message}
</Link>
</p>
<p className="text-xs">
{`${new Date(detail?.createdAt).getDate()}-${
new Date(detail?.createdAt).getMonth() + 1
}-${new Date(detail?.createdAt).getFullYear()} ${new Date(
detail?.createdAt
).getHours()}:${new Date(detail?.createdAt).getMinutes()}`}
</p>
</div>
<p className="pl-3 bg-white">{detail.message}</p>
</div>
)}
<p className="p-5 bg-white">{detail.message}</p>
</div>
)}
</div>
</div>
{detail !== undefined && (
<div className="gap-5 mb-5 w-full border mt-3 rounded-md bg-white">
<div className="space-y-2 px-3 mt-3">
<Label>Judul</Label>
<Controller
control={control}
name="title"
render={({ field }) => (
<Input
size="md"
type="text"
value={detail?.title}
onChange={field.onChange}
placeholder="Enter Title"
/>
)}
/>
{/* {errors.title?.message && (
<p className="text-red-400 text-sm">
{errors.title.message}
</p>
)} */}
</div>
<div className="mt-5 px-3">
<Label>Prioritas</Label>
<Select
onValueChange={setSelectedPriority}
value={detail?.priority?.name}
>
<SelectTrigger size="md" className="w-3/12">
<SelectValue placeholder="Pilih" />
</SelectTrigger>
<SelectContent>
<SelectItem value="Low">Low</SelectItem>
<SelectItem value="Medium">Medium</SelectItem>
<SelectItem value="High">High</SelectItem>
</SelectContent>
</Select>
</div>
<div className="space-y-2 px-3 mt-3">
<Label>Description</Label>
<Controller
control={control}
name="title"
render={({ field }) => (
<Textarea
value={detail?.description}
onChange={field.onChange}
placeholder="Enter Title"
/>
)}
/>
{/* {errors.title?.message && (
<p className="text-red-400 text-sm">
{errors.title.message}
</p>
)} */}
</div>
<div className="mt-4 px-3 mb-3">
<Label htmlFor="replyMessage">Tulis Pesan</Label>
<textarea
id="replyMessage"
className="w-full h-24 border rounded-md p-2"
value={replyMessage}
onChange={(e) => setReplyMessage(e.target.value)}
placeholder="Tulis pesan di sini..."
/>
<div className="flex justify-end gap-3 mt-2">
<Button
onClick={() => setReplyVisible(false)}
color="default"
variant="outline"
>
Batal
</Button>
<Button onClick={handleSendReply} color="primary">
Kirim
</Button>
</div>
</div>
</div>
{detail !== undefined && (
<div className="gap-5 mb-5 w-full border mt-3 rounded-md">
<div className="space-y-2 px-3 mt-3">
<Label>Judul</Label>
<Controller
control={control}
name="title"
render={({ field }) => (
<Input
size="md"
type="text"
value={detail?.title}
onChange={field.onChange}
placeholder="Enter Title"
/>
)}
/>
{/* {errors.title?.message && (
<p className="text-red-400 text-sm">
{errors.title.message}
</p>
)} */}
</div>
<div className="mt-5 px-3">
<Label>Prioritas</Label>
<Select
onValueChange={setSelectedPriority}
value={detail?.priority?.name}
>
<SelectTrigger size="md" className="w-3/12">
<SelectValue placeholder="Pilih" />
</SelectTrigger>
<SelectContent>
<SelectItem value="Low">Low</SelectItem>
<SelectItem value="Medium">Medium</SelectItem>
<SelectItem value="High">High</SelectItem>
</SelectContent>
</Select>
</div>
<div className="space-y-2 px-3 mt-3">
<Label>Description</Label>
<Controller
control={control}
name="title"
render={({ field }) => (
<Textarea
value={detail?.description}
onChange={field.onChange}
placeholder="Enter Title"
/>
)}
/>
{/* {errors.title?.message && (
<p className="text-red-400 text-sm">
{errors.title.message}
</p>
)} */}
</div>
<div className="mt-4 px-3 mb-3">
<Label htmlFor="replyMessage">Tulis Pesan</Label>
<textarea
id="replyMessage"
className="w-full h-24 border rounded-md p-2"
value={replyMessage}
onChange={(e) => setReplyMessage(e.target.value)}
placeholder="Tulis pesan di sini..."
/>
<div className="flex justify-end gap-3 mt-2">
<Button
onClick={() => setReplyVisible(false)}
color="default"
variant="outline"
>
Batal
</Button>
<Button onClick={handleSendReply} color="primary">
Kirim
</Button>
</div>
</div>
</div>
)}
</div>
</Card>
)}
</div>
);
}

View File

@ -24,6 +24,7 @@ import {
getTicketingInternalDiscussion,
saveTicketInternalReply,
} from "@/service/communication/communication";
import { Icon } from "@iconify/react/dist/iconify.js";
const taskSchema = z.object({
title: z.string().min(1, { message: "Judul diperlukan" }),
@ -36,6 +37,7 @@ export type taskDetail = {
id: number;
title: string;
createdAt: string;
referenceNumber: string | number;
createdBy: {
id: number;
fullname: string;
@ -161,132 +163,132 @@ export default function FormDetailInternal() {
};
return (
<Card>
<div className="px-6 py-6">
<div className="mt-4 flex flex-row items-center gap-3">
<Button onClick={handleReply} color="default" variant={"outline"}>
Balas
</Button>
<div className="py-5">
<div className="mt-4 flex flex-row items-center gap-3">
<Button onClick={handleReply} color="default" variant={"outline"}>
Balas
</Button>
<Button color="default" variant={"outline"}>
Hapus
</Button>
</div>
<Button color="default" variant={"outline"}>
Hapus
</Button>
</div>
{replyVisible && (
<div className="mt-4">
<Label htmlFor="replyMessage">Tulis Pesan</Label>
<textarea
id="replyMessage"
className="w-full h-24 border rounded-md p-2"
value={replyMessage}
onChange={(e) => setReplyMessage(e.target.value)}
placeholder="Tulis pesan di sini..."
/>
<div className="flex justify-end gap-3 mt-2">
<Button
onClick={() => setReplyVisible(false)}
color="default"
variant="outline"
>
Batal
</Button>
<Button onClick={handleSendReply} color="primary">
Kirim
</Button>
<div className="flex flex-row gap-5 mt-5">
<div className="flex flex-col w-[70%]">
{replyVisible && (
<div className="">
<textarea
id="replyMessage"
className="w-full h-24 border rounded-md p-2"
value={replyMessage}
onChange={(e) => setReplyMessage(e.target.value)}
placeholder="Tulis pesan di sini..."
/>
<div className="flex justify-end gap-3 my-2">
<Button
onClick={() => setReplyVisible(false)}
color="default"
variant="outline"
>
Batal
</Button>
<Button onClick={handleSendReply} color="primary">
Kirim
</Button>
</div>
</div>
</div>
)}
<div className="flex flex-row justify-between ">
<div className="flex flex-col mt-6 w-7/12">
)}
<div className="border rounded-t-xl">
<p className="p-4 bg-slate-300 rounded-t-xl text-lg font-semibold">
Ticket #{detail?.referenceNumber}
</p>
{ticketReply?.map((list) => (
<div key={list.id} className="bg-slate-300 rounded-md border">
<p className="px-3 pt-3 bg-slate-300 rounded-md text-lg font-semibold">
Ticket #{list.id}
</p>
<div className="flex flex-row gap-3 mt-3 bg-blue-300 py-2 px-2">
<Avatar>
<AvatarImage
src={"/images/avatar/avatar-3.png"}
alt={`mabes`}
/>
</Avatar>
<div key={list.id} className="flex flex-col">
<div className="flex flex-row gap-3 bg-sky-100 p-4 items-center">
<Icon icon="qlementine-icons:user-16" width={36} />
<div>
<p>
<span className="font-bold">
<span className="font-bold text-sm">
{list?.messageFrom?.fullname}
</span>{" "}
mengirimkan pesan untuk{" "}
<span className="font-bold">
<span className="font-bold text-sm">
{list?.messageTo?.fullname}
</span>
</p>
<p>{list?.createdAt}</p>
<p className="text-xs">
{`${new Date(list?.createdAt).getDate()}-${
new Date(list?.createdAt).getMonth() + 1
}-${new Date(list?.createdAt).getFullYear()} ${new Date(
list?.createdAt
).getHours()}:${new Date(list?.createdAt).getMinutes()}`}
</p>
</div>
</div>
<p className="pl-3 bg-white py-2">{list.message}</p>
<p className="p-4 bg-white text-sm">{list.message}</p>
</div>
))}
</div>
{detail !== undefined && (
<div className="gap-5 mb-5 w-3/12 border mt-3 rounded-md">
<Label className="ml-3 mt-3">Properties</Label>
<div className="space-y-2 px-3">
<Label>Judul</Label>
<Controller
control={control}
name="title"
render={({ field }) => (
<Input
size="md"
type="text"
value={detail?.title}
onChange={field.onChange}
placeholder="Enter Title"
/>
)}
/>
{/* {errors.title?.message && (
</div>
{detail !== undefined && (
<div className="gap-5 mb-5 w-[30%] border bg-white rounded-md">
<p className="mx-3 mt-3">Properties</p>
<div className="space-y-2 px-3">
<Label>Judul</Label>
<Controller
control={control}
name="title"
render={({ field }) => (
<Input
size="md"
type="text"
value={detail?.title}
onChange={field.onChange}
placeholder="Enter Title"
/>
)}
/>
{/* {errors.title?.message && (
<p className="text-red-400 text-sm">
{errors.title.message}
</p>
)} */}
</div>
<div className="mt-5 px-3">
<Label>Prioritas</Label>
<Select
onValueChange={setSelectedPriority}
value={detail?.priority?.name}
>
<SelectTrigger size="md">
<SelectValue placeholder="Pilih" />
</SelectTrigger>
<SelectContent>
<SelectItem value="Low">Low</SelectItem>
<SelectItem value="Medium">Medium</SelectItem>
<SelectItem value="High">High</SelectItem>
</SelectContent>
</Select>
</div>
<div className="mt-5 px-3 mb-3">
<Label>Status</Label>
<Select
onValueChange={setSelectedStatus}
value={detail?.status?.name}
>
<SelectTrigger size="md">
<SelectValue placeholder="Pilih" />
</SelectTrigger>
<SelectContent>
<SelectItem value="Open">Open</SelectItem>
<SelectItem value="Close">Close</SelectItem>
</SelectContent>
</Select>
</div>
</div>
)}
</div>
<div className="mt-5 px-3">
<Label>Prioritas</Label>
<Select
onValueChange={setSelectedPriority}
value={detail?.priority?.name}
>
<SelectTrigger size="md">
<SelectValue placeholder="Pilih" />
</SelectTrigger>
<SelectContent>
<SelectItem value="Low">Low</SelectItem>
<SelectItem value="Medium">Medium</SelectItem>
<SelectItem value="High">High</SelectItem>
</SelectContent>
</Select>
</div>
<div className="mt-5 px-3 mb-3">
<Label>Status</Label>
<Select
onValueChange={setSelectedStatus}
value={detail?.status?.name}
>
<SelectTrigger size="md">
<SelectValue placeholder="Pilih" />
</SelectTrigger>
<SelectContent>
<SelectItem value="Open">Open</SelectItem>
<SelectItem value="Close">Close</SelectItem>
</SelectContent>
</Select>
</div>
</div>
)}
</div>
</Card>
</div>
);
}

View File

@ -26,6 +26,8 @@ import {
saveTicketInternalReply,
} from "@/service/communication/communication";
import { Textarea } from "@/components/ui/textarea";
import { htmlToString } from "@/utils/globals";
import { Icon } from "@iconify/react/dist/iconify.js";
const taskSchema = z.object({
// description: z.string().min(2, {
@ -33,30 +35,6 @@ const taskSchema = z.object({
// }),
});
export type taskDetail = {
id: number;
title: string;
createdAt: string;
createdBy: {
id: number;
fullname: string;
};
sendTo: {
id: number;
fullname: string;
};
status: {
id: number;
name: string;
};
priority: {
id: number;
name: string;
};
description: string;
is_active: string;
};
export type replyDetail = {
id: number;
message: string;
@ -76,13 +54,14 @@ export default function FormEditInternal() {
const { id } = useParams() as { id: string };
const router = useRouter();
const [detail, setDetail] = useState<taskDetail>();
const [detail, setDetail] = useState<any>();
const [ticketReply, setTicketReply] = useState<replyDetail[]>([]);
const [replyVisible, setReplyVisible] = useState(false);
const [replyMessage, setReplyMessage] = useState("");
const [selectedPriority, setSelectedPriority] = useState("");
const [selectedStatus, setSelectedStatus] = useState("");
const [selectedTarget, setSelectedTarget] = useState("");
const [description, setDescription] = useState("");
type TaskSchema = z.infer<typeof taskSchema>;
const {
@ -98,6 +77,10 @@ export default function FormEditInternal() {
if (id) {
const response = await getTicketingInternalDetail(id);
setDetail(response?.data?.data);
setSelectedPriority(response?.data?.data?.priority?.name);
console.log("sadad", response?.data?.data);
setSelectedStatus(response?.data?.data?.status?.name);
setDescription(htmlToString(response?.data?.data?.message));
}
}
initState();
@ -206,56 +189,51 @@ export default function FormEditInternal() {
};
return (
<Card>
<div className="px-6 py-6">
<div className="mt-4 flex flex-row items-center gap-3">
<Button onClick={handleReply} color="default" variant={"outline"}>
Balas
</Button>
<div className="py-5">
<div className="mt-4 flex flex-row items-center gap-3">
<Button onClick={handleReply} color="default" variant={"outline"}>
Balas
</Button>
<Button color="default" variant={"outline"}>
Hapus
</Button>
</div>
<Button color="default" variant={"outline"}>
Hapus
</Button>
</div>
{replyVisible && (
<div className="mt-4">
<Label htmlFor="replyMessage">Tulis Pesan</Label>
<textarea
id="replyMessage"
className="w-full h-24 border rounded-md p-2"
value={replyMessage}
onChange={(e) => setReplyMessage(e.target.value)}
placeholder="Tulis pesan di sini..."
/>
<div className="flex justify-end gap-3 mt-2">
<Button
onClick={() => setReplyVisible(false)}
color="default"
variant="outline"
>
Batal
</Button>
<Button onClick={handleSendReply} color="primary">
Kirim
</Button>
<div className="flex flex-row gap-5 mt-5">
<div className="flex flex-col w-[70%]">
{replyVisible && (
<div>
<textarea
id="replyMessage"
className="w-full h-24 border rounded-md p-2"
value={replyMessage}
onChange={(e) => setReplyMessage(e.target.value)}
placeholder="Tulis pesan di sini..."
/>
<div className="flex justify-end gap-3 mt-2">
<Button
onClick={() => setReplyVisible(false)}
color="default"
variant="outline"
>
Batal
</Button>
<Button onClick={handleSendReply} color="primary">
Kirim
</Button>
</div>
</div>
</div>
)}
<div className="flex flex-row justify-between ">
<div className="flex flex-col mt-6 w-7/12">
)}
<div className="border rounded-t-xl">
<p className="p-4 bg-slate-300 rounded-t-xl text-lg font-semibold">
Ticket #{detail?.referenceNumber}
</p>
{ticketReply?.map((list) => (
<div key={list.id} className="bg-slate-300 rounded-md border">
<p className="px-3 pt-3 bg-slate-300 rounded-md text-lg font-semibold">
Ticket #{list.id}
</p>
<div className="flex flex-row gap-3 mt-3 bg-blue-300 py-2 px-2">
<Avatar>
<AvatarImage
src={"/images/avatar/avatar-3.png"}
alt={`mabes`}
/>
</Avatar>
<div key={list.id} className="flex flex-col">
<div className="flex flex-row gap-3 bg-sky-100 p-4 items-center">
<Icon icon="qlementine-icons:user-16" width={36} />
<div>
<p>
<span className="font-bold">
@ -266,98 +244,96 @@ export default function FormEditInternal() {
{list?.messageTo?.fullname}
</span>
</p>
<p>{list?.createdAt}</p>
<p className="text-xs">{`${new Date(
list?.createdAt
).getDate()}-${
new Date(list?.createdAt).getMonth() + 1
}-${new Date(list?.createdAt).getFullYear()} ${new Date(
list?.createdAt
).getHours()}:${new Date(
list?.createdAt
).getMinutes()}`}</p>
</div>
</div>
<p className="pl-3 bg-white py-2">{list.message}</p>
</div>
))}
</div>
{detail !== undefined && (
<form onSubmit={handleSubmit(onSubmit)}>
<div className="gap-5 mb-5 w-full border mt-3 rounded-md">
<Label className="ml-3 mt-3">Properties</Label>
<div className="space-y-2 px-3">
<Label>Judul</Label>
<Controller
control={control}
name="title"
render={({ field }) => (
<Input
size="md"
type="text"
value={detail?.title}
onChange={field.onChange}
placeholder="Enter Title"
/>
)}
/>
{/* {errors.title?.message && (
<p className="text-red-400 text-sm">
{errors.title.message}
</p>
)} */}
</div>
<div className="mt-5 px-3">
<Label>Prioritas</Label>
<Select
onValueChange={setSelectedPriority}
value={detail?.priority?.name}
>
<SelectTrigger size="md">
<SelectValue placeholder="Pilih" />
</SelectTrigger>
<SelectContent>
<SelectItem value="Low">Low</SelectItem>
<SelectItem value="Medium">Medium</SelectItem>
<SelectItem value="High">High</SelectItem>
</SelectContent>
</Select>
</div>
<div className="mt-5 px-3 mb-3">
<Label>Status</Label>
<Select
onValueChange={setSelectedStatus}
value={detail?.status?.name}
>
<SelectTrigger size="md">
<SelectValue placeholder="Pilih" />
</SelectTrigger>
<SelectContent>
<SelectItem value="1">Open</SelectItem>
<SelectItem value="2">Close</SelectItem>
</SelectContent>
</Select>
</div>
<div className="space-y-2 px-3">
<Label>Description</Label>
<Controller
control={control}
name="description"
render={({ field }) => (
<Textarea
value={detail?.description}
onChange={field.onChange}
placeholder="Enter description"
/>
)}
/>
{/* {errors.title?.message && (
<p className="text-red-400 text-sm">
{errors.title.message}
</p>
)} */}
</div>
<div className="flex justify-end mt-3 mr-3">
<Button type="submit" color="primary">
Update
</Button>
</div>
</div>
</form>
)}
</div>
{detail !== undefined && (
<form onSubmit={handleSubmit(onSubmit)} className="w-[30%]">
<div className="gap-5 mb-5 border bg-white rounded-xl">
<p className="mx-3 mt-3">Properties</p>
<div className="space-y-2 px-3">
<Label>Judul</Label>
<Controller
control={control}
name="title"
render={({ field }) => (
<Input
size="md"
type="text"
value={detail?.title}
onChange={field.onChange}
placeholder="Enter Title"
/>
)}
/>
{/* {errors.title?.message && (
<p className="text-red-400 text-sm">
{errors.title.message}
</p>
)} */}
</div>
<div className="mt-5 px-3">
<Label>Prioritas</Label>
<Select
onValueChange={setSelectedPriority}
value={selectedPriority}
>
<SelectTrigger size="md">
<SelectValue placeholder="Pilih" />
</SelectTrigger>
<SelectContent>
<SelectItem value="Low">Low</SelectItem>
<SelectItem value="Medium">Medium</SelectItem>
<SelectItem value="High">High</SelectItem>
</SelectContent>
</Select>
</div>
<div className="mt-5 px-3 mb-3">
<Label>Status</Label>
<Select
onValueChange={setSelectedStatus}
value={selectedStatus}
>
<SelectTrigger size="md">
<SelectValue placeholder="Pilih" />
</SelectTrigger>
<SelectContent>
<SelectItem value="Open">Open</SelectItem>
<SelectItem value="Close">Close</SelectItem>
</SelectContent>
</Select>
</div>
<div className="space-y-2 px-3">
<Label>Description</Label>
<Textarea
value={description}
onChange={(e) => setDescription(e.target.value)}
placeholder="Enter description"
/>
</div>
<div className="flex justify-end mt-3 mr-3">
<Button type="submit" color="primary">
Update
</Button>
</div>
</div>
</form>
)}
</div>
</Card>
</div>
);
}

View File

@ -1,8 +1,11 @@
import {
httpGetInterceptor,
} from "../http-config/http-interceptor-service";
import { httpGetInterceptor } from "../http-config/http-interceptor-service";
export async function getFaqList() {
const url = `master/faq/list`;
return httpGetInterceptor(url);
}
}
export async function getUserFeedbacks() {
const url = "feedback/list-all";
return httpGetInterceptor(url);
}

View File

@ -1 +1,12 @@
../typescript/bin/tsc
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
else
exec node "$basedir/../typescript/bin/tsc" "$@"
fi

17
vendor/ckeditor5/node_modules/.bin/tsc.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\typescript\bin\tsc" %*

28
vendor/ckeditor5/node_modules/.bin/tsc.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../typescript/bin/tsc" $args
} else {
& "$basedir/node$exe" "$basedir/../typescript/bin/tsc" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../typescript/bin/tsc" $args
} else {
& "node$exe" "$basedir/../typescript/bin/tsc" $args
}
$ret=$LASTEXITCODE
}
exit $ret

View File

@ -1 +1,12 @@
../typescript/bin/tsserver
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@"
else
exec node "$basedir/../typescript/bin/tsserver" "$@"
fi

17
vendor/ckeditor5/node_modules/.bin/tsserver.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\typescript\bin\tsserver" %*

28
vendor/ckeditor5/node_modules/.bin/tsserver.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../typescript/bin/tsserver" $args
} else {
& "$basedir/node$exe" "$basedir/../typescript/bin/tsserver" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../typescript/bin/tsserver" $args
} else {
& "node$exe" "$basedir/../typescript/bin/tsserver" $args
}
$ret=$LASTEXITCODE
}
exit $ret

View File

@ -5,9 +5,9 @@
/**
* @module alignment/alignment
*/
import { Plugin } from '@ckeditor/ckeditor5-alignment/node_modules/ckeditor5/src/core.js';
import AlignmentEditing from '@ckeditor/ckeditor5-alignment/src/alignmentediting.js';
import AlignmentUI from '@ckeditor/ckeditor5-alignment/src/alignmentui.js';
import { Plugin } from 'ckeditor5/src/core.js';
import AlignmentEditing from './alignmentediting.js';
import AlignmentUI from './alignmentui.js';
/**
* The text alignment plugin.
*

View File

@ -5,8 +5,8 @@
/**
* @module alignment/alignmentcommand
*/
import { Command } from '@ckeditor/ckeditor5-alignment/node_modules/ckeditor5/src/core.js';
import type { SupportedOption } from '@ckeditor/ckeditor5-alignment/src/alignmentconfig.js';
import { Command } from 'ckeditor5/src/core.js';
import type { SupportedOption } from './alignmentconfig.js';
/**
* The alignment command plugin.
*/

View File

@ -5,7 +5,7 @@
/**
* @module alignment/alignmentediting
*/
import { Plugin, type Editor } from '@ckeditor/ckeditor5-alignment/node_modules/ckeditor5/src/core';
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
/**
* The alignment editing feature. It introduces the {@link module:alignment/alignmentcommand~AlignmentCommand command} and adds
* the `alignment` attribute for block elements in the {@link module:engine/model/model~Model model}.

View File

@ -5,8 +5,8 @@
/**
* @module alignment/alignmentui
*/
import { Plugin } from '@ckeditor/ckeditor5-alignment/node_modules/ckeditor5/src/core.js';
import type { SupportedOption } from '@ckeditor/ckeditor5-alignment/src/alignmentconfig.js';
import { Plugin } from 'ckeditor5/src/core.js';
import type { SupportedOption } from './alignmentconfig.js';
/**
* The default alignment UI plugin.
*

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { Alignment, AlignmentEditing, AlignmentUI, AlignmentCommand, AlignmentConfig } from '@ckeditor/ckeditor5-alignment';
import type { Alignment, AlignmentEditing, AlignmentUI, AlignmentCommand, AlignmentConfig } from './index.js';
declare module '@ckeditor/ckeditor5-core' {
interface EditorConfig {
/**

View File

@ -5,9 +5,9 @@
/**
* @module alignment
*/
export { default as Alignment } from '@ckeditor/ckeditor5-alignment/src/alignment.js';
export { default as AlignmentEditing } from '@ckeditor/ckeditor5-alignment/src/alignmentediting.js';
export { default as AlignmentUI } from '@ckeditor/ckeditor5-alignment/src/alignmentui.js';
export type { default as AlignmentCommand } from '@ckeditor/ckeditor5-alignment/src/alignmentcommand.js';
export type { AlignmentConfig } from '@ckeditor/ckeditor5-alignment/src/alignmentconfig.js';
import '@ckeditor/ckeditor5-alignment/src/augmentation.js';
export { default as Alignment } from './alignment.js';
export { default as AlignmentEditing } from './alignmentediting.js';
export { default as AlignmentUI } from './alignmentui.js';
export type { default as AlignmentCommand } from './alignmentcommand.js';
export type { AlignmentConfig } from './alignmentconfig.js';
import './augmentation.js';

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { Autoformat } from '@ckeditor/ckeditor5-autoformat';
import type { Autoformat } from './index.js';
declare module '@ckeditor/ckeditor5-core' {
interface PluginsMap {
[Autoformat.pluginName]: Autoformat;

View File

@ -5,5 +5,5 @@
/**
* @module autoformat
*/
export { default as Autoformat } from '@ckeditor/ckeditor5-autoformat/src/autoformat.js';
import '@ckeditor/ckeditor5-autoformat/src/augmentation.js';
export { default as Autoformat } from './autoformat.js';
import './augmentation.js';

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { Superscript, Subscript, Bold, Code, AttributeCommand, BoldUI, CodeEditing, CodeUI, Italic, ItalicEditing, ItalicUI, Strikethrough, StrikethroughEditing, StrikethroughUI, SubscriptEditing, SubscriptUI, SuperscriptEditing, SuperscriptUI, Underline, UnderlineEditing, UnderlineUI } from '@ckeditor/ckeditor5-basic-styles';
import type { Superscript, Subscript, Bold, Code, AttributeCommand, BoldUI, CodeEditing, CodeUI, Italic, ItalicEditing, ItalicUI, Strikethrough, StrikethroughEditing, StrikethroughUI, SubscriptEditing, SubscriptUI, SuperscriptEditing, SuperscriptUI, Underline, UnderlineEditing, UnderlineUI } from './index.js';
declare module '@ckeditor/ckeditor5-core' {
interface PluginsMap {
[Superscript.pluginName]: Superscript;

View File

@ -6,8 +6,8 @@
* @module basic-styles/bold
*/
import { Plugin } from 'ckeditor5/src/core.js';
import BoldEditing from '@ckeditor/ckeditor5-basic-styles/src/bold/boldediting.js';
import BoldUI from '@ckeditor/ckeditor5-basic-styles/src/bold/boldui.js';
import BoldEditing from './bold/boldediting.js';
import BoldUI from './bold/boldui.js';
/**
* The bold feature.
*

View File

@ -6,9 +6,9 @@
* @module basic-styles/code
*/
import { Plugin } from 'ckeditor5/src/core.js';
import CodeEditing from '@ckeditor/ckeditor5-basic-styles/src/code/codeediting.js';
import CodeUI from '@ckeditor/ckeditor5-basic-styles/src/code/codeui.js';
import '@ckeditor/ckeditor5-basic-styles/theme/code.css';
import CodeEditing from './code/codeediting.js';
import CodeUI from './code/codeui.js';
import '../theme/code.css';
/**
* The code feature.
*

View File

@ -6,7 +6,7 @@
* @module basic-styles/code/codeui
*/
import { Plugin } from 'ckeditor5/src/core.js';
import '@ckeditor/ckeditor5-basic-styles/theme/code.css';
import '../../theme/code.css';
/**
* The code UI feature. It introduces the Code button.
*/

View File

@ -5,26 +5,26 @@
/**
* @module basic-styles
*/
export { default as Bold } from '@ckeditor/ckeditor5-basic-styles/src/bold.js';
export { default as BoldEditing } from '@ckeditor/ckeditor5-basic-styles/src/bold/boldediting.js';
export { default as BoldUI } from '@ckeditor/ckeditor5-basic-styles/src/bold/boldui.js';
export { default as Code } from '@ckeditor/ckeditor5-basic-styles/src/code.js';
export { default as CodeEditing } from '@ckeditor/ckeditor5-basic-styles/src/code/codeediting.js';
export { default as CodeUI } from '@ckeditor/ckeditor5-basic-styles/src/code/codeui.js';
export { default as Italic } from '@ckeditor/ckeditor5-basic-styles/src/italic.js';
export { default as ItalicEditing } from '@ckeditor/ckeditor5-basic-styles/src/italic/italicediting.js';
export { default as ItalicUI } from '@ckeditor/ckeditor5-basic-styles/src/italic/italicui.js';
export { default as Strikethrough } from '@ckeditor/ckeditor5-basic-styles/src/strikethrough.js';
export { default as StrikethroughEditing } from '@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughediting.js';
export { default as StrikethroughUI } from '@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughui.js';
export { default as Subscript } from '@ckeditor/ckeditor5-basic-styles/src/subscript.js';
export { default as SubscriptEditing } from '@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptediting.js';
export { default as SubscriptUI } from '@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptui.js';
export { default as Superscript } from '@ckeditor/ckeditor5-basic-styles/src/superscript.js';
export { default as SuperscriptEditing } from '@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptediting.js';
export { default as SuperscriptUI } from '@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptui.js';
export { default as Underline } from '@ckeditor/ckeditor5-basic-styles/src/underline.js';
export { default as UnderlineEditing } from '@ckeditor/ckeditor5-basic-styles/src/underline/underlineediting.js';
export { default as UnderlineUI } from '@ckeditor/ckeditor5-basic-styles/src/underline/underlineui.js';
export type { default as AttributeCommand } from '@ckeditor/ckeditor5-basic-styles/src/attributecommand.js';
import '@ckeditor/ckeditor5-basic-styles/src/augmentation.js';
export { default as Bold } from './bold.js';
export { default as BoldEditing } from './bold/boldediting.js';
export { default as BoldUI } from './bold/boldui.js';
export { default as Code } from './code.js';
export { default as CodeEditing } from './code/codeediting.js';
export { default as CodeUI } from './code/codeui.js';
export { default as Italic } from './italic.js';
export { default as ItalicEditing } from './italic/italicediting.js';
export { default as ItalicUI } from './italic/italicui.js';
export { default as Strikethrough } from './strikethrough.js';
export { default as StrikethroughEditing } from './strikethrough/strikethroughediting.js';
export { default as StrikethroughUI } from './strikethrough/strikethroughui.js';
export { default as Subscript } from './subscript.js';
export { default as SubscriptEditing } from './subscript/subscriptediting.js';
export { default as SubscriptUI } from './subscript/subscriptui.js';
export { default as Superscript } from './superscript.js';
export { default as SuperscriptEditing } from './superscript/superscriptediting.js';
export { default as SuperscriptUI } from './superscript/superscriptui.js';
export { default as Underline } from './underline.js';
export { default as UnderlineEditing } from './underline/underlineediting.js';
export { default as UnderlineUI } from './underline/underlineui.js';
export type { default as AttributeCommand } from './attributecommand.js';
import './augmentation.js';

View File

@ -6,8 +6,8 @@
* @module basic-styles/italic
*/
import { Plugin } from 'ckeditor5/src/core.js';
import ItalicEditing from '@ckeditor/ckeditor5-basic-styles/src/italic/italicediting.js';
import ItalicUI from '@ckeditor/ckeditor5-basic-styles/src/italic/italicui.js';
import ItalicEditing from './italic/italicediting.js';
import ItalicUI from './italic/italicui.js';
/**
* The italic feature.
*

View File

@ -6,8 +6,8 @@
* @module basic-styles/strikethrough
*/
import { Plugin } from 'ckeditor5/src/core.js';
import StrikethroughEditing from '@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughediting.js';
import StrikethroughUI from '@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughui.js';
import StrikethroughEditing from './strikethrough/strikethroughediting.js';
import StrikethroughUI from './strikethrough/strikethroughui.js';
/**
* The strikethrough feature.
*

View File

@ -6,8 +6,8 @@
* @module basic-styles/subscript
*/
import { Plugin } from 'ckeditor5/src/core.js';
import SubscriptEditing from '@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptediting.js';
import SubscriptUI from '@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptui.js';
import SubscriptEditing from './subscript/subscriptediting.js';
import SubscriptUI from './subscript/subscriptui.js';
/**
* The subscript feature.
*

View File

@ -6,8 +6,8 @@
* @module basic-styles/superscript
*/
import { Plugin } from 'ckeditor5/src/core.js';
import SuperscriptEditing from '@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptediting.js';
import SuperscriptUI from '@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptui.js';
import SuperscriptEditing from './superscript/superscriptediting.js';
import SuperscriptUI from './superscript/superscriptui.js';
/**
* The superscript feature.
*

View File

@ -6,8 +6,8 @@
* @module basic-styles/underline
*/
import { Plugin } from 'ckeditor5/src/core.js';
import UnderlineEditing from '@ckeditor/ckeditor5-basic-styles/src/underline/underlineediting.js';
import UnderlineUI from '@ckeditor/ckeditor5-basic-styles/src/underline/underlineui.js';
import UnderlineEditing from './underline/underlineediting.js';
import UnderlineUI from './underline/underlineui.js';
/**
* The underline feature.
*

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { BlockQuote, BlockQuoteCommand, BlockQuoteEditing, BlockQuoteUI } from '@ckeditor/ckeditor5-block-quote';
import type { BlockQuote, BlockQuoteCommand, BlockQuoteEditing, BlockQuoteUI } from './index.js';
declare module '@ckeditor/ckeditor5-core' {
interface PluginsMap {
[BlockQuote.pluginName]: BlockQuote;

View File

@ -6,8 +6,8 @@
* @module block-quote/blockquote
*/
import { Plugin } from 'ckeditor5/src/core.js';
import BlockQuoteEditing from '@ckeditor/ckeditor5-block-quote/src/blockquoteediting.js';
import BlockQuoteUI from '@ckeditor/ckeditor5-block-quote/src/blockquoteui.js';
import BlockQuoteEditing from './blockquoteediting.js';
import BlockQuoteUI from './blockquoteui.js';
/**
* The block quote plugin.
*

View File

@ -6,7 +6,7 @@
* @module block-quote/blockquoteui
*/
import { Plugin } from 'ckeditor5/src/core.js';
import '@ckeditor/ckeditor5-block-quote/theme/blockquote.css';
import '../theme/blockquote.css';
/**
* The block quote UI plugin.
*

View File

@ -5,8 +5,8 @@
/**
* @module block-quote
*/
export { default as BlockQuote } from '@ckeditor/ckeditor5-block-quote/src/blockquote.js';
export { default as BlockQuoteEditing } from '@ckeditor/ckeditor5-block-quote/src/blockquoteediting.js';
export { default as BlockQuoteUI } from '@ckeditor/ckeditor5-block-quote/src/blockquoteui.js';
export type { default as BlockQuoteCommand } from '@ckeditor/ckeditor5-block-quote/src/blockquotecommand.js';
import '@ckeditor/ckeditor5-block-quote/src/augmentation.js';
export { default as BlockQuote } from './blockquote.js';
export { default as BlockQuoteEditing } from './blockquoteediting.js';
export { default as BlockQuoteUI } from './blockquoteui.js';
export type { default as BlockQuoteCommand } from './blockquotecommand.js';
import './augmentation.js';

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { Clipboard, ClipboardPipeline, PastePlainText, DragDrop, DragDropTarget, DragDropBlockToolbar, ClipboardMarkersUtils } from '@ckeditor/ckeditor5-clipboard';
import type { Clipboard, ClipboardPipeline, PastePlainText, DragDrop, DragDropTarget, DragDropBlockToolbar, ClipboardMarkersUtils } from './index.js';
declare module '@ckeditor/ckeditor5-core' {
interface PluginsMap {
[Clipboard.pluginName]: Clipboard;

View File

@ -6,10 +6,10 @@
* @module clipboard/clipboard
*/
import { Plugin } from '@ckeditor/ckeditor5-core';
import ClipboardPipeline from '@ckeditor/ckeditor5-clipboard/src/clipboardpipeline.js';
import DragDrop from '@ckeditor/ckeditor5-clipboard/src/dragdrop.js';
import PastePlainText from '@ckeditor/ckeditor5-clipboard/src/pasteplaintext.js';
import ClipboardMarkersUtils from '@ckeditor/ckeditor5-clipboard/src/clipboardmarkersutils.js';
import ClipboardPipeline from './clipboardpipeline.js';
import DragDrop from './dragdrop.js';
import PastePlainText from './pasteplaintext.js';
import ClipboardMarkersUtils from './clipboardmarkersutils.js';
/**
* The clipboard feature.
*

View File

@ -7,7 +7,7 @@
*/
import { Plugin } from '@ckeditor/ckeditor5-core';
import type { DataTransfer, DocumentFragment, Range, ViewDocumentFragment, ViewRange, Selection, DocumentSelection } from '@ckeditor/ckeditor5-engine';
import ClipboardMarkersUtils from '@ckeditor/ckeditor5-clipboard/src/clipboardmarkersutils.js';
import ClipboardMarkersUtils from './clipboardmarkersutils.js';
/**
* The clipboard pipeline feature. It is responsible for intercepting the `paste` and `drop` events and
* passing the pasted content through a series of events in order to insert it into the editor's content.

View File

@ -7,10 +7,10 @@
*/
import { Plugin } from '@ckeditor/ckeditor5-core';
import { Widget } from '@ckeditor/ckeditor5-widget';
import ClipboardPipeline from '@ckeditor/ckeditor5-clipboard/src/clipboardpipeline.js';
import DragDropTarget from '@ckeditor/ckeditor5-clipboard/src/dragdroptarget.js';
import DragDropBlockToolbar from '@ckeditor/ckeditor5-clipboard/src/dragdropblocktoolbar.js';
import '@ckeditor/ckeditor5-clipboard/theme/clipboard.css';
import ClipboardPipeline from './clipboardpipeline.js';
import DragDropTarget from './dragdroptarget.js';
import DragDropBlockToolbar from './dragdropblocktoolbar.js';
import '../theme/clipboard.css';
/**
* The drag and drop feature. It works on top of the {@link module:clipboard/clipboardpipeline~ClipboardPipeline}.
*

View File

@ -5,13 +5,13 @@
/**
* @module clipboard
*/
export { default as Clipboard } from '@ckeditor/ckeditor5-clipboard/src/clipboard.js';
export { default as ClipboardPipeline, type ClipboardContentInsertionEvent, type ClipboardContentInsertionData, type ClipboardInputTransformationEvent, type ClipboardInputTransformationData, type ClipboardOutputTransformationEvent, type ClipboardOutputTransformationData, type ViewDocumentClipboardOutputEvent } from '@ckeditor/ckeditor5-clipboard/src/clipboardpipeline.js';
export { default as ClipboardMarkersUtils, type ClipboardMarkerRestrictedAction, type ClipboardMarkerConfiguration } from '@ckeditor/ckeditor5-clipboard/src/clipboardmarkersutils.js';
export type { ClipboardEventData } from '@ckeditor/ckeditor5-clipboard/src/clipboardobserver.js';
export { default as DragDrop } from '@ckeditor/ckeditor5-clipboard/src/dragdrop.js';
export { default as PastePlainText } from '@ckeditor/ckeditor5-clipboard/src/pasteplaintext.js';
export { default as DragDropTarget } from '@ckeditor/ckeditor5-clipboard/src/dragdroptarget.js';
export { default as DragDropBlockToolbar } from '@ckeditor/ckeditor5-clipboard/src/dragdropblocktoolbar.js';
export type { ViewDocumentClipboardInputEvent, ViewDocumentCopyEvent, ViewDocumentCutEvent } from '@ckeditor/ckeditor5-clipboard/src/clipboardobserver.js';
import '@ckeditor/ckeditor5-clipboard/src/augmentation.js';
export { default as Clipboard } from './clipboard.js';
export { default as ClipboardPipeline, type ClipboardContentInsertionEvent, type ClipboardContentInsertionData, type ClipboardInputTransformationEvent, type ClipboardInputTransformationData, type ClipboardOutputTransformationEvent, type ClipboardOutputTransformationData, type ViewDocumentClipboardOutputEvent } from './clipboardpipeline.js';
export { default as ClipboardMarkersUtils, type ClipboardMarkerRestrictedAction, type ClipboardMarkerConfiguration } from './clipboardmarkersutils.js';
export type { ClipboardEventData } from './clipboardobserver.js';
export { default as DragDrop } from './dragdrop.js';
export { default as PastePlainText } from './pasteplaintext.js';
export { default as DragDropTarget } from './dragdroptarget.js';
export { default as DragDropBlockToolbar } from './dragdropblocktoolbar.js';
export type { ViewDocumentClipboardInputEvent, ViewDocumentCopyEvent, ViewDocumentCutEvent } from './clipboardobserver.js';
import './augmentation.js';

View File

@ -6,7 +6,7 @@
* @module clipboard/pasteplaintext
*/
import { Plugin } from '@ckeditor/ckeditor5-core';
import ClipboardPipeline from '@ckeditor/ckeditor5-clipboard/src/clipboardpipeline.js';
import ClipboardPipeline from './clipboardpipeline.js';
/**
* The plugin detects the user's intention to paste plain text.
*

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { CloudServices, CloudServicesConfig, CloudServicesCore } from '@ckeditor/ckeditor5-cloud-services';
import type { CloudServices, CloudServicesConfig, CloudServicesCore } from './index.js';
declare module '@ckeditor/ckeditor5-core' {
interface EditorConfig {
/**

View File

@ -6,9 +6,9 @@
* @module cloud-services/cloudservices
*/
import { ContextPlugin } from 'ckeditor5/src/core.js';
import CloudServicesCore from '@ckeditor/ckeditor5-cloud-services/src/cloudservicescore.js';
import type { CloudServicesConfig, TokenUrl } from '@ckeditor/ckeditor5-cloud-services/src/cloudservicesconfig.js';
import type { InitializedToken } from '@ckeditor/ckeditor5-cloud-services/src/token/token.js';
import CloudServicesCore from './cloudservicescore.js';
import type { CloudServicesConfig, TokenUrl } from './cloudservicesconfig.js';
import type { InitializedToken } from './token/token.js';
/**
* Plugin introducing the integration between CKEditor 5 and CKEditor Cloud Services .
*

View File

@ -6,9 +6,9 @@
* @module cloud-services/cloudservicescore
*/
import { ContextPlugin } from 'ckeditor5/src/core.js';
import type { TokenUrl } from '@ckeditor/ckeditor5-cloud-services/src/cloudservicesconfig.js';
import Token, { type InitializedToken, type TokenOptions } from '@ckeditor/ckeditor5-cloud-services/src/token/token.js';
import UploadGateway from '@ckeditor/ckeditor5-cloud-services/src/uploadgateway/uploadgateway.js';
import type { TokenUrl } from './cloudservicesconfig.js';
import Token, { type InitializedToken, type TokenOptions } from './token/token.js';
import UploadGateway from './uploadgateway/uploadgateway.js';
/**
* The `CloudServicesCore` plugin exposes the base API for communication with CKEditor Cloud Services.
*/

View File

@ -5,10 +5,10 @@
/**
* @module cloud-services
*/
export { default as CloudServices } from '@ckeditor/ckeditor5-cloud-services/src/cloudservices.js';
export { default as CloudServicesCore } from '@ckeditor/ckeditor5-cloud-services/src/cloudservicescore.js';
export { TokenUrl, type CloudServicesConfig } from '@ckeditor/ckeditor5-cloud-services/src/cloudservicesconfig.js';
export type { default as Token, InitializedToken } from '@ckeditor/ckeditor5-cloud-services/src/token/token.js';
export type { default as UploadGateway } from '@ckeditor/ckeditor5-cloud-services/src/uploadgateway/uploadgateway.js';
export type { default as FileUploader } from '@ckeditor/ckeditor5-cloud-services/src/uploadgateway/fileuploader.js';
import '@ckeditor/ckeditor5-cloud-services/src/augmentation.js';
export { default as CloudServices } from './cloudservices.js';
export { default as CloudServicesCore } from './cloudservicescore.js';
export { TokenUrl, type CloudServicesConfig } from './cloudservicesconfig.js';
export type { default as Token, InitializedToken } from './token/token.js';
export type { default as UploadGateway } from './uploadgateway/uploadgateway.js';
export type { default as FileUploader } from './uploadgateway/fileuploader.js';
import './augmentation.js';

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { TokenUrl } from '@ckeditor/ckeditor5-cloud-services/src/cloudservicesconfig.js';
import type { TokenUrl } from '../cloudservicesconfig.js';
declare const Token_base: {
new (): import("ckeditor5/src/utils.js").Observable;
prototype: import("ckeditor5/src/utils.js").Observable;

View File

@ -6,7 +6,7 @@
* @module cloud-services/uploadgateway/fileuploader
*/
import type { UploadResponse } from 'ckeditor5/src/upload.js';
import type { InitializedToken } from '@ckeditor/ckeditor5-cloud-services/src/token/token.js';
import type { InitializedToken } from '../token/token.js';
declare const FileUploader_base: {
new (): import("ckeditor5/src/utils.js").Emitter;
prototype: import("ckeditor5/src/utils.js").Emitter;

View File

@ -5,8 +5,8 @@
/**
* @module cloud-services/uploadgateway/uploadgateway
*/
import FileUploader from '@ckeditor/ckeditor5-cloud-services/src/uploadgateway/fileuploader.js';
import type { InitializedToken } from '@ckeditor/ckeditor5-cloud-services/src/token/token.js';
import FileUploader from './fileuploader.js';
import type { InitializedToken } from '../token/token.js';
/**
* UploadGateway abstracts file uploads to CKEditor Cloud Services.
*/

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { CodeBlock, CodeBlockCommand, CodeBlockConfig, CodeBlockEditing, CodeBlockUI, IndentCodeBlockCommand, OutdentCodeBlockCommand } from '@ckeditor/ckeditor5-code-block';
import type { CodeBlock, CodeBlockCommand, CodeBlockConfig, CodeBlockEditing, CodeBlockUI, IndentCodeBlockCommand, OutdentCodeBlockCommand } from './index.js';
declare module '@ckeditor/ckeditor5-core' {
interface EditorConfig {
/**

View File

@ -5,9 +5,9 @@
/**
* @module code-block/codeblock
*/
import { Plugin } from '@ckeditor/ckeditor5-code-block/node_modules/ckeditor5/src/core.js';
import CodeBlockEditing from '@ckeditor/ckeditor5-code-block/src/codeblockediting.js';
import CodeBlockUI from '@ckeditor/ckeditor5-code-block/src/codeblockui.js';
import { Plugin } from 'ckeditor5/src/core.js';
import CodeBlockEditing from './codeblockediting.js';
import CodeBlockUI from './codeblockui.js';
/**
* The code block plugin.
*

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import { Command, type Editor } from '@ckeditor/ckeditor5-code-block/node_modules/ckeditor5/src/core';
import { Command, type Editor } from 'ckeditor5/src/core.js';
/**
* The code block command plugin.
*/

View File

@ -5,8 +5,8 @@
/**
* @module code-block/codeblockediting
*/
import { Plugin, type Editor } from '@ckeditor/ckeditor5-code-block/node_modules/ckeditor5/src/core';
import { ShiftEnter } from '@ckeditor/ckeditor5-code-block/node_modules/ckeditor5/src/enter';
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
import { ShiftEnter } from 'ckeditor5/src/enter.js';
/**
* The editing part of the code block feature.
*

View File

@ -5,8 +5,8 @@
/**
* @module code-block/codeblockui
*/
import { Plugin } from '@ckeditor/ckeditor5-code-block/node_modules/ckeditor5/src/core';
import '@ckeditor/ckeditor5-code-block/theme/codeblock.css';
import { Plugin } from 'ckeditor5/src/core.js';
import '../theme/codeblock.css';
/**
* The code block UI plugin.
*

View File

@ -5,7 +5,7 @@
/**
* @module code-block/indentcodeblockcommand
*/
import { Command, type Editor } from '@ckeditor/ckeditor5-code-block/node_modules/ckeditor5/src/core';
import { Command, type Editor } from 'ckeditor5/src/core.js';
/**
* The code block indentation increase command plugin.
*/

View File

@ -5,11 +5,11 @@
/**
* @module code-block
*/
export { default as CodeBlock } from '@ckeditor/ckeditor5-code-block/src/codeblock.js';
export { default as CodeBlockEditing } from '@ckeditor/ckeditor5-code-block/src/codeblockediting.js';
export { default as CodeBlockUI } from '@ckeditor/ckeditor5-code-block/src/codeblockui.js';
export type { default as CodeBlockCommand } from '@ckeditor/ckeditor5-code-block/src/codeblockcommand.js';
export type { default as IndentCodeBlockCommand } from '@ckeditor/ckeditor5-code-block/src/indentcodeblockcommand.js';
export type { default as OutdentCodeBlockCommand } from '@ckeditor/ckeditor5-code-block/src/outdentcodeblockcommand.js';
export type { CodeBlockConfig } from '@ckeditor/ckeditor5-code-block/src/codeblockconfig.js';
import '@ckeditor/ckeditor5-code-block/src/augmentation.js';
export { default as CodeBlock } from './codeblock.js';
export { default as CodeBlockEditing } from './codeblockediting.js';
export { default as CodeBlockUI } from './codeblockui.js';
export type { default as CodeBlockCommand } from './codeblockcommand.js';
export type { default as IndentCodeBlockCommand } from './indentcodeblockcommand.js';
export type { default as OutdentCodeBlockCommand } from './outdentcodeblockcommand.js';
export type { CodeBlockConfig } from './codeblockconfig.js';
import './augmentation.js';

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import { Command, type Editor } from '@ckeditor/ckeditor5-code-block/node_modules/ckeditor5/src/core';
import { Command, type Editor } from 'ckeditor5/src/core.js';
/**
* The code block indentation decrease command plugin.
*/

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type Editor from './editor/editor.js';
export declare const DEFAULT_GROUP_ID: "common";
/**
* A common namespace for various accessibility features of the editor.

View File

@ -6,7 +6,7 @@
* @module core/command
*/
import { type DecoratedMethodEvent } from '@ckeditor/ckeditor5-utils';
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type Editor from './editor/editor.js';
declare const Command_base: {
new (): import("@ckeditor/ckeditor5-utils").Observable;
prototype: import("@ckeditor/ckeditor5-utils").Observable;

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Command from '@ckeditor/ckeditor5-core/src/command.js';
import type Command from './command.js';
/**
* Collection of commands. Its instance is available in {@link module:core/editor/editor~Editor#commands `editor.commands`}.
*/

View File

@ -6,10 +6,10 @@
* @module core/context
*/
import { Config, Collection, Locale, type LocaleTranslate } from '@ckeditor/ckeditor5-utils';
import PluginCollection from '@ckeditor/ckeditor5-core/src/plugincollection.js';
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type { LoadedPlugins, PluginConstructor } from '@ckeditor/ckeditor5-core/src/plugin.js';
import type { EditorConfig } from '@ckeditor/ckeditor5-core/src/editor/editorconfig.js';
import PluginCollection from './plugincollection.js';
import type Editor from './editor/editor.js';
import type { LoadedPlugins, PluginConstructor } from './plugin.js';
import type { EditorConfig } from './editor/editorconfig.js';
/**
* Provides a common, higher-level environment for solutions that use multiple {@link module:core/editor/editor~Editor editors}
* or plugins that work outside the editor. Use it instead of {@link module:core/editor/editor~Editor.create `Editor.create()`}

View File

@ -6,11 +6,11 @@
* @module core/contextplugin
*/
import { type Collection, type Config, type Locale, type LocaleTranslate } from '@ckeditor/ckeditor5-utils';
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type { EditorConfig } from '@ckeditor/ckeditor5-core/src/editor/editorconfig.js';
import type Context from '@ckeditor/ckeditor5-core/src/context.js';
import type { PluginDependencies, PluginInterface } from '@ckeditor/ckeditor5-core/src/plugin.js';
import type PluginCollection from '@ckeditor/ckeditor5-core/src/plugincollection.js';
import type Editor from './editor/editor.js';
import type { EditorConfig } from './editor/editorconfig.js';
import type Context from './context.js';
import type { PluginDependencies, PluginInterface } from './plugin.js';
import type PluginCollection from './plugincollection.js';
declare const ContextPlugin_base: {
new (): import("@ckeditor/ckeditor5-utils").Observable;
prototype: import("@ckeditor/ckeditor5-utils").Observable;

View File

@ -6,7 +6,7 @@
* @module core/editingkeystrokehandler
*/
import { KeystrokeHandler, type PriorityString } from '@ckeditor/ckeditor5-utils';
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type Editor from './editor/editor.js';
/**
* A keystroke handler for editor editing. Its instance is available
* in {@link module:core/editor/editor~Editor#keystrokes} so plugins

View File

@ -8,13 +8,13 @@
import { Config, type Locale, type LocaleTranslate } from '@ckeditor/ckeditor5-utils';
import { Conversion, DataController, EditingController, Model } from '@ckeditor/ckeditor5-engine';
import type { EditorUI } from '@ckeditor/ckeditor5-ui';
import Context from '@ckeditor/ckeditor5-core/src/context.js';
import PluginCollection from '@ckeditor/ckeditor5-core/src/plugincollection.js';
import CommandCollection, { type CommandsMap } from '@ckeditor/ckeditor5-core/src/commandcollection.js';
import EditingKeystrokeHandler from '@ckeditor/ckeditor5-core/src/editingkeystrokehandler.js';
import Accessibility from '@ckeditor/ckeditor5-core/src/accessibility.js';
import type { LoadedPlugins, PluginConstructor } from '@ckeditor/ckeditor5-core/src/plugin.js';
import type { EditorConfig } from '@ckeditor/ckeditor5-core/src/editor/editorconfig.js';
import Context from '../context.js';
import PluginCollection from '../plugincollection.js';
import CommandCollection, { type CommandsMap } from '../commandcollection.js';
import EditingKeystrokeHandler from '../editingkeystrokehandler.js';
import Accessibility from '../accessibility.js';
import type { LoadedPlugins, PluginConstructor } from '../plugin.js';
import type { EditorConfig } from './editorconfig.js';
declare const Editor_base: {
new (): import("@ckeditor/ckeditor5-utils").Observable;
prototype: import("@ckeditor/ckeditor5-utils").Observable;

View File

@ -6,9 +6,9 @@
* @module core/editor/editorconfig
*/
import type { ArrayOrItem, Translations } from '@ckeditor/ckeditor5-utils';
import type Context from '@ckeditor/ckeditor5-core/src/context.js';
import type { PluginConstructor } from '@ckeditor/ckeditor5-core/src/plugin.js';
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type Context from '../context.js';
import type { PluginConstructor } from '../plugin.js';
import type Editor from './editor.js';
import type { MenuBarConfig } from '@ckeditor/ckeditor5-ui';
/**
* CKEditor configuration options.

View File

@ -2,8 +2,8 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { default as Editor } from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type { ElementApi } from '@ckeditor/ckeditor5-core/src/editor/utils/elementapimixin.js';
import type { default as Editor } from '../editor.js';
import type { ElementApi } from './elementapimixin.js';
/**
* Checks if the editor is initialized on a `<textarea>` element that belongs to a form. If yes, it updates the editor's element
* content before submitting the form.

View File

@ -5,7 +5,7 @@
/**
* @module core/editor/utils/dataapimixin
*/
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type Editor from '../editor.js';
import type { Constructor } from '@ckeditor/ckeditor5-utils';
/**
* Implementation of the {@link module:core/editor/utils/dataapimixin~DataApi}.

View File

@ -6,7 +6,7 @@
* @module core/editor/utils/elementapimixin
*/
import { type Constructor, type Mixed } from '@ckeditor/ckeditor5-utils';
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type Editor from '../editor.js';
/**
* Implementation of the {@link module:core/editor/utils/elementapimixin~ElementApi}.
*/

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { default as Editor } from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type { default as Editor } from '../editor.js';
/**
* Marks the source element on which the editor was initialized. This prevents other editor instances from using this element.
*

View File

@ -5,23 +5,23 @@
/**
* @module core
*/
export { default as Plugin, type PluginDependencies, type PluginConstructor } from '@ckeditor/ckeditor5-core/src/plugin.js';
export { default as Command, type CommandExecuteEvent } from '@ckeditor/ckeditor5-core/src/command.js';
export { default as MultiCommand } from '@ckeditor/ckeditor5-core/src/multicommand.js';
export type { CommandsMap } from '@ckeditor/ckeditor5-core/src/commandcollection.js';
export type { PluginsMap, default as PluginCollection } from '@ckeditor/ckeditor5-core/src/plugincollection.js';
export { default as Context, type ContextConfig } from '@ckeditor/ckeditor5-core/src/context.js';
export { default as ContextPlugin, type ContextPluginDependencies } from '@ckeditor/ckeditor5-core/src/contextplugin.js';
export { type EditingKeystrokeCallback } from '@ckeditor/ckeditor5-core/src/editingkeystrokehandler.js';
export type { PartialBy, NonEmptyArray } from '@ckeditor/ckeditor5-core/src/typings.js';
export { default as Editor, type EditorReadyEvent, type EditorDestroyEvent } from '@ckeditor/ckeditor5-core/src/editor/editor.js';
export type { EditorConfig, LanguageConfig, ToolbarConfig, ToolbarConfigItem, UiConfig } from '@ckeditor/ckeditor5-core/src/editor/editorconfig.js';
export { default as attachToForm } from '@ckeditor/ckeditor5-core/src/editor/utils/attachtoform.js';
export { default as DataApiMixin, type DataApi } from '@ckeditor/ckeditor5-core/src/editor/utils/dataapimixin.js';
export { default as ElementApiMixin, type ElementApi } from '@ckeditor/ckeditor5-core/src/editor/utils/elementapimixin.js';
export { default as secureSourceElement } from '@ckeditor/ckeditor5-core/src/editor/utils/securesourceelement.js';
export { default as PendingActions, type PendingAction } from '@ckeditor/ckeditor5-core/src/pendingactions.js';
export type { KeystrokeInfos as KeystrokeInfoDefinitions, KeystrokeInfoGroup as KeystrokeInfoGroupDefinition, KeystrokeInfoCategory as KeystrokeInfoCategoryDefinition, KeystrokeInfoDefinition as KeystrokeInfoDefinition } from '@ckeditor/ckeditor5-core/src/accessibility.js';
export { default as Plugin, type PluginDependencies, type PluginConstructor } from './plugin.js';
export { default as Command, type CommandExecuteEvent } from './command.js';
export { default as MultiCommand } from './multicommand.js';
export type { CommandsMap } from './commandcollection.js';
export type { PluginsMap, default as PluginCollection } from './plugincollection.js';
export { default as Context, type ContextConfig } from './context.js';
export { default as ContextPlugin, type ContextPluginDependencies } from './contextplugin.js';
export { type EditingKeystrokeCallback } from './editingkeystrokehandler.js';
export type { PartialBy, NonEmptyArray } from './typings.js';
export { default as Editor, type EditorReadyEvent, type EditorDestroyEvent } from './editor/editor.js';
export type { EditorConfig, LanguageConfig, ToolbarConfig, ToolbarConfigItem, UiConfig } from './editor/editorconfig.js';
export { default as attachToForm } from './editor/utils/attachtoform.js';
export { default as DataApiMixin, type DataApi } from './editor/utils/dataapimixin.js';
export { default as ElementApiMixin, type ElementApi } from './editor/utils/elementapimixin.js';
export { default as secureSourceElement } from './editor/utils/securesourceelement.js';
export { default as PendingActions, type PendingAction } from './pendingactions.js';
export type { KeystrokeInfos as KeystrokeInfoDefinitions, KeystrokeInfoGroup as KeystrokeInfoGroupDefinition, KeystrokeInfoCategory as KeystrokeInfoCategoryDefinition, KeystrokeInfoDefinition as KeystrokeInfoDefinition } from './accessibility.js';
export declare const icons: {
bold: string;
cancel: string;
@ -86,4 +86,4 @@ export declare const icons: {
outdent: string;
table: string;
};
import '@ckeditor/ckeditor5-core/src/augmentation.js';
import './augmentation.js';

View File

@ -5,7 +5,7 @@
/**
* @module core/multicommand
*/
import Command from '@ckeditor/ckeditor5-core/src/command.js';
import Command from './command.js';
import { type PriorityString } from '@ckeditor/ckeditor5-utils';
/**
* A CKEditor command that aggregates other commands.

View File

@ -5,7 +5,7 @@
/**
* @module core/pendingactions
*/
import ContextPlugin from '@ckeditor/ckeditor5-core/src/contextplugin.js';
import ContextPlugin from './contextplugin.js';
import { type CollectionAddEvent, type CollectionRemoveEvent, type Observable } from '@ckeditor/ckeditor5-utils';
/**
* The list of pending editor actions.

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type Editor from './editor/editor.js';
declare const Plugin_base: {
new (): import("@ckeditor/ckeditor5-utils").Observable;
prototype: import("@ckeditor/ckeditor5-utils").Observable;

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { LoadedPlugins, PluginClassConstructor, PluginConstructor, PluginInterface } from '@ckeditor/ckeditor5-core/src/plugin.js';
import type { LoadedPlugins, PluginClassConstructor, PluginConstructor, PluginInterface } from './plugin.js';
declare const PluginCollection_base: {
new (): import("@ckeditor/ckeditor5-utils").Emitter;
prototype: import("@ckeditor/ckeditor5-utils").Emitter;

View File

@ -5,7 +5,7 @@
/**
* @module editor-classic/classiceditor
*/
import ClassicEditorUI from '@ckeditor/ckeditor5-editor-classic/src/classiceditorui.js';
import ClassicEditorUI from './classiceditorui.js';
import { Editor, Context, type EditorConfig } from 'ckeditor5/src/core.js';
import { ContextWatchdog, EditorWatchdog } from 'ckeditor5/src/watchdog.js';
declare const ClassicEditor_base: import("ckeditor5/src/utils.js").Mixed<typeof Editor, import("ckeditor5/src/core.js").ElementApi>;

View File

@ -7,7 +7,7 @@
*/
import type { Editor } from 'ckeditor5/src/core.js';
import { EditorUI } from 'ckeditor5/src/ui.js';
import type ClassicEditorUIView from '@ckeditor/ckeditor5-editor-classic/src/classiceditoruiview.js';
import type ClassicEditorUIView from './classiceditoruiview.js';
/**
* The classic editor UI class.
*/

View File

@ -8,7 +8,7 @@
import { BoxedEditorUIView, InlineEditableUIView, MenuBarView, StickyPanelView, ToolbarView } from 'ckeditor5/src/ui.js';
import type { Locale } from 'ckeditor5/src/utils.js';
import type { EditingView } from 'ckeditor5/src/engine.js';
import '@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';
import '../theme/classiceditor.css';
/**
* Classic editor UI view. Uses an inline editable and a sticky toolbar, all
* enclosed in a boxed UI view.

View File

@ -5,4 +5,4 @@
/**
* @module editor-classic
*/
export { default as ClassicEditor } from '@ckeditor/ckeditor5-editor-classic/src/classiceditor.js';
export { default as ClassicEditor } from './classiceditor.js';

View File

@ -2,21 +2,21 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import Mapper from '@ckeditor/ckeditor5-engine/src/conversion/mapper.js';
import DowncastDispatcher from '@ckeditor/ckeditor5-engine/src/conversion/downcastdispatcher.js';
import UpcastDispatcher from '@ckeditor/ckeditor5-engine/src/conversion/upcastdispatcher.js';
import ViewDocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import ViewDocument from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type ViewElement from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type { StylesProcessor } from '@ckeditor/ckeditor5-engine/src/view/stylesmap.js';
import type { MatcherPattern } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
import type Model from '@ckeditor/ckeditor5-engine/src/model/model.js';
import type ModelElement from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type ModelDocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type { SchemaContextDefinition } from '@ckeditor/ckeditor5-engine/src/model/schema.js';
import type { BatchType } from '@ckeditor/ckeditor5-engine/src/model/batch.js';
import HtmlDataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor.js';
import type DataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/dataprocessor.js';
import Mapper from '../conversion/mapper.js';
import DowncastDispatcher from '../conversion/downcastdispatcher.js';
import UpcastDispatcher from '../conversion/upcastdispatcher.js';
import ViewDocumentFragment from '../view/documentfragment.js';
import ViewDocument from '../view/document.js';
import type ViewElement from '../view/element.js';
import type { StylesProcessor } from '../view/stylesmap.js';
import type { MatcherPattern } from '../view/matcher.js';
import type Model from '../model/model.js';
import type ModelElement from '../model/element.js';
import type ModelDocumentFragment from '../model/documentfragment.js';
import type { SchemaContextDefinition } from '../model/schema.js';
import type { BatchType } from '../model/batch.js';
import HtmlDataProcessor from '../dataprocessor/htmldataprocessor.js';
import type DataProcessor from '../dataprocessor/dataprocessor.js';
declare const DataController_base: {
new (): import("@ckeditor/ckeditor5-utils").Emitter;
prototype: import("@ckeditor/ckeditor5-utils").Emitter;

View File

@ -2,13 +2,13 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import View from '@ckeditor/ckeditor5-engine/src/view/view.js';
import Mapper from '@ckeditor/ckeditor5-engine/src/conversion/mapper.js';
import DowncastDispatcher from '@ckeditor/ckeditor5-engine/src/conversion/downcastdispatcher.js';
import type { default as Model } from '@ckeditor/ckeditor5-engine/src/model/model.js';
import type ModelItem from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type { Marker } from '@ckeditor/ckeditor5-engine/src/model/markercollection.js';
import type { StylesProcessor } from '@ckeditor/ckeditor5-engine/src/view/stylesmap.js';
import View from '../view/view.js';
import Mapper from '../conversion/mapper.js';
import DowncastDispatcher from '../conversion/downcastdispatcher.js';
import type { default as Model } from '../model/model.js';
import type ModelItem from '../model/item.js';
import type { Marker } from '../model/markercollection.js';
import type { StylesProcessor } from '../view/stylesmap.js';
declare const EditingController_base: {
new (): import("@ckeditor/ckeditor5-utils").Observable;
prototype: import("@ckeditor/ckeditor5-utils").Observable;

View File

@ -6,12 +6,12 @@
* @module engine/conversion/conversion
*/
import { type ArrayOrItem, type PriorityString } from '@ckeditor/ckeditor5-utils';
import UpcastHelpers from '@ckeditor/ckeditor5-engine/src/conversion/upcasthelpers.js';
import DowncastHelpers, { type AttributeCreatorFunction, type AttributeDescriptor } from '@ckeditor/ckeditor5-engine/src/conversion/downcasthelpers.js';
import type DowncastDispatcher from '@ckeditor/ckeditor5-engine/src/conversion/downcastdispatcher.js';
import type UpcastDispatcher from '@ckeditor/ckeditor5-engine/src/conversion/upcastdispatcher.js';
import type ElementDefinition from '@ckeditor/ckeditor5-engine/src/view/elementdefinition.js';
import type { MatcherPattern } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
import UpcastHelpers from './upcasthelpers.js';
import DowncastHelpers, { type AttributeCreatorFunction, type AttributeDescriptor } from './downcasthelpers.js';
import type DowncastDispatcher from './downcastdispatcher.js';
import type UpcastDispatcher from './upcastdispatcher.js';
import type ElementDefinition from '../view/elementdefinition.js';
import type { MatcherPattern } from '../view/matcher.js';
/**
* A utility class that helps add converters to upcast and downcast dispatchers.
*

View File

@ -5,19 +5,19 @@
/**
* @module engine/conversion/downcastdispatcher
*/
import Consumable from '@ckeditor/ckeditor5-engine/src/conversion/modelconsumable.js';
import Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type { default as Differ, DiffItem } from '@ckeditor/ckeditor5-engine/src/model/differ.js';
import type { default as MarkerCollection } from '@ckeditor/ckeditor5-engine/src/model/markercollection.js';
import type DocumentSelection from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
import type DowncastWriter from '@ckeditor/ckeditor5-engine/src/view/downcastwriter.js';
import type Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type Mapper from '@ckeditor/ckeditor5-engine/src/conversion/mapper.js';
import type Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import type Schema from '@ckeditor/ckeditor5-engine/src/model/schema.js';
import type Selection from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import type ViewElement from '@ckeditor/ckeditor5-engine/src/view/element.js';
import Consumable from './modelconsumable.js';
import Range from '../model/range.js';
import type { default as Differ, DiffItem } from '../model/differ.js';
import type { default as MarkerCollection } from '../model/markercollection.js';
import type DocumentSelection from '../model/documentselection.js';
import type DowncastWriter from '../view/downcastwriter.js';
import type Element from '../model/element.js';
import type Item from '../model/item.js';
import type Mapper from './mapper.js';
import type Position from '../model/position.js';
import type Schema from '../model/schema.js';
import type Selection from '../model/selection.js';
import type ViewElement from '../view/element.js';
declare const DowncastDispatcher_base: {
new (): import("@ckeditor/ckeditor5-utils").Emitter;
prototype: import("@ckeditor/ckeditor5-utils").Emitter;

View File

@ -7,23 +7,23 @@
*
* @module engine/conversion/downcasthelpers
*/
import ModelRange from '@ckeditor/ckeditor5-engine/src/model/range.js';
import ModelSelection from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import ModelDocumentSelection from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
import ModelElement from '@ckeditor/ckeditor5-engine/src/model/element.js';
import ModelPosition from '@ckeditor/ckeditor5-engine/src/model/position.js';
import ViewAttributeElement from '@ckeditor/ckeditor5-engine/src/view/attributeelement.js';
import ConversionHelpers from '@ckeditor/ckeditor5-engine/src/conversion/conversionhelpers.js';
import type { default as DowncastDispatcher, DowncastConversionApi } from '@ckeditor/ckeditor5-engine/src/conversion/downcastdispatcher.js';
import type ModelConsumable from '@ckeditor/ckeditor5-engine/src/conversion/modelconsumable.js';
import type ModelNode from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type ModelItem from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type ModelTextProxy from '@ckeditor/ckeditor5-engine/src/model/textproxy.js';
import type ModelText from '@ckeditor/ckeditor5-engine/src/model/text.js';
import type DowncastWriter from '@ckeditor/ckeditor5-engine/src/view/downcastwriter.js';
import type ElementDefinition from '@ckeditor/ckeditor5-engine/src/view/elementdefinition.js';
import type UIElement from '@ckeditor/ckeditor5-engine/src/view/uielement.js';
import type ViewElement from '@ckeditor/ckeditor5-engine/src/view/element.js';
import ModelRange from '../model/range.js';
import ModelSelection from '../model/selection.js';
import ModelDocumentSelection from '../model/documentselection.js';
import ModelElement from '../model/element.js';
import ModelPosition from '../model/position.js';
import ViewAttributeElement from '../view/attributeelement.js';
import ConversionHelpers from './conversionhelpers.js';
import type { default as DowncastDispatcher, DowncastConversionApi } from './downcastdispatcher.js';
import type ModelConsumable from './modelconsumable.js';
import type ModelNode from '../model/node.js';
import type ModelItem from '../model/item.js';
import type ModelTextProxy from '../model/textproxy.js';
import type ModelText from '../model/text.js';
import type DowncastWriter from '../view/downcastwriter.js';
import type ElementDefinition from '../view/elementdefinition.js';
import type UIElement from '../view/uielement.js';
import type ViewElement from '../view/element.js';
import { type EventInfo, type PriorityString } from '@ckeditor/ckeditor5-utils';
/**
* Downcast conversion helper functions.

View File

@ -5,15 +5,15 @@
/**
* @module engine/conversion/mapper
*/
import ModelPosition from '@ckeditor/ckeditor5-engine/src/model/position.js';
import ModelRange from '@ckeditor/ckeditor5-engine/src/model/range.js';
import ViewPosition from '@ckeditor/ckeditor5-engine/src/view/position.js';
import ViewRange from '@ckeditor/ckeditor5-engine/src/view/range.js';
import type ViewDocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import type ViewElement from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type ModelElement from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type ModelDocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type ViewNode from '@ckeditor/ckeditor5-engine/src/view/node.js';
import ModelPosition from '../model/position.js';
import ModelRange from '../model/range.js';
import ViewPosition from '../view/position.js';
import ViewRange from '../view/range.js';
import type ViewDocumentFragment from '../view/documentfragment.js';
import type ViewElement from '../view/element.js';
import type ModelElement from '../model/element.js';
import type ModelDocumentFragment from '../model/documentfragment.js';
import type ViewNode from '../view/node.js';
declare const Mapper_base: {
new (): import("@ckeditor/ckeditor5-utils").Emitter;
prototype: import("@ckeditor/ckeditor5-utils").Emitter;

View File

@ -5,11 +5,11 @@
/**
* @module engine/conversion/modelconsumable
*/
import TextProxy from '@ckeditor/ckeditor5-engine/src/model/textproxy.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type Selection from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import type DocumentSelection from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
import type Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import TextProxy from '../model/textproxy.js';
import type Item from '../model/item.js';
import type Selection from '../model/selection.js';
import type DocumentSelection from '../model/documentselection.js';
import type Range from '../model/range.js';
/**
* Manages a list of consumable values for the {@link module:engine/model/item~Item model items}.
*

View File

@ -5,18 +5,18 @@
/**
* @module engine/conversion/upcastdispatcher
*/
import ViewConsumable from '@ckeditor/ckeditor5-engine/src/conversion/viewconsumable.js';
import ModelRange from '@ckeditor/ckeditor5-engine/src/model/range.js';
import ModelPosition from '@ckeditor/ckeditor5-engine/src/model/position.js';
import type ModelElement from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type ModelNode from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type ViewElement from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type ViewText from '@ckeditor/ckeditor5-engine/src/view/text.js';
import type ViewDocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import type ModelDocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type { default as Schema, SchemaContextDefinition } from '@ckeditor/ckeditor5-engine/src/model/schema.js';
import type ModelWriter from '@ckeditor/ckeditor5-engine/src/model/writer.js';
import type ViewItem from '@ckeditor/ckeditor5-engine/src/view/item.js';
import ViewConsumable from './viewconsumable.js';
import ModelRange from '../model/range.js';
import ModelPosition from '../model/position.js';
import type ModelElement from '../model/element.js';
import type ModelNode from '../model/node.js';
import type ViewElement from '../view/element.js';
import type ViewText from '../view/text.js';
import type ViewDocumentFragment from '../view/documentfragment.js';
import type ModelDocumentFragment from '../model/documentfragment.js';
import type { default as Schema, SchemaContextDefinition } from '../model/schema.js';
import type ModelWriter from '../model/writer.js';
import type ViewItem from '../view/item.js';
declare const UpcastDispatcher_base: {
new (): import("@ckeditor/ckeditor5-utils").Emitter;
prototype: import("@ckeditor/ckeditor5-utils").Emitter;

View File

@ -2,15 +2,15 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import { type ClassPatterns, type MatcherPattern, type PropertyPatterns } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
import ConversionHelpers from '@ckeditor/ckeditor5-engine/src/conversion/conversionhelpers.js';
import type { default as UpcastDispatcher, UpcastConversionApi, UpcastConversionData } from '@ckeditor/ckeditor5-engine/src/conversion/upcastdispatcher.js';
import type ModelElement from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type { ViewDocumentFragment, ViewElement, ViewText } from '@ckeditor/ckeditor5-engine';
import type Mapper from '@ckeditor/ckeditor5-engine/src/conversion/mapper.js';
import type Model from '@ckeditor/ckeditor5-engine/src/model/model.js';
import type ViewSelection from '@ckeditor/ckeditor5-engine/src/view/selection.js';
import type ViewDocumentSelection from '@ckeditor/ckeditor5-engine/src/view/documentselection.js';
import { type ClassPatterns, type MatcherPattern, type PropertyPatterns } from '../view/matcher.js';
import ConversionHelpers from './conversionhelpers.js';
import type { default as UpcastDispatcher, UpcastConversionApi, UpcastConversionData } from './upcastdispatcher.js';
import type ModelElement from '../model/element.js';
import type { ViewDocumentFragment, ViewElement, ViewText } from '../index.js';
import type Mapper from './mapper.js';
import type Model from '../model/model.js';
import type ViewSelection from '../view/selection.js';
import type ViewDocumentSelection from '../view/documentselection.js';
import { type EventInfo, type PriorityString } from '@ckeditor/ckeditor5-utils';
/**
* Contains the {@link module:engine/view/view view} to {@link module:engine/model/model model} converters for

View File

@ -2,11 +2,11 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Element from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type Node from '@ckeditor/ckeditor5-engine/src/view/node.js';
import type Text from '@ckeditor/ckeditor5-engine/src/view/text.js';
import type DocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import type { Match } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
import type Element from '../view/element.js';
import type Node from '../view/node.js';
import type Text from '../view/text.js';
import type DocumentFragment from '../view/documentfragment.js';
import type { Match } from '../view/matcher.js';
/**
* Class used for handling consumption of view {@link module:engine/view/element~Element elements},
* {@link module:engine/view/text~Text text nodes} and {@link module:engine/view/documentfragment~DocumentFragment document fragments}.

View File

@ -5,8 +5,8 @@
/**
* @module engine/dataprocessor/dataprocessor
*/
import type ViewDocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import type { MatcherPattern } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
import type ViewDocumentFragment from '../view/documentfragment.js';
import type { MatcherPattern } from '../view/matcher.js';
/**
* The data processor interface. It should be implemented by actual data processors.
*

View File

@ -2,12 +2,12 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import DomConverter from '@ckeditor/ckeditor5-engine/src/view/domconverter.js';
import type DataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/dataprocessor.js';
import type HtmlWriter from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmlwriter.js';
import type ViewDocument from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type ViewDocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import type { MatcherPattern } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
import DomConverter from '../view/domconverter.js';
import type DataProcessor from './dataprocessor.js';
import type HtmlWriter from './htmlwriter.js';
import type ViewDocument from '../view/document.js';
import type ViewDocumentFragment from '../view/documentfragment.js';
import type { MatcherPattern } from '../view/matcher.js';
/**
* The HTML data processor class.
* This data processor implementation uses HTML as input and output data.

View File

@ -5,109 +5,109 @@
/**
* @module engine
*/
export * from '@ckeditor/ckeditor5-engine/src/view/placeholder.js';
export { default as EditingController } from '@ckeditor/ckeditor5-engine/src/controller/editingcontroller.js';
export { default as DataController, type DataControllerInitEvent, type DataControllerSetEvent, type DataControllerToModelEvent, type DataControllerToViewEvent } from '@ckeditor/ckeditor5-engine/src/controller/datacontroller.js';
export { default as Conversion } from '@ckeditor/ckeditor5-engine/src/conversion/conversion.js';
export type { default as DowncastDispatcher, DowncastAddMarkerEvent, DowncastAttributeEvent, DowncastConversionApi, DowncastInsertEvent, DowncastRemoveEvent, DowncastRemoveMarkerEvent, DowncastSelectionEvent } from '@ckeditor/ckeditor5-engine/src/conversion/downcastdispatcher.js';
export type { default as UpcastDispatcher, UpcastConversionApi, UpcastConversionData, UpcastElementEvent, UpcastTextEvent } from '@ckeditor/ckeditor5-engine/src/conversion/upcastdispatcher.js';
export type { AddHighlightCallback, AttributeDescriptor, ElementCreatorFunction, HighlightDescriptor, RemoveHighlightCallback, MarkerElementCreatorFunction, SlotFilter } from '@ckeditor/ckeditor5-engine/src/conversion/downcasthelpers.js';
export type { default as Mapper, MapperModelToViewPositionEvent, MapperViewToModelPositionEvent } from '@ckeditor/ckeditor5-engine/src/conversion/mapper.js';
export type { default as ModelConsumable } from '@ckeditor/ckeditor5-engine/src/conversion/modelconsumable.js';
export type { Consumables, default as ViewConsumable } from '@ckeditor/ckeditor5-engine/src/conversion/viewconsumable.js';
export type { default as DataProcessor } from '@ckeditor/ckeditor5-engine/src/dataprocessor/dataprocessor.js';
export { default as HtmlDataProcessor } from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor.js';
export type { default as Operation } from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
export { default as InsertOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/insertoperation.js';
export { default as MoveOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/moveoperation.js';
export { default as MergeOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/mergeoperation.js';
export { default as SplitOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/splitoperation.js';
export { default as MarkerOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/markeroperation.js';
export { default as OperationFactory } from '@ckeditor/ckeditor5-engine/src/model/operation/operationfactory.js';
export { default as AttributeOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/attributeoperation.js';
export { default as RenameOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/renameoperation.js';
export { default as RootAttributeOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/rootattributeoperation.js';
export { default as RootOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/rootoperation.js';
export { default as NoOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/nooperation.js';
export { transformSets } from '@ckeditor/ckeditor5-engine/src/model/operation/transform.js';
export { default as DocumentSelection, type DocumentSelectionChangeRangeEvent, type DocumentSelectionChangeMarkerEvent, type DocumentSelectionChangeAttributeEvent } from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
export { default as Range } from '@ckeditor/ckeditor5-engine/src/model/range.js';
export { default as LiveRange, type LiveRangeChangeRangeEvent } from '@ckeditor/ckeditor5-engine/src/model/liverange.js';
export { default as LivePosition } from '@ckeditor/ckeditor5-engine/src/model/liveposition.js';
export { default as Model } from '@ckeditor/ckeditor5-engine/src/model/model.js';
export { default as TreeWalker, type TreeWalkerValue } from '@ckeditor/ckeditor5-engine/src/model/treewalker.js';
export { default as Element } from '@ckeditor/ckeditor5-engine/src/model/element.js';
export { default as Position, type PositionOffset } from '@ckeditor/ckeditor5-engine/src/model/position.js';
export { default as DocumentFragment } from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
export { default as History } from '@ckeditor/ckeditor5-engine/src/model/history.js';
export { default as Text } from '@ckeditor/ckeditor5-engine/src/model/text.js';
export { default as TextProxy } from '@ckeditor/ckeditor5-engine/src/model/textproxy.js';
export type { default as Document, ModelPostFixer } from '@ckeditor/ckeditor5-engine/src/model/document.js';
export type { Marker } from '@ckeditor/ckeditor5-engine/src/model/markercollection.js';
export type { default as Batch } from '@ckeditor/ckeditor5-engine/src/model/batch.js';
export type { default as Differ, DiffItem, DiffItemAttribute, DiffItemInsert, DiffItemRemove } from '@ckeditor/ckeditor5-engine/src/model/differ.js';
export type { default as Item } from '@ckeditor/ckeditor5-engine/src/model/item.js';
export type { default as Node, NodeAttributes } from '@ckeditor/ckeditor5-engine/src/model/node.js';
export type { default as RootElement } from '@ckeditor/ckeditor5-engine/src/model/rootelement.js';
export type { default as Schema, SchemaAttributeCheckCallback, SchemaChildCheckCallback, AttributeProperties, SchemaItemDefinition } from '@ckeditor/ckeditor5-engine/src/model/schema.js';
export type { default as Selection, Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
export type { default as TypeCheckable } from '@ckeditor/ckeditor5-engine/src/model/typecheckable.js';
export type { default as Writer } from '@ckeditor/ckeditor5-engine/src/model/writer.js';
export type { DocumentChangeEvent } from '@ckeditor/ckeditor5-engine/src/model/document.js';
export type { DocumentSelectionChangeEvent } from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
export type { ModelApplyOperationEvent, ModelDeleteContentEvent, ModelGetSelectedContentEvent, ModelInsertContentEvent, ModelInsertObjectEvent, ModelModifySelectionEvent, ModelCanEditAtEvent } from '@ckeditor/ckeditor5-engine/src/model/model.js';
export type { SelectionChangeRangeEvent } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
export { default as DataTransfer } from '@ckeditor/ckeditor5-engine/src/view/datatransfer.js';
export { default as DomConverter } from '@ckeditor/ckeditor5-engine/src/view/domconverter.js';
export { default as Renderer } from '@ckeditor/ckeditor5-engine/src/view/renderer.js';
export { default as EditingView } from '@ckeditor/ckeditor5-engine/src/view/view.js';
export { default as ViewDocument } from '@ckeditor/ckeditor5-engine/src/view/document.js';
export { default as ViewText } from '@ckeditor/ckeditor5-engine/src/view/text.js';
export { default as ViewElement, type ElementAttributes as ViewElementAttributes } from '@ckeditor/ckeditor5-engine/src/view/element.js';
export { default as ViewContainerElement } from '@ckeditor/ckeditor5-engine/src/view/containerelement.js';
export { default as ViewEditableElement } from '@ckeditor/ckeditor5-engine/src/view/editableelement.js';
export { default as ViewRootEditableElement } from '@ckeditor/ckeditor5-engine/src/view/rooteditableelement.js';
export { default as ViewAttributeElement } from '@ckeditor/ckeditor5-engine/src/view/attributeelement.js';
export { default as ViewEmptyElement } from '@ckeditor/ckeditor5-engine/src/view/emptyelement.js';
export { default as ViewRawElement } from '@ckeditor/ckeditor5-engine/src/view/rawelement.js';
export { default as ViewUIElement } from '@ckeditor/ckeditor5-engine/src/view/uielement.js';
export { default as ViewDocumentFragment } from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
export { default as ViewTreeWalker, type TreeWalkerValue as ViewTreeWalkerValue } from '@ckeditor/ckeditor5-engine/src/view/treewalker.js';
export type { default as ViewElementDefinition, ElementObjectDefinition } from '@ckeditor/ckeditor5-engine/src/view/elementdefinition.js';
export type { default as ViewDocumentSelection } from '@ckeditor/ckeditor5-engine/src/view/documentselection.js';
export { default as AttributeElement } from '@ckeditor/ckeditor5-engine/src/view/attributeelement.js';
export type { default as ViewItem } from '@ckeditor/ckeditor5-engine/src/view/item.js';
export type { default as ViewNode } from '@ckeditor/ckeditor5-engine/src/view/node.js';
export type { default as ViewPosition, PositionOffset as ViewPositionOffset } from '@ckeditor/ckeditor5-engine/src/view/position.js';
export type { default as ViewRange } from '@ckeditor/ckeditor5-engine/src/view/range.js';
export type { default as ViewSelection, ViewSelectionChangeEvent, Selectable as ViewSelectable } from '@ckeditor/ckeditor5-engine/src/view/selection.js';
export type { default as ViewTypeCheckable } from '@ckeditor/ckeditor5-engine/src/view/typecheckable.js';
export { getFillerOffset } from '@ckeditor/ckeditor5-engine/src/view/containerelement.js';
export { default as Observer } from '@ckeditor/ckeditor5-engine/src/view/observer/observer.js';
export { default as ClickObserver } from '@ckeditor/ckeditor5-engine/src/view/observer/clickobserver.js';
export { default as DomEventObserver } from '@ckeditor/ckeditor5-engine/src/view/observer/domeventobserver.js';
export { default as MouseObserver } from '@ckeditor/ckeditor5-engine/src/view/observer/mouseobserver.js';
export { default as TabObserver } from '@ckeditor/ckeditor5-engine/src/view/observer/tabobserver.js';
export { default as FocusObserver } from '@ckeditor/ckeditor5-engine/src/view/observer/focusobserver.js';
export { default as DowncastWriter } from '@ckeditor/ckeditor5-engine/src/view/downcastwriter.js';
export { default as UpcastWriter } from '@ckeditor/ckeditor5-engine/src/view/upcastwriter.js';
export { default as Matcher, type MatcherPattern, type MatcherObjectPattern, type Match, type MatchResult } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
export { default as BubblingEventInfo } from '@ckeditor/ckeditor5-engine/src/view/observer/bubblingeventinfo.js';
export { default as DomEventData } from '@ckeditor/ckeditor5-engine/src/view/observer/domeventdata.js';
export type { BubblingEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/bubblingemittermixin.js';
export type { ViewDocumentArrowKeyEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/arrowkeysobserver.js';
export type { ViewDocumentCompositionStartEvent, ViewDocumentCompositionUpdateEvent, ViewDocumentCompositionEndEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/compositionobserver.js';
export type { ViewDocumentInputEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/inputobserver.js';
export type { ViewDocumentKeyDownEvent, ViewDocumentKeyUpEvent, KeyEventData } from '@ckeditor/ckeditor5-engine/src/view/observer/keyobserver.js';
export type { ViewDocumentLayoutChangedEvent } from '@ckeditor/ckeditor5-engine/src/view/document.js';
export type { ViewDocumentMouseDownEvent, ViewDocumentMouseUpEvent, ViewDocumentMouseOverEvent, ViewDocumentMouseOutEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/mouseobserver.js';
export type { ViewDocumentTabEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/tabobserver.js';
export type { ViewDocumentClickEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/clickobserver.js';
export type { ViewDocumentSelectionChangeEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/selectionobserver.js';
export type { ViewRenderEvent, ViewScrollToTheSelectionEvent } from '@ckeditor/ckeditor5-engine/src/view/view.js';
export { default as StylesMap, StylesProcessor, type BoxSides } from '@ckeditor/ckeditor5-engine/src/view/stylesmap.js';
export * from '@ckeditor/ckeditor5-engine/src/view/styles/background.js';
export * from '@ckeditor/ckeditor5-engine/src/view/styles/border.js';
export * from '@ckeditor/ckeditor5-engine/src/view/styles/margin.js';
export * from '@ckeditor/ckeditor5-engine/src/view/styles/padding.js';
export * from '@ckeditor/ckeditor5-engine/src/view/styles/utils.js';
export * from './view/placeholder.js';
export { default as EditingController } from './controller/editingcontroller.js';
export { default as DataController, type DataControllerInitEvent, type DataControllerSetEvent, type DataControllerToModelEvent, type DataControllerToViewEvent } from './controller/datacontroller.js';
export { default as Conversion } from './conversion/conversion.js';
export type { default as DowncastDispatcher, DowncastAddMarkerEvent, DowncastAttributeEvent, DowncastConversionApi, DowncastInsertEvent, DowncastRemoveEvent, DowncastRemoveMarkerEvent, DowncastSelectionEvent } from './conversion/downcastdispatcher.js';
export type { default as UpcastDispatcher, UpcastConversionApi, UpcastConversionData, UpcastElementEvent, UpcastTextEvent } from './conversion/upcastdispatcher.js';
export type { AddHighlightCallback, AttributeDescriptor, ElementCreatorFunction, HighlightDescriptor, RemoveHighlightCallback, MarkerElementCreatorFunction, SlotFilter } from './conversion/downcasthelpers.js';
export type { default as Mapper, MapperModelToViewPositionEvent, MapperViewToModelPositionEvent } from './conversion/mapper.js';
export type { default as ModelConsumable } from './conversion/modelconsumable.js';
export type { Consumables, default as ViewConsumable } from './conversion/viewconsumable.js';
export type { default as DataProcessor } from './dataprocessor/dataprocessor.js';
export { default as HtmlDataProcessor } from './dataprocessor/htmldataprocessor.js';
export type { default as Operation } from './model/operation/operation.js';
export { default as InsertOperation } from './model/operation/insertoperation.js';
export { default as MoveOperation } from './model/operation/moveoperation.js';
export { default as MergeOperation } from './model/operation/mergeoperation.js';
export { default as SplitOperation } from './model/operation/splitoperation.js';
export { default as MarkerOperation } from './model/operation/markeroperation.js';
export { default as OperationFactory } from './model/operation/operationfactory.js';
export { default as AttributeOperation } from './model/operation/attributeoperation.js';
export { default as RenameOperation } from './model/operation/renameoperation.js';
export { default as RootAttributeOperation } from './model/operation/rootattributeoperation.js';
export { default as RootOperation } from './model/operation/rootoperation.js';
export { default as NoOperation } from './model/operation/nooperation.js';
export { transformSets } from './model/operation/transform.js';
export { default as DocumentSelection, type DocumentSelectionChangeRangeEvent, type DocumentSelectionChangeMarkerEvent, type DocumentSelectionChangeAttributeEvent } from './model/documentselection.js';
export { default as Range } from './model/range.js';
export { default as LiveRange, type LiveRangeChangeRangeEvent } from './model/liverange.js';
export { default as LivePosition } from './model/liveposition.js';
export { default as Model } from './model/model.js';
export { default as TreeWalker, type TreeWalkerValue } from './model/treewalker.js';
export { default as Element } from './model/element.js';
export { default as Position, type PositionOffset } from './model/position.js';
export { default as DocumentFragment } from './model/documentfragment.js';
export { default as History } from './model/history.js';
export { default as Text } from './model/text.js';
export { default as TextProxy } from './model/textproxy.js';
export type { default as Document, ModelPostFixer } from './model/document.js';
export type { Marker } from './model/markercollection.js';
export type { default as Batch } from './model/batch.js';
export type { default as Differ, DiffItem, DiffItemAttribute, DiffItemInsert, DiffItemRemove } from './model/differ.js';
export type { default as Item } from './model/item.js';
export type { default as Node, NodeAttributes } from './model/node.js';
export type { default as RootElement } from './model/rootelement.js';
export type { default as Schema, SchemaAttributeCheckCallback, SchemaChildCheckCallback, AttributeProperties, SchemaItemDefinition } from './model/schema.js';
export type { default as Selection, Selectable } from './model/selection.js';
export type { default as TypeCheckable } from './model/typecheckable.js';
export type { default as Writer } from './model/writer.js';
export type { DocumentChangeEvent } from './model/document.js';
export type { DocumentSelectionChangeEvent } from './model/documentselection.js';
export type { ModelApplyOperationEvent, ModelDeleteContentEvent, ModelGetSelectedContentEvent, ModelInsertContentEvent, ModelInsertObjectEvent, ModelModifySelectionEvent, ModelCanEditAtEvent } from './model/model.js';
export type { SelectionChangeRangeEvent } from './model/selection.js';
export { default as DataTransfer } from './view/datatransfer.js';
export { default as DomConverter } from './view/domconverter.js';
export { default as Renderer } from './view/renderer.js';
export { default as EditingView } from './view/view.js';
export { default as ViewDocument } from './view/document.js';
export { default as ViewText } from './view/text.js';
export { default as ViewElement, type ElementAttributes as ViewElementAttributes } from './view/element.js';
export { default as ViewContainerElement } from './view/containerelement.js';
export { default as ViewEditableElement } from './view/editableelement.js';
export { default as ViewRootEditableElement } from './view/rooteditableelement.js';
export { default as ViewAttributeElement } from './view/attributeelement.js';
export { default as ViewEmptyElement } from './view/emptyelement.js';
export { default as ViewRawElement } from './view/rawelement.js';
export { default as ViewUIElement } from './view/uielement.js';
export { default as ViewDocumentFragment } from './view/documentfragment.js';
export { default as ViewTreeWalker, type TreeWalkerValue as ViewTreeWalkerValue } from './view/treewalker.js';
export type { default as ViewElementDefinition, ElementObjectDefinition } from './view/elementdefinition.js';
export type { default as ViewDocumentSelection } from './view/documentselection.js';
export { default as AttributeElement } from './view/attributeelement.js';
export type { default as ViewItem } from './view/item.js';
export type { default as ViewNode } from './view/node.js';
export type { default as ViewPosition, PositionOffset as ViewPositionOffset } from './view/position.js';
export type { default as ViewRange } from './view/range.js';
export type { default as ViewSelection, ViewSelectionChangeEvent, Selectable as ViewSelectable } from './view/selection.js';
export type { default as ViewTypeCheckable } from './view/typecheckable.js';
export { getFillerOffset } from './view/containerelement.js';
export { default as Observer } from './view/observer/observer.js';
export { default as ClickObserver } from './view/observer/clickobserver.js';
export { default as DomEventObserver } from './view/observer/domeventobserver.js';
export { default as MouseObserver } from './view/observer/mouseobserver.js';
export { default as TabObserver } from './view/observer/tabobserver.js';
export { default as FocusObserver } from './view/observer/focusobserver.js';
export { default as DowncastWriter } from './view/downcastwriter.js';
export { default as UpcastWriter } from './view/upcastwriter.js';
export { default as Matcher, type MatcherPattern, type MatcherObjectPattern, type Match, type MatchResult } from './view/matcher.js';
export { default as BubblingEventInfo } from './view/observer/bubblingeventinfo.js';
export { default as DomEventData } from './view/observer/domeventdata.js';
export type { BubblingEvent } from './view/observer/bubblingemittermixin.js';
export type { ViewDocumentArrowKeyEvent } from './view/observer/arrowkeysobserver.js';
export type { ViewDocumentCompositionStartEvent, ViewDocumentCompositionUpdateEvent, ViewDocumentCompositionEndEvent } from './view/observer/compositionobserver.js';
export type { ViewDocumentInputEvent } from './view/observer/inputobserver.js';
export type { ViewDocumentKeyDownEvent, ViewDocumentKeyUpEvent, KeyEventData } from './view/observer/keyobserver.js';
export type { ViewDocumentLayoutChangedEvent } from './view/document.js';
export type { ViewDocumentMouseDownEvent, ViewDocumentMouseUpEvent, ViewDocumentMouseOverEvent, ViewDocumentMouseOutEvent } from './view/observer/mouseobserver.js';
export type { ViewDocumentTabEvent } from './view/observer/tabobserver.js';
export type { ViewDocumentClickEvent } from './view/observer/clickobserver.js';
export type { ViewDocumentSelectionChangeEvent } from './view/observer/selectionobserver.js';
export type { ViewRenderEvent, ViewScrollToTheSelectionEvent } from './view/view.js';
export { default as StylesMap, StylesProcessor, type BoxSides } from './view/stylesmap.js';
export * from './view/styles/background.js';
export * from './view/styles/border.js';
export * from './view/styles/margin.js';
export * from './view/styles/padding.js';
export * from './view/styles/utils.js';

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import type Operation from './operation/operation.js';
/**
* A batch instance groups model changes ({@link module:engine/model/operation/operation~Operation operations}). All operations
* grouped in a single batch can be reverted together, so you can also think about a batch as of a single undo step. If you want

View File

@ -5,13 +5,13 @@
/**
* @module engine/model/differ
*/
import Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type { default as MarkerCollection, MarkerData } from '@ckeditor/ckeditor5-engine/src/model/markercollection.js';
import type Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type RootElement from '@ckeditor/ckeditor5-engine/src/model/rootelement.js';
import type Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import Position from './position.js';
import Range from './range.js';
import type { default as MarkerCollection, MarkerData } from './markercollection.js';
import type Element from './element.js';
import type Item from './item.js';
import type RootElement from './rootelement.js';
import type Operation from './operation/operation.js';
/**
* Calculates the difference between two model states.
*

View File

@ -5,14 +5,14 @@
/**
* @module engine/model/document
*/
import Differ from '@ckeditor/ckeditor5-engine/src/model/differ.js';
import DocumentSelection from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
import History from '@ckeditor/ckeditor5-engine/src/model/history.js';
import RootElement from '@ckeditor/ckeditor5-engine/src/model/rootelement.js';
import type { default as Model } from '@ckeditor/ckeditor5-engine/src/model/model.js';
import type Batch from '@ckeditor/ckeditor5-engine/src/model/batch.js';
import type Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type Writer from '@ckeditor/ckeditor5-engine/src/model/writer.js';
import Differ from './differ.js';
import DocumentSelection from './documentselection.js';
import History from './history.js';
import RootElement from './rootelement.js';
import type { default as Model } from './model.js';
import type Batch from './batch.js';
import type Range from './range.js';
import type Writer from './writer.js';
import { Collection } from '@ckeditor/ckeditor5-utils';
declare const Document_base: {
new (): import("@ckeditor/ckeditor5-utils").Emitter;

View File

@ -5,10 +5,10 @@
/**
* @module engine/model/documentfragment
*/
import TypeCheckable from '@ckeditor/ckeditor5-engine/src/model/typecheckable.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type Node from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import TypeCheckable from './typecheckable.js';
import type Item from './item.js';
import type Node from './node.js';
import type Range from './range.js';
/**
* DocumentFragment represents a part of model which does not have a common root but its top-level nodes
* can be seen as siblings. In other words, it is a detached part of model tree, without a root.

View File

@ -5,14 +5,14 @@
/**
* @module engine/model/documentselection
*/
import TypeCheckable from '@ckeditor/ckeditor5-engine/src/model/typecheckable.js';
import Selection, { type SelectionChangeAttributeEvent, type SelectionChangeRangeEvent } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import type { default as Document } from '@ckeditor/ckeditor5-engine/src/model/document.js';
import type { Marker } from '@ckeditor/ckeditor5-engine/src/model/markercollection.js';
import type Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type { default as Position, PositionOffset } from '@ckeditor/ckeditor5-engine/src/model/position.js';
import type Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import TypeCheckable from './typecheckable.js';
import Selection, { type SelectionChangeAttributeEvent, type SelectionChangeRangeEvent } from './selection.js';
import type { default as Document } from './document.js';
import type { Marker } from './markercollection.js';
import type Element from './element.js';
import type Item from './item.js';
import type { default as Position, PositionOffset } from './position.js';
import type Range from './range.js';
import { Collection } from '@ckeditor/ckeditor5-utils';
declare const DocumentSelection_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof TypeCheckable, import("@ckeditor/ckeditor5-utils").Emitter>;
/**

View File

@ -5,8 +5,8 @@
/**
* @module engine/model/element
*/
import Node, { type NodeAttributes } from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import Node, { type NodeAttributes } from './node.js';
import type Item from './item.js';
/**
* Model element. Type of {@link module:engine/model/node~Node node} that has a {@link module:engine/model/element~Element#name name} and
* {@link module:engine/model/element~Element#getChildren child nodes}.

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import type Operation from './operation/operation.js';
/**
* @module engine/model/history
*/

View File

@ -2,8 +2,8 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Node from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type TextProxy from '@ckeditor/ckeditor5-engine/src/model/textproxy.js';
import type Node from './node.js';
import type TextProxy from './textproxy.js';
/**
* @module engine/model/item
*/

View File

@ -5,10 +5,10 @@
/**
* @module engine/model/liveposition
*/
import Position, { type PositionOffset, type PositionStickiness } from '@ckeditor/ckeditor5-engine/src/model/position.js';
import type DocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type RootElement from '@ckeditor/ckeditor5-engine/src/model/rootelement.js';
import Position, { type PositionOffset, type PositionStickiness } from './position.js';
import type DocumentFragment from './documentfragment.js';
import type Item from './item.js';
import type RootElement from './rootelement.js';
declare const LivePosition_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof Position, import("@ckeditor/ckeditor5-utils").Emitter>;
/**
* `LivePosition` is a type of {@link module:engine/model/position~Position Position}

View File

@ -5,11 +5,11 @@
/**
* @module engine/model/liverange
*/
import Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type DocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import Range from './range.js';
import type DocumentFragment from './documentfragment.js';
import type Element from './element.js';
import type Item from './item.js';
import type Position from './position.js';
declare const LiveRange_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof Range, import("@ckeditor/ckeditor5-utils").Emitter>;
/**
* `LiveRange` is a type of {@link module:engine/model/range~Range Range}

Some files were not shown because too many files have changed in this diff Show More