@social-mail/social-mail-client 1.2.365 → 1.2.367
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/dist/admin/AdminAppIndex.pack.js +134 -481
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +114 -451
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/pages/stores/products/EditProductDetailPage.d.ts.map +1 -1
- package/dist/common/pages/stores/products/EditProductDetailPage.js +7 -7
- package/dist/common/pages/stores/products/EditProductDetailPage.js.map +1 -1
- package/dist/site-editor/blocks/Billboard.d.ts.map +1 -1
- package/dist/site-editor/blocks/Billboard.js +0 -37
- package/dist/site-editor/blocks/Billboard.js.map +1 -1
- package/dist/site-editor/blocks/Block.js +81 -0
- package/dist/site-editor/blocks/Block.js.map +1 -1
- package/dist/site-editor/blocks/Card.d.ts.map +1 -1
- package/dist/site-editor/blocks/Card.js +0 -37
- package/dist/site-editor/blocks/Card.js.map +1 -1
- package/dist/site-editor/blocks/Carousel.d.ts.map +1 -1
- package/dist/site-editor/blocks/Carousel.js +0 -20
- package/dist/site-editor/blocks/Carousel.js.map +1 -1
- package/dist/site-editor/blocks/ColumnBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/ColumnBox.js +0 -18
- package/dist/site-editor/blocks/ColumnBox.js.map +1 -1
- package/dist/site-editor/blocks/Columns2.d.ts.map +1 -1
- package/dist/site-editor/blocks/Columns2.js +0 -19
- package/dist/site-editor/blocks/Columns2.js.map +1 -1
- package/dist/site-editor/blocks/Columns3.d.ts.map +1 -1
- package/dist/site-editor/blocks/Columns3.js +0 -19
- package/dist/site-editor/blocks/Columns3.js.map +1 -1
- package/dist/site-editor/blocks/ImageBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/ImageBox.js +15 -28
- package/dist/site-editor/blocks/ImageBox.js.map +1 -1
- package/dist/site-editor/blocks/ImageCard.d.ts.map +1 -1
- package/dist/site-editor/blocks/ImageCard.js +0 -37
- package/dist/site-editor/blocks/ImageCard.js.map +1 -1
- package/dist/site-editor/blocks/ImageGallery.d.ts.map +1 -1
- package/dist/site-editor/blocks/ImageGallery.js +0 -20
- package/dist/site-editor/blocks/ImageGallery.js.map +1 -1
- package/dist/site-editor/blocks/InjectBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/InjectBox.js +0 -20
- package/dist/site-editor/blocks/InjectBox.js.map +1 -1
- package/dist/site-editor/blocks/MarqueeText.d.ts.map +1 -1
- package/dist/site-editor/blocks/MarqueeText.js +2 -29
- package/dist/site-editor/blocks/MarqueeText.js.map +1 -1
- package/dist/site-editor/blocks/PDFFlipBook.d.ts.map +1 -1
- package/dist/site-editor/blocks/PDFFlipBook.js +2 -33
- package/dist/site-editor/blocks/PDFFlipBook.js.map +1 -1
- package/dist/site-editor/blocks/RightImageBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/RightImageBox.js +15 -29
- package/dist/site-editor/blocks/RightImageBox.js.map +1 -1
- package/dist/site-editor/blocks/RowBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/RowBox.js +0 -18
- package/dist/site-editor/blocks/RowBox.js.map +1 -1
- package/dist/site-editor/blocks/TextBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/TextBox.js +0 -20
- package/dist/site-editor/blocks/TextBox.js.map +1 -1
- package/dist/site-editor/blocks/TextMask.d.ts.map +1 -1
- package/dist/site-editor/blocks/TextMask.js +0 -18
- package/dist/site-editor/blocks/TextMask.js.map +1 -1
- package/dist/site-editor/blocks/VerticalImageBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/VerticalImageBox.js +0 -18
- package/dist/site-editor/blocks/VerticalImageBox.js.map +1 -1
- package/dist/site-editor/blocks/VideoPlayer.d.ts.map +1 -1
- package/dist/site-editor/blocks/VideoPlayer.js +0 -24
- package/dist/site-editor/blocks/VideoPlayer.js.map +1 -1
- package/dist/site-editor/blocks/WrapGrid.d.ts.map +1 -1
- package/dist/site-editor/blocks/WrapGrid.js +0 -18
- package/dist/site-editor/blocks/WrapGrid.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +134 -481
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +114 -451
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/pages/stores/products/EditProductDetailPage.tsx +5 -5
- package/src/site-editor/blocks/Billboard.tsx +0 -37
- package/src/site-editor/blocks/Block.tsx +82 -0
- package/src/site-editor/blocks/Card.tsx +0 -37
- package/src/site-editor/blocks/Carousel.tsx +0 -20
- package/src/site-editor/blocks/ColumnBox.tsx +0 -18
- package/src/site-editor/blocks/Columns2.tsx +0 -19
- package/src/site-editor/blocks/Columns3.tsx +0 -19
- package/src/site-editor/blocks/ImageBox.tsx +15 -28
- package/src/site-editor/blocks/ImageCard.tsx +0 -37
- package/src/site-editor/blocks/ImageGallery.tsx +0 -20
- package/src/site-editor/blocks/InjectBox.tsx +0 -20
- package/src/site-editor/blocks/MarqueeText.tsx +0 -26
- package/src/site-editor/blocks/PDFFlipBook.tsx +0 -28
- package/src/site-editor/blocks/RightImageBox.tsx +15 -29
- package/src/site-editor/blocks/RowBox.tsx +0 -18
- package/src/site-editor/blocks/TextBox.tsx +0 -20
- package/src/site-editor/blocks/TextMask.tsx +0 -18
- package/src/site-editor/blocks/VerticalImageBox.tsx +0 -18
- package/src/site-editor/blocks/VideoPlayer.tsx +0 -25
- package/src/site-editor/blocks/WrapGrid.tsx +0 -18
|
@@ -41778,6 +41778,87 @@ System.register(["@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/co
|
|
|
41778
41778
|
}
|
|
41779
41779
|
|
|
41780
41780
|
`.expand("[styler-layout=main]"));
|
|
41781
|
+
StylerSets.register("high", styled.css`
|
|
41782
|
+
&[styler-layout] {
|
|
41783
|
+
|
|
41784
|
+
&:empty:before {
|
|
41785
|
+
background-color: #ddd;
|
|
41786
|
+
color: #000;
|
|
41787
|
+
font-size: 16px;
|
|
41788
|
+
font-weight: bold;
|
|
41789
|
+
font-family: 'Courier New', Courier, monospace;
|
|
41790
|
+
display: flex;
|
|
41791
|
+
justify-items: center;
|
|
41792
|
+
align-items: center;
|
|
41793
|
+
min-height: 30px;
|
|
41794
|
+
height: 100%;
|
|
41795
|
+
opacity: 0.3;
|
|
41796
|
+
border-radius: 3px;
|
|
41797
|
+
white-space: nowrap;
|
|
41798
|
+
overflow: hidden;
|
|
41799
|
+
text-overflow: ellipsis;
|
|
41800
|
+
content: "Container";
|
|
41801
|
+
}
|
|
41802
|
+
|
|
41803
|
+
& > *:empty:before {
|
|
41804
|
+
background-color: #ddd;
|
|
41805
|
+
color: #000;
|
|
41806
|
+
font-size: 16px;
|
|
41807
|
+
font-weight: bold;
|
|
41808
|
+
font-family: 'Courier New', Courier, monospace;
|
|
41809
|
+
display: flex;
|
|
41810
|
+
justify-items: center;
|
|
41811
|
+
align-items: center;
|
|
41812
|
+
min-height: 30px;
|
|
41813
|
+
height: 100%;
|
|
41814
|
+
opacity: 0.3;
|
|
41815
|
+
border-radius: 3px;
|
|
41816
|
+
white-space: nowrap;
|
|
41817
|
+
overflow: hidden;
|
|
41818
|
+
text-overflow: ellipsis;
|
|
41819
|
+
content: "Container";
|
|
41820
|
+
}
|
|
41821
|
+
|
|
41822
|
+
& > h1, & > h2, & > h3, & > h4, & > h5, & > h6 {
|
|
41823
|
+
&:empty:before {
|
|
41824
|
+
content: "Title";
|
|
41825
|
+
}
|
|
41826
|
+
}
|
|
41827
|
+
|
|
41828
|
+
& marquee-text:empty:before {
|
|
41829
|
+
content: "Marquee Text";
|
|
41830
|
+
}
|
|
41831
|
+
|
|
41832
|
+
& inject {
|
|
41833
|
+
& * {
|
|
41834
|
+
user-select: none;
|
|
41835
|
+
pointer-events: none;
|
|
41836
|
+
}
|
|
41837
|
+
&:empty:before {
|
|
41838
|
+
content: "Marquee Text";
|
|
41839
|
+
}
|
|
41840
|
+
}
|
|
41841
|
+
|
|
41842
|
+
& video-player {
|
|
41843
|
+
&:empty:before {
|
|
41844
|
+
content: "Video Player";
|
|
41845
|
+
}
|
|
41846
|
+
|
|
41847
|
+
}
|
|
41848
|
+
|
|
41849
|
+
& pdf-flip-book {
|
|
41850
|
+
& * {
|
|
41851
|
+
user-select: none;
|
|
41852
|
+
pointer-events: none;
|
|
41853
|
+
}
|
|
41854
|
+
&:empty:before {
|
|
41855
|
+
content: "PDF Flip Book";
|
|
41856
|
+
}
|
|
41857
|
+
}
|
|
41858
|
+
|
|
41859
|
+
|
|
41860
|
+
}
|
|
41861
|
+
`.expand("body[editing]"));
|
|
41781
41862
|
svg = `<svg xmlns="http://www.w3.org/2000/svg" height="16" width="14" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg>`;
|
|
41782
41863
|
svgCross = `<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512"><!--!Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--><path class="fa-secondary" opacity=".4" d="M297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6z"/><path class="fa-primary" d=""/></svg>`;
|
|
41783
41864
|
StylerSets.register("low", styled.css`
|
|
@@ -41920,24 +42001,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
|
|
|
41920
42001
|
padding: ${stylerVars.sizeDefault};
|
|
41921
42002
|
margin: ${stylerVars.sizeDefault};
|
|
41922
42003
|
border-radius: ${stylerVars.sizeDefault};
|
|
41923
|
-
&:empty:before {
|
|
41924
|
-
background-color: #ddd;
|
|
41925
|
-
color: #000;
|
|
41926
|
-
font-size: 16px;
|
|
41927
|
-
font-weight: bold;
|
|
41928
|
-
font-family: 'Courier New', Courier, monospace;
|
|
41929
|
-
height: 100%;
|
|
41930
|
-
display: flex;
|
|
41931
|
-
justify-items: center;
|
|
41932
|
-
align-items: center;
|
|
41933
|
-
min-height: 30px;
|
|
41934
|
-
opacity: 0.3;
|
|
41935
|
-
border-radius: 3px;
|
|
41936
|
-
white-space: nowrap;
|
|
41937
|
-
overflow: hidden;
|
|
41938
|
-
text-overflow: ellipsis;
|
|
41939
|
-
content: "Container";
|
|
41940
|
-
}
|
|
41941
42004
|
`.expand("[styler-layout=wrap-list]"));
|
|
41942
42005
|
_export("WrapGrid", WrapGrid = Block({
|
|
41943
42006
|
className: "fa-duotone fa-grid-horizontal fa-rotate-90",
|
|
@@ -43611,17 +43674,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "./defaultImage",
|
|
|
43611
43674
|
max-width: 100%;
|
|
43612
43675
|
}
|
|
43613
43676
|
|
|
43614
|
-
@media (min-width: 600px) {
|
|
43615
|
-
& {
|
|
43616
|
-
flex-direction: row;
|
|
43617
|
-
}
|
|
43618
|
-
& > * {
|
|
43619
|
-
padding: ${stylerVars.sizeDefault};
|
|
43620
|
-
flex: 1 1 50%;
|
|
43621
|
-
max-width: 50%;
|
|
43622
|
-
}
|
|
43623
|
-
}
|
|
43624
|
-
|
|
43625
43677
|
& > img {
|
|
43626
43678
|
align-self: stretch;
|
|
43627
43679
|
border-radius: ${stylerVars.sizeLarge}
|
|
@@ -43634,23 +43686,21 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "./defaultImage",
|
|
|
43634
43686
|
}
|
|
43635
43687
|
}
|
|
43636
43688
|
|
|
43637
|
-
|
|
43638
|
-
|
|
43639
|
-
|
|
43640
|
-
|
|
43641
|
-
|
|
43642
|
-
|
|
43643
|
-
|
|
43644
|
-
|
|
43645
|
-
|
|
43646
|
-
|
|
43647
|
-
|
|
43648
|
-
|
|
43649
|
-
|
|
43650
|
-
|
|
43651
|
-
|
|
43652
|
-
text-overflow: ellipsis;
|
|
43653
|
-
content: "Container";
|
|
43689
|
+
|
|
43690
|
+
@media (min-width: 600px) {
|
|
43691
|
+
& {
|
|
43692
|
+
flex-direction: row;
|
|
43693
|
+
}
|
|
43694
|
+
|
|
43695
|
+
& > img {
|
|
43696
|
+
align-self: center;
|
|
43697
|
+
}
|
|
43698
|
+
|
|
43699
|
+
& > * {
|
|
43700
|
+
padding: ${stylerVars.sizeDefault};
|
|
43701
|
+
flex: 1 1 50%;
|
|
43702
|
+
max-width: 50%;
|
|
43703
|
+
}
|
|
43654
43704
|
}
|
|
43655
43705
|
`.expand("[styler-layout=image-box]"));
|
|
43656
43706
|
_export("ImageBox", ImageBox = Block({
|
|
@@ -43714,24 +43764,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@social-mail/soc
|
|
|
43714
43764
|
flex-wrap: nowrap;
|
|
43715
43765
|
}
|
|
43716
43766
|
}
|
|
43717
|
-
& > *:empty:before {
|
|
43718
|
-
background-color: #ddd;
|
|
43719
|
-
color: #000;
|
|
43720
|
-
font-size: 16px;
|
|
43721
|
-
font-weight: bold;
|
|
43722
|
-
font-family: 'Courier New', Courier, monospace;
|
|
43723
|
-
height: 100%;
|
|
43724
|
-
display: flex;
|
|
43725
|
-
justify-items: center;
|
|
43726
|
-
align-items: center;
|
|
43727
|
-
min-height: 30px;
|
|
43728
|
-
opacity: 0.3;
|
|
43729
|
-
border-radius: 3px;
|
|
43730
|
-
white-space: nowrap;
|
|
43731
|
-
overflow: hidden;
|
|
43732
|
-
text-overflow: ellipsis;
|
|
43733
|
-
content: "Container";
|
|
43734
|
-
}
|
|
43735
43767
|
`.expand("[styler-layout=row]"));
|
|
43736
43768
|
_export("RowBox", RowBox = Block({
|
|
43737
43769
|
title: "Add Row",
|
|
@@ -43780,24 +43812,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@social-mail/soc
|
|
|
43780
43812
|
flex: 1 1 100%;
|
|
43781
43813
|
}
|
|
43782
43814
|
|
|
43783
|
-
& > *:empty:before {
|
|
43784
|
-
background-color: #ddd;
|
|
43785
|
-
color: #000;
|
|
43786
|
-
font-size: 16px;
|
|
43787
|
-
font-weight: bold;
|
|
43788
|
-
font-family: 'Courier New', Courier, monospace;
|
|
43789
|
-
height: 100%;
|
|
43790
|
-
display: flex;
|
|
43791
|
-
justify-items: center;
|
|
43792
|
-
align-items: center;
|
|
43793
|
-
min-height: 30px;
|
|
43794
|
-
opacity: 0.3;
|
|
43795
|
-
border-radius: 3px;
|
|
43796
|
-
white-space: nowrap;
|
|
43797
|
-
overflow: hidden;
|
|
43798
|
-
text-overflow: ellipsis;
|
|
43799
|
-
content: "Container";
|
|
43800
|
-
}
|
|
43801
43815
|
`.expand("[styler-layout=column]"));
|
|
43802
43816
|
_export("ColumnBox", ColumnBox = Block({
|
|
43803
43817
|
title: "Add Single Column Box",
|
|
@@ -43862,24 +43876,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "./defaultImage",
|
|
|
43862
43876
|
}
|
|
43863
43877
|
}
|
|
43864
43878
|
|
|
43865
|
-
& > *:empty:before {
|
|
43866
|
-
background-color: #ddd;
|
|
43867
|
-
color: #000;
|
|
43868
|
-
font-size: 16px;
|
|
43869
|
-
font-weight: bold;
|
|
43870
|
-
font-family: 'Courier New', Courier, monospace;
|
|
43871
|
-
height: 100%;
|
|
43872
|
-
display: flex;
|
|
43873
|
-
justify-items: center;
|
|
43874
|
-
align-items: center;
|
|
43875
|
-
min-height: 30px;
|
|
43876
|
-
opacity: 0.3;
|
|
43877
|
-
border-radius: 3px;
|
|
43878
|
-
white-space: nowrap;
|
|
43879
|
-
overflow: hidden;
|
|
43880
|
-
text-overflow: ellipsis;
|
|
43881
|
-
content: "Container";
|
|
43882
|
-
}
|
|
43883
43879
|
`.expand("[styler-layout=vertical-image-box]"));
|
|
43884
43880
|
_export("VerticalImageBox", VerticalImageBox = Block({
|
|
43885
43881
|
className: "fas fa-image",
|
|
@@ -44004,43 +44000,6 @@ display: grid;
|
|
|
44004
44000
|
grid-row: 2;
|
|
44005
44001
|
}
|
|
44006
44002
|
}
|
|
44007
|
-
|
|
44008
|
-
& > section:empty:before {
|
|
44009
|
-
background-color: #ddd;
|
|
44010
|
-
color: #000;
|
|
44011
|
-
font-size: 16px;
|
|
44012
|
-
font-weight: bold;
|
|
44013
|
-
font-family: 'Courier New', Courier, monospace;
|
|
44014
|
-
height: 100%;
|
|
44015
|
-
display: flex;
|
|
44016
|
-
justify-items: center;
|
|
44017
|
-
align-items: center;
|
|
44018
|
-
min-height: 30px;
|
|
44019
|
-
opacity: 0.3;
|
|
44020
|
-
border-radius: 3px;
|
|
44021
|
-
white-space: nowrap;
|
|
44022
|
-
overflow: hidden;
|
|
44023
|
-
text-overflow: ellipsis;
|
|
44024
|
-
content: "Container";
|
|
44025
|
-
}
|
|
44026
|
-
& > h4:empty:before {
|
|
44027
|
-
background-color: #ddd;
|
|
44028
|
-
color: #000;
|
|
44029
|
-
font-size: 16px;
|
|
44030
|
-
font-weight: bold;
|
|
44031
|
-
font-family: 'Courier New', Courier, monospace;
|
|
44032
|
-
height: 100%;
|
|
44033
|
-
display: flex;
|
|
44034
|
-
justify-items: center;
|
|
44035
|
-
align-items: center;
|
|
44036
|
-
min-height: 30px;
|
|
44037
|
-
opacity: 0.3;
|
|
44038
|
-
border-radius: 3px;
|
|
44039
|
-
white-space: nowrap;
|
|
44040
|
-
overflow: hidden;
|
|
44041
|
-
text-overflow: ellipsis;
|
|
44042
|
-
content: "Title";
|
|
44043
|
-
}
|
|
44044
44003
|
`.expand("[styler-layout=image-card]"));
|
|
44045
44004
|
_export("ImageCard", ImageCard = Block({
|
|
44046
44005
|
className: "fad fa-id-card",
|
|
@@ -44085,26 +44044,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
|
|
|
44085
44044
|
border-radius: ${stylerVars.sizeDefault};
|
|
44086
44045
|
justify-items: center;
|
|
44087
44046
|
align-items: stretch;
|
|
44088
|
-
|
|
44089
|
-
& > p:empty:before {
|
|
44090
|
-
background-color: #ddd;
|
|
44091
|
-
color: #000;
|
|
44092
|
-
font-size: 16px;
|
|
44093
|
-
font-weight: bold;
|
|
44094
|
-
font-family: 'Courier New', Courier, monospace;
|
|
44095
|
-
height: 100%;
|
|
44096
|
-
display: flex;
|
|
44097
|
-
justify-items: center;
|
|
44098
|
-
align-items: center;
|
|
44099
|
-
min-height: 30px;
|
|
44100
|
-
opacity: 0.3;
|
|
44101
|
-
border-radius: 3px;
|
|
44102
|
-
white-space: nowrap;
|
|
44103
|
-
overflow: hidden;
|
|
44104
|
-
text-overflow: ellipsis;
|
|
44105
|
-
content: "Container";
|
|
44106
|
-
|
|
44107
|
-
}
|
|
44108
44047
|
`.expand("[styler-layout=text-box]"));
|
|
44109
44048
|
_export("TextBox", TextBox = Block({
|
|
44110
44049
|
className: "material-symbols-outlined",
|
|
@@ -44168,43 +44107,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@social-mail/soc
|
|
|
44168
44107
|
grid-column: 1;
|
|
44169
44108
|
grid-row: 3;
|
|
44170
44109
|
}
|
|
44171
|
-
|
|
44172
|
-
& > section:empty:before {
|
|
44173
|
-
background-color: #ddd;
|
|
44174
|
-
color: #000;
|
|
44175
|
-
font-size: 16px;
|
|
44176
|
-
font-weight: bold;
|
|
44177
|
-
font-family: 'Courier New', Courier, monospace;
|
|
44178
|
-
height: 100%;
|
|
44179
|
-
display: flex;
|
|
44180
|
-
justify-items: center;
|
|
44181
|
-
align-items: center;
|
|
44182
|
-
min-height: 30px;
|
|
44183
|
-
opacity: 0.3;
|
|
44184
|
-
border-radius: 3px;
|
|
44185
|
-
white-space: nowrap;
|
|
44186
|
-
overflow: hidden;
|
|
44187
|
-
text-overflow: ellipsis;
|
|
44188
|
-
content: "Container";
|
|
44189
|
-
}
|
|
44190
|
-
& > h4:empty:before {
|
|
44191
|
-
background-color: #ddd;
|
|
44192
|
-
color: #000;
|
|
44193
|
-
font-size: 16px;
|
|
44194
|
-
font-weight: bold;
|
|
44195
|
-
font-family: 'Courier New', Courier, monospace;
|
|
44196
|
-
height: 100%;
|
|
44197
|
-
display: flex;
|
|
44198
|
-
justify-items: center;
|
|
44199
|
-
align-items: center;
|
|
44200
|
-
min-height: 30px;
|
|
44201
|
-
opacity: 0.3;
|
|
44202
|
-
border-radius: 3px;
|
|
44203
|
-
white-space: nowrap;
|
|
44204
|
-
overflow: hidden;
|
|
44205
|
-
text-overflow: ellipsis;
|
|
44206
|
-
content: "Title";
|
|
44207
|
-
}
|
|
44208
44110
|
`.expand("[styler-layout=card]"));
|
|
44209
44111
|
_export("Card", Card = Block({
|
|
44210
44112
|
title: "Add Card",
|
|
@@ -44466,25 +44368,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@social-mail/soc
|
|
|
44466
44368
|
max-width: 50%;
|
|
44467
44369
|
}
|
|
44468
44370
|
}
|
|
44469
|
-
& > *:empty:before {
|
|
44470
|
-
background-color: #ddd;
|
|
44471
|
-
color: #000;
|
|
44472
|
-
font-size: 16px;
|
|
44473
|
-
font-weight: bold;
|
|
44474
|
-
font-family: 'Courier New', Courier, monospace;
|
|
44475
|
-
height: 100%;
|
|
44476
|
-
display: flex;
|
|
44477
|
-
justify-items: center;
|
|
44478
|
-
align-items: center;
|
|
44479
|
-
min-height: 30px;
|
|
44480
|
-
opacity: 0.3;
|
|
44481
|
-
border-radius: 3px;
|
|
44482
|
-
white-space: nowrap;
|
|
44483
|
-
overflow: hidden;
|
|
44484
|
-
text-overflow: ellipsis;
|
|
44485
|
-
content: "Container";
|
|
44486
|
-
|
|
44487
|
-
}
|
|
44488
44371
|
`.expand("[styler-layout=columns-2]"));
|
|
44489
44372
|
_export("Columns2", Columns2 = Block({
|
|
44490
44373
|
title: "Add 2 Columns",
|
|
@@ -44533,38 +44416,19 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@social-mail/soc
|
|
|
44533
44416
|
& > * {
|
|
44534
44417
|
width: 100%;
|
|
44535
44418
|
max-width: 100%;
|
|
44536
|
-
}
|
|
44537
|
-
|
|
44538
|
-
|
|
44539
|
-
@media (min-width: 600px) {
|
|
44540
|
-
& {
|
|
44541
|
-
flex-direction: row;
|
|
44542
|
-
flex-wrap: nowrap;
|
|
44543
|
-
justify-content: space-evenly;
|
|
44544
|
-
}
|
|
44545
|
-
& > * {
|
|
44546
|
-
width: 33%;
|
|
44547
|
-
max-width: 33%;
|
|
44548
|
-
}
|
|
44549
|
-
}
|
|
44550
|
-
& > *:empty:before {
|
|
44551
|
-
background-color: #ddd;
|
|
44552
|
-
color: #000;
|
|
44553
|
-
font-size: 16px;
|
|
44554
|
-
font-weight: bold;
|
|
44555
|
-
font-family: 'Courier New', Courier, monospace;
|
|
44556
|
-
height: 100%;
|
|
44557
|
-
display: flex;
|
|
44558
|
-
justify-items: center;
|
|
44559
|
-
align-items: center;
|
|
44560
|
-
min-height: 30px;
|
|
44561
|
-
opacity: 0.3;
|
|
44562
|
-
border-radius: 3px;
|
|
44563
|
-
white-space: nowrap;
|
|
44564
|
-
overflow: hidden;
|
|
44565
|
-
text-overflow: ellipsis;
|
|
44566
|
-
content: "Container";
|
|
44419
|
+
}
|
|
44420
|
+
|
|
44567
44421
|
|
|
44422
|
+
@media (min-width: 600px) {
|
|
44423
|
+
& {
|
|
44424
|
+
flex-direction: row;
|
|
44425
|
+
flex-wrap: nowrap;
|
|
44426
|
+
justify-content: space-evenly;
|
|
44427
|
+
}
|
|
44428
|
+
& > * {
|
|
44429
|
+
width: 33%;
|
|
44430
|
+
max-width: 33%;
|
|
44431
|
+
}
|
|
44568
44432
|
}
|
|
44569
44433
|
|
|
44570
44434
|
`.expand("[styler-layout=columns-3]"));
|
|
@@ -44619,18 +44483,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "./defaultImage",
|
|
|
44619
44483
|
max-width: 100%;
|
|
44620
44484
|
}
|
|
44621
44485
|
|
|
44622
|
-
@media (min-width: 600px) {
|
|
44623
|
-
& {
|
|
44624
|
-
flex-direction: row-reverse;
|
|
44625
|
-
}
|
|
44626
|
-
|
|
44627
|
-
& > * {
|
|
44628
|
-
padding: ${stylerVars.sizeDefault};
|
|
44629
|
-
flex: 1 1 50%;
|
|
44630
|
-
max-width: 50%;
|
|
44631
|
-
}
|
|
44632
|
-
}
|
|
44633
|
-
|
|
44634
44486
|
& > img {
|
|
44635
44487
|
align-self: stretch;
|
|
44636
44488
|
border-radius: ${stylerVars.sizeLarge}
|
|
@@ -44643,24 +44495,22 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "./defaultImage",
|
|
|
44643
44495
|
}
|
|
44644
44496
|
}
|
|
44645
44497
|
|
|
44646
|
-
|
|
44647
|
-
|
|
44648
|
-
|
|
44649
|
-
|
|
44650
|
-
|
|
44651
|
-
|
|
44652
|
-
|
|
44653
|
-
|
|
44654
|
-
|
|
44655
|
-
|
|
44656
|
-
|
|
44657
|
-
|
|
44658
|
-
|
|
44659
|
-
|
|
44660
|
-
overflow: hidden;
|
|
44661
|
-
text-overflow: ellipsis;
|
|
44662
|
-
content: "Container";
|
|
44498
|
+
@media (min-width: 600px) {
|
|
44499
|
+
& {
|
|
44500
|
+
flex-direction: row-reverse;
|
|
44501
|
+
}
|
|
44502
|
+
|
|
44503
|
+
& > img {
|
|
44504
|
+
align-self: center;
|
|
44505
|
+
}
|
|
44506
|
+
|
|
44507
|
+
& > * {
|
|
44508
|
+
padding: ${stylerVars.sizeDefault};
|
|
44509
|
+
flex: 1 1 50%;
|
|
44510
|
+
max-width: 50%;
|
|
44511
|
+
}
|
|
44663
44512
|
}
|
|
44513
|
+
|
|
44664
44514
|
`.expand("[styler-layout=right-image-box]"));
|
|
44665
44515
|
_export("RightImageBox", RightImageBox = Block({
|
|
44666
44516
|
className: "material-symbols-outlined",
|
|
@@ -44882,25 +44732,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
|
|
|
44882
44732
|
-webkit-text-stroke-color: currentColor;
|
|
44883
44733
|
-webkit-text-stroke-width: 1px;
|
|
44884
44734
|
-webkit-text-fill-color: transparent;
|
|
44885
|
-
&:empty:before {
|
|
44886
|
-
background-color: #ddd;
|
|
44887
|
-
color: #000;
|
|
44888
|
-
font-size: 16px;
|
|
44889
|
-
font-weight: bold;
|
|
44890
|
-
font-family: 'Courier New', Courier, monospace;
|
|
44891
|
-
height: 100%;
|
|
44892
|
-
display: flex;
|
|
44893
|
-
justify-items: center;
|
|
44894
|
-
align-items: center;
|
|
44895
|
-
min-height: 30px;
|
|
44896
|
-
opacity: 0.3;
|
|
44897
|
-
border-radius: 3px;
|
|
44898
|
-
white-space: nowrap;
|
|
44899
|
-
overflow: hidden;
|
|
44900
|
-
text-overflow: ellipsis;
|
|
44901
|
-
content: "Container";
|
|
44902
|
-
}
|
|
44903
|
-
|
|
44904
44735
|
}
|
|
44905
44736
|
& > h4 {
|
|
44906
44737
|
grid-row: 2;
|
|
@@ -44908,24 +44739,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
|
|
|
44908
44739
|
margin-block-start: 0;
|
|
44909
44740
|
margin-block-end: 0;
|
|
44910
44741
|
font-size: 2rem;
|
|
44911
|
-
&:empty:before {
|
|
44912
|
-
background-color: #ddd;
|
|
44913
|
-
color: #000;
|
|
44914
|
-
font-size: 16px;
|
|
44915
|
-
font-weight: bold;
|
|
44916
|
-
font-family: 'Courier New', Courier, monospace;
|
|
44917
|
-
height: 100%;
|
|
44918
|
-
display: flex;
|
|
44919
|
-
justify-items: center;
|
|
44920
|
-
align-items: center;
|
|
44921
|
-
min-height: 30px;
|
|
44922
|
-
opacity: 0.3;
|
|
44923
|
-
border-radius: 3px;
|
|
44924
|
-
white-space: nowrap;
|
|
44925
|
-
overflow: hidden;
|
|
44926
|
-
text-overflow: ellipsis;
|
|
44927
|
-
content: "Container";
|
|
44928
|
-
}
|
|
44929
44742
|
}
|
|
44930
44743
|
|
|
44931
44744
|
`.expand("[styler-layout=billboard]"));
|
|
@@ -45006,26 +44819,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
|
|
|
45006
44819
|
|
|
45007
44820
|
display: flex;
|
|
45008
44821
|
flex-direction: row;
|
|
45009
|
-
|
|
45010
|
-
& > *:empty:before {
|
|
45011
|
-
background-color: #ddd;
|
|
45012
|
-
color: #000;
|
|
45013
|
-
font-size: 16px;
|
|
45014
|
-
font-weight: bold;
|
|
45015
|
-
font-family: 'Courier New', Courier, monospace;
|
|
45016
|
-
height: 100%;
|
|
45017
|
-
display: flex;
|
|
45018
|
-
justify-items: center;
|
|
45019
|
-
align-items: center;
|
|
45020
|
-
min-height: 30px;
|
|
45021
|
-
opacity: 0.3;
|
|
45022
|
-
border-radius: 3px;
|
|
45023
|
-
white-space: nowrap;
|
|
45024
|
-
overflow: hidden;
|
|
45025
|
-
text-overflow: ellipsis;
|
|
45026
|
-
content: "Container";
|
|
45027
|
-
|
|
45028
|
-
}
|
|
45029
44822
|
`.expand("carousel-slider"));
|
|
45030
44823
|
_export("Carousel", Carousel = Block({
|
|
45031
44824
|
className: "fad fa-gallery-thumbnails",
|
|
@@ -45073,26 +44866,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
|
|
|
45073
44866
|
display: flex;
|
|
45074
44867
|
flex-direction: row;
|
|
45075
44868
|
flex-wrap: wrap;
|
|
45076
|
-
|
|
45077
|
-
& > *:empty:before {
|
|
45078
|
-
background-color: #ddd;
|
|
45079
|
-
color: #000;
|
|
45080
|
-
font-size: 16px;
|
|
45081
|
-
font-weight: bold;
|
|
45082
|
-
font-family: 'Courier New', Courier, monospace;
|
|
45083
|
-
height: 100%;
|
|
45084
|
-
display: flex;
|
|
45085
|
-
justify-items: center;
|
|
45086
|
-
align-items: center;
|
|
45087
|
-
min-height: 30px;
|
|
45088
|
-
opacity: 0.3;
|
|
45089
|
-
border-radius: 3px;
|
|
45090
|
-
white-space: nowrap;
|
|
45091
|
-
overflow: hidden;
|
|
45092
|
-
text-overflow: ellipsis;
|
|
45093
|
-
content: "Container";
|
|
45094
|
-
|
|
45095
|
-
}
|
|
45096
44869
|
`.expand("image-gallery"));
|
|
45097
44870
|
StylerSets.register("low", styled.css`
|
|
45098
44871
|
& image-gallery {
|
|
@@ -45158,30 +44931,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@web-atoms/core/
|
|
|
45158
44931
|
execute: function () {
|
|
45159
44932
|
StylerSets.register("low", styled.css`
|
|
45160
44933
|
|
|
45161
|
-
|
|
45162
|
-
& > *:empty:before {
|
|
45163
|
-
background-color: #ddd;
|
|
45164
|
-
color: #000;
|
|
45165
|
-
font-size: 16px;
|
|
45166
|
-
font-weight: bold;
|
|
45167
|
-
font-family: 'Courier New', Courier, monospace;
|
|
45168
|
-
height: 100%;
|
|
45169
|
-
min-height: 100px;
|
|
45170
|
-
display: flex;
|
|
45171
|
-
justify-items: center;
|
|
45172
|
-
align-items: center;
|
|
45173
|
-
min-height: 30px;
|
|
45174
|
-
opacity: 0.3;
|
|
45175
|
-
border-radius: 3px;
|
|
45176
|
-
white-space: nowrap;
|
|
45177
|
-
overflow: hidden;
|
|
45178
|
-
text-overflow: ellipsis;
|
|
45179
|
-
content: "Video Player";
|
|
45180
|
-
|
|
45181
|
-
}
|
|
45182
|
-
`.expand("video-player"));
|
|
45183
|
-
StylerSets.register("low", styled.css`
|
|
45184
|
-
|
|
45185
44934
|
display: flex;
|
|
45186
44935
|
content: "Video Player";
|
|
45187
44936
|
align-items: center;
|
|
@@ -45275,24 +45024,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@web-atoms/core/
|
|
|
45275
45024
|
execute: function () {
|
|
45276
45025
|
StylerSets.register("low", styled.css`
|
|
45277
45026
|
&:empty:before {
|
|
45278
|
-
padding: 10px;
|
|
45279
|
-
background-color: #ddd;
|
|
45280
|
-
color: #000;
|
|
45281
|
-
font-size: 16px;
|
|
45282
|
-
font-weight: bold;
|
|
45283
|
-
font-family: 'Courier New', Courier, monospace;
|
|
45284
|
-
height: 100%;
|
|
45285
|
-
min-height: 100px;
|
|
45286
|
-
display: flex;
|
|
45287
|
-
justify-items: center;
|
|
45288
|
-
align-items: center;
|
|
45289
|
-
opacity: 0.3;
|
|
45290
|
-
border-radius: 3px;
|
|
45291
|
-
white-space: nowrap;
|
|
45292
|
-
overflow: hidden;
|
|
45293
|
-
text-align: center;
|
|
45294
|
-
vertical-align: middle;
|
|
45295
|
-
text-overflow: ellipsis;
|
|
45296
45027
|
content: "Text Mask";
|
|
45297
45028
|
}
|
|
45298
45029
|
`.expand("body[editing] [styler-background-clip=text]"));
|
|
@@ -45314,44 +45045,17 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@web-atoms/core/
|
|
|
45314
45045
|
|
|
45315
45046
|
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/blocks/TextMask");
|
|
45316
45047
|
|
|
45317
|
-
System.register(["@web-atoms/core/dist/core/XNode", "./Block"
|
|
45048
|
+
System.register(["@web-atoms/core/dist/core/XNode", "./Block"], function (_export, _context) {
|
|
45318
45049
|
"use strict";
|
|
45319
45050
|
|
|
45320
|
-
var XNode, Block,
|
|
45051
|
+
var XNode, Block, MarqueeText;
|
|
45321
45052
|
return {
|
|
45322
45053
|
setters: [function (_webAtomsCoreDistCoreXNode) {
|
|
45323
45054
|
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
45324
45055
|
}, function (_Block) {
|
|
45325
45056
|
Block = _Block.Block;
|
|
45326
|
-
}, function (_stylerStylerSets) {
|
|
45327
|
-
StylerSets = _stylerStylerSets.StylerSets;
|
|
45328
|
-
}, function (_webAtomsCoreDistStyleStyled) {
|
|
45329
|
-
styled = _webAtomsCoreDistStyleStyled.default;
|
|
45330
45057
|
}],
|
|
45331
45058
|
execute: function () {
|
|
45332
|
-
StylerSets.register("low", styled.css`
|
|
45333
|
-
|
|
45334
|
-
|
|
45335
|
-
&:empty:before {
|
|
45336
|
-
background-color: #ddd;
|
|
45337
|
-
color: #000;
|
|
45338
|
-
font-size: 16px;
|
|
45339
|
-
font-weight: bold;
|
|
45340
|
-
font-family: 'Courier New', Courier, monospace;
|
|
45341
|
-
height: 100%;
|
|
45342
|
-
display: flex;
|
|
45343
|
-
justify-items: center;
|
|
45344
|
-
align-items: center;
|
|
45345
|
-
min-height: 30px;
|
|
45346
|
-
opacity: 0.3;
|
|
45347
|
-
border-radius: 3px;
|
|
45348
|
-
white-space: nowrap;
|
|
45349
|
-
overflow: hidden;
|
|
45350
|
-
text-overflow: ellipsis;
|
|
45351
|
-
content: "Marquee Text";
|
|
45352
|
-
|
|
45353
|
-
}
|
|
45354
|
-
`.expand("marquee-text"));
|
|
45355
45059
|
_export("MarqueeText", MarqueeText = Block({
|
|
45356
45060
|
className: "fad fa-text",
|
|
45357
45061
|
title: "Add Marquee Text",
|
|
@@ -45533,26 +45237,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
|
|
|
45533
45237
|
user-select: none;
|
|
45534
45238
|
pointer-events: none;
|
|
45535
45239
|
}
|
|
45536
|
-
|
|
45537
|
-
&:empty:before {
|
|
45538
|
-
background-color: #ddd;
|
|
45539
|
-
color: #000;
|
|
45540
|
-
font-size: 16px;
|
|
45541
|
-
font-weight: bold;
|
|
45542
|
-
font-family: 'Courier New', Courier, monospace;
|
|
45543
|
-
height: 100%;
|
|
45544
|
-
display: flex;
|
|
45545
|
-
justify-items: center;
|
|
45546
|
-
align-items: center;
|
|
45547
|
-
min-height: 30px;
|
|
45548
|
-
opacity: 0.3;
|
|
45549
|
-
border-radius: 3px;
|
|
45550
|
-
white-space: nowrap;
|
|
45551
|
-
overflow: hidden;
|
|
45552
|
-
text-overflow: ellipsis;
|
|
45553
|
-
content: "INJECT HTML";
|
|
45554
|
-
}
|
|
45555
|
-
|
|
45556
45240
|
}
|
|
45557
45241
|
`.expand("body[editing]"));
|
|
45558
45242
|
_export("InjectBox", InjectBox = Block({
|
|
@@ -45569,48 +45253,17 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
|
|
|
45569
45253
|
|
|
45570
45254
|
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/blocks/InjectBox");
|
|
45571
45255
|
|
|
45572
|
-
System.register(["@web-atoms/core/dist/core/XNode", "./Block"
|
|
45256
|
+
System.register(["@web-atoms/core/dist/core/XNode", "./Block"], function (_export, _context) {
|
|
45573
45257
|
"use strict";
|
|
45574
45258
|
|
|
45575
|
-
var XNode, Block,
|
|
45259
|
+
var XNode, Block, PDFFlipBook;
|
|
45576
45260
|
return {
|
|
45577
45261
|
setters: [function (_webAtomsCoreDistCoreXNode) {
|
|
45578
45262
|
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
45579
45263
|
}, function (_Block) {
|
|
45580
45264
|
Block = _Block.Block;
|
|
45581
|
-
}, function (_stylerStylerSets) {
|
|
45582
|
-
StylerSets = _stylerStylerSets.StylerSets;
|
|
45583
|
-
}, function (_webAtomsCoreDistStyleStyled) {
|
|
45584
|
-
styled = _webAtomsCoreDistStyleStyled.default;
|
|
45585
45265
|
}],
|
|
45586
45266
|
execute: function () {
|
|
45587
|
-
StylerSets.register("low", styled.css`
|
|
45588
|
-
& pdf-flip-book {
|
|
45589
|
-
& * {
|
|
45590
|
-
user-select: none;
|
|
45591
|
-
pointer-events: none;
|
|
45592
|
-
}
|
|
45593
|
-
|
|
45594
|
-
&:empty:before {
|
|
45595
|
-
background-color: #ddd;
|
|
45596
|
-
color: #000;
|
|
45597
|
-
font-size: 16px;
|
|
45598
|
-
font-weight: bold;
|
|
45599
|
-
font-family: 'Courier New', Courier, monospace;
|
|
45600
|
-
height: 100%;
|
|
45601
|
-
display: flex;
|
|
45602
|
-
justify-items: center;
|
|
45603
|
-
align-items: center;
|
|
45604
|
-
min-height: 30px;
|
|
45605
|
-
opacity: 0.3;
|
|
45606
|
-
border-radius: 3px;
|
|
45607
|
-
white-space: nowrap;
|
|
45608
|
-
overflow: hidden;
|
|
45609
|
-
text-overflow: ellipsis;
|
|
45610
|
-
content: "PDF Book";
|
|
45611
|
-
}
|
|
45612
|
-
}
|
|
45613
|
-
`.expand("body[editing]"));
|
|
45614
45267
|
_export("PDFFlipBook", PDFFlipBook = Block({
|
|
45615
45268
|
className: "fad fa-grid-4",
|
|
45616
45269
|
title: "Add Image Grid",
|
|
@@ -51802,7 +51455,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
51802
51455
|
publishProduct() {
|
|
51803
51456
|
return __awaiter(this, void 0, void 0, function* () {
|
|
51804
51457
|
this.model.active = true;
|
|
51805
|
-
const added = !this.model.storeItemID;
|
|
51806
51458
|
if (this.model.storeItemTags) {
|
|
51807
51459
|
let sortOrder = 0;
|
|
51808
51460
|
for (const iterator of this.model.storeItemTags) {
|
|
@@ -51810,17 +51462,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
51810
51462
|
}
|
|
51811
51463
|
}
|
|
51812
51464
|
yield this.storeItemService.save(this.model);
|
|
51813
|
-
if (added) {
|
|
51814
|
-
location.href = AppCommands.editProduct.displayRoute({
|
|
51815
|
-
storeItemID: this.model.storeItemID
|
|
51816
|
-
});
|
|
51817
|
-
return;
|
|
51818
|
-
}
|
|
51819
51465
|
yield this.init();
|
|
51820
51466
|
});
|
|
51821
51467
|
}
|
|
51822
51468
|
saveProduct() {
|
|
51823
51469
|
return __awaiter(this, void 0, void 0, function* () {
|
|
51470
|
+
const added = !this.model.storeItemID;
|
|
51824
51471
|
if (this.model.storeItemTags) {
|
|
51825
51472
|
let sortOrder = 0;
|
|
51826
51473
|
for (const iterator of this.model.storeItemTags) {
|
|
@@ -51828,6 +51475,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
51828
51475
|
}
|
|
51829
51476
|
}
|
|
51830
51477
|
yield this.storeItemService.save(this.model);
|
|
51478
|
+
if (added) {
|
|
51479
|
+
location.href = AppCommands.editProduct.displayRoute({
|
|
51480
|
+
storeItemID: this.model.storeItemID
|
|
51481
|
+
});
|
|
51482
|
+
return;
|
|
51483
|
+
}
|
|
51831
51484
|
yield this.init();
|
|
51832
51485
|
});
|
|
51833
51486
|
}
|