kritzel-stencil 0.4.23 → 0.4.24
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-Xav9JFHg.js → index-Dn19mGl-.js} +47 -11
- package/dist/cjs/index.cjs.js +2 -51
- package/dist/cjs/kritzel-active-users_47.cjs.entry.js +198 -238
- package/dist/cjs/kritzel-brush-style.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{schema.constants-CjN-B633.js → schema.constants-CY0WWJYd.js} +44 -20
- package/dist/cjs/stencil.cjs.js +2 -2
- package/dist/collection/classes/providers/sync/hocuspocus-sync-provider.class.js +0 -21
- package/dist/collection/classes/providers/sync/websocket-sync-provider.class.js +1 -29
- package/dist/collection/classes/structures/app-state-map.structure.js +1 -4
- package/dist/collection/classes/structures/object-map.structure.js +4 -66
- 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 +18 -51
- package/dist/collection/components/core/kritzel-engine/kritzel-engine.css +80 -80
- package/dist/collection/components/core/kritzel-engine/kritzel-engine.js +102 -72
- 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 +4 -53
- 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 +56 -61
- 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-jIKskj3S.js → p-1Q4VnThv.js} +3 -3
- package/dist/components/{p-Cm33td2O.js → p-3tBE7SyG.js} +2 -2
- package/dist/components/{p-fL9rl200.js → p-BFYT03fw.js} +3 -3
- package/dist/components/{p-DtnMdWWB.js → p-BShrnlam.js} +2 -2
- package/dist/components/{p-BsLI_BWq.js → p-BXUx_C0N.js} +2 -2
- package/dist/components/{p-CzW58DHM.js → p-BZZ3KRPk.js} +3 -3
- package/dist/components/{p-D1rjfWgJ.js → p-BkXQL5Dl.js} +5 -5
- package/dist/components/{p-eZXIu4yK.js → p-BppcoKoo.js} +5 -5
- package/dist/components/{p-DDTMGbtA.js → p-BrA9NBEE.js} +21 -21
- package/dist/components/{p-Czhdc844.js → p-BrqSjRJN.js} +3 -3
- package/dist/components/{p-CAoN_STZ.js → p-Bxi-Bm49.js} +2 -2
- package/dist/components/{p-B43upypT.js → p-C9_yBEoX.js} +30 -10
- package/dist/components/{p-Df3BwVGy.js → p-CHoOe3FD.js} +3 -3
- package/dist/components/{p-2WiGyky4.js → p-CLAz6RJc.js} +3 -3
- package/dist/components/{p-B5SWPDuq.js → p-CSKToqUl.js} +4 -4
- package/dist/components/{p-CF8pLc07.js → p-CSWCmyzb.js} +5 -5
- package/dist/components/{p-HoO86l1o.js → p-CWAChRD5.js} +12 -12
- package/dist/components/{p-DwMqCX2P.js → p-Ch-KG9To.js} +3 -3
- package/dist/components/{p-CSuU8frA.js → p-Ck-87E2G.js} +1 -1
- package/dist/components/{p-BFYtCsZu.js → p-Covorf4C.js} +3 -3
- package/dist/components/{p-BoN700-O.js → p-Cx-L_28S.js} +3 -3
- package/dist/components/{p-vqEUQ-4Q.js → p-D0Trc3IQ.js} +5 -5
- package/dist/components/{p-BrNsOp2v.js → p-D2VcPEtL.js} +6 -6
- package/dist/components/{p-CSPYkLLH.js → p-D3BzgkIE.js} +2 -2
- package/dist/components/{p-bAacqNHq.js → p-D6JycG-I.js} +3 -3
- package/dist/components/{p-DB58Oa5V.js → p-DPsbNStn.js} +2 -2
- package/dist/components/{p-CwZ3KKFq.js → p-DT_WBwsw.js} +6 -6
- package/dist/components/{p-Cb-xlpsJ.js → p-DW1B118Q.js} +9 -9
- package/dist/components/{p-BPsKYMH6.js → p-DYPA7jpg.js} +2 -2
- package/dist/components/{p-DBqoPgev.js → p-DafP9PAA.js} +2 -2
- package/dist/components/{p-Dt7-I2Xz.js → p-DcUIO14-.js} +4 -4
- package/dist/components/{p-CXpv9Rxe.js → p-Di--2boB.js} +3 -3
- package/dist/components/{p-djJSnjAX.js → p-DjXQxw9R.js} +3 -3
- package/dist/components/{p-DVXTPI71.js → p-Dp1CD4gK.js} +2 -2
- package/dist/components/{p-EijwLEZx.js → p-DwEYMvIn.js} +175 -186
- package/dist/components/{p-DKGg-76-.js → p-Dznwo6oc.js} +2 -2
- package/dist/components/{p-BozrueXV.js → p-ME1sDz3f.js} +2 -2
- package/dist/components/{p-B-585egz.js → p-MhQxGUvY.js} +3 -3
- package/dist/components/{p-DX2nriaq.js → p-QSyeAy8R.js} +2 -2
- package/dist/components/{p-PjPPCHVL.js → p-Qdo3E8dr.js} +2 -2
- package/dist/components/{p-dsxHDlQ3.js → p-b0J2ktAm.js} +7 -7
- package/dist/components/{p-C98Eb3_R.js → p-dAXnRkjA.js} +5 -5
- package/dist/components/{p-GKmqCI8r.js → p-fSV6KVTC.js} +3 -3
- package/dist/components/{p-CaBbajU2.js → p-o3NYKrVL.js} +3 -3
- package/dist/components/{p-CrHvaLRV.js → p-vDCa_ZDm.js} +3 -3
- package/dist/components/{p-4SPnZZkH.js → p-zG-WUBGF.js} +4 -4
- package/dist/esm/{index-Dhio9uis.js → index-2va1Pk9z.js} +47 -11
- package/dist/esm/index.js +3 -52
- package/dist/esm/kritzel-active-users_47.entry.js +198 -238
- package/dist/esm/kritzel-brush-style.entry.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{schema.constants-DfvqHmxc.js → schema.constants-DBvUmuDH.js} +44 -20
- package/dist/esm/stencil.js +3 -3
- package/dist/stencil/index.esm.js +3 -52
- package/dist/stencil/{p-Dhio9uis.js → p-2va1Pk9z.js} +47 -11
- package/dist/stencil/{p-DfvqHmxc.js → p-DBvUmuDH.js} +44 -20
- package/dist/stencil/{p-9e38407e.entry.js → p-ce6d432e.entry.js} +198 -238
- package/dist/stencil/{p-fb32cd8f.entry.js → p-df06ca3a.entry.js} +2 -2
- package/dist/stencil/stencil.esm.js +4 -4
- package/dist/types/classes/providers/sync/hocuspocus-sync-provider.class.d.ts +0 -5
- package/dist/types/classes/providers/sync/websocket-sync-provider.class.d.ts +0 -6
- package/dist/types/classes/structures/object-map.structure.d.ts +2 -26
- package/dist/types/components/core/kritzel-editor/kritzel-editor.d.ts +0 -3
- package/dist/types/components/core/kritzel-engine/kritzel-engine.d.ts +11 -9
- package/dist/types/components.d.ts +1 -8
- package/dist/types/constants/version.d.ts +1 -1
- package/dist/types/interfaces/sync-provider.interface.d.ts +0 -13
- package/dist/types/stencil-public-runtime.d.ts +12 -0
- 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.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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
1692
|
+
nextTick(() => {
|
|
1657
1693
|
var _a3;
|
|
1658
1694
|
const hostRef = getHostRef(this);
|
|
1659
1695
|
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-CY0WWJYd.js');
|
|
4
4
|
var Y = require('yjs');
|
|
5
5
|
var yIndexeddb = require('y-indexeddb');
|
|
6
6
|
var yWebsocket = require('y-websocket');
|
|
@@ -570,15 +570,9 @@ class WebSocketSyncProvider {
|
|
|
570
570
|
provider;
|
|
571
571
|
isConnected = false;
|
|
572
572
|
_quiet = false;
|
|
573
|
-
_isSynced = false;
|
|
574
|
-
_syncedResolvers = [];
|
|
575
573
|
get awareness() {
|
|
576
574
|
return this.provider.awareness;
|
|
577
575
|
}
|
|
578
|
-
/** y-websocket applies remote updates with the underlying provider as the Yjs transaction origin. */
|
|
579
|
-
get updateOrigin() {
|
|
580
|
-
return this.provider;
|
|
581
|
-
}
|
|
582
576
|
constructor(docName, doc, options) {
|
|
583
577
|
const url = options?.url || 'ws://localhost:1234';
|
|
584
578
|
const roomName = options?.roomName || docName;
|
|
@@ -625,29 +619,11 @@ class WebSocketSyncProvider {
|
|
|
625
619
|
}
|
|
626
620
|
});
|
|
627
621
|
this.provider.on('sync', (synced) => {
|
|
628
|
-
if (!
|
|
629
|
-
return;
|
|
630
|
-
}
|
|
631
|
-
this._isSynced = true;
|
|
632
|
-
this.releaseSyncedWaiters();
|
|
633
|
-
if (!this._quiet) {
|
|
622
|
+
if (synced && !this._quiet) {
|
|
634
623
|
console.info('WebSocket synced');
|
|
635
624
|
}
|
|
636
625
|
});
|
|
637
626
|
}
|
|
638
|
-
releaseSyncedWaiters() {
|
|
639
|
-
const resolvers = this._syncedResolvers;
|
|
640
|
-
this._syncedResolvers = [];
|
|
641
|
-
resolvers.forEach(resolve => resolve());
|
|
642
|
-
}
|
|
643
|
-
async whenSynced() {
|
|
644
|
-
if (this._isSynced || this.provider.synced) {
|
|
645
|
-
return;
|
|
646
|
-
}
|
|
647
|
-
return new Promise(resolve => {
|
|
648
|
-
this._syncedResolvers.push(resolve);
|
|
649
|
-
});
|
|
650
|
-
}
|
|
651
627
|
async connect() {
|
|
652
628
|
if (this.isConnected) {
|
|
653
629
|
return;
|
|
@@ -679,8 +655,6 @@ class WebSocketSyncProvider {
|
|
|
679
655
|
this.provider.disconnect();
|
|
680
656
|
}
|
|
681
657
|
this.isConnected = false;
|
|
682
|
-
this._isSynced = false;
|
|
683
|
-
this.releaseSyncedWaiters();
|
|
684
658
|
}
|
|
685
659
|
async reconnect() {
|
|
686
660
|
this.disconnect();
|
|
@@ -691,8 +665,6 @@ class WebSocketSyncProvider {
|
|
|
691
665
|
this.provider.destroy();
|
|
692
666
|
}
|
|
693
667
|
this.isConnected = false;
|
|
694
|
-
this._isSynced = false;
|
|
695
|
-
this.releaseSyncedWaiters();
|
|
696
668
|
}
|
|
697
669
|
}
|
|
698
670
|
|
|
@@ -714,14 +686,9 @@ class HocuspocusSyncProvider {
|
|
|
714
686
|
_connectionStatus = 'disconnected';
|
|
715
687
|
visibilityHandler = null;
|
|
716
688
|
onlineHandler = null;
|
|
717
|
-
syncedResolvers = [];
|
|
718
689
|
get awareness() {
|
|
719
690
|
return this.provider.awareness;
|
|
720
691
|
}
|
|
721
|
-
/** HocuspocusProvider applies remote updates with itself as the Yjs transaction origin. */
|
|
722
|
-
get updateOrigin() {
|
|
723
|
-
return this.provider;
|
|
724
|
-
}
|
|
725
692
|
get connectionStatus() {
|
|
726
693
|
return this._connectionStatus;
|
|
727
694
|
}
|
|
@@ -778,7 +745,6 @@ class HocuspocusSyncProvider {
|
|
|
778
745
|
}
|
|
779
746
|
this.isSynced = true;
|
|
780
747
|
this._connectionStatus = 'synced';
|
|
781
|
-
this.releaseSyncedWaiters();
|
|
782
748
|
if (!options?.quiet) {
|
|
783
749
|
console.info(`Hocuspocus synced: ${name}`);
|
|
784
750
|
}
|
|
@@ -989,19 +955,6 @@ class HocuspocusSyncProvider {
|
|
|
989
955
|
this.disconnect();
|
|
990
956
|
return this.connect();
|
|
991
957
|
}
|
|
992
|
-
releaseSyncedWaiters() {
|
|
993
|
-
const resolvers = this.syncedResolvers;
|
|
994
|
-
this.syncedResolvers = [];
|
|
995
|
-
resolvers.forEach(resolve => resolve());
|
|
996
|
-
}
|
|
997
|
-
async whenSynced() {
|
|
998
|
-
if (this.isSynced || this.isDestroyed || this.provider.isSynced) {
|
|
999
|
-
return;
|
|
1000
|
-
}
|
|
1001
|
-
return new Promise(resolve => {
|
|
1002
|
-
this.syncedResolvers.push(resolve);
|
|
1003
|
-
});
|
|
1004
|
-
}
|
|
1005
958
|
disconnect() {
|
|
1006
959
|
// Cancel any pending connection attempt
|
|
1007
960
|
if (this.connectTimeout) {
|
|
@@ -1023,7 +976,6 @@ class HocuspocusSyncProvider {
|
|
|
1023
976
|
this.isConnected = false;
|
|
1024
977
|
this.isSynced = false;
|
|
1025
978
|
this._connectionStatus = 'disconnected';
|
|
1026
|
-
this.releaseSyncedWaiters();
|
|
1027
979
|
}
|
|
1028
980
|
destroy() {
|
|
1029
981
|
// Mark as destroyed first to prevent any callbacks from doing work
|
|
@@ -1043,7 +995,6 @@ class HocuspocusSyncProvider {
|
|
|
1043
995
|
this.isConnected = false;
|
|
1044
996
|
this.isSynced = false;
|
|
1045
997
|
this._connectionStatus = 'disconnected';
|
|
1046
|
-
this.releaseSyncedWaiters();
|
|
1047
998
|
}
|
|
1048
999
|
}
|
|
1049
1000
|
|