kritzel-stencil 0.4.24 → 0.4.25
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/LICENSE +21 -21
- package/LICENSE.md +49 -49
- package/dist/cjs/{index-Dn19mGl-.js → index-Xav9JFHg.js} +11 -47
- package/dist/cjs/index.cjs.js +7 -1
- package/dist/cjs/kritzel-active-users_47.cjs.entry.js +196 -201
- package/dist/cjs/kritzel-brush-style.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{schema.constants-CY0WWJYd.js → schema.constants-CjN-B633.js} +20 -44
- package/dist/cjs/stencil.cjs.js +3 -3
- package/dist/collection/classes/core/core.class.js +4 -0
- package/dist/collection/classes/providers/sync/hocuspocus-sync-provider.class.js +3 -0
- package/dist/collection/classes/providers/sync/websocket-sync-provider.class.js +3 -0
- package/dist/collection/classes/structures/object-map.structure.js +65 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/core/kritzel-awareness-cursors/kritzel-awareness-cursors.css +115 -115
- package/dist/collection/components/core/kritzel-awareness-cursors/kritzel-awareness-cursors.js +1 -1
- package/dist/collection/components/core/kritzel-cursor-trail/kritzel-cursor-trail.css +10 -10
- package/dist/collection/components/core/kritzel-cursor-trail/kritzel-cursor-trail.js +1 -1
- package/dist/collection/components/core/kritzel-editor/kritzel-editor.css +160 -160
- package/dist/collection/components/core/kritzel-editor/kritzel-editor.js +42 -21
- package/dist/collection/components/core/kritzel-engine/kritzel-engine.css +80 -80
- package/dist/collection/components/core/kritzel-engine/kritzel-engine.js +42 -124
- package/dist/collection/components/core/kritzel-watermark/kritzel-watermark.css +29 -29
- package/dist/collection/components/core/kritzel-watermark/kritzel-watermark.js +2 -2
- package/dist/collection/components/shared/kritzel-avatar/kritzel-avatar.css +58 -58
- package/dist/collection/components/shared/kritzel-avatar/kritzel-avatar.js +3 -3
- package/dist/collection/components/shared/kritzel-brush-style/kritzel-brush-style.css +42 -42
- package/dist/collection/components/shared/kritzel-brush-style/kritzel-brush-style.js +3 -3
- package/dist/collection/components/shared/kritzel-button/kritzel-button.css +73 -73
- package/dist/collection/components/shared/kritzel-button/kritzel-button.js +2 -2
- package/dist/collection/components/shared/kritzel-color/kritzel-color.css +24 -24
- package/dist/collection/components/shared/kritzel-color/kritzel-color.js +2 -2
- package/dist/collection/components/shared/kritzel-color-palette/kritzel-color-palette.css +46 -46
- package/dist/collection/components/shared/kritzel-color-palette/kritzel-color-palette.js +1 -1
- package/dist/collection/components/shared/kritzel-dialog/kritzel-dialog.css +209 -209
- package/dist/collection/components/shared/kritzel-dropdown/kritzel-dropdown.css +190 -190
- package/dist/collection/components/shared/kritzel-dropdown/kritzel-dropdown.js +2 -2
- package/dist/collection/components/shared/kritzel-font/kritzel-font.css +10 -10
- package/dist/collection/components/shared/kritzel-font/kritzel-font.js +1 -1
- package/dist/collection/components/shared/kritzel-font-family/kritzel-font-family.css +48 -48
- package/dist/collection/components/shared/kritzel-font-family/kritzel-font-family.js +2 -2
- package/dist/collection/components/shared/kritzel-font-size/kritzel-font-size.css +30 -30
- package/dist/collection/components/shared/kritzel-font-size/kritzel-font-size.js +1 -1
- package/dist/collection/components/shared/kritzel-icon/kritzel-icon.css +18 -18
- package/dist/collection/components/shared/kritzel-input/kritzel-input.css +69 -69
- package/dist/collection/components/shared/kritzel-input/kritzel-input.js +1 -1
- package/dist/collection/components/shared/kritzel-line-endings/kritzel-line-endings.css +60 -60
- package/dist/collection/components/shared/kritzel-line-endings/kritzel-line-endings.js +3 -3
- package/dist/collection/components/shared/kritzel-master-detail/kritzel-master-detail.css +190 -190
- package/dist/collection/components/shared/kritzel-master-detail/kritzel-master-detail.js +3 -3
- package/dist/collection/components/shared/kritzel-menu/kritzel-menu.css +34 -34
- package/dist/collection/components/shared/kritzel-menu/kritzel-menu.js +1 -1
- package/dist/collection/components/shared/kritzel-menu-item/kritzel-menu-item.css +166 -166
- package/dist/collection/components/shared/kritzel-menu-item/kritzel-menu-item.js +2 -2
- package/dist/collection/components/shared/kritzel-numeric-input/kritzel-numeric-input.css +102 -102
- package/dist/collection/components/shared/kritzel-numeric-input/kritzel-numeric-input.js +1 -1
- package/dist/collection/components/shared/kritzel-opacity-slider/kritzel-opacity-slider.css +85 -85
- package/dist/collection/components/shared/kritzel-opacity-slider/kritzel-opacity-slider.js +1 -1
- package/dist/collection/components/shared/kritzel-pill-tabs/kritzel-pill-tabs.css +68 -68
- package/dist/collection/components/shared/kritzel-pill-tabs/kritzel-pill-tabs.js +2 -2
- package/dist/collection/components/shared/kritzel-portal/kritzel-portal.js +1 -1
- package/dist/collection/components/shared/kritzel-shape-fill/kritzel-shape-fill.css +47 -47
- package/dist/collection/components/shared/kritzel-shape-fill/kritzel-shape-fill.js +4 -4
- package/dist/collection/components/shared/kritzel-slide-toggle/kritzel-slide-toggle.css +48 -48
- package/dist/collection/components/shared/kritzel-slide-toggle/kritzel-slide-toggle.js +1 -1
- package/dist/collection/components/shared/kritzel-split-button/kritzel-split-button.css +78 -78
- package/dist/collection/components/shared/kritzel-split-button/kritzel-split-button.js +1 -1
- package/dist/collection/components/shared/kritzel-stroke-size/kritzel-stroke-size.css +37 -37
- package/dist/collection/components/shared/kritzel-stroke-size/kritzel-stroke-size.js +1 -1
- package/dist/collection/components/shared/kritzel-sync-indicator/kritzel-sync-indicator.css +50 -50
- package/dist/collection/components/shared/kritzel-sync-indicator/kritzel-sync-indicator.js +1 -1
- package/dist/collection/components/shared/kritzel-tooltip/kritzel-tooltip.css +18 -18
- package/dist/collection/components/shared/kritzel-tooltip/kritzel-tooltip.js +2 -2
- package/dist/collection/components/ui/kritzel-active-users/kritzel-active-users.css +65 -65
- package/dist/collection/components/ui/kritzel-back-to-content/kritzel-back-to-content.css +42 -42
- package/dist/collection/components/ui/kritzel-back-to-content/kritzel-back-to-content.js +1 -1
- package/dist/collection/components/ui/kritzel-context-menu/kritzel-context-menu.css +112 -112
- package/dist/collection/components/ui/kritzel-controls/kritzel-controls.css +331 -331
- package/dist/collection/components/ui/kritzel-controls/kritzel-controls.js +6 -6
- package/dist/collection/components/ui/kritzel-current-user/kritzel-current-user.css +11 -11
- package/dist/collection/components/ui/kritzel-current-user/kritzel-current-user.js +1 -1
- package/dist/collection/components/ui/kritzel-current-user-dialog/kritzel-current-user-dialog.css +39 -39
- package/dist/collection/components/ui/kritzel-current-user-dialog/kritzel-current-user-dialog.js +1 -1
- package/dist/collection/components/ui/kritzel-export/kritzel-export.css +89 -89
- package/dist/collection/components/ui/kritzel-export/kritzel-export.js +1 -1
- package/dist/collection/components/ui/kritzel-loading-overlay/kritzel-loading-overlay.css +50 -50
- package/dist/collection/components/ui/kritzel-loading-overlay/kritzel-loading-overlay.js +1 -1
- package/dist/collection/components/ui/kritzel-login-dialog/kritzel-login-dialog.css +98 -98
- package/dist/collection/components/ui/kritzel-login-dialog/kritzel-login-dialog.js +1 -1
- package/dist/collection/components/ui/kritzel-more-menu/kritzel-more-menu.css +58 -58
- package/dist/collection/components/ui/kritzel-more-menu/kritzel-more-menu.js +2 -2
- package/dist/collection/components/ui/kritzel-notification-card/kritzel-notification-card.css +101 -101
- package/dist/collection/components/ui/kritzel-settings/kritzel-settings.css +137 -137
- package/dist/collection/components/ui/kritzel-settings/kritzel-settings.js +1 -1
- package/dist/collection/components/ui/kritzel-share-dialog/kritzel-share-dialog.css +150 -150
- package/dist/collection/components/ui/kritzel-share-dialog/kritzel-share-dialog.js +2 -2
- package/dist/collection/components/ui/kritzel-tool-config/kritzel-tool-config.css +38 -38
- package/dist/collection/components/ui/kritzel-utility-panel/kritzel-utility-panel.css +45 -45
- package/dist/collection/components/ui/kritzel-utility-panel/kritzel-utility-panel.js +1 -1
- package/dist/collection/components/ui/kritzel-workspace-manager/kritzel-workspace-manager.css +16 -16
- package/dist/collection/components/ui/kritzel-zoom-panel/kritzel-zoom-panel.css +72 -72
- package/dist/collection/components/ui/kritzel-zoom-panel/kritzel-zoom-panel.js +1 -1
- package/dist/collection/constants/version.js +1 -1
- package/dist/collection/helpers/cursor.helper.js +6 -6
- package/dist/collection/helpers/svg-export.helper.js +41 -41
- package/dist/components/index.js +9 -3
- package/dist/components/kritzel-active-users.js +1 -1
- package/dist/components/kritzel-avatar.js +1 -1
- package/dist/components/kritzel-awareness-cursors.js +1 -1
- package/dist/components/kritzel-back-to-content.js +1 -1
- package/dist/components/kritzel-brush-style.js +4 -4
- package/dist/components/kritzel-button.js +1 -1
- package/dist/components/kritzel-color-palette.js +1 -1
- package/dist/components/kritzel-color.js +1 -1
- package/dist/components/kritzel-context-menu.js +1 -1
- package/dist/components/kritzel-controls.js +1 -1
- package/dist/components/kritzel-current-user-dialog.js +1 -1
- package/dist/components/kritzel-current-user.js +1 -1
- package/dist/components/kritzel-cursor-trail.js +1 -1
- package/dist/components/kritzel-dialog.js +1 -1
- package/dist/components/kritzel-dropdown.js +1 -1
- package/dist/components/kritzel-editor.js +65 -58
- package/dist/components/kritzel-engine.js +1 -1
- package/dist/components/kritzel-export.js +1 -1
- package/dist/components/kritzel-font-family.js +1 -1
- package/dist/components/kritzel-font-size.js +1 -1
- package/dist/components/kritzel-font.js +1 -1
- package/dist/components/kritzel-icon.js +1 -1
- package/dist/components/kritzel-input.js +1 -1
- package/dist/components/kritzel-line-endings.js +1 -1
- package/dist/components/kritzel-loading-overlay.js +1 -1
- package/dist/components/kritzel-login-dialog.js +1 -1
- package/dist/components/kritzel-master-detail.js +1 -1
- package/dist/components/kritzel-menu-item.js +1 -1
- package/dist/components/kritzel-menu.js +1 -1
- package/dist/components/kritzel-more-menu.js +1 -1
- package/dist/components/kritzel-notification-card.js +1 -1
- package/dist/components/kritzel-numeric-input.js +1 -1
- package/dist/components/kritzel-opacity-slider.js +1 -1
- package/dist/components/kritzel-pill-tabs.js +1 -1
- package/dist/components/kritzel-portal.js +1 -1
- package/dist/components/kritzel-settings.js +1 -1
- package/dist/components/kritzel-shape-fill.js +1 -1
- package/dist/components/kritzel-share-dialog.js +1 -1
- package/dist/components/kritzel-slide-toggle.js +1 -1
- package/dist/components/kritzel-split-button.js +1 -1
- package/dist/components/kritzel-stroke-size.js +1 -1
- package/dist/components/kritzel-sync-indicator.js +1 -1
- package/dist/components/kritzel-tool-config.js +1 -1
- package/dist/components/kritzel-tooltip.js +1 -1
- package/dist/components/kritzel-utility-panel.js +1 -1
- package/dist/components/kritzel-watermark.js +1 -1
- package/dist/components/kritzel-workspace-manager.js +1 -1
- package/dist/components/kritzel-zoom-panel.js +1 -1
- package/dist/components/{p-DW1B118Q.js → p-0fhjWRmT.js} +9 -9
- package/dist/components/{p-CLAz6RJc.js → p-2WiGyky4.js} +3 -3
- package/dist/components/{p-zG-WUBGF.js → p-4SPnZZkH.js} +4 -4
- package/dist/components/{p-MhQxGUvY.js → p-B-585egz.js} +3 -3
- package/dist/components/{p-C9_yBEoX.js → p-B43upypT.js} +10 -30
- package/dist/components/{p-CSKToqUl.js → p-B5SWPDuq.js} +4 -4
- package/dist/components/{p-Covorf4C.js → p-BFYtCsZu.js} +3 -3
- package/dist/components/{p-DYPA7jpg.js → p-BPsKYMH6.js} +2 -2
- package/dist/components/{p-Cx-L_28S.js → p-BoN700-O.js} +3 -3
- package/dist/components/{p-ME1sDz3f.js → p-BozrueXV.js} +2 -2
- package/dist/components/{p-D2VcPEtL.js → p-BrNsOp2v.js} +6 -6
- package/dist/components/{p-BXUx_C0N.js → p-BsLI_BWq.js} +2 -2
- package/dist/components/{p-dAXnRkjA.js → p-C98Eb3_R.js} +5 -5
- package/dist/components/{p-Bxi-Bm49.js → p-CAoN_STZ.js} +2 -2
- package/dist/components/{p-CSWCmyzb.js → p-CF8pLc07.js} +5 -5
- package/dist/components/{p-D3BzgkIE.js → p-CSPYkLLH.js} +2 -2
- package/dist/components/{p-Ck-87E2G.js → p-CSuU8frA.js} +1 -1
- package/dist/components/{p-Di--2boB.js → p-CXpv9Rxe.js} +3 -3
- package/dist/components/{p-o3NYKrVL.js → p-CaBbajU2.js} +3 -3
- package/dist/components/{p-3tBE7SyG.js → p-Cm33td2O.js} +2 -2
- package/dist/components/{p-vDCa_ZDm.js → p-CrHvaLRV.js} +3 -3
- package/dist/components/{p-DT_WBwsw.js → p-CwZ3KKFq.js} +6 -6
- package/dist/components/{p-BZZ3KRPk.js → p-CzW58DHM.js} +3 -3
- package/dist/components/{p-BrqSjRJN.js → p-Czhdc844.js} +3 -3
- package/dist/components/{p-BkXQL5Dl.js → p-D1rjfWgJ.js} +5 -5
- package/dist/components/{p-DPsbNStn.js → p-DB58Oa5V.js} +2 -2
- package/dist/components/{p-DafP9PAA.js → p-DBqoPgev.js} +2 -2
- package/dist/components/{p-BrA9NBEE.js → p-DDTMGbtA.js} +21 -21
- package/dist/components/{p-Dznwo6oc.js → p-DKGg-76-.js} +2 -2
- package/dist/components/{p-Dp1CD4gK.js → p-DVXTPI71.js} +2 -2
- package/dist/components/{p-QSyeAy8R.js → p-DX2nriaq.js} +2 -2
- package/dist/components/{p-CHoOe3FD.js → p-Df3BwVGy.js} +3 -3
- package/dist/components/{p-DcUIO14-.js → p-Dt7-I2Xz.js} +4 -4
- package/dist/components/{p-BShrnlam.js → p-DtnMdWWB.js} +2 -2
- package/dist/components/{p-Ch-KG9To.js → p-DwMqCX2P.js} +3 -3
- package/dist/components/{p-fSV6KVTC.js → p-GKmqCI8r.js} +3 -3
- package/dist/components/{p-CWAChRD5.js → p-HoO86l1o.js} +12 -12
- package/dist/components/{p-Qdo3E8dr.js → p-PjPPCHVL.js} +2 -2
- package/dist/components/{p-D6JycG-I.js → p-bAacqNHq.js} +3 -3
- package/dist/components/{p-DjXQxw9R.js → p-djJSnjAX.js} +3 -3
- package/dist/components/{p-b0J2ktAm.js → p-dsxHDlQ3.js} +7 -7
- package/dist/components/{p-BppcoKoo.js → p-eZXIu4yK.js} +5 -5
- package/dist/components/{p-BFYT03fw.js → p-fL9rl200.js} +3 -3
- package/dist/components/{p-DwEYMvIn.js → p-gJcH-huF.js} +141 -178
- package/dist/components/{p-1Q4VnThv.js → p-jIKskj3S.js} +3 -3
- package/dist/components/{p-D0Trc3IQ.js → p-vqEUQ-4Q.js} +5 -5
- package/dist/esm/{index-2va1Pk9z.js → index-Dhio9uis.js} +11 -47
- package/dist/esm/index.js +8 -2
- package/dist/esm/kritzel-active-users_47.entry.js +196 -201
- package/dist/esm/kritzel-brush-style.entry.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{schema.constants-DBvUmuDH.js → schema.constants-DfvqHmxc.js} +20 -44
- package/dist/esm/stencil.js +4 -4
- package/dist/stencil/index.esm.js +8 -2
- package/dist/stencil/{p-DBvUmuDH.js → p-DfvqHmxc.js} +20 -44
- package/dist/stencil/{p-2va1Pk9z.js → p-Dhio9uis.js} +11 -47
- package/dist/stencil/{p-ce6d432e.entry.js → p-dc5783ee.entry.js} +196 -201
- package/dist/stencil/{p-df06ca3a.entry.js → p-fb32cd8f.entry.js} +2 -2
- package/dist/stencil/stencil.esm.js +4 -4
- package/dist/types/classes/providers/sync/hocuspocus-sync-provider.class.d.ts +1 -0
- package/dist/types/classes/providers/sync/websocket-sync-provider.class.d.ts +1 -0
- package/dist/types/classes/structures/object-map.structure.d.ts +14 -0
- package/dist/types/components/core/kritzel-editor/kritzel-editor.d.ts +3 -1
- package/dist/types/components/core/kritzel-engine/kritzel-engine.d.ts +3 -14
- package/dist/types/components.d.ts +7 -5
- package/dist/types/constants/version.d.ts +1 -1
- package/dist/types/interfaces/sync-provider.interface.d.ts +7 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -12
- package/loader/index.d.ts +1 -1
- package/package.json +1 -1
- 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.
|
|
25
|
+
Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
28
|
|
|
@@ -114,9 +114,7 @@ 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();
|
|
118
117
|
var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
119
|
-
var _a;
|
|
120
118
|
const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
|
|
121
119
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
122
120
|
if (!bundleId) {
|
|
@@ -126,11 +124,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
126
124
|
if (module) {
|
|
127
125
|
return module[exportName];
|
|
128
126
|
}
|
|
129
|
-
const retryCount = (_a = failedLoadAttempts.get(bundleId)) != null ? _a : 0;
|
|
130
|
-
const cacheBustParams = [
|
|
131
|
-
retryCount > 0 ? `s-retry=${retryCount}` : "",
|
|
132
|
-
""
|
|
133
|
-
].filter(Boolean).join("&");
|
|
134
127
|
|
|
135
128
|
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
136
129
|
const processMod = importedModule => {
|
|
@@ -154,17 +147,15 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
154
147
|
/* webpackInclude: /\.entry\.js$/ */
|
|
155
148
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
156
149
|
/* webpackMode: "lazy" */
|
|
157
|
-
`./${bundleId}.entry.js${
|
|
150
|
+
`./${bundleId}.entry.js${""}`
|
|
158
151
|
).then(
|
|
159
152
|
(importedModule) => {
|
|
160
153
|
{
|
|
161
|
-
failedLoadAttempts.delete(bundleId);
|
|
162
154
|
cmpModules.set(bundleId, importedModule);
|
|
163
155
|
}
|
|
164
156
|
return importedModule[exportName];
|
|
165
157
|
},
|
|
166
158
|
(e) => {
|
|
167
|
-
failedLoadAttempts.set(bundleId, retryCount + 1);
|
|
168
159
|
consoleError(e, hostRef.$hostElement$);
|
|
169
160
|
}
|
|
170
161
|
);
|
|
@@ -174,8 +165,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
174
165
|
var styles = /* @__PURE__ */ new Map();
|
|
175
166
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
176
167
|
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;
|
|
179
168
|
var win = typeof window !== "undefined" ? window : {};
|
|
180
169
|
var plt = {
|
|
181
170
|
$flags$: 0,
|
|
@@ -219,10 +208,6 @@ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @_
|
|
|
219
208
|
var queuePending = false;
|
|
220
209
|
var queueDomReads = [];
|
|
221
210
|
var queueDomWrites = [];
|
|
222
|
-
var scheduleFlush = () => {
|
|
223
|
-
var _a;
|
|
224
|
-
return ((_a = win.document) == null ? void 0 : _a.hidden) ? nextTick(flush) : plt.raf(flush);
|
|
225
|
-
};
|
|
226
211
|
var queueTask = (queue, write) => (cb) => {
|
|
227
212
|
queue.push(cb);
|
|
228
213
|
if (!queuePending) {
|
|
@@ -230,7 +215,7 @@ var queueTask = (queue, write) => (cb) => {
|
|
|
230
215
|
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
231
216
|
nextTick(flush);
|
|
232
217
|
} else {
|
|
233
|
-
|
|
218
|
+
plt.raf(flush);
|
|
234
219
|
}
|
|
235
220
|
}
|
|
236
221
|
};
|
|
@@ -249,7 +234,7 @@ var flush = () => {
|
|
|
249
234
|
{
|
|
250
235
|
consume(queueDomWrites);
|
|
251
236
|
if (queuePending = queueDomReads.length > 0) {
|
|
252
|
-
|
|
237
|
+
plt.raf(flush);
|
|
253
238
|
}
|
|
254
239
|
}
|
|
255
240
|
};
|
|
@@ -441,11 +426,6 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
441
426
|
} else if (child != null && typeof child !== "boolean") {
|
|
442
427
|
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
|
443
428
|
child = String(child);
|
|
444
|
-
} else if (typeof nodeName !== "function" && child.$flags$ === void 0) {
|
|
445
|
-
{
|
|
446
|
-
consoleError("Invalid vNode child");
|
|
447
|
-
}
|
|
448
|
-
continue;
|
|
449
429
|
}
|
|
450
430
|
if (simple && lastSimple) {
|
|
451
431
|
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
|
@@ -674,7 +654,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
674
654
|
}
|
|
675
655
|
}
|
|
676
656
|
if (newValue == null || newValue === false) {
|
|
677
|
-
if (newValue !== false || elm.getAttribute(memberName) === ""
|
|
657
|
+
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
678
658
|
{
|
|
679
659
|
elm.removeAttribute(memberName);
|
|
680
660
|
}
|
|
@@ -687,8 +667,6 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
687
667
|
}
|
|
688
668
|
}
|
|
689
669
|
};
|
|
690
|
-
var ENUMERATED_ATTRIBUTES = /* @__PURE__ */ new Set(["draggable", "contenteditable", "spellcheck"]);
|
|
691
|
-
var isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
|
|
692
670
|
var parseClassListRegex = /\s/;
|
|
693
671
|
var parseClassList = (value) => {
|
|
694
672
|
if (typeof value === "object" && value && "baseVal" in value) {
|
|
@@ -996,7 +974,9 @@ var flushQueuedRefCallbacks = () => {
|
|
|
996
974
|
}
|
|
997
975
|
};
|
|
998
976
|
var insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
999
|
-
{
|
|
977
|
+
if (parent.__insertBefore) {
|
|
978
|
+
return parent.__insertBefore(newNode, reference);
|
|
979
|
+
} else {
|
|
1000
980
|
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
1001
981
|
}
|
|
1002
982
|
};
|
|
@@ -1264,7 +1244,6 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1264
1244
|
};
|
|
1265
1245
|
|
|
1266
1246
|
// src/runtime/proxy-component.ts
|
|
1267
|
-
var reflectedAttrValue = (propValue) => propValue == null || propValue === false ? null : propValue === true ? "" : String(propValue);
|
|
1268
1247
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1269
1248
|
var _a, _b;
|
|
1270
1249
|
const prototype = Cstr.prototype;
|
|
@@ -1397,13 +1376,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1397
1376
|
return;
|
|
1398
1377
|
}
|
|
1399
1378
|
const propFlags = members.find(([m]) => m === propName);
|
|
1400
|
-
const
|
|
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
|
-
}
|
|
1379
|
+
const isBooleanTarget = propFlags && propFlags[1][0] & 4 /* Boolean */;
|
|
1407
1380
|
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
1408
1381
|
if (isBooleanTarget) {
|
|
1409
1382
|
newValue = newValue === null || newValue === "false" ? false : true;
|
|
@@ -1435,12 +1408,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1435
1408
|
|
|
1436
1409
|
// src/runtime/initialize-component.ts
|
|
1437
1410
|
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
1438
|
-
var _a;
|
|
1439
1411
|
let Cstr;
|
|
1440
1412
|
try {
|
|
1441
1413
|
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1442
1414
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1443
|
-
hostRef.$flags$ &= -1025 /* hasFailedLoad */;
|
|
1444
1415
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1445
1416
|
if (bundleId) {
|
|
1446
1417
|
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
@@ -1452,11 +1423,6 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1452
1423
|
Cstr = CstrImport;
|
|
1453
1424
|
}
|
|
1454
1425
|
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
|
-
}
|
|
1460
1426
|
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
1461
1427
|
}
|
|
1462
1428
|
if (!Cstr.isProxied) {
|
|
@@ -1518,7 +1484,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1518
1484
|
hostRef.$onRenderResolve$();
|
|
1519
1485
|
hostRef.$onRenderResolve$ = void 0;
|
|
1520
1486
|
}
|
|
1521
|
-
if (hostRef.$onReadyResolve$
|
|
1487
|
+
if (hostRef.$onReadyResolve$) {
|
|
1522
1488
|
hostRef.$onReadyResolve$(elm);
|
|
1523
1489
|
}
|
|
1524
1490
|
}
|
|
@@ -1565,8 +1531,6 @@ var connectedCallback = (elm) => {
|
|
|
1565
1531
|
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
1566
1532
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1567
1533
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1568
|
-
} else if (hostRef.$flags$ & 1024 /* hasFailedLoad */) {
|
|
1569
|
-
setTimeout(() => initializeComponent(elm, hostRef, cmpMeta), LAZY_LOAD_RETRY_INTERVAL_MS);
|
|
1570
1534
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1571
1535
|
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
1572
1536
|
}
|
|
@@ -1689,7 +1653,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1689
1653
|
}
|
|
1690
1654
|
disconnectedCallback() {
|
|
1691
1655
|
plt.jmp(() => disconnectedCallback(this));
|
|
1692
|
-
|
|
1656
|
+
plt.raf(() => {
|
|
1693
1657
|
var _a3;
|
|
1694
1658
|
const hostRef = getHostRef(this);
|
|
1695
1659
|
if (!hostRef) {
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var schema_constants = require('./schema.constants-
|
|
3
|
+
var schema_constants = require('./schema.constants-CjN-B633.js');
|
|
4
4
|
var Y = require('yjs');
|
|
5
5
|
var yIndexeddb = require('y-indexeddb');
|
|
6
6
|
var yWebsocket = require('y-websocket');
|
|
@@ -573,6 +573,9 @@ class WebSocketSyncProvider {
|
|
|
573
573
|
get awareness() {
|
|
574
574
|
return this.provider.awareness;
|
|
575
575
|
}
|
|
576
|
+
get rawProvider() {
|
|
577
|
+
return this.provider;
|
|
578
|
+
}
|
|
576
579
|
constructor(docName, doc, options) {
|
|
577
580
|
const url = options?.url || 'ws://localhost:1234';
|
|
578
581
|
const roomName = options?.roomName || docName;
|
|
@@ -689,6 +692,9 @@ class HocuspocusSyncProvider {
|
|
|
689
692
|
get awareness() {
|
|
690
693
|
return this.provider.awareness;
|
|
691
694
|
}
|
|
695
|
+
get rawProvider() {
|
|
696
|
+
return this.provider;
|
|
697
|
+
}
|
|
692
698
|
get connectionStatus() {
|
|
693
699
|
return this._connectionStatus;
|
|
694
700
|
}
|