@kritzel/editor 0.4.31 → 0.4.33
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.md +50 -50
- package/README.md +5 -5
- package/dist/cjs/{index-B92VHWr4.js → index-BAdxtEc7.js} +27 -9
- package/dist/cjs/kritzel-active-users_46.cjs.entry.js +1029 -366
- package/dist/cjs/kritzel-brush-style.cjs.entry.js +2 -2
- package/dist/cjs/kritzel-editor.cjs.js +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/kritzel-active-users/kritzel-active-users.css +65 -65
- package/dist/collection/components/kritzel-avatar/kritzel-avatar.css +58 -58
- package/dist/collection/components/kritzel-avatar/kritzel-avatar.js +3 -3
- package/dist/collection/components/kritzel-back-to-content/kritzel-back-to-content.css +42 -42
- package/dist/collection/components/kritzel-back-to-content/kritzel-back-to-content.js +1 -1
- package/dist/collection/components/kritzel-brush-style/kritzel-brush-style.css +42 -42
- package/dist/collection/components/kritzel-brush-style/kritzel-brush-style.js +3 -3
- package/dist/collection/components/kritzel-button/kritzel-button.css +73 -73
- package/dist/collection/components/kritzel-button/kritzel-button.js +2 -2
- package/dist/collection/components/kritzel-color/kritzel-color.css +24 -24
- package/dist/collection/components/kritzel-color/kritzel-color.js +2 -2
- package/dist/collection/components/kritzel-color-palette/kritzel-color-palette.css +46 -46
- package/dist/collection/components/kritzel-color-palette/kritzel-color-palette.js +1 -1
- package/dist/collection/components/kritzel-context-menu/kritzel-context-menu.css +113 -112
- package/dist/collection/components/kritzel-context-menu/kritzel-context-menu.js +1 -1
- package/dist/collection/components/kritzel-current-user/kritzel-current-user.css +11 -11
- package/dist/collection/components/kritzel-current-user/kritzel-current-user.js +1 -1
- package/dist/collection/components/kritzel-current-user-dialog/kritzel-current-user-dialog.css +39 -39
- package/dist/collection/components/kritzel-current-user-dialog/kritzel-current-user-dialog.js +1 -1
- package/dist/collection/components/kritzel-dialog/kritzel-dialog.css +209 -209
- package/dist/collection/components/kritzel-dropdown/kritzel-dropdown.css +190 -190
- package/dist/collection/components/kritzel-dropdown/kritzel-dropdown.js +2 -2
- package/dist/collection/components/kritzel-editor/kritzel-editor.css +160 -160
- package/dist/collection/components/kritzel-editor/kritzel-editor.js +72 -46
- package/dist/collection/components/kritzel-export/kritzel-export.css +89 -89
- package/dist/collection/components/kritzel-export/kritzel-export.js +1 -1
- package/dist/collection/components/kritzel-font/kritzel-font.css +10 -10
- package/dist/collection/components/kritzel-font/kritzel-font.js +1 -1
- package/dist/collection/components/kritzel-font-family/kritzel-font-family.css +48 -48
- package/dist/collection/components/kritzel-font-family/kritzel-font-family.js +2 -2
- package/dist/collection/components/kritzel-font-size/kritzel-font-size.css +30 -30
- package/dist/collection/components/kritzel-font-size/kritzel-font-size.js +1 -1
- package/dist/collection/components/kritzel-input/kritzel-input.css +69 -69
- package/dist/collection/components/kritzel-input/kritzel-input.js +1 -1
- package/dist/collection/components/kritzel-line-endings/kritzel-line-endings.css +60 -60
- package/dist/collection/components/kritzel-line-endings/kritzel-line-endings.js +3 -3
- package/dist/collection/components/kritzel-loading-overlay/kritzel-loading-overlay.css +54 -54
- package/dist/collection/components/kritzel-loading-overlay/kritzel-loading-overlay.js +1 -1
- package/dist/collection/components/kritzel-login-dialog/kritzel-login-dialog.css +98 -98
- package/dist/collection/components/kritzel-login-dialog/kritzel-login-dialog.js +1 -1
- package/dist/collection/components/kritzel-master-detail/kritzel-master-detail.css +190 -190
- package/dist/collection/components/kritzel-master-detail/kritzel-master-detail.js +3 -3
- package/dist/collection/components/kritzel-menu/kritzel-menu.css +35 -34
- package/dist/collection/components/kritzel-menu/kritzel-menu.js +1 -1
- package/dist/collection/components/kritzel-menu-item/kritzel-menu-item.css +166 -166
- package/dist/collection/components/kritzel-menu-item/kritzel-menu-item.js +3 -3
- package/dist/collection/components/kritzel-more-menu/kritzel-more-menu.css +58 -58
- package/dist/collection/components/kritzel-more-menu/kritzel-more-menu.js +4 -4
- package/dist/collection/components/kritzel-notification-card/kritzel-notification-card.css +101 -101
- package/dist/collection/components/kritzel-numeric-input/kritzel-numeric-input.css +102 -102
- package/dist/collection/components/kritzel-numeric-input/kritzel-numeric-input.js +1 -1
- package/dist/collection/components/kritzel-opacity-slider/kritzel-opacity-slider.css +85 -85
- package/dist/collection/components/kritzel-opacity-slider/kritzel-opacity-slider.js +1 -1
- package/dist/collection/components/kritzel-pill-tabs/kritzel-pill-tabs.css +68 -68
- package/dist/collection/components/kritzel-pill-tabs/kritzel-pill-tabs.js +2 -2
- package/dist/collection/components/kritzel-portal/kritzel-portal.js +1 -1
- package/dist/collection/components/kritzel-settings/kritzel-settings.css +137 -137
- package/dist/collection/components/kritzel-settings/kritzel-settings.js +1 -1
- package/dist/collection/components/kritzel-shape-fill/kritzel-shape-fill.css +47 -47
- package/dist/collection/components/kritzel-shape-fill/kritzel-shape-fill.js +4 -4
- package/dist/collection/components/kritzel-share-dialog/kritzel-share-dialog.css +150 -150
- package/dist/collection/components/kritzel-share-dialog/kritzel-share-dialog.js +2 -2
- package/dist/collection/components/kritzel-slide-toggle/kritzel-slide-toggle.css +48 -48
- package/dist/collection/components/kritzel-slide-toggle/kritzel-slide-toggle.js +1 -1
- package/dist/collection/components/kritzel-split-button/kritzel-split-button.css +78 -78
- package/dist/collection/components/kritzel-split-button/kritzel-split-button.js +3 -3
- package/dist/collection/components/kritzel-stroke-size/kritzel-stroke-size.css +37 -37
- package/dist/collection/components/kritzel-stroke-size/kritzel-stroke-size.js +1 -1
- package/dist/collection/components/kritzel-tool-config/kritzel-tool-config.css +38 -38
- package/dist/collection/components/kritzel-tool-config/kritzel-tool-config.js +1 -1
- package/dist/collection/components/kritzel-toolbar/kritzel-toolbar.css +347 -347
- package/dist/collection/components/kritzel-toolbar/kritzel-toolbar.js +12 -16
- package/dist/collection/components/kritzel-tooltip/kritzel-tooltip.css +18 -18
- package/dist/collection/components/kritzel-tooltip/kritzel-tooltip.js +2 -2
- package/dist/collection/components/kritzel-utility-panel/kritzel-utility-panel.css +45 -45
- package/dist/collection/components/kritzel-utility-panel/kritzel-utility-panel.js +1 -1
- package/dist/collection/components/kritzel-workspace-manager/kritzel-workspace-manager.css +16 -16
- package/dist/collection/components/kritzel-workspace-manager/kritzel-workspace-manager.js +1 -1
- package/dist/collection/components/kritzel-zoom-panel/kritzel-zoom-panel.css +72 -72
- package/dist/collection/components/kritzel-zoom-panel/kritzel-zoom-panel.js +1 -1
- package/dist/components/index.js +1 -1
- 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-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 +108 -81
- 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-tool-config.js +1 -1
- package/dist/components/kritzel-toolbar.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-CrIEmItB.js → p-2DAZSvN6.js} +5 -5
- package/dist/components/{p-CmjXRLdr.js → p-2gylYpXk.js} +7 -7
- package/dist/components/{p-BN8VWPlq.js → p-B-Divd0Q.js} +7 -7
- package/dist/components/{p-R1D8Sr0l.js → p-B-U13Ew1.js} +3 -3
- package/dist/components/{p-BZ_KnHdR.js → p-B1rmcPZr.js} +7 -7
- package/dist/components/{p-B_gT0lCn.js → p-B2-SxV8E.js} +3 -3
- package/dist/components/p-B6Z_VKKH.js +214 -0
- package/dist/components/{p-CVxGF4bJ.js → p-B8tHdknP.js} +5 -5
- package/dist/components/{p-CoNexfpB.js → p-BDsuJNT_.js} +3 -3
- package/dist/components/{p-BvG3JO85.js → p-BMi-i7sC.js} +3 -3
- package/dist/components/{p-Cy_cLtOP.js → p-BZ0ReYAA.js} +18 -14
- package/dist/components/{p-DZsSiMnA.js → p-BeCy6w6M.js} +770 -173
- package/dist/components/{p-4-qLegHb.js → p-Bipc1XvF.js} +4 -4
- package/dist/components/{p-CS3YZVYE.js → p-BmFJelgk.js} +2 -2
- package/dist/components/{p-DqOC_Yck.js → p-BpvSYxxN.js} +6 -6
- package/dist/components/{p-peZjvnkK.js → p-C0ns8IPO.js} +2 -2
- package/dist/components/{p-ClfOtiNp.js → p-C1_r9nJU.js} +3 -3
- package/dist/components/{p-GbCxpbQ6.js → p-C2ySiAXO.js} +3 -3
- package/dist/components/{p-B3Tqoyl9.js → p-C3KlONnT.js} +3 -3
- package/dist/components/{p-B5xYV1o3.js → p-C68YXjuL.js} +2 -2
- package/dist/components/{p-DJxgPPfs.js → p-CCuNN278.js} +3 -3
- package/dist/components/{p-Ds0uNtwQ.js → p-CNH7N3Aq.js} +4 -4
- package/dist/components/{p-DVv8ChhE.js → p-CO1cJlfg.js} +4 -4
- package/dist/components/{p-Cp4e4oTE.js → p-CqHKGLYE.js} +2 -2
- package/dist/components/{p-Blq9a1ni.js → p-CrEWqua9.js} +6 -6
- package/dist/components/{p-CvaxFYS0.js → p-Cv2nqOL8.js} +8 -8
- package/dist/components/{p-CzUeIini.js → p-D-1ixLxq.js} +13 -13
- package/dist/components/{p-BfMlwIcG.js → p-DF8p-DxR.js} +3 -3
- package/dist/components/{p-QEue33R5.js → p-DQ3VKzAS.js} +3 -3
- package/dist/components/{p-Ckqh1tqY.js → p-DRe-rTlX.js} +27 -31
- package/dist/components/{p-McY5wZ0h.js → p-DSyb29RF.js} +2 -2
- package/dist/components/{p-D0tPTPkR.js → p-DYDruZIw.js} +3 -3
- package/dist/components/{p-kOINnzaR.js → p-D_JxJxQ6.js} +7 -7
- package/dist/components/{p-BDjRSoAc.js → p-Dko_6jIh.js} +2 -2
- package/dist/components/{p-BjFrt1q0.js → p-DnHvqeyr.js} +3 -3
- package/dist/components/{p-BrGJIoGK.js → p-DqMikMrS.js} +3 -3
- package/dist/components/p-DsnHq8en.js +55 -0
- package/dist/components/{p-DXZBWJBt.js → p-DxFNLy9X.js} +4 -4
- package/dist/components/{p-5qkOM1RJ.js → p-Dzr6X2aj.js} +16 -4
- package/dist/components/{p-DXuf225S.js → p-HbHo7awi.js} +3 -3
- package/dist/components/{p-CwBxnzYu.js → p-Qbk7xE91.js} +3 -3
- package/dist/components/{p-h_uh_Njf.js → p-VYGV0cr3.js} +3 -3
- package/dist/components/{p-DyRJFg4w.js → p-YGBl60lb.js} +2 -2
- package/dist/components/{p-hQwVRh0t.js → p-clFfXKKn.js} +7 -7
- package/dist/components/{p-SLnqczCS.js → p-dUcCDLDF.js} +3 -3
- package/dist/components/{p-B6UJztrf.js → p-kXnNX65j.js} +4 -4
- package/dist/esm/{index-OjbYJz-P.js → index-YR-6hzAW.js} +27 -10
- package/dist/esm/kritzel-active-users_46.entry.js +1029 -366
- package/dist/esm/kritzel-brush-style.entry.js +2 -2
- package/dist/esm/kritzel-editor.js +4 -4
- package/dist/esm/loader.js +3 -3
- package/dist/kritzel-editor/kritzel-editor.esm.js +4 -4
- package/dist/kritzel-editor/{p-501047d8.entry.js → p-3a0f60b0.entry.js} +2 -2
- package/dist/kritzel-editor/{p-OjbYJz-P.js → p-YR-6hzAW.js} +27 -10
- package/dist/kritzel-editor/{p-60319edb.entry.js → p-adc45d46.entry.js} +1029 -366
- package/dist/types/components/kritzel-editor/kritzel-editor.d.ts +9 -2
- package/dist/types/components.d.ts +15 -15
- package/dist/types/stencil-public-runtime.d.ts +61 -55
- package/package.json +3 -3
- package/dist/components/p-BGmTmdLe.js +0 -167
- package/dist/components/p-DOJCDPVD.js +0 -55
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
|
|
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.
|
|
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
|
+
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.
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# @kritzel/editor
|
|
2
|
-
|
|
3
|
-
Core editor package slot for the Kritzel editor UI.
|
|
4
|
-
|
|
5
|
-
This package is intentionally private until `kritzel-editor` and the editor UI components are extracted from `libs/engine/core`.
|
|
1
|
+
# @kritzel/editor
|
|
2
|
+
|
|
3
|
+
Core editor package slot for the Kritzel editor UI.
|
|
4
|
+
|
|
5
|
+
This package is intentionally private until `kritzel-editor` and the editor UI components are extracted from `libs/engine/core`.
|
|
@@ -22,7 +22,7 @@ const NAMESPACE = 'kritzel-editor';
|
|
|
22
22
|
const BUILD = /* kritzel-editor */ { 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.45.1 | MIT Licensed | https://stenciljs.com
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
28
|
|
|
@@ -929,7 +929,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
929
929
|
if (idxInOld >= 0) {
|
|
930
930
|
elmToMove = oldCh[idxInOld];
|
|
931
931
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
932
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2,
|
|
932
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
|
|
933
933
|
} else {
|
|
934
934
|
patch(elmToMove, newStartVnode, isInitialRender);
|
|
935
935
|
oldCh[idxInOld] = void 0;
|
|
@@ -1224,6 +1224,17 @@ var postUpdateComponent = (hostRef) => {
|
|
|
1224
1224
|
hostRef.$flags$ &= -517;
|
|
1225
1225
|
}
|
|
1226
1226
|
};
|
|
1227
|
+
var forceUpdate = (ref) => {
|
|
1228
|
+
var _a;
|
|
1229
|
+
{
|
|
1230
|
+
const hostRef = getHostRef(ref);
|
|
1231
|
+
const isConnected = (_a = hostRef == null ? void 0 : hostRef.$hostElement$) == null ? void 0 : _a.isConnected;
|
|
1232
|
+
if (isConnected && (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1233
|
+
scheduleUpdate(hostRef, false);
|
|
1234
|
+
}
|
|
1235
|
+
return isConnected;
|
|
1236
|
+
}
|
|
1237
|
+
};
|
|
1227
1238
|
var appDidLoad = (who) => {
|
|
1228
1239
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
1229
1240
|
};
|
|
@@ -1372,21 +1383,26 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1372
1383
|
}
|
|
1373
1384
|
return;
|
|
1374
1385
|
}
|
|
1375
|
-
const
|
|
1386
|
+
const parsedValue = parsePropertyValue(
|
|
1387
|
+
newValue,
|
|
1388
|
+
memberFlags);
|
|
1389
|
+
const setterSetVal = (val) => {
|
|
1376
1390
|
const currentValue = ref.$lazyInstance$[memberName];
|
|
1377
1391
|
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1378
1392
|
ref.$instanceValues$.set(memberName, currentValue);
|
|
1379
1393
|
}
|
|
1380
|
-
ref.$lazyInstance$[memberName] =
|
|
1381
|
-
newValue,
|
|
1382
|
-
memberFlags);
|
|
1394
|
+
ref.$lazyInstance$[memberName] = val;
|
|
1383
1395
|
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1384
1396
|
};
|
|
1385
1397
|
if (ref.$lazyInstance$) {
|
|
1386
|
-
setterSetVal();
|
|
1398
|
+
setterSetVal(parsedValue);
|
|
1387
1399
|
} else {
|
|
1400
|
+
ref.$instanceValues$.set(memberName, parsedValue);
|
|
1388
1401
|
ref.$fetchedCbList$.push(() => {
|
|
1389
|
-
|
|
1402
|
+
const pendingValue = ref.$instanceValues$.get(memberName);
|
|
1403
|
+
if (ref.$lazyInstance$[memberName] !== pendingValue) {
|
|
1404
|
+
setterSetVal(pendingValue);
|
|
1405
|
+
}
|
|
1390
1406
|
});
|
|
1391
1407
|
}
|
|
1392
1408
|
}
|
|
@@ -1445,8 +1461,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1445
1461
|
if (isBooleanTarget) {
|
|
1446
1462
|
newValue = newValue === null || newValue === "false" ? false : true;
|
|
1447
1463
|
}
|
|
1464
|
+
const currentValue = propMemberFlags & 4096 /* Setter */ ? hostRef.$instanceValues$.get(propName) : this[propName];
|
|
1448
1465
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
1449
|
-
if (!isSpuriousBooleanRemoval && newValue !=
|
|
1466
|
+
if (!isSpuriousBooleanRemoval && newValue != currentValue && (!propDesc.get || !!propDesc.set)) {
|
|
1450
1467
|
this[propName] = newValue;
|
|
1451
1468
|
}
|
|
1452
1469
|
});
|
|
@@ -1827,6 +1844,7 @@ function transformTag(tag) {
|
|
|
1827
1844
|
exports.Host = Host;
|
|
1828
1845
|
exports.bootstrapLazy = bootstrapLazy;
|
|
1829
1846
|
exports.createEvent = createEvent;
|
|
1847
|
+
exports.forceUpdate = forceUpdate;
|
|
1830
1848
|
exports.getElement = getElement;
|
|
1831
1849
|
exports.h = h;
|
|
1832
1850
|
exports.promiseResolve = promiseResolve;
|