diff --git a/packages/core/src/addition.ts b/packages/core/src/addition.ts index 4bb29e5..270498b 100644 --- a/packages/core/src/addition.ts +++ b/packages/core/src/addition.ts @@ -1,3 +1,19 @@ +/* + * Copyright 2024 BugDuck Team + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import { provide } from 'vue' export function add(...animations: (() => void)[]) { diff --git a/packages/core/src/animation.ts b/packages/core/src/animation.ts index 543013e..dc648f5 100644 --- a/packages/core/src/animation.ts +++ b/packages/core/src/animation.ts @@ -1,3 +1,19 @@ +/* + * Copyright 2024 BugDuck Team + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import type { WatchSource } from 'vue' import { getCurrentInstance, watch } from 'vue' import { usePlayer } from './player' diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 9d395af..e835f8a 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -1,3 +1,19 @@ +/* + * Copyright 2024 BugDuck Team + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + export * from './player' export * from './animation' export * from './widget' diff --git a/packages/core/src/motion.ts b/packages/core/src/motion.ts index faebc75..5ec8d1b 100644 --- a/packages/core/src/motion.ts +++ b/packages/core/src/motion.ts @@ -1,3 +1,19 @@ +/* + * Copyright 2024 BugDuck Team + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import type { Ref } from 'vue' import { inject } from 'vue' diff --git a/packages/core/src/player.ts b/packages/core/src/player.ts index 09fe1f6..d091395 100644 --- a/packages/core/src/player.ts +++ b/packages/core/src/player.ts @@ -1,3 +1,19 @@ +/* + * Copyright 2024 BugDuck Team + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import type { App, Ref } from 'vue' import { inject, ref } from 'vue' import { AnimationManager } from './animation' diff --git a/packages/core/src/symbols.ts b/packages/core/src/symbols.ts index c0b5261..a61c12b 100644 --- a/packages/core/src/symbols.ts +++ b/packages/core/src/symbols.ts @@ -1 +1,17 @@ +/* + * Copyright 2024 BugDuck Team + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + export const ADDITION_ANIMATIONS = Symbol('ADDITION_ANIMATIONS') diff --git a/packages/core/src/widget.ts b/packages/core/src/widget.ts index 3a36047..2b854b8 100644 --- a/packages/core/src/widget.ts +++ b/packages/core/src/widget.ts @@ -1,3 +1,19 @@ +/* + * Copyright 2024 BugDuck Team + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import type { InjectionKey, Reactive, Ref, Slots } from 'vue' import { getCurrentInstance, onMounted, provide, reactive, ref, useSlots } from 'vue' import type { AnimationManager } from './animation'