ados-rcm 1.1.983 → 1.1.985
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +94 -94
- package/dist/AModule/AComponents/AEditor/AEditor.d.ts +2 -2
- package/dist/AModule/AComponents/AEditor/{AEditorFullscreen.d.ts → components/AEditorFullscreen.d.ts} +1 -1
- package/dist/AModule/AComponents/AEditor/{AEditorLimit.d.ts → components/AEditorLimit.d.ts} +1 -1
- package/dist/AModule/AComponents/AEditor/components/AEditorResizer.d.ts +3 -0
- package/dist/AModule/AComponents/AEditor/components/index.d.ts +3 -0
- package/dist/AModule/AComponents/AEditor/{AEditor.types.d.ts → core/AEditor.types.d.ts} +4 -4
- package/dist/AModule/AComponents/AEditor/{AEditorShared.d.ts → core/AEditorShared.d.ts} +2 -2
- package/dist/AModule/AComponents/AEditor/core/index.d.ts +3 -0
- package/dist/AModule/AComponents/AEditor/core/types.d.ts +67 -0
- package/dist/AModule/AComponents/AEditor/{AEditorQuillConfig.d.ts → engine/AEditorQuillConfig.d.ts} +3 -7
- package/dist/AModule/AComponents/AEditor/{AEditorQuillInstance.d.ts → engine/AEditorQuillInstance.d.ts} +2 -0
- package/dist/AModule/AComponents/AEditor/{AEditorRuntime.d.ts → engine/AEditorRuntime.d.ts} +1 -1
- package/dist/AModule/AComponents/AEditor/{AEditorValue.d.ts → engine/AEditorValue.d.ts} +1 -0
- package/dist/AModule/AComponents/AEditor/engine/index.d.ts +5 -0
- package/dist/AModule/AComponents/AEditor/hooks/index.d.ts +7 -0
- package/dist/AModule/AComponents/AEditor/hooks/useAEditorInitialTransition.d.ts +2 -0
- package/dist/AModule/AComponents/AEditor/{useAEditorModuleBootstrap.d.ts → hooks/useAEditorModuleBootstrap.d.ts} +1 -1
- package/dist/AModule/AComponents/AEditor/hooks/useAEditorQuillBinding.d.ts +5 -0
- package/dist/AModule/AComponents/AEditor/hooks/useAEditorResizeState.d.ts +2 -0
- package/dist/AModule/AComponents/AEditor/hooks/useAEditorRuntime.d.ts +3 -0
- package/dist/AModule/AComponents/AEditor/{useAEditorValueSync.d.ts → hooks/useAEditorValueSync.d.ts} +1 -16
- package/dist/AModule/AComponents/AEditor/modules/FullScreen.d.ts +1 -1
- package/dist/AModule/AComponents/AEditor/{FullscreenController.d.ts → modules/FullscreenController.d.ts} +1 -1
- package/dist/AModule/AComponents/AEditor/modules/Handlers.d.ts +5 -0
- package/dist/AModule/AComponents/AEditor/modules/TableUp.d.ts +0 -1
- package/dist/AModule/AComponents/AEditor/modules/TableUpLogical.d.ts +3 -0
- package/dist/AModule/AComponents/AEditor/modules/Video.d.ts +1 -0
- package/dist/AModule/AComponents/AEditor/modules/index.d.ts +10 -0
- package/dist/AModule/AComponents/ATree/ATree.d.ts +6 -0
- package/dist/AModule/AComponents/ATree/ATreeItem.d.ts +1 -0
- package/dist/Copy-CKM8MgQo.cjs +1 -0
- package/dist/{Copy-B3rOo7BI.js → Copy-DVB83wil.js} +18 -23
- package/dist/{Divider-BZcSqNro.js → Divider-C7WT5iBg.js} +1 -1
- package/dist/{Divider-C5c7Pw_g.cjs → Divider-DFW2t_uL.cjs} +1 -1
- package/dist/{FullScreen-DbDGBYDd.cjs → FullScreen-B8qmBXHd.cjs} +1 -1
- package/dist/{FullScreen-BMvUkPBH.js → FullScreen-sQHmYGgO.js} +1 -1
- package/dist/{ImageResizer-DHy1Uu5l.cjs → ImageResizer-CA4O-7DX.cjs} +1 -1
- package/dist/{ImageResizer-fAICq1BL.js → ImageResizer-CtbBX0jI.js} +1 -1
- package/dist/{TableClipboard-DOaBfmoh.js → TableClipboard-BoFLlx3i.js} +156 -165
- package/dist/TableClipboard-CqYjZ7oI.cjs +6 -0
- package/dist/TableSelection-30E7dTzt.cjs +1 -0
- package/dist/{TableSelection-CiWzGftL.js → TableSelection-Bnajw_8O.js} +21 -25
- package/dist/{TableUp-DrvNVGLY.js → TableUp-B_OY-Miw.js} +29 -33
- package/dist/TableUp-DxF5PKuO.cjs +1 -0
- package/dist/{TableUpLogical-CGUQRP9s.js → TableUpLogical-BiFAqXhr.js} +27 -21
- package/dist/TableUpLogical-sMtqQMD5.cjs +1 -0
- package/dist/Video-ByTm7PTW.cjs +1 -0
- package/dist/Video-Dn4uFVks.js +60 -0
- package/dist/{index-hynLr8nb.js → index-B_xKVWN8.js} +1 -1
- package/dist/index-CZ4JqPWa.cjs +344 -0
- package/dist/{index-YH9Qgisj.cjs → index-DHbkYP37.cjs} +1 -1
- package/dist/{index-ZdoLu3aF.js → index-DaaVKju_.js} +1 -1
- package/dist/{index-ZwnTq6Da.cjs → index-KlpBbQGK.cjs} +1 -1
- package/dist/{index-D0gYvIJM.js → index-R5zIuQiy.js} +19662 -19671
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +13 -13
- package/package.json +98 -98
- package/dist/AModule/AComponents/AEditor/useAEditorInitialTransition.d.ts +0 -8
- package/dist/AModule/AComponents/AEditor/useAEditorQuillBinding.d.ts +0 -19
- package/dist/AModule/AComponents/AEditor/useAEditorResizeState.d.ts +0 -19
- package/dist/AModule/AComponents/AEditor/useAEditorRuntime.d.ts +0 -10
- package/dist/Copy-B0IqRovv.cjs +0 -1
- package/dist/TableClipboard-C0u9-pv5.cjs +0 -6
- package/dist/TableSelection-Bp2-2rNs.cjs +0 -1
- package/dist/TableUp-COdLhC7A.cjs +0 -1
- package/dist/TableUpLogical-CMA1j6be.cjs +0 -1
- package/dist/Video-BFVTAWeU.cjs +0 -1
- package/dist/Video-BlrTYWMj.js +0 -55
- package/dist/index-BdDEAHIo.cjs +0 -344
- /package/dist/AModule/AComponents/AEditor/{AEditorLayout.d.ts → core/AEditorLayout.d.ts} +0 -0
- /package/dist/AModule/AComponents/AEditor/{AEditorTableStyle.d.ts → engine/AEditorTableStyle.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
# ReactComponentModule
|
|
2
|
-
|
|
3
|
-
React Component for ADOS
|
|
4
|
-
|
|
5
|
-
## Getting started
|
|
6
|
-
|
|
7
|
-
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
|
|
8
|
-
|
|
9
|
-
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
|
|
10
|
-
|
|
11
|
-
## Add your files
|
|
12
|
-
|
|
13
|
-
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
|
|
14
|
-
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
cd root
|
|
18
|
-
git remote add origin http://192.168.1.37/ados/rcm.git
|
|
19
|
-
git fetch
|
|
20
|
-
git add .
|
|
21
|
-
git commit -m 'comment'
|
|
22
|
-
git push
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Integrate with your tools
|
|
26
|
-
|
|
27
|
-
- [ ] [Set up project integrations](http://192.168.1.37/ados/arcm/-/settings/integrations)
|
|
28
|
-
|
|
29
|
-
## Collaborate with your team
|
|
30
|
-
|
|
31
|
-
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
|
|
32
|
-
- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
|
|
33
|
-
- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
|
|
34
|
-
- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
|
|
35
|
-
- [ ] [Automatically merge when pipeline succeeds](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
|
|
36
|
-
|
|
37
|
-
## Test and Deploy
|
|
38
|
-
|
|
39
|
-
Use the built-in continuous integration in GitLab.
|
|
40
|
-
|
|
41
|
-
- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
|
|
42
|
-
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing(SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
|
|
43
|
-
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
|
|
44
|
-
- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
|
|
45
|
-
- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
|
|
46
|
-
|
|
47
|
-
***
|
|
48
|
-
|
|
49
|
-
# Editing this README
|
|
50
|
-
|
|
51
|
-
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://www.makeareadme.com/) for this template.
|
|
52
|
-
|
|
53
|
-
## Suggestions for a good README
|
|
54
|
-
Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
|
|
55
|
-
|
|
56
|
-
## Name
|
|
57
|
-
Choose a self-explaining name for your project.
|
|
58
|
-
|
|
59
|
-
## Description
|
|
60
|
-
Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
|
|
61
|
-
|
|
62
|
-
## Badges
|
|
63
|
-
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
|
|
64
|
-
|
|
65
|
-
## Visuals
|
|
66
|
-
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
|
|
67
|
-
|
|
68
|
-
## Installation
|
|
69
|
-
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
|
|
70
|
-
|
|
71
|
-
## Usage
|
|
72
|
-
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
|
|
73
|
-
|
|
74
|
-
## Support
|
|
75
|
-
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
|
|
76
|
-
|
|
77
|
-
## Roadmap
|
|
78
|
-
If you have ideas for releases in the future, it is a good idea to list them in the README.
|
|
79
|
-
|
|
80
|
-
## Contributing
|
|
81
|
-
State if you are open to contributions and what your requirements are for accepting them.
|
|
82
|
-
|
|
83
|
-
For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
|
|
84
|
-
|
|
85
|
-
You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
|
|
86
|
-
|
|
87
|
-
## Authors and acknowledgment
|
|
88
|
-
Show your appreciation to those who have contributed to the project.
|
|
89
|
-
|
|
90
|
-
## License
|
|
91
|
-
For open source projects, say how it is licensed.
|
|
92
|
-
|
|
93
|
-
## Project status
|
|
94
|
-
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
|
|
1
|
+
# ReactComponentModule
|
|
2
|
+
|
|
3
|
+
React Component for ADOS
|
|
4
|
+
|
|
5
|
+
## Getting started
|
|
6
|
+
|
|
7
|
+
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
|
|
8
|
+
|
|
9
|
+
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
|
|
10
|
+
|
|
11
|
+
## Add your files
|
|
12
|
+
|
|
13
|
+
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
|
|
14
|
+
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
cd root
|
|
18
|
+
git remote add origin http://192.168.1.37/ados/rcm.git
|
|
19
|
+
git fetch
|
|
20
|
+
git add .
|
|
21
|
+
git commit -m 'comment'
|
|
22
|
+
git push
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Integrate with your tools
|
|
26
|
+
|
|
27
|
+
- [ ] [Set up project integrations](http://192.168.1.37/ados/arcm/-/settings/integrations)
|
|
28
|
+
|
|
29
|
+
## Collaborate with your team
|
|
30
|
+
|
|
31
|
+
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
|
|
32
|
+
- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
|
|
33
|
+
- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
|
|
34
|
+
- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
|
|
35
|
+
- [ ] [Automatically merge when pipeline succeeds](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
|
|
36
|
+
|
|
37
|
+
## Test and Deploy
|
|
38
|
+
|
|
39
|
+
Use the built-in continuous integration in GitLab.
|
|
40
|
+
|
|
41
|
+
- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
|
|
42
|
+
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing(SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
|
|
43
|
+
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
|
|
44
|
+
- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
|
|
45
|
+
- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
# Editing this README
|
|
50
|
+
|
|
51
|
+
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://www.makeareadme.com/) for this template.
|
|
52
|
+
|
|
53
|
+
## Suggestions for a good README
|
|
54
|
+
Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
|
|
55
|
+
|
|
56
|
+
## Name
|
|
57
|
+
Choose a self-explaining name for your project.
|
|
58
|
+
|
|
59
|
+
## Description
|
|
60
|
+
Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
|
|
61
|
+
|
|
62
|
+
## Badges
|
|
63
|
+
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
|
|
64
|
+
|
|
65
|
+
## Visuals
|
|
66
|
+
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
|
|
67
|
+
|
|
68
|
+
## Installation
|
|
69
|
+
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
|
|
70
|
+
|
|
71
|
+
## Usage
|
|
72
|
+
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
|
|
73
|
+
|
|
74
|
+
## Support
|
|
75
|
+
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
|
|
76
|
+
|
|
77
|
+
## Roadmap
|
|
78
|
+
If you have ideas for releases in the future, it is a good idea to list them in the README.
|
|
79
|
+
|
|
80
|
+
## Contributing
|
|
81
|
+
State if you are open to contributions and what your requirements are for accepting them.
|
|
82
|
+
|
|
83
|
+
For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
|
|
84
|
+
|
|
85
|
+
You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
|
|
86
|
+
|
|
87
|
+
## Authors and acknowledgment
|
|
88
|
+
Show your appreciation to those who have contributed to the project.
|
|
89
|
+
|
|
90
|
+
## License
|
|
91
|
+
For open source projects, say how it is licensed.
|
|
92
|
+
|
|
93
|
+
## Project status
|
|
94
|
+
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { IAEditorProps } from './
|
|
3
|
-
export type { IAEditorProps, IAEditorRef, TAEditorLimitPosition, TAEditorSize, TAEditorToolbarType, TAEditorType, TValueSyncMode, } from './
|
|
2
|
+
import { IAEditorProps } from './core/types';
|
|
3
|
+
export type { IAEditorProps, IAEditorRef, TAEditorLimitPosition, TAEditorSize, TAEditorToolbarType, TAEditorType, TValueSyncMode, } from './core/types';
|
|
4
4
|
export declare const AEditor: (props: IAEditorProps) => React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { Quill } from 'react-quill-new';
|
|
3
|
-
import { QuillFullscreenButtonOptions } from '
|
|
3
|
+
import { QuillFullscreenButtonOptions } from '../modules/FullscreenController';
|
|
4
4
|
interface IAEditorFullscreenProps {
|
|
5
5
|
isReadonly: boolean;
|
|
6
6
|
quillInstance: Quill | null;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IAEditorResizerProps } from '../core/types';
|
|
3
|
+
export declare function AEditorResizer({ contentHeight, currentHeight, handleResizeStart, isResizing, noTransition, resizerHeight, }: Readonly<IAEditorResizerProps>): React.ReactNode;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { default as ReactQuill } from 'react-quill-new';
|
|
3
|
-
import { TUseValues } from '
|
|
4
|
-
import { IABaseProps } from '
|
|
5
|
-
import { IAWrapProps } from '
|
|
6
|
-
import { IClipboardOptions } from '
|
|
3
|
+
import { TUseValues } from '../../../AHooks/useValues';
|
|
4
|
+
import { IABaseProps } from '../../ABase/ABase';
|
|
5
|
+
import { IAWrapProps } from '../../AWrap/AWrap';
|
|
6
|
+
import { IClipboardOptions } from '../modules/Copy';
|
|
7
7
|
export interface IAEditorRef extends ReactQuill {
|
|
8
8
|
copyContent: (options?: IClipboardOptions) => void;
|
|
9
9
|
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { CSSProperties, RefObject } from 'react';
|
|
2
|
+
import { default as ReactQuill, DeltaStatic } from 'react-quill-new';
|
|
3
|
+
import { IAEditorRef, TValueSyncMode } from './AEditor.types';
|
|
4
|
+
import { IAEditorRuntimeSnapshot, TAEditorRuntimeProfile } from '../engine/AEditorRuntime';
|
|
5
|
+
export type { IAEditorProps, IAEditorRef, TAEditorLimitPosition, TAEditorSize, TAEditorToolbarType, TAEditorType, TValueSyncMode, } from './AEditor.types';
|
|
6
|
+
export type { IAEditorRuntime, IAEditorRuntimeBase, IAEditorRuntimeLoaded, IAEditorRuntimeProfileInput, IAEditorRuntimeSnapshot, TAEditorRuntimeProfile, } from '../engine/AEditorRuntime';
|
|
7
|
+
export type { QuillFullscreenButtonOptions } from '../modules/FullscreenController';
|
|
8
|
+
export type { ToolbarIcons, DestroyableModule, ClipboardModule } from '../engine/AEditorQuillConfig';
|
|
9
|
+
export interface UseAEditorRuntimeParams {
|
|
10
|
+
initialRuntimeSnapshot: IAEditorRuntimeSnapshot;
|
|
11
|
+
runtimeProfile: TAEditorRuntimeProfile;
|
|
12
|
+
syncEditorDeltaState: (nextDelta: DeltaStatic, nextCalculatedSize?: number) => void;
|
|
13
|
+
value: string;
|
|
14
|
+
}
|
|
15
|
+
export interface UseAEditorValueSyncParams {
|
|
16
|
+
canSetValue: boolean;
|
|
17
|
+
deferredSyncMs: number;
|
|
18
|
+
editorRef: RefObject<ReactQuill | null>;
|
|
19
|
+
hasExternalValue: boolean;
|
|
20
|
+
initialRuntimeSnapshot: IAEditorRuntimeSnapshot;
|
|
21
|
+
maxLength?: number;
|
|
22
|
+
setValue: ((nextValue: string) => void) | undefined;
|
|
23
|
+
shouldMaintainLocalDelta: boolean;
|
|
24
|
+
shouldTrackLimit: boolean;
|
|
25
|
+
value: string;
|
|
26
|
+
valueSyncMode: TValueSyncMode;
|
|
27
|
+
}
|
|
28
|
+
export interface UseAEditorQuillBindingParams {
|
|
29
|
+
commitPendingValueSync: () => void;
|
|
30
|
+
contentHeight?: number;
|
|
31
|
+
editorClassName?: string;
|
|
32
|
+
editorRef: RefObject<ReactQuill | null>;
|
|
33
|
+
editorStyle?: CSSProperties;
|
|
34
|
+
extEditorRef?: RefObject<IAEditorRef | null> | ((instance: IAEditorRef | null) => void);
|
|
35
|
+
handleResizeToolbar: ResizeObserverCallback;
|
|
36
|
+
isReadonly: boolean;
|
|
37
|
+
runtime: IAEditorRuntimeSnapshot;
|
|
38
|
+
}
|
|
39
|
+
export interface UseAEditorInitialTransitionParams {
|
|
40
|
+
editorRef: RefObject<ReactQuill | null>;
|
|
41
|
+
isReadonly: boolean;
|
|
42
|
+
}
|
|
43
|
+
export interface IAEditorResizeSession {
|
|
44
|
+
initialClientY: number;
|
|
45
|
+
initialHeight: number;
|
|
46
|
+
}
|
|
47
|
+
export interface IUseAEditorResizeStateParams {
|
|
48
|
+
contentHeight?: number;
|
|
49
|
+
extMaxHeight?: number;
|
|
50
|
+
extMinHeight?: number;
|
|
51
|
+
initialToolbarHeight: number;
|
|
52
|
+
}
|
|
53
|
+
export interface IUseAEditorResizeStateResult {
|
|
54
|
+
currentHeight?: number;
|
|
55
|
+
handleResizeStart: (event: import('react').MouseEvent) => void;
|
|
56
|
+
handleResizeToolbar: ResizeObserverCallback;
|
|
57
|
+
isResizing: boolean;
|
|
58
|
+
toolbarHeight: number;
|
|
59
|
+
}
|
|
60
|
+
export interface IAEditorResizerProps {
|
|
61
|
+
contentHeight?: number;
|
|
62
|
+
currentHeight?: number;
|
|
63
|
+
handleResizeStart: (e: import('react').MouseEvent) => void;
|
|
64
|
+
isResizing: boolean;
|
|
65
|
+
noTransition: string;
|
|
66
|
+
resizerHeight: number;
|
|
67
|
+
}
|
package/dist/AModule/AComponents/AEditor/{AEditorQuillConfig.d.ts → engine/AEditorQuillConfig.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
import { default as ReactQuill } from 'react-quill-new';
|
|
3
|
-
import { TAEditorSize, TAEditorType } from '
|
|
3
|
+
import { TAEditorSize, TAEditorType } from '../core/AEditor.types';
|
|
4
4
|
import { IAEditorRuntime, IAEditorRuntimeSnapshot } from './AEditorRuntime';
|
|
5
|
-
import { QuillFullscreenButtonOptions } from '
|
|
5
|
+
import { QuillFullscreenButtonOptions } from '../modules/FullscreenController';
|
|
6
6
|
interface CreateDefaultModulesParams {
|
|
7
7
|
icons: ToolbarIcons;
|
|
8
8
|
noImageResize?: boolean;
|
|
@@ -19,12 +19,9 @@ export interface DestroyableModule {
|
|
|
19
19
|
destroy?: () => void;
|
|
20
20
|
}
|
|
21
21
|
export interface ClipboardModule {
|
|
22
|
-
copyContent: (options?: import('
|
|
22
|
+
copyContent: (options?: import('../modules/Copy').IClipboardOptions) => Promise<boolean>;
|
|
23
23
|
}
|
|
24
24
|
export declare const DEFAULT_CUSTOM_MODULE_NAMES: readonly ["copy", "toggleFullscreen", "imageCompress", "resize", "clipboard"];
|
|
25
|
-
export declare const EDITOR_IMAGE_SIZE_CACHE: Map<string, number>;
|
|
26
|
-
export declare const EDITOR_IMAGE_SIZE_LIMIT = 256;
|
|
27
|
-
export declare const EDITOR_IMAGE_QUALITY = 0.7;
|
|
28
25
|
export declare function createToggleFullscreenOptions({ icons, type, }: Pick<CreateDefaultModulesParams, 'icons' | 'type'>): QuillFullscreenButtonOptions;
|
|
29
26
|
export declare function createToolbarIcons(toolbarSize: TAEditorSize): ToolbarIcons;
|
|
30
27
|
export declare function createEditorCssVariables(isTitleMode: boolean, toolbarSize: TAEditorSize, icons: ToolbarIcons): CSSProperties;
|
|
@@ -36,5 +33,4 @@ export declare function resolveQuillModules(params: {
|
|
|
36
33
|
runtime: IAEditorRuntimeSnapshot;
|
|
37
34
|
type: TAEditorType;
|
|
38
35
|
}): ReactQuill.ReactQuillProps['modules'] | undefined;
|
|
39
|
-
export declare function computeInitialCalculatedSize(shouldTrackLimit: boolean, html: import('react-quill-new').DeltaStatic, calculateTextSize: (delta: import('react-quill-new').DeltaStatic, imageSizes: Map<string, number>, quality: number) => number): number;
|
|
40
36
|
export {};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { default as ReactQuill, Quill } from 'react-quill-new';
|
|
2
2
|
export declare function getInstantiatedEditor(editorInstance: ReactQuill | null | undefined): Quill | null;
|
|
3
3
|
export declare function clearInstantiatedEditor(editorInstance: ReactQuill | null | undefined): void;
|
|
4
|
+
export declare function findQuillToolbar(quillContainer: Element | null | undefined): Element | null;
|
|
5
|
+
export declare function findQuillContainer(quill: Quill | null | undefined): HTMLElement | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TAEditorToolbarType, TAEditorType } from '
|
|
1
|
+
import { TAEditorToolbarType, TAEditorType } from '../core/AEditor.types';
|
|
2
2
|
type TableUpModule = typeof import('quill-table-up');
|
|
3
3
|
type TCanonicalEditorRuntimeProfile = 'display' | 'readonly' | 'title' | 'full';
|
|
4
4
|
export type TAEditorRuntimeProfile = TCanonicalEditorRuntimeProfile | 'RawMinimal' | 'ReadOnly' | 'Title' | 'Full';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DeltaStatic } from 'react-quill-new';
|
|
2
2
|
export declare function normalizeEditorHtml(html: string): string;
|
|
3
|
+
export declare function writeLruCacheValue<K, V>(cache: Map<K, V>, key: K, value: V, limit?: number): void;
|
|
3
4
|
export declare function preserveWhitespaceHtml(html: string): string;
|
|
4
5
|
export declare function sanitizeHtmlToDelta(html: string): DeltaStatic;
|
|
5
6
|
export declare function deltaToHtml(delta: DeltaStatic): string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { useAEditorInitialTransition } from './useAEditorInitialTransition';
|
|
2
|
+
export { useAEditorModuleBootstrap } from './useAEditorModuleBootstrap';
|
|
3
|
+
export { useAEditorQuillBinding } from './useAEditorQuillBinding';
|
|
4
|
+
export { useAEditorResizeState } from './useAEditorResizeState';
|
|
5
|
+
export { useAEditorRuntime } from './useAEditorRuntime';
|
|
6
|
+
export { useAEditorValueSync } from './useAEditorValueSync';
|
|
7
|
+
export type { IAEditorResizeSession, IAEditorResizerProps, IUseAEditorResizeStateParams, IUseAEditorResizeStateResult, UseAEditorInitialTransitionParams, UseAEditorQuillBindingParams, UseAEditorRuntimeParams, UseAEditorValueSyncParams, } from '../core/types';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as ReactQuill } from 'react-quill-new';
|
|
2
|
+
import { UseAEditorQuillBindingParams } from '../core/types';
|
|
3
|
+
export declare function useAEditorQuillBinding({ contentHeight, commitPendingValueSync, editorClassName, editorRef, editorStyle, extEditorRef, handleResizeToolbar, isReadonly, runtime, }: UseAEditorQuillBindingParams): {
|
|
4
|
+
editorRefCallback: (editorInstance: ReactQuill | null) => void;
|
|
5
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IAEditorRuntimeSnapshot } from '../engine/AEditorRuntime';
|
|
2
|
+
import { UseAEditorRuntimeParams } from '../core/types';
|
|
3
|
+
export declare function useAEditorRuntime({ initialRuntimeSnapshot, runtimeProfile, syncEditorDeltaState, value, }: UseAEditorRuntimeParams): IAEditorRuntimeSnapshot;
|
package/dist/AModule/AComponents/AEditor/{useAEditorValueSync.d.ts → hooks/useAEditorValueSync.d.ts}
RENAMED
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
import { default as ReactQuill, DeltaStatic, EmitterSource } from 'react-quill-new';
|
|
2
|
-
import {
|
|
3
|
-
import { IAEditorRuntimeSnapshot } from './AEditorRuntime';
|
|
4
|
-
interface UseAEditorValueSyncParams {
|
|
5
|
-
canSetValue: boolean;
|
|
6
|
-
deferredSyncMs: number;
|
|
7
|
-
editorRef: React.RefObject<ReactQuill | null>;
|
|
8
|
-
hasExternalValue: boolean;
|
|
9
|
-
initialRuntimeSnapshot: IAEditorRuntimeSnapshot;
|
|
10
|
-
maxLength?: number;
|
|
11
|
-
setValue: ((nextValue: string) => void) | undefined;
|
|
12
|
-
shouldMaintainLocalDelta: boolean;
|
|
13
|
-
shouldTrackLimit: boolean;
|
|
14
|
-
value: string;
|
|
15
|
-
valueSyncMode: TValueSyncMode;
|
|
16
|
-
}
|
|
2
|
+
import { UseAEditorValueSyncParams } from '../core/types';
|
|
17
3
|
export declare function useAEditorValueSync({ canSetValue, deferredSyncMs, editorRef, hasExternalValue, initialRuntimeSnapshot, maxLength, setValue, shouldMaintainLocalDelta, shouldTrackLimit, value, valueSyncMode, }: UseAEditorValueSyncParams): {
|
|
18
4
|
calculatedSize: number;
|
|
19
5
|
clearScheduledValueSync: () => void;
|
|
@@ -25,4 +11,3 @@ export declare function useAEditorValueSync({ canSetValue, deferredSyncMs, edito
|
|
|
25
11
|
htmlDeltaRef: import('react').RefObject<DeltaStatic>;
|
|
26
12
|
syncEditorDeltaState: (nextDelta: DeltaStatic, nextCalculatedSize?: number) => void;
|
|
27
13
|
};
|
|
28
|
-
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Quill } from 'react-quill-new';
|
|
2
|
-
import { QuillFullscreenButtonOptions } from '
|
|
2
|
+
import { QuillFullscreenButtonOptions } from './FullscreenController';
|
|
3
3
|
export default class QuillToggleFullscreenButton {
|
|
4
4
|
readonly quill: Quill;
|
|
5
5
|
readonly options: QuillFullscreenButtonOptions;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { Quill } from 'react-quill-new';
|
|
2
|
+
/**
|
|
3
|
+
* Quill 툴바/키보드 핸들러 - Quill API가 this를 바인딩하므로 별도 모듈로 분리
|
|
4
|
+
* (함수형 컴포넌트 내부에서 this 사용 시 SonarQube S6757 위반 방지)
|
|
5
|
+
*/
|
|
6
|
+
export declare const deferMicrotask: (callback: () => void) => void;
|
|
2
7
|
export declare function removeNewlineHandler(this: {
|
|
3
8
|
quill: Quill;
|
|
4
9
|
}, _range: unknown, context: {
|
|
@@ -5,7 +5,6 @@ declare class JaeKanTableUp extends TableUp {
|
|
|
5
5
|
private moveSelectionToCell;
|
|
6
6
|
private clearDisplayedSelection;
|
|
7
7
|
private resolveSplitTargetCell;
|
|
8
|
-
private resolveTableCellNode;
|
|
9
8
|
private resolveCellInnerFromNode;
|
|
10
9
|
private readElementHeight;
|
|
11
10
|
private applyCellHeight;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TableCellInnerFormat } from 'quill-table-up';
|
|
1
2
|
export interface ITableCellIdentity {
|
|
2
3
|
colId: string;
|
|
3
4
|
rowId: string;
|
|
@@ -45,6 +46,8 @@ export interface IDomTableGridGeometry {
|
|
|
45
46
|
rowEdges: number[];
|
|
46
47
|
tableRect: IDomTableViewportRect;
|
|
47
48
|
}
|
|
49
|
+
export declare function resolveColumnCount(table: HTMLTableElement): number;
|
|
50
|
+
export declare function resolveTableCellNode(cell: TableCellInnerFormat): HTMLTableCellElement | null;
|
|
48
51
|
export declare function buildDomTableGrid(table: HTMLTableElement): IDomTableGrid | null;
|
|
49
52
|
export declare function buildDomTableGeometry(tableGrid: IDomTableGrid): IDomTableGridGeometry | null;
|
|
50
53
|
export declare function resolveViewportRectBounds(rects: IDomTableViewportRect[]): IDomTableViewportRect | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as CopyModule } from './Copy';
|
|
2
|
+
export { default as DividerBlot } from './Divider';
|
|
3
|
+
export { default as QuillToggleFullscreenButton } from './FullScreen';
|
|
4
|
+
export * from './FullscreenController';
|
|
5
|
+
export { default as ImageCompressor } from './ImageCompressor';
|
|
6
|
+
export { default as QuillResize } from './ImageResizer';
|
|
7
|
+
export { TableClipboard } from './TableClipboard';
|
|
8
|
+
export { default as JaeKanTableUp } from './TableUp';
|
|
9
|
+
export { default as VideoBlot } from './Video';
|
|
10
|
+
export * from './Handlers';
|
|
@@ -224,6 +224,12 @@ export interface IATreeProps<T extends IATreeItem<T>> extends IABaseProps {
|
|
|
224
224
|
* Description : resources of ATree
|
|
225
225
|
*/
|
|
226
226
|
resources?: Partial<typeof Resources.ATree>;
|
|
227
|
+
/**
|
|
228
|
+
* rightStickyProps? : React.HTMLAttributes<HTMLDivElement>
|
|
229
|
+
*
|
|
230
|
+
* Description : rightStickyProps of ATree
|
|
231
|
+
*/
|
|
232
|
+
rightStickyProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
227
233
|
/**
|
|
228
234
|
* searchCircular? : boolean (default: false)
|
|
229
235
|
*
|
|
@@ -46,6 +46,7 @@ export interface IATreeItemProps<T> {
|
|
|
46
46
|
onMouseOver?: (e: React.MouseEvent<HTMLElement>, item: T) => void;
|
|
47
47
|
parentsInfo: IParentInfo<T>[];
|
|
48
48
|
resources: typeof Resources.ATree;
|
|
49
|
+
rightStickyProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
49
50
|
searchItemClassName?: TCanCallback<IATreeItemProps<T>, string>;
|
|
50
51
|
searchItemStyle?: TCanCallback<IATreeItemProps<T>, React.CSSProperties>;
|
|
51
52
|
selectDisabled?: (item: T) => boolean | string | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var y=Object.defineProperty;var x=(i,t,r)=>t in i?y(i,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[t]=r;var d=(i,t,r)=>x(i,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-CZ4JqPWa.cjs"),u={capture:!0},p=new Set(["P","DIV","LI","BLOCKQUOTE","PRE","TR","TD","TH","SECTION","ARTICLE","H1","H2","H3","H4","H5","H6"]),m=/<(?:br|p|div|li|blockquote|pre|tr|td|th|section|article|h[1-6])\b|[\r\n\t]/i,T=/[\r\n\t]+/g,h=/\s{2,}/g;function E(i){return typeof i.insert=="string"?i.insert.length:1}class b{constructor(t,r={}){d(this,"clipboard");d(this,"quill");d(this,"cleanupFunctions",[]);this.clipboard=t.getModule("clipboard"),this.quill=t,r.isTitleMode&&this.setupTitleModePaste()}setupTitleModePaste(){const t=this.quill.root,r=e=>{if(e.preventDefault(),!e.clipboardData)return;const l=e.clipboardData.getData("text/html"),n=e.clipboardData.getData("text/plain"),a=this.quill.getSelection(!0);if(!a)return;if(l){const f=this.normalizeTitlePasteHtml(l),o=this.clipboard.convert({html:f});this.applyPasteDelta(a.index,a.length,o),this.scheduleSelection(a.index+this.getDeltaLength(o));return}const s=this.normalizeTitlePasteText(n);this.applyPasteText(a.index,a.length,s),this.scheduleSelection(a.index+s.length)};t.addEventListener("paste",r,u),this.cleanupFunctions.push(()=>{t.removeEventListener("paste",r,u)})}normalizeTitlePasteText(t){return t.replaceAll(T," ").replaceAll(h," ").trim()}normalizeTitlePasteHtml(t){var a,s;if(!m.test(t))return t;const r=document.createElement("div");r.innerHTML=t,this.flattenTitlePasteNode(r);const e=document.createTreeWalker(r,NodeFilter.SHOW_TEXT);let l=e.nextNode();for(;l;)l.textContent=((a=l.textContent)==null?void 0:a.replaceAll(h," "))??"",l=e.nextNode();const n=this.findLastTextNode(r);return n&&(n.textContent=((s=n.textContent)==null?void 0:s.replaceAll(/\s+$/g,""))??""),r.innerHTML}flattenTitlePasteNode(t){var e;const r=Array.from(t.childNodes);for(const l of r){if(l.nodeType===Node.TEXT_NODE){l.textContent=((e=l.textContent)==null?void 0:e.replaceAll(T," "))??"";continue}if(l instanceof HTMLElement){if(l.tagName==="BR"){l.replaceWith(document.createTextNode(" "));continue}this.flattenTitlePasteNode(l),p.has(l.tagName)&&l.nextSibling&&!this.endsWithWhitespace(l)&&l.appendChild(document.createTextNode(" "))}}}endsWithWhitespace(t){var r;return/\s$/.test(((r=this.findLastTextNode(t))==null?void 0:r.textContent)??"")}findLastTextNode(t){const r=Array.from(t.childNodes).reverse();for(const e of r){if(e.nodeType===Node.TEXT_NODE)return e;const l=this.findLastTextNode(e);if(l)return l}return null}getDeltaLength(t){var r;return((r=t.ops)==null?void 0:r.reduce((e,l)=>e+E(l),0))??0}applyPasteDelta(t,r,e){const l=new c.Delta().retain(t).delete(r).concat(e);this.quill.updateContents(l,c.Quill.sources.USER)}applyPasteText(t,r,e){const l=new c.Delta().retain(t).delete(r);e&&l.insert(e),this.quill.updateContents(l,c.Quill.sources.USER)}scheduleSelection(t){c.deferMicrotask(()=>this.quill.setSelection(t,0,c.Quill.sources.SILENT))}destroy(){this.cleanupFunctions.forEach(t=>t()),this.cleanupFunctions=[]}async copyContent(t){var r;try{const e=this.quill.getText(),l=this.quill.root.innerHTML;return this.copyToClipboard(e,l,t)}catch(e){return console.error("Error in copyContent:",e),(r=t==null?void 0:t.onError)==null||r.call(t),!1}}async copyToClipboard(t,r,e){var l,n;try{return await this.tryModernClipboardWithHtml(t,r,e)||await this.tryModernClipboardText(t,e)||r&&this.tryLegacyClipboardWithHtml(r,e)||this.tryLegacyClipboardText(t,e)?!0:((l=e==null?void 0:e.onError)==null||l.call(e),!1)}catch(a){return console.error("복사 중 오류 발생:",a),(n=e==null?void 0:e.onError)==null||n.call(e),!1}}async tryModernClipboardWithHtml(t,r,e){var l;if(!navigator.clipboard||!r||!globalThis.ClipboardItem||!globalThis.isSecureContext)return!1;try{return await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([r],{type:"text/html"}),"text/plain":new Blob([t],{type:"text/plain"})})]),(l=e==null?void 0:e.onSuccess)==null||l.call(e),!0}catch{return!1}}async tryModernClipboardText(t,r){var e;if(!navigator.clipboard||!globalThis.isSecureContext)return!1;try{return await navigator.clipboard.writeText(t),(e=r==null?void 0:r.onSuccess)==null||e.call(r),!0}catch{return!1}}tryLegacyClipboardWithHtml(t,r){const e=document.createElement("div");e.innerHTML=t,e.style.cssText="position:fixed;left:-9999px;top:-9999px;opacity:0;",document.body.appendChild(e);try{const l=document.createRange();l.selectNodeContents(e);const n=globalThis.getSelection();return n?(n.removeAllRanges(),n.addRange(l),this.tryClipboardEventCopy({html:t,text:e.textContent??""},r)):!1}finally{e.remove()}}tryLegacyClipboardText(t,r){const e=document.createElement("textarea");e.value=t,e.style.cssText="position:fixed;left:-9999px;top:-9999px;opacity:0;",document.body.appendChild(e);try{return e.focus(),e.select(),this.tryClipboardEventCopy({text:t},r)}finally{e.remove()}}tryClipboardEventCopy(t,r){var n;let e=!1;const l=a=>{a.preventDefault(),a.clipboardData&&(a.clipboardData.setData("text/plain",t.text),t.html&&a.clipboardData.setData("text/html",t.html),e=!0)};document.addEventListener("copy",l);try{const a=new ClipboardEvent("copy",{clipboardData:new DataTransfer});if(document.dispatchEvent(a),e)return(n=r==null?void 0:r.onSuccess)==null||n.call(r),!0}catch{return!1}finally{document.removeEventListener("copy",l)}return!1}}exports.default=b;
|