@wix/editor-react-components 1.2336.0 → 1.2338.0
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Translations } from './translations/consts';
|
|
2
|
-
import { PresetConfigKey, PresetScope } from './patterns.types';
|
|
2
|
+
import { PATTERN_SCOPE_VALUES, PresetConfigKey, PresetScope } from './patterns.types';
|
|
3
|
+
import { SVGProps, JSX } from 'react';
|
|
3
4
|
export { MAX_PATTERNS, PatternConfig } from './patterns.config';
|
|
4
5
|
export declare const PATTERN_RANGES: {
|
|
5
6
|
readonly rotation: {
|
|
@@ -39,20 +40,11 @@ export declare const dataHooks: {
|
|
|
39
40
|
readonly rotationPatternInput: "patterns-rotation-pattern-input";
|
|
40
41
|
readonly offsetPatternInput: "patterns-offset-pattern-input";
|
|
41
42
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
readonly dataHook: "patterns-scope-character";
|
|
50
|
-
readonly titleKey: "scopeLetter";
|
|
51
|
-
readonly image: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
52
|
-
}, {
|
|
53
|
-
readonly scope: "word";
|
|
54
|
-
readonly dataHook: "patterns-scope-word";
|
|
55
|
-
readonly titleKey: "scopeWord";
|
|
56
|
-
readonly image: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
57
|
-
}];
|
|
43
|
+
type ScopeOption = {
|
|
44
|
+
scope: (typeof PATTERN_SCOPE_VALUES)[keyof typeof PATTERN_SCOPE_VALUES];
|
|
45
|
+
dataHook: string;
|
|
46
|
+
titleKey: keyof Translations;
|
|
47
|
+
image: string | ((props: SVGProps<SVGSVGElement>) => JSX.Element);
|
|
48
|
+
};
|
|
49
|
+
export declare const scopeOptions: Array<ScopeOption>;
|
|
58
50
|
export declare const PRESET_TRANSLATION_KEYS: Record<PresetConfigKey, keyof Translations>;
|
|
@@ -1,64 +1,65 @@
|
|
|
1
|
+
var _a, _b;
|
|
1
2
|
import { extensions, app } from "@wix/astro/builders";
|
|
2
|
-
import manifest from "./AccordionComponent/manifest.js";
|
|
3
|
-
import manifest$
|
|
4
|
-
import manifest$
|
|
5
|
-
import manifest$
|
|
6
|
-
import manifest$
|
|
7
|
-
import manifest$
|
|
8
|
-
import manifest$
|
|
9
|
-
import manifest$
|
|
10
|
-
import manifest$
|
|
11
|
-
import manifest$
|
|
12
|
-
import manifest$
|
|
13
|
-
import manifest$
|
|
14
|
-
import manifest$
|
|
3
|
+
import manifest$W from "./AccordionComponent/manifest.js";
|
|
4
|
+
import manifest$V from "./AnimatedIcon/manifest.js";
|
|
5
|
+
import manifest$U from "./AudioPlayer/manifest.js";
|
|
6
|
+
import manifest$T from "./BoxContainer/manifest.js";
|
|
7
|
+
import manifest$S from "./Breadcrumbs/manifest.js";
|
|
8
|
+
import manifest$R from "./Button/manifest.js";
|
|
9
|
+
import manifest$Q from "./Checkbox/manifest.js";
|
|
10
|
+
import manifest$P from "./CheckboxGroup/manifest.js";
|
|
11
|
+
import manifest$O from "./CollapsibleText/manifest.js";
|
|
12
|
+
import manifest$N from "./DatePicker/manifest.js";
|
|
13
|
+
import manifest$M from "./Dropdown/manifest.js";
|
|
14
|
+
import manifest$L from "./GoogleMap/manifest.js";
|
|
15
|
+
import manifest$K from "./HipaaIcon/manifest.js";
|
|
15
16
|
import { H as HIPAA_SETTINGS_PANEL_ID } from "./chunks/constants30.js";
|
|
16
|
-
import manifest$
|
|
17
|
-
import manifest$
|
|
18
|
-
import manifest$
|
|
19
|
-
import manifest$
|
|
20
|
-
import manifest$
|
|
21
|
-
import manifest$
|
|
22
|
-
import manifest$
|
|
23
|
-
import manifest$
|
|
24
|
-
import manifest$
|
|
25
|
-
import manifest$
|
|
26
|
-
import manifest$
|
|
27
|
-
import manifest$
|
|
28
|
-
import manifest$
|
|
29
|
-
import manifest$
|
|
30
|
-
import manifest$
|
|
31
|
-
import manifest$
|
|
17
|
+
import manifest$J from "./HTMLComponent/manifest.js";
|
|
18
|
+
import manifest$I from "./Image3/manifest.js";
|
|
19
|
+
import manifest$H from "./LegacyAppWidget/manifest.js";
|
|
20
|
+
import manifest$G from "./LegacyContainer/manifest.js";
|
|
21
|
+
import manifest$F from "./LegacyMultiStateBox/manifest.js";
|
|
22
|
+
import manifest$E from "./Line/manifest.js";
|
|
23
|
+
import manifest$D from "./LinkBar/manifest.js";
|
|
24
|
+
import manifest$C from "./Lottie/manifest.js";
|
|
25
|
+
import manifest$B from "./Logo/manifest.js";
|
|
26
|
+
import manifest$A from "./Menu/manifest.js";
|
|
27
|
+
import manifest$z from "./MultiStateBox/manifest.js";
|
|
28
|
+
import manifest$y from "./ProgressBar/manifest.js";
|
|
29
|
+
import manifest$x from "./Repeater/manifest.js";
|
|
30
|
+
import manifest$w from "./ShareButtons/manifest.js";
|
|
31
|
+
import manifest$v from "./SiteLogo/manifest.js";
|
|
32
|
+
import manifest$u from "./SlotsPlaceholder/manifest.js";
|
|
32
33
|
import manifest$t from "./Slideshow/manifest.js";
|
|
33
|
-
import manifest$
|
|
34
|
-
import manifest$
|
|
35
|
-
import manifest$
|
|
36
|
-
import manifest$
|
|
37
|
-
import manifest$
|
|
38
|
-
import manifest$
|
|
39
|
-
import manifest$
|
|
40
|
-
import manifest$
|
|
41
|
-
import manifest$
|
|
42
|
-
import manifest$
|
|
43
|
-
import manifest$
|
|
44
|
-
import manifest$
|
|
45
|
-
import manifest$
|
|
46
|
-
import manifest$
|
|
47
|
-
import manifest$
|
|
48
|
-
import manifest$
|
|
49
|
-
import manifest$
|
|
50
|
-
import manifest$
|
|
51
|
-
import manifest$
|
|
52
|
-
import manifest$
|
|
53
|
-
import manifest$
|
|
54
|
-
import manifest$
|
|
55
|
-
import manifest$
|
|
56
|
-
import manifest$
|
|
57
|
-
import manifest$
|
|
58
|
-
import manifest$
|
|
59
|
-
import manifest$
|
|
60
|
-
import manifest$
|
|
61
|
-
import manifest
|
|
34
|
+
import manifest$s from "./SocialPlayerFacebook/manifest.js";
|
|
35
|
+
import manifest$r from "./SocialPlayerInstagram/manifest.js";
|
|
36
|
+
import manifest$q from "./SocialPlayerSnapchat/manifest.js";
|
|
37
|
+
import manifest$p from "./SocialPlayerTikTok/manifest.js";
|
|
38
|
+
import manifest$o from "./SocialPlayerVimeo/manifest.js";
|
|
39
|
+
import manifest$n from "./SocialPlayerYoutube/manifest.js";
|
|
40
|
+
import manifest$m from "./SvgImage/manifest.js";
|
|
41
|
+
import manifest$l from "./Tabs/manifest.js";
|
|
42
|
+
import manifest$k from "./TestComp/manifest.js";
|
|
43
|
+
import manifest$j from "./TextBox/manifest.js";
|
|
44
|
+
import manifest$i from "./TextEffects3d/manifest.js";
|
|
45
|
+
import manifest$h from "./TextEffectsBauhaus/manifest.js";
|
|
46
|
+
import manifest$g from "./TextEffectsGlass/manifest.js";
|
|
47
|
+
import manifest$f from "./TextEffectsGlitch/manifest.js";
|
|
48
|
+
import manifest$e from "./TextEffectsLetterPress/manifest.js";
|
|
49
|
+
import manifest$d from "./TextEffectsMatrix/manifest.js";
|
|
50
|
+
import manifest$c from "./TextEffectsNeonSign/manifest.js";
|
|
51
|
+
import manifest$b from "./TextEffectsNoisy/manifest.js";
|
|
52
|
+
import manifest$a from "./TextEffectsOutlineOut/manifest.js";
|
|
53
|
+
import manifest$9 from "./TextEffectsRetro/manifest.js";
|
|
54
|
+
import manifest$8 from "./TextEffectsShook/manifest.js";
|
|
55
|
+
import manifest$7 from "./TextEffectsSticker/manifest.js";
|
|
56
|
+
import manifest$6 from "./TextEffectsStriped/manifest.js";
|
|
57
|
+
import manifest$5 from "./TextInput/manifest.js";
|
|
58
|
+
import manifest$4 from "./TextMarquee/manifest.js";
|
|
59
|
+
import manifest$3 from "./TimePicker/manifest.js";
|
|
60
|
+
import manifest$2 from "./TransparentVideo/manifest.js";
|
|
61
|
+
import manifest$1 from "./VideoUpload/manifest.js";
|
|
62
|
+
import manifest from "./WRichText/manifest.js";
|
|
62
63
|
const animatedIconPanelExtension = extensions.editorReactComponentPanel({
|
|
63
64
|
id: "d8d9ddca-d5e4-453a-bd36-7deb8b302d26",
|
|
64
65
|
displayName: "Animated Icon",
|
|
@@ -479,244 +480,123 @@ const videoUploadPanelExtension = extensions.editorReactComponentPanel({
|
|
|
479
480
|
width: "UNKNOWN_WIDTH"
|
|
480
481
|
}
|
|
481
482
|
});
|
|
482
|
-
const
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
).
|
|
587
|
-
extensions.editorReactComponent(
|
|
588
|
-
manifest$q
|
|
589
|
-
)
|
|
590
|
-
).use(
|
|
591
|
-
extensions.editorReactComponent(
|
|
592
|
-
manifest$r
|
|
593
|
-
)
|
|
594
|
-
).use(
|
|
595
|
-
extensions.editorReactComponent(
|
|
596
|
-
manifest$s
|
|
597
|
-
)
|
|
598
|
-
).use(
|
|
599
|
-
extensions.editorReactComponent(
|
|
600
|
-
manifest$t
|
|
601
|
-
)
|
|
602
|
-
).use(
|
|
603
|
-
extensions.editorReactComponent(
|
|
604
|
-
manifest$u
|
|
605
|
-
)
|
|
606
|
-
).use(
|
|
607
|
-
extensions.editorReactComponent(
|
|
608
|
-
manifest$v
|
|
609
|
-
)
|
|
610
|
-
).use(
|
|
611
|
-
extensions.editorReactComponent(
|
|
612
|
-
manifest$w
|
|
613
|
-
)
|
|
614
|
-
).use(
|
|
615
|
-
extensions.editorReactComponent(
|
|
616
|
-
manifest$x
|
|
617
|
-
)
|
|
618
|
-
).use(
|
|
619
|
-
extensions.editorReactComponent(
|
|
620
|
-
manifest$y
|
|
621
|
-
)
|
|
622
|
-
).use(
|
|
623
|
-
extensions.editorReactComponent(
|
|
624
|
-
manifest$z
|
|
625
|
-
)
|
|
626
|
-
).use(
|
|
627
|
-
extensions.editorReactComponent(
|
|
628
|
-
manifest$A
|
|
629
|
-
)
|
|
630
|
-
).use(
|
|
631
|
-
extensions.editorReactComponent(
|
|
632
|
-
manifest$B
|
|
633
|
-
)
|
|
634
|
-
).use(
|
|
635
|
-
extensions.editorReactComponent(
|
|
636
|
-
manifest$C
|
|
637
|
-
)
|
|
638
|
-
).use(
|
|
639
|
-
extensions.editorReactComponent(
|
|
640
|
-
manifest$D
|
|
641
|
-
)
|
|
642
|
-
).use(
|
|
643
|
-
extensions.editorReactComponent(
|
|
644
|
-
manifest$E
|
|
645
|
-
)
|
|
646
|
-
).use(
|
|
647
|
-
extensions.editorReactComponent(
|
|
648
|
-
manifest$F
|
|
649
|
-
)
|
|
650
|
-
).use(
|
|
651
|
-
extensions.editorReactComponent(
|
|
652
|
-
manifest$G
|
|
653
|
-
)
|
|
654
|
-
).use(
|
|
655
|
-
extensions.editorReactComponent(
|
|
656
|
-
manifest$H
|
|
657
|
-
)
|
|
658
|
-
).use(
|
|
659
|
-
extensions.editorReactComponent(
|
|
660
|
-
manifest$I
|
|
661
|
-
)
|
|
662
|
-
).use(
|
|
663
|
-
extensions.editorReactComponent(
|
|
664
|
-
manifest$J
|
|
665
|
-
)
|
|
666
|
-
).use(
|
|
667
|
-
extensions.editorReactComponent(
|
|
668
|
-
manifest$K
|
|
669
|
-
)
|
|
670
|
-
).use(
|
|
671
|
-
extensions.editorReactComponent(
|
|
672
|
-
manifest$L
|
|
673
|
-
)
|
|
674
|
-
).use(
|
|
675
|
-
extensions.editorReactComponent(
|
|
676
|
-
manifest$M
|
|
677
|
-
)
|
|
678
|
-
).use(
|
|
679
|
-
extensions.editorReactComponent(
|
|
680
|
-
manifest$N
|
|
681
|
-
)
|
|
682
|
-
).use(
|
|
683
|
-
extensions.editorReactComponent(
|
|
684
|
-
manifest$O
|
|
685
|
-
)
|
|
686
|
-
).use(
|
|
687
|
-
extensions.editorReactComponent(
|
|
688
|
-
manifest$P
|
|
689
|
-
)
|
|
690
|
-
).use(
|
|
691
|
-
extensions.editorReactComponent(
|
|
692
|
-
manifest$Q
|
|
693
|
-
)
|
|
694
|
-
).use(
|
|
695
|
-
extensions.editorReactComponent(
|
|
696
|
-
manifest$R
|
|
697
|
-
)
|
|
698
|
-
).use(
|
|
699
|
-
extensions.editorReactComponent(
|
|
700
|
-
manifest$S
|
|
701
|
-
)
|
|
702
|
-
).use(
|
|
703
|
-
extensions.editorReactComponent(
|
|
704
|
-
manifest$T
|
|
705
|
-
)
|
|
706
|
-
).use(
|
|
707
|
-
extensions.editorReactComponent(
|
|
708
|
-
manifest$U
|
|
709
|
-
)
|
|
710
|
-
).use(
|
|
711
|
-
extensions.editorReactComponent(
|
|
712
|
-
manifest$V
|
|
713
|
-
)
|
|
714
|
-
).use(
|
|
715
|
-
extensions.editorReactComponent(
|
|
716
|
-
manifest$W
|
|
717
|
-
)
|
|
483
|
+
const componentManifests = {
|
|
484
|
+
AccordionComponent: manifest$W,
|
|
485
|
+
AnimatedIcon: manifest$V,
|
|
486
|
+
AudioPlayer: manifest$U,
|
|
487
|
+
BoxContainer: manifest$T,
|
|
488
|
+
Breadcrumbs: manifest$S,
|
|
489
|
+
Button: manifest$R,
|
|
490
|
+
Checkbox: manifest$Q,
|
|
491
|
+
CheckboxGroup: manifest$P,
|
|
492
|
+
CollapsibleText: manifest$O,
|
|
493
|
+
DatePicker: manifest$N,
|
|
494
|
+
Dropdown: manifest$M,
|
|
495
|
+
GoogleMap: manifest$L,
|
|
496
|
+
HipaaIcon: manifest$K,
|
|
497
|
+
HTMLComponent: manifest$J,
|
|
498
|
+
Image3: manifest$I,
|
|
499
|
+
LegacyAppWidget: manifest$H,
|
|
500
|
+
LegacyContainer: manifest$G,
|
|
501
|
+
LegacyMultiStateBox: manifest$F,
|
|
502
|
+
Line: manifest$E,
|
|
503
|
+
LinkBar: manifest$D,
|
|
504
|
+
Lottie: manifest$C,
|
|
505
|
+
Logo: manifest$B,
|
|
506
|
+
Menu: manifest$A,
|
|
507
|
+
MultiStateBox: manifest$z,
|
|
508
|
+
ProgressBar: manifest$y,
|
|
509
|
+
Repeater: manifest$x,
|
|
510
|
+
ShareButtons: manifest$w,
|
|
511
|
+
SiteLogo: manifest$v,
|
|
512
|
+
SlotsPlaceholder: manifest$u,
|
|
513
|
+
Slideshow: manifest$t,
|
|
514
|
+
SocialPlayerFacebook: manifest$s,
|
|
515
|
+
SocialPlayerInstagram: manifest$r,
|
|
516
|
+
SocialPlayerSnapchat: manifest$q,
|
|
517
|
+
SocialPlayerTikTok: manifest$p,
|
|
518
|
+
SocialPlayerVimeo: manifest$o,
|
|
519
|
+
SocialPlayerYoutube: manifest$n,
|
|
520
|
+
SvgImage: manifest$m,
|
|
521
|
+
Tabs: manifest$l,
|
|
522
|
+
TestComp: manifest$k,
|
|
523
|
+
TextBox: manifest$j,
|
|
524
|
+
TextEffects3d: manifest$i,
|
|
525
|
+
TextEffectsBauhaus: manifest$h,
|
|
526
|
+
TextEffectsGlass: manifest$g,
|
|
527
|
+
TextEffectsGlitch: manifest$f,
|
|
528
|
+
TextEffectsLetterPress: manifest$e,
|
|
529
|
+
TextEffectsMatrix: manifest$d,
|
|
530
|
+
TextEffectsNeonSign: manifest$c,
|
|
531
|
+
TextEffectsNoisy: manifest$b,
|
|
532
|
+
TextEffectsOutlineOut: manifest$a,
|
|
533
|
+
TextEffectsRetro: manifest$9,
|
|
534
|
+
TextEffectsShook: manifest$8,
|
|
535
|
+
TextEffectsSticker: manifest$7,
|
|
536
|
+
TextEffectsStriped: manifest$6,
|
|
537
|
+
TextInput: manifest$5,
|
|
538
|
+
TextMarquee: manifest$4,
|
|
539
|
+
TimePicker: manifest$3,
|
|
540
|
+
TransparentVideo: manifest$2,
|
|
541
|
+
VideoUpload: manifest$1,
|
|
542
|
+
WRichText: manifest
|
|
543
|
+
};
|
|
544
|
+
const panelExtensions = {
|
|
545
|
+
animatedIconPanelExtension,
|
|
546
|
+
googleMapManageLocationsPanelExtension,
|
|
547
|
+
hipaaIconSettingsPanelExtension,
|
|
548
|
+
htmlComponentPanelExtension,
|
|
549
|
+
maskPanelExtension,
|
|
550
|
+
lineFormatPanelExtension,
|
|
551
|
+
linkBarOrientationPanelExtension,
|
|
552
|
+
logoCustomizePanelExtension,
|
|
553
|
+
menuFormatPanelExtension,
|
|
554
|
+
repeaterFormatPanelExtension,
|
|
555
|
+
shareButtonsFormatPanelExtension,
|
|
556
|
+
shareButtonsManagePanelExtension,
|
|
557
|
+
siteLogoCustomizePanelExtension,
|
|
558
|
+
socialPlayerFacebookSettingsPanelExtension,
|
|
559
|
+
socialPlayerInstagramSettingsPanelExtension,
|
|
560
|
+
socialPlayerSnapchatSettingsPanelExtension,
|
|
561
|
+
socialPlayerTikTokSettingsPanelExtension,
|
|
562
|
+
socialPlayerVimeoSettingsPanelExtension,
|
|
563
|
+
socialPlayerYoutubeSettingsPanelExtension,
|
|
564
|
+
svgImageSvgColorsPanelExtension,
|
|
565
|
+
textEffectsTextTwistPanelExtension,
|
|
566
|
+
textEffectsBauhausPatternsPanelExtension,
|
|
567
|
+
textEffectsGlassPatternsPanelExtension,
|
|
568
|
+
textEffectsGlitchPatternsPanelExtension,
|
|
569
|
+
textEffectsLetterPressPatternsPanelExtension,
|
|
570
|
+
textEffectsMatrixPatternsPanelExtension,
|
|
571
|
+
textEffectsNeonSignPatternsPanelExtension,
|
|
572
|
+
textEffectsNoisyPatternsPanelExtension,
|
|
573
|
+
textEffectsOutlineOutPatternsPanelExtension,
|
|
574
|
+
textEffectsRetroPatternsPanelExtension,
|
|
575
|
+
textEffectsShookPatternsPanelExtension,
|
|
576
|
+
textEffectsStickerPatternsPanelExtension,
|
|
577
|
+
textMarqueePanelExtension,
|
|
578
|
+
transparentVideoPanelExtension,
|
|
579
|
+
videoUploadPanelExtension
|
|
580
|
+
};
|
|
581
|
+
const environment = typeof process === "undefined" ? {} : process.env;
|
|
582
|
+
const isComponentSelectionEnabled = environment.ERC_DEV_COMPONENT_SELECTION === "1";
|
|
583
|
+
const selectedComponents = new Set(
|
|
584
|
+
(_a = environment.ERC_DEV_COMPONENTS) == null ? void 0 : _a.split(",").filter(Boolean)
|
|
585
|
+
);
|
|
586
|
+
const selectedPanels = new Set(
|
|
587
|
+
(_b = environment.ERC_DEV_PANELS) == null ? void 0 : _b.split(",").filter(Boolean)
|
|
718
588
|
);
|
|
719
|
-
appConfig
|
|
589
|
+
const appConfig = app();
|
|
590
|
+
for (const [name, manifest2] of Object.entries(componentManifests)) {
|
|
591
|
+
if (!isComponentSelectionEnabled || selectedComponents.has(name)) {
|
|
592
|
+
appConfig.use(extensions.editorReactComponent(manifest2));
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
for (const [name, extension] of Object.entries(panelExtensions)) {
|
|
596
|
+
if (!isComponentSelectionEnabled || selectedPanels.has(name)) {
|
|
597
|
+
appConfig.use(extension);
|
|
598
|
+
}
|
|
599
|
+
}
|
|
720
600
|
export {
|
|
721
601
|
appConfig as default
|
|
722
602
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2338.0",
|
|
4
4
|
"description": "React components for the Wix Editor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"build:app": "astro check && wix build",
|
|
40
40
|
"build:lite": "yarn validate:manifests && yarn build:app",
|
|
41
41
|
"dev": "yarn validate:manifests && yarn cli-dev",
|
|
42
|
+
"dev:component": "node scripts/dev-component.mjs",
|
|
42
43
|
"clean": "rm -rf dist",
|
|
43
44
|
"generate": "wix generate",
|
|
44
45
|
"preview": "NODE_OPTIONS=\"--import $PWD/scripts/intercept.js\" wix preview",
|
|
@@ -76,6 +77,7 @@
|
|
|
76
77
|
"@vimeo/player": "^2.20.1",
|
|
77
78
|
"@vis.gl/react-google-maps": "^1.5.2",
|
|
78
79
|
"@wix/ambassador-devcenter-v1-component-type-data": "^1.0.436",
|
|
80
|
+
"@wix/design-system-illustrations": "^2.19.0",
|
|
79
81
|
"@wix/sdk": "^1.21.13",
|
|
80
82
|
"@wix/services-manager-react": "^0.1.27",
|
|
81
83
|
"@wix/site-ui": "1.156.0",
|
|
@@ -197,5 +199,5 @@
|
|
|
197
199
|
"registry": "https://registry.npmjs.org/",
|
|
198
200
|
"access": "public"
|
|
199
201
|
},
|
|
200
|
-
"falconPackageHash": "
|
|
202
|
+
"falconPackageHash": "58e054428404468f4607c6c9eeba59deea4f03f0a55fb4e95dc5d0a6"
|
|
201
203
|
}
|