kritzel-stencil 0.4.17 → 0.4.18

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 (214) hide show
  1. package/LICENSE +21 -21
  2. package/LICENSE.md +49 -49
  3. package/dist/cjs/{index-Xav9JFHg.js → index-Dn19mGl-.js} +47 -11
  4. package/dist/cjs/index.cjs.js +1 -1
  5. package/dist/cjs/kritzel-active-users_47.cjs.entry.js +113 -113
  6. package/dist/cjs/kritzel-brush-style.cjs.entry.js +2 -2
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{schema.constants-CjN-B633.js → schema.constants-CY0WWJYd.js} +44 -20
  9. package/dist/cjs/stencil.cjs.js +2 -2
  10. package/dist/collection/collection-manifest.json +1 -1
  11. package/dist/collection/components/core/kritzel-awareness-cursors/kritzel-awareness-cursors.css +115 -115
  12. package/dist/collection/components/core/kritzel-awareness-cursors/kritzel-awareness-cursors.js +1 -1
  13. package/dist/collection/components/core/kritzel-cursor-trail/kritzel-cursor-trail.css +10 -10
  14. package/dist/collection/components/core/kritzel-cursor-trail/kritzel-cursor-trail.js +1 -1
  15. package/dist/collection/components/core/kritzel-editor/kritzel-editor.css +160 -160
  16. package/dist/collection/components/core/kritzel-editor/kritzel-editor.js +18 -18
  17. package/dist/collection/components/core/kritzel-engine/kritzel-engine.css +80 -80
  18. package/dist/collection/components/core/kritzel-engine/kritzel-engine.js +21 -21
  19. package/dist/collection/components/core/kritzel-watermark/kritzel-watermark.css +29 -29
  20. package/dist/collection/components/core/kritzel-watermark/kritzel-watermark.js +2 -2
  21. package/dist/collection/components/shared/kritzel-avatar/kritzel-avatar.css +58 -58
  22. package/dist/collection/components/shared/kritzel-avatar/kritzel-avatar.js +3 -3
  23. package/dist/collection/components/shared/kritzel-brush-style/kritzel-brush-style.css +42 -42
  24. package/dist/collection/components/shared/kritzel-brush-style/kritzel-brush-style.js +3 -3
  25. package/dist/collection/components/shared/kritzel-button/kritzel-button.css +73 -73
  26. package/dist/collection/components/shared/kritzel-button/kritzel-button.js +2 -2
  27. package/dist/collection/components/shared/kritzel-color/kritzel-color.css +24 -24
  28. package/dist/collection/components/shared/kritzel-color/kritzel-color.js +2 -2
  29. package/dist/collection/components/shared/kritzel-color-palette/kritzel-color-palette.css +46 -46
  30. package/dist/collection/components/shared/kritzel-color-palette/kritzel-color-palette.js +1 -1
  31. package/dist/collection/components/shared/kritzel-dialog/kritzel-dialog.css +209 -209
  32. package/dist/collection/components/shared/kritzel-dropdown/kritzel-dropdown.css +190 -190
  33. package/dist/collection/components/shared/kritzel-dropdown/kritzel-dropdown.js +2 -2
  34. package/dist/collection/components/shared/kritzel-font/kritzel-font.css +10 -10
  35. package/dist/collection/components/shared/kritzel-font/kritzel-font.js +1 -1
  36. package/dist/collection/components/shared/kritzel-font-family/kritzel-font-family.css +48 -48
  37. package/dist/collection/components/shared/kritzel-font-family/kritzel-font-family.js +2 -2
  38. package/dist/collection/components/shared/kritzel-font-size/kritzel-font-size.css +30 -30
  39. package/dist/collection/components/shared/kritzel-font-size/kritzel-font-size.js +1 -1
  40. package/dist/collection/components/shared/kritzel-icon/kritzel-icon.css +18 -18
  41. package/dist/collection/components/shared/kritzel-input/kritzel-input.css +69 -69
  42. package/dist/collection/components/shared/kritzel-input/kritzel-input.js +1 -1
  43. package/dist/collection/components/shared/kritzel-line-endings/kritzel-line-endings.css +60 -60
  44. package/dist/collection/components/shared/kritzel-line-endings/kritzel-line-endings.js +3 -3
  45. package/dist/collection/components/shared/kritzel-master-detail/kritzel-master-detail.css +190 -190
  46. package/dist/collection/components/shared/kritzel-master-detail/kritzel-master-detail.js +3 -3
  47. package/dist/collection/components/shared/kritzel-menu/kritzel-menu.css +34 -34
  48. package/dist/collection/components/shared/kritzel-menu/kritzel-menu.js +1 -1
  49. package/dist/collection/components/shared/kritzel-menu-item/kritzel-menu-item.css +166 -166
  50. package/dist/collection/components/shared/kritzel-menu-item/kritzel-menu-item.js +2 -2
  51. package/dist/collection/components/shared/kritzel-numeric-input/kritzel-numeric-input.css +102 -102
  52. package/dist/collection/components/shared/kritzel-numeric-input/kritzel-numeric-input.js +1 -1
  53. package/dist/collection/components/shared/kritzel-opacity-slider/kritzel-opacity-slider.css +85 -85
  54. package/dist/collection/components/shared/kritzel-opacity-slider/kritzel-opacity-slider.js +1 -1
  55. package/dist/collection/components/shared/kritzel-pill-tabs/kritzel-pill-tabs.css +68 -68
  56. package/dist/collection/components/shared/kritzel-pill-tabs/kritzel-pill-tabs.js +2 -2
  57. package/dist/collection/components/shared/kritzel-portal/kritzel-portal.js +1 -1
  58. package/dist/collection/components/shared/kritzel-shape-fill/kritzel-shape-fill.css +47 -47
  59. package/dist/collection/components/shared/kritzel-shape-fill/kritzel-shape-fill.js +4 -4
  60. package/dist/collection/components/shared/kritzel-slide-toggle/kritzel-slide-toggle.css +48 -48
  61. package/dist/collection/components/shared/kritzel-slide-toggle/kritzel-slide-toggle.js +1 -1
  62. package/dist/collection/components/shared/kritzel-split-button/kritzel-split-button.css +78 -78
  63. package/dist/collection/components/shared/kritzel-split-button/kritzel-split-button.js +1 -1
  64. package/dist/collection/components/shared/kritzel-stroke-size/kritzel-stroke-size.css +37 -37
  65. package/dist/collection/components/shared/kritzel-stroke-size/kritzel-stroke-size.js +1 -1
  66. package/dist/collection/components/shared/kritzel-sync-indicator/kritzel-sync-indicator.css +50 -50
  67. package/dist/collection/components/shared/kritzel-sync-indicator/kritzel-sync-indicator.js +1 -1
  68. package/dist/collection/components/shared/kritzel-tooltip/kritzel-tooltip.css +18 -18
  69. package/dist/collection/components/shared/kritzel-tooltip/kritzel-tooltip.js +2 -2
  70. package/dist/collection/components/ui/kritzel-active-users/kritzel-active-users.css +65 -65
  71. package/dist/collection/components/ui/kritzel-back-to-content/kritzel-back-to-content.css +42 -42
  72. package/dist/collection/components/ui/kritzel-back-to-content/kritzel-back-to-content.js +1 -1
  73. package/dist/collection/components/ui/kritzel-context-menu/kritzel-context-menu.css +112 -112
  74. package/dist/collection/components/ui/kritzel-controls/kritzel-controls.css +331 -331
  75. package/dist/collection/components/ui/kritzel-controls/kritzel-controls.js +6 -6
  76. package/dist/collection/components/ui/kritzel-current-user/kritzel-current-user.css +11 -11
  77. package/dist/collection/components/ui/kritzel-current-user/kritzel-current-user.js +1 -1
  78. package/dist/collection/components/ui/kritzel-current-user-dialog/kritzel-current-user-dialog.css +39 -39
  79. package/dist/collection/components/ui/kritzel-current-user-dialog/kritzel-current-user-dialog.js +1 -1
  80. package/dist/collection/components/ui/kritzel-export/kritzel-export.css +89 -89
  81. package/dist/collection/components/ui/kritzel-export/kritzel-export.js +1 -1
  82. package/dist/collection/components/ui/kritzel-loading-overlay/kritzel-loading-overlay.css +50 -50
  83. package/dist/collection/components/ui/kritzel-loading-overlay/kritzel-loading-overlay.js +1 -1
  84. package/dist/collection/components/ui/kritzel-login-dialog/kritzel-login-dialog.css +98 -98
  85. package/dist/collection/components/ui/kritzel-login-dialog/kritzel-login-dialog.js +1 -1
  86. package/dist/collection/components/ui/kritzel-more-menu/kritzel-more-menu.css +58 -58
  87. package/dist/collection/components/ui/kritzel-more-menu/kritzel-more-menu.js +2 -2
  88. package/dist/collection/components/ui/kritzel-notification-card/kritzel-notification-card.css +101 -101
  89. package/dist/collection/components/ui/kritzel-settings/kritzel-settings.css +137 -137
  90. package/dist/collection/components/ui/kritzel-settings/kritzel-settings.js +1 -1
  91. package/dist/collection/components/ui/kritzel-share-dialog/kritzel-share-dialog.css +150 -150
  92. package/dist/collection/components/ui/kritzel-share-dialog/kritzel-share-dialog.js +2 -2
  93. package/dist/collection/components/ui/kritzel-tool-config/kritzel-tool-config.css +38 -38
  94. package/dist/collection/components/ui/kritzel-utility-panel/kritzel-utility-panel.css +45 -45
  95. package/dist/collection/components/ui/kritzel-utility-panel/kritzel-utility-panel.js +1 -1
  96. package/dist/collection/components/ui/kritzel-workspace-manager/kritzel-workspace-manager.css +16 -16
  97. package/dist/collection/components/ui/kritzel-zoom-panel/kritzel-zoom-panel.css +72 -72
  98. package/dist/collection/components/ui/kritzel-zoom-panel/kritzel-zoom-panel.js +1 -1
  99. package/dist/collection/constants/version.js +1 -1
  100. package/dist/collection/helpers/cursor.helper.js +6 -6
  101. package/dist/collection/helpers/svg-export.helper.js +41 -41
  102. package/dist/components/index.js +3 -3
  103. package/dist/components/kritzel-active-users.js +1 -1
  104. package/dist/components/kritzel-avatar.js +1 -1
  105. package/dist/components/kritzel-awareness-cursors.js +1 -1
  106. package/dist/components/kritzel-back-to-content.js +1 -1
  107. package/dist/components/kritzel-brush-style.js +4 -4
  108. package/dist/components/kritzel-button.js +1 -1
  109. package/dist/components/kritzel-color-palette.js +1 -1
  110. package/dist/components/kritzel-color.js +1 -1
  111. package/dist/components/kritzel-context-menu.js +1 -1
  112. package/dist/components/kritzel-controls.js +1 -1
  113. package/dist/components/kritzel-current-user-dialog.js +1 -1
  114. package/dist/components/kritzel-current-user.js +1 -1
  115. package/dist/components/kritzel-cursor-trail.js +1 -1
  116. package/dist/components/kritzel-dialog.js +1 -1
  117. package/dist/components/kritzel-dropdown.js +1 -1
  118. package/dist/components/kritzel-editor.js +56 -56
  119. package/dist/components/kritzel-engine.js +1 -1
  120. package/dist/components/kritzel-export.js +1 -1
  121. package/dist/components/kritzel-font-family.js +1 -1
  122. package/dist/components/kritzel-font-size.js +1 -1
  123. package/dist/components/kritzel-font.js +1 -1
  124. package/dist/components/kritzel-icon.js +1 -1
  125. package/dist/components/kritzel-input.js +1 -1
  126. package/dist/components/kritzel-line-endings.js +1 -1
  127. package/dist/components/kritzel-loading-overlay.js +1 -1
  128. package/dist/components/kritzel-login-dialog.js +1 -1
  129. package/dist/components/kritzel-master-detail.js +1 -1
  130. package/dist/components/kritzel-menu-item.js +1 -1
  131. package/dist/components/kritzel-menu.js +1 -1
  132. package/dist/components/kritzel-more-menu.js +1 -1
  133. package/dist/components/kritzel-notification-card.js +1 -1
  134. package/dist/components/kritzel-numeric-input.js +1 -1
  135. package/dist/components/kritzel-opacity-slider.js +1 -1
  136. package/dist/components/kritzel-pill-tabs.js +1 -1
  137. package/dist/components/kritzel-portal.js +1 -1
  138. package/dist/components/kritzel-settings.js +1 -1
  139. package/dist/components/kritzel-shape-fill.js +1 -1
  140. package/dist/components/kritzel-share-dialog.js +1 -1
  141. package/dist/components/kritzel-slide-toggle.js +1 -1
  142. package/dist/components/kritzel-split-button.js +1 -1
  143. package/dist/components/kritzel-stroke-size.js +1 -1
  144. package/dist/components/kritzel-sync-indicator.js +1 -1
  145. package/dist/components/kritzel-tool-config.js +1 -1
  146. package/dist/components/kritzel-tooltip.js +1 -1
  147. package/dist/components/kritzel-utility-panel.js +1 -1
  148. package/dist/components/kritzel-watermark.js +1 -1
  149. package/dist/components/kritzel-workspace-manager.js +1 -1
  150. package/dist/components/kritzel-zoom-panel.js +1 -1
  151. package/dist/components/{p-jIKskj3S.js → p-1Q4VnThv.js} +3 -3
  152. package/dist/components/{p-Cm33td2O.js → p-3tBE7SyG.js} +2 -2
  153. package/dist/components/{p-fL9rl200.js → p-BFYT03fw.js} +3 -3
  154. package/dist/components/{p-D9WOTj4k.js → p-BL0aCu3R.js} +9 -9
  155. package/dist/components/{p-DtnMdWWB.js → p-BShrnlam.js} +2 -2
  156. package/dist/components/{p-BsLI_BWq.js → p-BXUx_C0N.js} +2 -2
  157. package/dist/components/{p-CzW58DHM.js → p-BZZ3KRPk.js} +3 -3
  158. package/dist/components/{p-D1rjfWgJ.js → p-BkXQL5Dl.js} +5 -5
  159. package/dist/components/{p-eZXIu4yK.js → p-BppcoKoo.js} +5 -5
  160. package/dist/components/{p-DDTMGbtA.js → p-BrA9NBEE.js} +21 -21
  161. package/dist/components/{p-Czhdc844.js → p-BrqSjRJN.js} +3 -3
  162. package/dist/components/{p-CAoN_STZ.js → p-Bxi-Bm49.js} +2 -2
  163. package/dist/components/{p-B43upypT.js → p-C9_yBEoX.js} +30 -10
  164. package/dist/components/{p-Df3BwVGy.js → p-CHoOe3FD.js} +3 -3
  165. package/dist/components/{p-2WiGyky4.js → p-CLAz6RJc.js} +3 -3
  166. package/dist/components/{p-B5SWPDuq.js → p-CSKToqUl.js} +4 -4
  167. package/dist/components/{p-CF8pLc07.js → p-CSWCmyzb.js} +5 -5
  168. package/dist/components/{p-HoO86l1o.js → p-CWAChRD5.js} +12 -12
  169. package/dist/components/{p-DwMqCX2P.js → p-Ch-KG9To.js} +3 -3
  170. package/dist/components/{p-CSuU8frA.js → p-Ck-87E2G.js} +1 -1
  171. package/dist/components/{p-BFYtCsZu.js → p-Covorf4C.js} +3 -3
  172. package/dist/components/{p-BZAIIz5-.js → p-Csxx9TbU.js} +90 -66
  173. package/dist/components/{p-BoN700-O.js → p-Cx-L_28S.js} +3 -3
  174. package/dist/components/{p-vqEUQ-4Q.js → p-D0Trc3IQ.js} +5 -5
  175. package/dist/components/{p-BrNsOp2v.js → p-D2VcPEtL.js} +6 -6
  176. package/dist/components/{p-CSPYkLLH.js → p-D3BzgkIE.js} +2 -2
  177. package/dist/components/{p-bAacqNHq.js → p-D6JycG-I.js} +3 -3
  178. package/dist/components/{p-DB58Oa5V.js → p-DPsbNStn.js} +2 -2
  179. package/dist/components/{p-CwZ3KKFq.js → p-DT_WBwsw.js} +6 -6
  180. package/dist/components/{p-BPsKYMH6.js → p-DYPA7jpg.js} +2 -2
  181. package/dist/components/{p-DBqoPgev.js → p-DafP9PAA.js} +2 -2
  182. package/dist/components/{p-Dt7-I2Xz.js → p-DcUIO14-.js} +4 -4
  183. package/dist/components/{p-CXpv9Rxe.js → p-Di--2boB.js} +3 -3
  184. package/dist/components/{p-djJSnjAX.js → p-DjXQxw9R.js} +3 -3
  185. package/dist/components/{p-DVXTPI71.js → p-Dp1CD4gK.js} +2 -2
  186. package/dist/components/{p-DKGg-76-.js → p-Dznwo6oc.js} +2 -2
  187. package/dist/components/{p-BozrueXV.js → p-ME1sDz3f.js} +2 -2
  188. package/dist/components/{p-B-585egz.js → p-MhQxGUvY.js} +3 -3
  189. package/dist/components/{p-DX2nriaq.js → p-QSyeAy8R.js} +2 -2
  190. package/dist/components/{p-PjPPCHVL.js → p-Qdo3E8dr.js} +2 -2
  191. package/dist/components/{p-dsxHDlQ3.js → p-b0J2ktAm.js} +7 -7
  192. package/dist/components/{p-C98Eb3_R.js → p-dAXnRkjA.js} +5 -5
  193. package/dist/components/{p-GKmqCI8r.js → p-fSV6KVTC.js} +3 -3
  194. package/dist/components/{p-CaBbajU2.js → p-o3NYKrVL.js} +3 -3
  195. package/dist/components/{p-CrHvaLRV.js → p-vDCa_ZDm.js} +3 -3
  196. package/dist/components/{p-4SPnZZkH.js → p-zG-WUBGF.js} +4 -4
  197. package/dist/esm/{index-Dhio9uis.js → index-2va1Pk9z.js} +47 -11
  198. package/dist/esm/index.js +2 -2
  199. package/dist/esm/kritzel-active-users_47.entry.js +113 -113
  200. package/dist/esm/kritzel-brush-style.entry.js +2 -2
  201. package/dist/esm/loader.js +2 -2
  202. package/dist/esm/{schema.constants-DfvqHmxc.js → schema.constants-DBvUmuDH.js} +44 -20
  203. package/dist/esm/stencil.js +3 -3
  204. package/dist/stencil/index.esm.js +2 -2
  205. package/dist/stencil/{p-2ba5e7ef.entry.js → p-0250005e.entry.js} +113 -113
  206. package/dist/stencil/{p-Dhio9uis.js → p-2va1Pk9z.js} +47 -11
  207. package/dist/stencil/{p-DfvqHmxc.js → p-DBvUmuDH.js} +44 -20
  208. package/dist/stencil/{p-fb32cd8f.entry.js → p-df06ca3a.entry.js} +2 -2
  209. package/dist/stencil/stencil.esm.js +4 -4
  210. package/dist/types/constants/version.d.ts +1 -1
  211. package/dist/types/stencil-public-runtime.d.ts +12 -0
  212. package/loader/index.d.ts +1 -1
  213. package/package.json +1 -1
  214. package/readme.md +10 -10
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2018
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2018
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/LICENSE.md CHANGED
@@ -1,50 +1,50 @@
1
- # Software License Agreement
2
-
3
- **IMPORTANT NOTICE:** This is a source-available, non-commercial license.
4
- * **Hobbyists & Personal Use:** 100% Free. You are welcome to use, modify, and experiment with this software for personal, hobby, or educational projects.
5
- * **Commercial & Professional Use:** Strictly Prohibited. If you want to use this software in a corporate environment, for professional client work, or as part of a revenue-generating product, you must obtain a commercial license.
6
-
7
- To purchase a commercial license, please visit: https://kritzel.io
8
-
9
- ---
10
-
11
- ## PolyForm Noncommercial License 1.0.0
12
-
13
- ### Acceptance
14
- By using or distributing this software, you accept this license.
15
-
16
- ### User
17
- You is the person or organization who accepts this license. You can accept this license for only yourself or for an organization.
18
-
19
- ### Software
20
- Software is the software that includes this license text.
21
-
22
- ### Practice
23
- Practice is to use, copy, modify, distribute, or make derivative works of the Software.
24
-
25
- ### Grant
26
- You may Practice the Software for noncommercial purposes.
27
-
28
- ### Noncommercial Purposes
29
- Noncommercial purposes are purposes that are not commercial purposes.
30
-
31
- ### Commercial Purposes
32
- Commercial purposes are purposes intended for or directed toward commercial advantage or monetary compensation. Commercial purposes include, but are not limited to, using the Software to provide services to others for a fee, using the Software as part of a product sold or licensed to others, or using the Software inside a business or for professional work.
33
-
34
- ### Redistribution
35
- You may redistribute copies of the Software, with or without modification, provided that you include this license text with every copy.
36
-
37
- ### Notices
38
- You must ensure that any copy of the Software you distribute includes all copyright notices, trademark notices, and other legal notices included in the Software.
39
-
40
- ### No Other Rights
41
- This license does not grant any patent rights or trademark rights.
42
-
43
- ### Termination
44
- If you violate any term of this license, your rights under this license terminate immediately.
45
-
46
- ### Defensive Patent Claims
47
- If you make a patent claim against anyone alleging that the Software infringes a patent, your rights under this license terminate immediately.
48
-
49
- ### No Warranty
1
+ # Software License Agreement
2
+
3
+ **IMPORTANT NOTICE:** This is a source-available, non-commercial license.
4
+ * **Hobbyists & Personal Use:** 100% Free. You are welcome to use, modify, and experiment with this software for personal, hobby, or educational projects.
5
+ * **Commercial & Professional Use:** Strictly Prohibited. If you want to use this software in a corporate environment, for professional client work, or as part of a revenue-generating product, you must obtain a commercial license.
6
+
7
+ To purchase a commercial license, please visit: https://kritzel.io
8
+
9
+ ---
10
+
11
+ ## PolyForm Noncommercial License 1.0.0
12
+
13
+ ### Acceptance
14
+ By using or distributing this software, you accept this license.
15
+
16
+ ### User
17
+ You is the person or organization who accepts this license. You can accept this license for only yourself or for an organization.
18
+
19
+ ### Software
20
+ Software is the software that includes this license text.
21
+
22
+ ### Practice
23
+ Practice is to use, copy, modify, distribute, or make derivative works of the Software.
24
+
25
+ ### Grant
26
+ You may Practice the Software for noncommercial purposes.
27
+
28
+ ### Noncommercial Purposes
29
+ Noncommercial purposes are purposes that are not commercial purposes.
30
+
31
+ ### Commercial Purposes
32
+ Commercial purposes are purposes intended for or directed toward commercial advantage or monetary compensation. Commercial purposes include, but are not limited to, using the Software to provide services to others for a fee, using the Software as part of a product sold or licensed to others, or using the Software inside a business or for professional work.
33
+
34
+ ### Redistribution
35
+ You may redistribute copies of the Software, with or without modification, provided that you include this license text with every copy.
36
+
37
+ ### Notices
38
+ You must ensure that any copy of the Software you distribute includes all copyright notices, trademark notices, and other legal notices included in the Software.
39
+
40
+ ### No Other Rights
41
+ This license does not grant any patent rights or trademark rights.
42
+
43
+ ### Termination
44
+ If you violate any term of this license, your rights under this license terminate immediately.
45
+
46
+ ### Defensive Patent Claims
47
+ If you make a patent claim against anyone alleging that the Software infringes a patent, your rights under this license terminate immediately.
48
+
49
+ ### No Warranty
50
50
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -22,7 +22,7 @@ const NAMESPACE = 'stencil';
22
22
  const BUILD = /* stencil */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, state: true, updatable: true};
23
23
 
24
24
  /*
25
- Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
25
+ Stencil Client Platform v4.44.2 | MIT Licensed | https://stenciljs.com
26
26
  */
27
27
 
28
28
 
@@ -114,7 +114,9 @@ var consoleError = (e, el) => (0, console.error)(e, el);
114
114
 
115
115
  // src/client/client-load-module.ts
116
116
  var cmpModules = /* @__PURE__ */ new Map();
117
+ var failedLoadAttempts = /* @__PURE__ */ new Map();
117
118
  var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
119
+ var _a;
118
120
  const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
119
121
  const bundleId = cmpMeta.$lazyBundleId$;
120
122
  if (!bundleId) {
@@ -124,6 +126,11 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
124
126
  if (module) {
125
127
  return module[exportName];
126
128
  }
129
+ const retryCount = (_a = failedLoadAttempts.get(bundleId)) != null ? _a : 0;
130
+ const cacheBustParams = [
131
+ retryCount > 0 ? `s-retry=${retryCount}` : "",
132
+ ""
133
+ ].filter(Boolean).join("&");
127
134
 
128
135
  if (!hmrVersionId || !BUILD.hotModuleReplacement) {
129
136
  const processMod = importedModule => {
@@ -147,15 +154,17 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
147
154
  /* webpackInclude: /\.entry\.js$/ */
148
155
  /* webpackExclude: /\.system\.entry\.js$/ */
149
156
  /* webpackMode: "lazy" */
150
- `./${bundleId}.entry.js${""}`
157
+ `./${bundleId}.entry.js${cacheBustParams ? "?" + cacheBustParams : ""}`
151
158
  ).then(
152
159
  (importedModule) => {
153
160
  {
161
+ failedLoadAttempts.delete(bundleId);
154
162
  cmpModules.set(bundleId, importedModule);
155
163
  }
156
164
  return importedModule[exportName];
157
165
  },
158
166
  (e) => {
167
+ failedLoadAttempts.set(bundleId, retryCount + 1);
159
168
  consoleError(e, hostRef.$hostElement$);
160
169
  }
161
170
  );
@@ -165,6 +174,8 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
165
174
  var styles = /* @__PURE__ */ new Map();
166
175
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
167
176
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
177
+ var MAX_LAZY_LOAD_RETRIES = 3;
178
+ var LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
168
179
  var win = typeof window !== "undefined" ? window : {};
169
180
  var plt = {
170
181
  $flags$: 0,
@@ -208,6 +219,10 @@ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @_
208
219
  var queuePending = false;
209
220
  var queueDomReads = [];
210
221
  var queueDomWrites = [];
222
+ var scheduleFlush = () => {
223
+ var _a;
224
+ return ((_a = win.document) == null ? void 0 : _a.hidden) ? nextTick(flush) : plt.raf(flush);
225
+ };
211
226
  var queueTask = (queue, write) => (cb) => {
212
227
  queue.push(cb);
213
228
  if (!queuePending) {
@@ -215,7 +230,7 @@ var queueTask = (queue, write) => (cb) => {
215
230
  if (write && plt.$flags$ & 4 /* queueSync */) {
216
231
  nextTick(flush);
217
232
  } else {
218
- plt.raf(flush);
233
+ scheduleFlush();
219
234
  }
220
235
  }
221
236
  };
@@ -234,7 +249,7 @@ var flush = () => {
234
249
  {
235
250
  consume(queueDomWrites);
236
251
  if (queuePending = queueDomReads.length > 0) {
237
- plt.raf(flush);
252
+ scheduleFlush();
238
253
  }
239
254
  }
240
255
  };
@@ -426,6 +441,11 @@ var h = (nodeName, vnodeData, ...children) => {
426
441
  } else if (child != null && typeof child !== "boolean") {
427
442
  if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
428
443
  child = String(child);
444
+ } else if (typeof nodeName !== "function" && child.$flags$ === void 0) {
445
+ {
446
+ consoleError("Invalid vNode child");
447
+ }
448
+ continue;
429
449
  }
430
450
  if (simple && lastSimple) {
431
451
  vNodeChildren[vNodeChildren.length - 1].$text$ += child;
@@ -654,7 +674,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
654
674
  }
655
675
  }
656
676
  if (newValue == null || newValue === false) {
657
- if (newValue !== false || elm.getAttribute(memberName) === "") {
677
+ if (newValue !== false || elm.getAttribute(memberName) === "" || flags & 4 /* isHost */ && !isEnumeratedAttribute(memberName)) {
658
678
  {
659
679
  elm.removeAttribute(memberName);
660
680
  }
@@ -667,6 +687,8 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
667
687
  }
668
688
  }
669
689
  };
690
+ var ENUMERATED_ATTRIBUTES = /* @__PURE__ */ new Set(["draggable", "contenteditable", "spellcheck"]);
691
+ var isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
670
692
  var parseClassListRegex = /\s/;
671
693
  var parseClassList = (value) => {
672
694
  if (typeof value === "object" && value && "baseVal" in value) {
@@ -974,9 +996,7 @@ var flushQueuedRefCallbacks = () => {
974
996
  }
975
997
  };
976
998
  var insertBefore = (parent, newNode, reference, isInitialLoad) => {
977
- if (parent.__insertBefore) {
978
- return parent.__insertBefore(newNode, reference);
979
- } else {
999
+ {
980
1000
  return parent == null ? void 0 : parent.insertBefore(newNode, reference);
981
1001
  }
982
1002
  };
@@ -1244,6 +1264,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
1244
1264
  };
1245
1265
 
1246
1266
  // src/runtime/proxy-component.ts
1267
+ var reflectedAttrValue = (propValue) => propValue == null || propValue === false ? null : propValue === true ? "" : String(propValue);
1247
1268
  var proxyComponent = (Cstr, cmpMeta, flags) => {
1248
1269
  var _a, _b;
1249
1270
  const prototype = Cstr.prototype;
@@ -1376,7 +1397,13 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1376
1397
  return;
1377
1398
  }
1378
1399
  const propFlags = members.find(([m]) => m === propName);
1379
- const isBooleanTarget = propFlags && propFlags[1][0] & 4 /* Boolean */;
1400
+ const propMemberFlags = propFlags ? propFlags[1][0] : 0;
1401
+ const isBooleanTarget = propMemberFlags & 4 /* Boolean */;
1402
+ if (propMemberFlags & 512 /* ReflectAttr */ && propMemberFlags & 8 /* Any */ && // a complex value is never written to an attribute, so a change while the prop holds
1403
+ // one is always external
1404
+ !isComplexType(this[propName]) && reflectedAttrValue(this[propName]) === newValue) {
1405
+ return;
1406
+ }
1380
1407
  const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
1381
1408
  if (isBooleanTarget) {
1382
1409
  newValue = newValue === null || newValue === "false" ? false : true;
@@ -1408,10 +1435,12 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1408
1435
 
1409
1436
  // src/runtime/initialize-component.ts
1410
1437
  var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1438
+ var _a;
1411
1439
  let Cstr;
1412
1440
  try {
1413
1441
  if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1414
1442
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1443
+ hostRef.$flags$ &= -1025 /* hasFailedLoad */;
1415
1444
  const bundleId = cmpMeta.$lazyBundleId$;
1416
1445
  if (bundleId) {
1417
1446
  const CstrImport = loadModule(cmpMeta, hostRef);
@@ -1423,6 +1452,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1423
1452
  Cstr = CstrImport;
1424
1453
  }
1425
1454
  if (!Cstr) {
1455
+ hostRef.$flags$ &= -33 /* hasInitializedComponent */;
1456
+ hostRef.$loadRetryCount$ = ((_a = hostRef.$loadRetryCount$) != null ? _a : 0) + 1;
1457
+ if (hostRef.$loadRetryCount$ < MAX_LAZY_LOAD_RETRIES) {
1458
+ hostRef.$flags$ |= 1024 /* hasFailedLoad */;
1459
+ }
1426
1460
  throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
1427
1461
  }
1428
1462
  if (!Cstr.isProxied) {
@@ -1484,7 +1518,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1484
1518
  hostRef.$onRenderResolve$();
1485
1519
  hostRef.$onRenderResolve$ = void 0;
1486
1520
  }
1487
- if (hostRef.$onReadyResolve$) {
1521
+ if (hostRef.$onReadyResolve$ && !(hostRef.$flags$ & 1024 /* hasFailedLoad */)) {
1488
1522
  hostRef.$onReadyResolve$(elm);
1489
1523
  }
1490
1524
  }
@@ -1531,6 +1565,8 @@ var connectedCallback = (elm) => {
1531
1565
  addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1532
1566
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1533
1567
  fireConnectedCallback(hostRef.$lazyInstance$, elm);
1568
+ } else if (hostRef.$flags$ & 1024 /* hasFailedLoad */) {
1569
+ setTimeout(() => initializeComponent(elm, hostRef, cmpMeta), LAZY_LOAD_RETRY_INTERVAL_MS);
1534
1570
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1535
1571
  hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1536
1572
  }
@@ -1653,7 +1689,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1653
1689
  }
1654
1690
  disconnectedCallback() {
1655
1691
  plt.jmp(() => disconnectedCallback(this));
1656
- plt.raf(() => {
1692
+ nextTick(() => {
1657
1693
  var _a3;
1658
1694
  const hostRef = getHostRef(this);
1659
1695
  if (!hostRef) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var schema_constants = require('./schema.constants-CjN-B633.js');
3
+ var schema_constants = require('./schema.constants-CY0WWJYd.js');
4
4
  var Y = require('yjs');
5
5
  var yIndexeddb = require('y-indexeddb');
6
6
  var yWebsocket = require('y-websocket');