watermark-js-plus 1.5.1 → 1.5.3

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.
Files changed (52) hide show
  1. package/README.md +37 -8
  2. package/dist/ie/index.cjs.js +4451 -0
  3. package/dist/ie/index.cjs.js.map +1 -0
  4. package/dist/ie/index.cjs.min.js +1 -0
  5. package/dist/ie/index.esm.js +4447 -0
  6. package/dist/ie/index.esm.js.map +1 -0
  7. package/dist/ie/index.esm.min.js +1 -0
  8. package/dist/ie/index.iife.js +4456 -0
  9. package/dist/ie/index.iife.js.map +1 -0
  10. package/dist/ie/index.iife.min.js +1 -0
  11. package/dist/ie/index.umd.js +4457 -0
  12. package/dist/ie/index.umd.js.map +1 -0
  13. package/dist/ie/index.umd.min.js +1 -0
  14. package/dist/ie/types/src/core/blind.d.ts +18 -0
  15. package/dist/ie/types/src/core/canvas.d.ts +51 -0
  16. package/dist/ie/types/src/core/image.d.ts +22 -0
  17. package/dist/ie/types/src/core/layout/grid.d.ts +14 -0
  18. package/dist/ie/types/src/core/layout/index.d.ts +4 -0
  19. package/dist/ie/types/src/core/watermark.d.ts +48 -0
  20. package/dist/ie/types/src/index.d.ts +5 -0
  21. package/dist/ie/types/src/index.ie.d.ts +6 -0
  22. package/dist/ie/types/src/style/index.d.ts +1 -0
  23. package/dist/ie/types/src/types/index.d.ts +127 -0
  24. package/dist/ie/types/src/utils/bootstrap.d.ts +2 -0
  25. package/dist/ie/types/src/utils/index.d.ts +14 -0
  26. package/dist/ie/types/src/utils/initialization.d.ts +19 -0
  27. package/dist/ie/types/tests/core/blind.test.d.ts +1 -0
  28. package/dist/ie/types/tests/core/image.test.d.ts +1 -0
  29. package/dist/ie/types/tests/core/watermark.test.d.ts +1 -0
  30. package/dist/ie/types/tests/utils/index.d.ts +1 -0
  31. package/dist/ie/types/tests/utils/index.test.d.ts +1 -0
  32. package/dist/index.cjs.js +28 -14
  33. package/dist/index.cjs.js.map +1 -1
  34. package/dist/index.cjs.min.js +1 -1
  35. package/dist/index.esm.js +28 -14
  36. package/dist/index.esm.js.map +1 -1
  37. package/dist/index.esm.min.js +1 -1
  38. package/dist/index.iife.js +28 -14
  39. package/dist/index.iife.js.map +1 -1
  40. package/dist/index.iife.min.js +1 -1
  41. package/dist/index.umd.js +28 -14
  42. package/dist/index.umd.js.map +1 -1
  43. package/dist/index.umd.min.js +1 -1
  44. package/dist/types/src/core/watermark.d.ts +1 -0
  45. package/dist/types/src/index.ie.d.ts +6 -0
  46. package/dist/types/tests/core/blind.test.d.ts +1 -0
  47. package/dist/types/tests/core/image.test.d.ts +1 -0
  48. package/dist/types/tests/core/watermark.test.d.ts +1 -0
  49. package/dist/types/tests/utils/index.d.ts +1 -0
  50. package/dist/types/tests/utils/index.test.d.ts +1 -0
  51. package/package.json +45 -25
  52. package/dist/types/docs/components/config.d.ts +0 -72
package/README.md CHANGED
@@ -3,14 +3,26 @@
3
3
  <img width="300" src="https://zhensherlock.github.io/watermark-js-plus/hero-image.png" alt="watermark logo">
4
4
  </a>
5
5
  </p>
6
- <p align="center">
7
- <a href="https://npmjs.com/package/watermark-js-plus"><img src="https://badgen.net/npm/v/watermark-js-plus" alt="npm package"></a>
8
- <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/zhensherlock/watermark-js-plus/deploy.yml?branch=main">
9
- <img alt="npm bundle size" src="https://img.shields.io/bundlephobia/minzip/watermark-js-plus">
10
- <img alt="npm download week" src="https://img.shields.io/npm/dw/watermark-js-plus">
11
- <img alt="GitHub" src="https://img.shields.io/github/license/zhensherlock/watermark-js-plus">
12
- <a href="https://gitter.im/china-hy/watermark-js-plus?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img src="https://badges.gitter.im/china-hy/watermark-js-plus.svg" alt="Join the chat at https://gitter.im/china-hy/watermark-js-plus"></a>
13
- </p>
6
+
7
+ <div align="center">
8
+
9
+ [![][npm-release-shield]][npm-release-link]
10
+ [![][npm-downloads-shield]][npm-downloads-link]
11
+ [![][package-size-shield]][package-size-link]
12
+ [![][codecov-shield]][codecov-link] <br/>
13
+ [![][github-release-date-shield]][github-release-date-link]
14
+ [![][github-action-build-shield]][github-action-build-link]
15
+ [![][github-license-shield]][github-license-link]
16
+ [![][gitter-shield]][gitter-link]
17
+
18
+ [//]: # ( <a href="https://npmjs.com/package/watermark-js-plus"><img src="https://badgen.net/npm/v/watermark-js-plus" alt="npm package"></a>)
19
+ [//]: # ( <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/zhensherlock/watermark-js-plus/deploy.yml?branch=main">)
20
+ [//]: # ( <img alt="npm bundle size" src="https://img.shields.io/bundlephobia/minzip/watermark-js-plus">)
21
+ [//]: # ( <img alt="npm download week" src="https://img.shields.io/npm/dw/watermark-js-plus">)
22
+ [//]: # ( <img alt="GitHub" src="https://img.shields.io/github/license/zhensherlock/watermark-js-plus">)
23
+ [//]: # ( <a href="https://gitter.im/china-hy/watermark-js-plus?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img src="https://badges.gitter.im/china-hy/watermark-js-plus.svg" alt="Join the chat at https://gitter.im/china-hy/watermark-js-plus"></a>)
24
+
25
+ </div>
14
26
 
15
27
  # Watermark
16
28
 
@@ -107,3 +119,20 @@ This project exists thanks to all the people who contribute.
107
119
  ## License
108
120
 
109
121
  [MIT](LICENSE) © MichaelSun
122
+
123
+ [npm-release-link]: https://www.npmjs.com/package/watermark-js-plus
124
+ [npm-release-shield]: https://img.shields.io/npm/v/watermark-js-plus?color=1677FF&labelColor=black&logo=npm&logoColor=white&style=flat-square
125
+ [npm-downloads-link]: https://www.npmjs.com/package/watermark-js-plus
126
+ [npm-downloads-shield]: https://img.shields.io/npm/dw/watermark-js-plus.svg?labelColor=black&style=flat-square&color=1677FF
127
+ [package-size-link]: https://github.com/zhensherlock/watermark-js-plus
128
+ [package-size-shield]: https://img.shields.io/bundlephobia/minzip/watermark-js-plus?color=1677FF&label=build&labelColor=black&logo=rollupdotjs&logoColor=white&style=flat-square
129
+ [codecov-link]: https://codecov.io/gh/zhensherlock/watermark-js-plus
130
+ [codecov-shield]: https://img.shields.io/codecov/c/github/zhensherlock/watermark-js-plus?color=1677FF&labelColor=black&style=flat-square&logo=codecov&logoColor=white
131
+ [github-release-date-link]: https://github.com/zhensherlock/watermark-js-plus/releases
132
+ [github-release-date-shield]: https://img.shields.io/github/release-date/zhensherlock/watermark-js-plus?color=1677FF&labelColor=black&style=flat-square
133
+ [github-action-build-link]: https://github.com/zhensherlock/watermark-js-plus/actions/workflows/deploy.yml
134
+ [github-action-build-shield]: https://img.shields.io/github/actions/workflow/status/zhensherlock/watermark-js-plus/deploy.yml?branch=main&color=1677FF&label=build&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
135
+ [github-license-link]: https://github.com/zhensherlock/watermark-js-plus/blob/main/LICENSE
136
+ [github-license-shield]: https://img.shields.io/github/license/zhensherlock/watermark-js-plus?color=1677FF&labelColor=black&style=flat-square
137
+ [gitter-link]: https://gitter.im/china-hy/watermark-js-plus?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
138
+ [gitter-shield]: https://img.shields.io/gitter/room/china-hy/watermark-js-plus?color=1677FF&labelColor=black&logo=gitter&logoColor=white&style=flat-square