@wix/himalaya-cli 0.2050.0 → 0.2052.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.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/icon-catalog.generated.d.ts +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/display.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +73 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +7 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +1 -1
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{78e9187a8551e2a63e7bc9f5cda8449c6a39ba3d9bcfa40947713322e68a3e3b.bin → cc7bcf8fdff413c24057510cbaf7ec5412b22de421a69e873d0a07b4d0e86cfa.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +149 -62
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/headless-loop.md +1 -1
- package/guides/one-app-section-mappings.md +1 -1
- package/guides/one-app-to-himi-app.md +9 -5
- package/guides/sdk-reference.json +1 -1
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/he.json +4 -0
- package/templates/beauty-salon/tier5-src/_shared/himi-store-search.ts +77 -0
- package/templates/beauty-salon/tier5-src/himi-branded-lite-category/index.ts +22 -8
- package/templates/branded-lite/l10n/he.json +4 -0
- package/templates/branded-lite/tier5-src/_shared/himi-store-search.ts +77 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-category/index.ts +22 -8
- package/templates/branded-lite/tier5-src/himi-branded-lite-shop/index.ts +31 -14
- package/templates/gym-fitness/l10n/he.json +4 -0
- package/templates/gym-fitness/tier5-src/_shared/himi-store-search.ts +77 -0
- package/templates/gym-fitness/tier5-src/himi-branded-lite-category/index.ts +22 -8
- package/templates/portfolio-creative/l10n/he.json +4 -0
- package/templates/portfolio-creative/tier5-src/_shared/himi-store-search.ts +77 -0
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-category/index.ts +22 -8
- package/templates/retail-store/l10n/he.json +4 -0
- package/templates/retail-store/tier5-src/_shared/himi-store-search.ts +77 -0
- package/templates/retail-store/tier5-src/himi-branded-lite-category/index.ts +22 -8
- package/templates/retail-store/tier5-src/himi-branded-lite-shop/index.ts +31 -14
package/dist/cli.mjs
CHANGED
|
@@ -3970,7 +3970,6 @@ var init_himi_package = __esm({
|
|
|
3970
3970
|
var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
|
|
3971
3971
|
var init_icon_catalog_generated = __esm({
|
|
3972
3972
|
"../../core/ts/src/icon-catalog.generated.ts"() {
|
|
3973
|
-
"use strict";
|
|
3974
3973
|
init_define_HHP_CATALOG();
|
|
3975
3974
|
ICON_VIEW_BOX = 24;
|
|
3976
3975
|
ICON_STROKE_WIDTH = 2;
|
|
@@ -4906,6 +4905,16 @@ var init_icon_catalog_generated = __esm({
|
|
|
4906
4905
|
"license": "Apache-2.0",
|
|
4907
4906
|
"libVersion": "0.45.9"
|
|
4908
4907
|
},
|
|
4908
|
+
"facebook": {
|
|
4909
|
+
"category": "brand",
|
|
4910
|
+
"path": [
|
|
4911
|
+
"M9.101 23.691L9.101 15.711L6.627 15.711L6.627 12.044L9.101 12.044L9.101 10.464C9.101 6.379 10.949 4.486 14.959 4.486C15.36 4.486 15.914 4.528 16.427 4.589C16.811 4.629 17.192 4.694 17.568 4.784L17.568 8.109C17.351 8.089 17.133 8.077 16.915 8.073C16.671 8.067 16.426 8.064 16.182 8.064C15.475 8.064 14.923 8.16 14.507 8.373C14.227 8.513 13.992 8.729 13.828 8.995C13.57 9.415 13.454 9.99 13.454 10.747L13.454 12.044L17.373 12.044L16.987 14.147L16.7 15.711L13.454 15.711L13.454 23.956C19.396 23.238 24 18.179 24 12.044C24 5.417 18.627 0.044 12 0.044C5.373 0.044 0 5.417 0 12.044C0 17.672 3.874 22.394 9.101 23.691Z"
|
|
4912
|
+
],
|
|
4913
|
+
"style": "filled",
|
|
4914
|
+
"source": "simple-icons/facebook",
|
|
4915
|
+
"license": "CC0-1.0",
|
|
4916
|
+
"libVersion": "16.36.0"
|
|
4917
|
+
},
|
|
4909
4918
|
"filter": {
|
|
4910
4919
|
"category": "navigation",
|
|
4911
4920
|
"path": [
|
|
@@ -5206,6 +5215,16 @@ var init_icon_catalog_generated = __esm({
|
|
|
5206
5215
|
"license": "Apache-2.0",
|
|
5207
5216
|
"libVersion": "0.45.9"
|
|
5208
5217
|
},
|
|
5218
|
+
"instagram": {
|
|
5219
|
+
"category": "brand",
|
|
5220
|
+
"path": [
|
|
5221
|
+
"M7.03 0.084C5.753 0.144 4.881 0.348 4.119 0.647C3.33 0.955 2.662 1.367 1.996 2.035C1.331 2.703 0.921 3.372 0.616 4.162C0.321 4.926 0.12 5.799 0.064 7.076C0.008 8.354 -0.005 8.764 0.001 12.023C0.008 15.282 0.022 15.69 0.084 16.97C0.145 18.247 0.348 19.119 0.647 19.881C0.955 20.67 1.367 21.338 2.035 22.004C2.703 22.669 3.372 23.078 4.164 23.384C4.927 23.679 5.8 23.88 7.077 23.936C8.355 23.992 8.766 24.005 12.024 23.999C15.281 23.992 15.692 23.978 16.971 23.917C18.251 23.856 19.118 23.652 19.881 23.354C20.67 23.045 21.339 22.634 22.004 21.966C22.669 21.298 23.078 20.628 23.383 19.837C23.679 19.074 23.88 18.201 23.935 16.925C23.991 15.644 24.005 15.235 23.998 11.977C23.992 8.719 23.977 8.31 23.917 7.03C23.856 5.751 23.653 4.882 23.353 4.119C23.045 3.33 22.633 2.662 21.966 1.996C21.298 1.33 20.628 0.921 19.838 0.617C19.074 0.321 18.202 0.12 16.924 0.065C15.647 0.009 15.236 -0.005 11.977 0.001C8.718 0.008 8.31 0.021 7.03 0.084M7.17 21.777C6 21.726 5.365 21.532 4.942 21.369C4.381 21.153 3.982 20.892 3.56 20.474C3.138 20.056 2.879 19.655 2.66 19.096C2.495 18.673 2.297 18.038 2.243 16.868C2.183 15.604 2.171 15.224 2.164 12.02C2.157 8.816 2.169 8.437 2.224 7.172C2.274 6.003 2.47 5.367 2.632 4.944C2.848 4.383 3.109 3.984 3.527 3.562C3.946 3.141 4.346 2.881 4.906 2.662C5.329 2.497 5.963 2.301 7.133 2.245C8.398 2.185 8.777 2.173 11.981 2.166C15.184 2.159 15.564 2.171 16.83 2.227C17.999 2.277 18.635 2.471 19.058 2.635C19.619 2.851 20.018 3.11 20.44 3.53C20.861 3.949 21.121 4.347 21.34 4.908C21.505 5.33 21.702 5.964 21.757 7.135C21.817 8.4 21.831 8.78 21.837 11.983C21.842 15.186 21.831 15.566 21.776 16.831C21.725 18.001 21.531 18.636 21.368 19.06C21.152 19.62 20.891 20.02 20.472 20.441C20.053 20.863 19.654 21.123 19.094 21.341C18.672 21.506 18.036 21.703 16.868 21.759C15.602 21.818 15.223 21.831 12.018 21.838C8.814 21.845 8.436 21.832 7.17 21.777M16.953 5.586C16.954 6.169 17.306 6.693 17.844 6.915C18.383 7.137 19.002 7.013 19.413 6.6C19.824 6.188 19.946 5.568 19.722 5.03C19.498 4.493 18.972 4.143 18.39 4.144C17.595 4.146 16.952 4.791 16.953 5.586M5.838 12.012C5.845 15.415 8.609 18.168 12.011 18.161C15.414 18.155 18.169 15.391 18.162 11.988C18.156 8.585 15.391 5.831 11.988 5.838C8.585 5.845 5.832 8.609 5.838 12.012M8 12.008C7.996 9.799 9.783 8.004 11.992 8C14.201 7.995 15.996 9.783 16 11.992C16.004 14.201 14.217 15.995 12.008 16C10.947 16.002 9.929 15.583 9.177 14.834C8.425 14.085 8.002 13.069 8 12.008"
|
|
5222
|
+
],
|
|
5223
|
+
"style": "filled",
|
|
5224
|
+
"source": "simple-icons/instagram",
|
|
5225
|
+
"license": "CC0-1.0",
|
|
5226
|
+
"libVersion": "16.36.0"
|
|
5227
|
+
},
|
|
5209
5228
|
"layers": {
|
|
5210
5229
|
"category": "navigation",
|
|
5211
5230
|
"path": [
|
|
@@ -5693,6 +5712,16 @@ var init_icon_catalog_generated = __esm({
|
|
|
5693
5712
|
"license": "Apache-2.0",
|
|
5694
5713
|
"libVersion": "0.45.9"
|
|
5695
5714
|
},
|
|
5715
|
+
"pinterest": {
|
|
5716
|
+
"category": "brand",
|
|
5717
|
+
"path": [
|
|
5718
|
+
"M12.017 0C5.396 0 0.029 5.367 0.029 11.987C0.029 17.066 3.187 21.404 7.647 23.149C7.542 22.2 7.448 20.746 7.688 19.71C7.907 18.773 9.094 13.753 9.094 13.753C9.094 13.753 8.735 13.033 8.735 11.972C8.735 10.309 9.702 9.061 10.903 9.061C11.927 9.061 12.421 9.83 12.421 10.749C12.421 11.778 11.768 13.316 11.429 14.741C11.144 15.934 12.029 16.906 13.204 16.906C15.332 16.906 16.972 14.661 16.972 11.419C16.972 8.558 14.909 6.55 11.964 6.55C8.554 6.55 6.555 9.112 6.555 11.749C6.555 12.782 6.949 13.892 7.444 14.49C7.543 14.61 7.556 14.715 7.529 14.835C7.439 15.21 7.236 16.034 7.195 16.198C7.142 16.423 7.023 16.469 6.794 16.363C5.299 15.673 4.361 13.485 4.361 11.717C4.361 7.941 7.109 4.465 12.281 4.465C16.439 4.465 19.673 7.432 19.673 11.388C19.673 15.523 17.066 18.85 13.44 18.85C12.226 18.85 11.086 18.221 10.682 17.471L9.933 20.319C9.664 21.364 8.929 22.671 8.435 23.465C9.558 23.81 10.741 24 11.985 24C18.592 24 23.97 18.635 23.97 12.013C23.97 5.39 18.592 0.026 11.985 0.026L12.017 0Z"
|
|
5719
|
+
],
|
|
5720
|
+
"style": "filled",
|
|
5721
|
+
"source": "simple-icons/pinterest",
|
|
5722
|
+
"license": "CC0-1.0",
|
|
5723
|
+
"libVersion": "16.36.0"
|
|
5724
|
+
},
|
|
5696
5725
|
"play": {
|
|
5697
5726
|
"category": "media",
|
|
5698
5727
|
"path": [
|
|
@@ -6248,6 +6277,16 @@ var init_icon_catalog_generated = __esm({
|
|
|
6248
6277
|
"license": "Apache-2.0",
|
|
6249
6278
|
"libVersion": "0.45.9"
|
|
6250
6279
|
},
|
|
6280
|
+
"tiktok": {
|
|
6281
|
+
"category": "brand",
|
|
6282
|
+
"path": [
|
|
6283
|
+
"M12.525 0.02C13.835 0 15.135 0.01 16.435 0C16.515 1.53 17.065 3.09 18.185 4.17C19.305 5.28 20.885 5.79 22.425 5.96L22.425 9.99C20.985 9.94 19.535 9.64 18.225 9.02C17.655 8.76 17.125 8.43 16.605 8.09C16.595 11.01 16.615 13.93 16.585 16.84C16.505 18.24 16.045 19.63 15.235 20.78C13.925 22.7 11.655 23.95 9.325 23.99C7.895 24.07 6.465 23.68 5.245 22.96C3.225 21.77 1.805 19.59 1.595 17.25C1.575 16.75 1.565 16.25 1.585 15.76C1.765 13.86 2.705 12.04 4.165 10.8C5.825 9.36 8.145 8.67 10.315 9.08C10.335 10.56 10.275 12.04 10.275 13.52C9.285 13.2 8.125 13.29 7.255 13.89C6.625 14.3 6.145 14.93 5.895 15.64C5.685 16.15 5.745 16.71 5.755 17.25C5.995 18.89 7.575 20.27 9.255 20.12C10.375 20.11 11.445 19.46 12.025 18.51C12.215 18.18 12.425 17.84 12.435 17.45C12.535 15.66 12.495 13.88 12.505 12.09C12.515 8.06 12.495 4.04 12.525 0.02Z"
|
|
6284
|
+
],
|
|
6285
|
+
"style": "filled",
|
|
6286
|
+
"source": "simple-icons/tiktok",
|
|
6287
|
+
"license": "CC0-1.0",
|
|
6288
|
+
"libVersion": "16.36.0"
|
|
6289
|
+
},
|
|
6251
6290
|
"trash": {
|
|
6252
6291
|
"category": "editing",
|
|
6253
6292
|
"path": [
|
|
@@ -6408,6 +6447,26 @@ var init_icon_catalog_generated = __esm({
|
|
|
6408
6447
|
"license": "Apache-2.0",
|
|
6409
6448
|
"libVersion": "0.45.9"
|
|
6410
6449
|
},
|
|
6450
|
+
"x_twitter": {
|
|
6451
|
+
"category": "brand",
|
|
6452
|
+
"path": [
|
|
6453
|
+
"M14.234 10.162L22.977 0L20.905 0L13.314 8.824L7.251 0L0.258 0L9.426 13.343L0.258 24L2.33 24L10.346 14.682L16.749 24L23.742 24ZM11.397 13.461L10.468 12.132L3.076 1.56L6.258 1.56L12.223 10.092L13.152 11.421L20.906 22.511L17.724 22.511Z"
|
|
6454
|
+
],
|
|
6455
|
+
"style": "filled",
|
|
6456
|
+
"source": "simple-icons/x",
|
|
6457
|
+
"license": "CC0-1.0",
|
|
6458
|
+
"libVersion": "16.36.0"
|
|
6459
|
+
},
|
|
6460
|
+
"youtube": {
|
|
6461
|
+
"category": "brand",
|
|
6462
|
+
"path": [
|
|
6463
|
+
"M23.498 6.186C23.222 5.147 22.414 4.333 21.376 4.05C19.505 3.545 12 3.545 12 3.545C12 3.545 4.495 3.545 2.623 4.05C1.586 4.333 0.778 5.147 0.502 6.186C0 8.07 0 12 0 12C0 12 0 15.93 0.502 17.814C0.778 18.853 1.586 19.667 2.624 19.95C4.495 20.455 12 20.455 12 20.455C12 20.455 19.505 20.455 21.377 19.95C22.415 19.667 23.223 18.854 23.499 17.814C24 15.93 24 12 24 12C24 12 24 8.07 23.498 6.186ZM9.545 15.568L9.545 8.432L15.818 12L9.545 15.568Z"
|
|
6464
|
+
],
|
|
6465
|
+
"style": "filled",
|
|
6466
|
+
"source": "simple-icons/youtube",
|
|
6467
|
+
"license": "CC0-1.0",
|
|
6468
|
+
"libVersion": "16.36.0"
|
|
6469
|
+
},
|
|
6411
6470
|
"_unknown": {
|
|
6412
6471
|
"category": "system",
|
|
6413
6472
|
"path": [
|
|
@@ -6483,6 +6542,7 @@ var init_icon_catalog_generated = __esm({
|
|
|
6483
6542
|
"error": "error",
|
|
6484
6543
|
"expand": "expand",
|
|
6485
6544
|
"externallink": "external_link",
|
|
6545
|
+
"facebook": "facebook",
|
|
6486
6546
|
"filter": "filter",
|
|
6487
6547
|
"folder": "folder",
|
|
6488
6548
|
"fullscreen": "fullscreen",
|
|
@@ -6502,6 +6562,7 @@ var init_icon_catalog_generated = __esm({
|
|
|
6502
6562
|
"inbox": "inbox",
|
|
6503
6563
|
"tray": "inbox",
|
|
6504
6564
|
"info": "info",
|
|
6565
|
+
"instagram": "instagram",
|
|
6505
6566
|
"layers": "layers",
|
|
6506
6567
|
"link": "link",
|
|
6507
6568
|
"list": "list",
|
|
@@ -6533,6 +6594,7 @@ var init_icon_catalog_generated = __esm({
|
|
|
6533
6594
|
"personfill": "person_fill",
|
|
6534
6595
|
"phone": "phone",
|
|
6535
6596
|
"pin": "pin",
|
|
6597
|
+
"pinterest": "pinterest",
|
|
6536
6598
|
"play": "play",
|
|
6537
6599
|
"playcircle": "play_circle",
|
|
6538
6600
|
"playcirclefill": "play_circle_fill",
|
|
@@ -6565,6 +6627,7 @@ var init_icon_catalog_generated = __esm({
|
|
|
6565
6627
|
"tag": "tag",
|
|
6566
6628
|
"ticket": "ticket",
|
|
6567
6629
|
"ticketfill": "ticket_fill",
|
|
6630
|
+
"tiktok": "tiktok",
|
|
6568
6631
|
"trash": "trash",
|
|
6569
6632
|
"trendingdown": "trending_down",
|
|
6570
6633
|
"trendingup": "trending_up",
|
|
@@ -6575,6 +6638,8 @@ var init_icon_catalog_generated = __esm({
|
|
|
6575
6638
|
"warning": "warning",
|
|
6576
6639
|
"whatsapp": "whatsapp",
|
|
6577
6640
|
"wifi": "wifi",
|
|
6641
|
+
"xtwitter": "x_twitter",
|
|
6642
|
+
"youtube": "youtube",
|
|
6578
6643
|
"unknown": "_unknown"
|
|
6579
6644
|
};
|
|
6580
6645
|
ICON_NAMES = [
|
|
@@ -6633,6 +6698,7 @@ var init_icon_catalog_generated = __esm({
|
|
|
6633
6698
|
"external_link",
|
|
6634
6699
|
"eye",
|
|
6635
6700
|
"eye_slash",
|
|
6701
|
+
"facebook",
|
|
6636
6702
|
"filter",
|
|
6637
6703
|
"folder",
|
|
6638
6704
|
"forward",
|
|
@@ -6654,6 +6720,7 @@ var init_icon_catalog_generated = __esm({
|
|
|
6654
6720
|
"image",
|
|
6655
6721
|
"inbox",
|
|
6656
6722
|
"info",
|
|
6723
|
+
"instagram",
|
|
6657
6724
|
"layers",
|
|
6658
6725
|
"link",
|
|
6659
6726
|
"list",
|
|
@@ -6686,6 +6753,7 @@ var init_icon_catalog_generated = __esm({
|
|
|
6686
6753
|
"phone",
|
|
6687
6754
|
"photo",
|
|
6688
6755
|
"pin",
|
|
6756
|
+
"pinterest",
|
|
6689
6757
|
"play",
|
|
6690
6758
|
"play_circle",
|
|
6691
6759
|
"play_circle_fill",
|
|
@@ -6719,6 +6787,7 @@ var init_icon_catalog_generated = __esm({
|
|
|
6719
6787
|
"tag",
|
|
6720
6788
|
"ticket",
|
|
6721
6789
|
"ticket_fill",
|
|
6790
|
+
"tiktok",
|
|
6722
6791
|
"trash",
|
|
6723
6792
|
"tray",
|
|
6724
6793
|
"trending_down",
|
|
@@ -6730,7 +6799,9 @@ var init_icon_catalog_generated = __esm({
|
|
|
6730
6799
|
"warning",
|
|
6731
6800
|
"whatsapp",
|
|
6732
6801
|
"wifi",
|
|
6733
|
-
"
|
|
6802
|
+
"x_twitter",
|
|
6803
|
+
"xmark",
|
|
6804
|
+
"youtube"
|
|
6734
6805
|
];
|
|
6735
6806
|
}
|
|
6736
6807
|
});
|
|
@@ -20229,7 +20300,6 @@ function buttonVariant(style) {
|
|
|
20229
20300
|
var SYSTEM_FONT_FAMILY, TONAL_ELEVATION_ALPHA, BUTTON_SIZES, BUTTON_MIN_HIT_TARGET, nonNegative, nonEmpty2, own2, COLOR_TOKEN_PROPS, TYPOGRAPHY_TOKEN_PROPS, BUTTON_VARIANTS;
|
|
20230
20301
|
var init_tokens = __esm({
|
|
20231
20302
|
"../../core/ts/src/tokens.ts"() {
|
|
20232
|
-
"use strict";
|
|
20233
20303
|
init_define_HHP_CATALOG();
|
|
20234
20304
|
SYSTEM_FONT_FAMILY = "$system";
|
|
20235
20305
|
TONAL_ELEVATION_ALPHA = [0, 0.05, 0.08, 0.11, 0.12, 0.14];
|
|
@@ -216037,7 +216107,7 @@ function addNavigation(out2, plan, taken2, pageIconOf) {
|
|
|
216037
216107
|
out2.routes.push({ layoutItemId: "(more)", label: "More", screenId, kind: "generated" });
|
|
216038
216108
|
out2.tabs.push({ layoutItemId: "(more)", label: "More", screenId });
|
|
216039
216109
|
}
|
|
216040
|
-
var TEMPLATE_HOME_SCREEN, TEMPLATE_SCREEN_PARAM_KEYS, SYSTEM_ALL_PRODUCTS_ID, collectionParams, faqHiddenCategories, TEMPLATE_PARAMS, countOf2, SCREEN_ADAPTATIONS, FALLBACK_TARGETS, BOTTOM_TABS_BEFORE_MORE, TEMPLATE_VERTICALS, PAGE_TYPE_ICONS, HOME_TAB_ICON, TEMPLATE_FALLBACKS, MODULES, obj20, arr4, str16, node3, text10, vstack, hstack, inset, youtubeIdOf, DIRECT_VIDEO_FILE, UNREAD_IMAGE_RATIO, REPEATER_COLUMNS_MAX, REPEATER_ON_IMAGE_INSET, REPEATER_ON_SHADE_THEME, REPEATER_ON_BARE_IMAGE_THEME, REPEATER_IMAGE_SHADE, BUSINESS_CHAT_SCREEN, SUBSCRIPTIONS_MAX, selectedPlanIds, PLAN_SELECT_LABEL, PLAN_DETAILS_LABEL, PLAN_BENEFITS_LABEL, BANNER_HEX, BANNER_TEXT_DEFAULT, MEMBERS_RAIL, PROGRAMS_DEFAULT_LIMIT, PROGRAMS_INLINE_MAX, PODCAST_INLINE, GALLERIES_INLINE_MAX, GALLERIES_LIST_INLINE, BLOG_HERO_MAX, BLOG_SEARCH_POSTS, EVENT_SCHEDULE_INLINE, SHOP_ALL, SERVICES_INLINE, UPCOMING_INLINE, CALENDAR_INLINE, UPCOMING_SESSIONS_INLINE, UPCOMING_INTERVALS, HISTORY_INLINE, PRODUCTS_INLINE, GROUP_FEED_POSTS_MAX, POST_ACTION_LABELS, postActionsGap, NEWSFEED_GROUPS_MAX, LOYALTY_TIERS_INLINE, VIDEOS_INLINE_DEFAULT, VIDEOS_INLINE_MAX, WISHLIST_INLINE, EVENTS_RAIL_INLINE, SOCIAL_NETWORKS, HANDLERS, memberActionService, MERGED_PAGES_BUNDLE, hasCtaButton, chevron;
|
|
216110
|
+
var TEMPLATE_HOME_SCREEN, TEMPLATE_SCREEN_PARAM_KEYS, SYSTEM_ALL_PRODUCTS_ID, collectionParams, faqHiddenCategories, TEMPLATE_PARAMS, countOf2, SCREEN_ADAPTATIONS, FALLBACK_TARGETS, BOTTOM_TABS_BEFORE_MORE, TEMPLATE_VERTICALS, PAGE_TYPE_ICONS, HOME_TAB_ICON, TEMPLATE_FALLBACKS, MODULES, obj20, arr4, str16, node3, text10, vstack, hstack, inset, youtubeIdOf, DIRECT_VIDEO_FILE, UNREAD_IMAGE_RATIO, REPEATER_COLUMNS_MAX, REPEATER_ON_IMAGE_INSET, REPEATER_ON_SHADE_THEME, REPEATER_ON_BARE_IMAGE_THEME, REPEATER_IMAGE_SHADE, BUSINESS_CHAT_SCREEN, SUBSCRIPTIONS_MAX, selectedPlanIds, PLAN_SELECT_LABEL, PLAN_DETAILS_LABEL, PLAN_BENEFITS_LABEL, BANNER_HEX, BANNER_TEXT_DEFAULT, MEMBERS_RAIL, PROGRAMS_DEFAULT_LIMIT, PROGRAMS_INLINE_MAX, PODCAST_INLINE, GALLERIES_INLINE_MAX, GALLERIES_LIST_INLINE, BLOG_HERO_MAX, BLOG_SEARCH_POSTS, EVENT_SCHEDULE_INLINE, SHOP_ALL, SERVICES_INLINE, UPCOMING_INLINE, CALENDAR_INLINE, UPCOMING_SESSIONS_INLINE, UPCOMING_INTERVALS, HISTORY_INLINE, PRODUCTS_INLINE, GROUP_FEED_POSTS_MAX, POST_ACTION_LABELS, postActionsGap, NEWSFEED_GROUPS_MAX, LOYALTY_TIERS_INLINE, VIDEOS_INLINE_DEFAULT, VIDEOS_INLINE_MAX, WISHLIST_INLINE, EVENTS_RAIL_INLINE, SOCIAL_NETWORKS, SOCIAL_BUTTON, HANDLERS, memberActionService, MERGED_PAGES_BUNDLE, hasCtaButton, chevron;
|
|
216041
216111
|
var init_generate = __esm({
|
|
216042
216112
|
"src/one-app/generate.ts"() {
|
|
216043
216113
|
init_define_HHP_CATALOG();
|
|
@@ -216364,16 +216434,18 @@ var init_generate = __esm({
|
|
|
216364
216434
|
WISHLIST_INLINE = 6;
|
|
216365
216435
|
EVENTS_RAIL_INLINE = 10;
|
|
216366
216436
|
SOCIAL_NETWORKS = {
|
|
216367
|
-
instagram: "Instagram",
|
|
216368
|
-
facebook: "Facebook",
|
|
216369
|
-
youtube: "YouTube",
|
|
216370
|
-
tiktok: "TikTok",
|
|
216371
|
-
twitter: "X (Twitter)",
|
|
216372
|
-
|
|
216373
|
-
|
|
216374
|
-
|
|
216375
|
-
|
|
216376
|
-
|
|
216437
|
+
instagram: { label: "Instagram", glyph: "instagram" },
|
|
216438
|
+
facebook: { label: "Facebook", glyph: "facebook" },
|
|
216439
|
+
youtube: { label: "YouTube", glyph: "youtube" },
|
|
216440
|
+
tiktok: { label: "TikTok", glyph: "tiktok" },
|
|
216441
|
+
twitter: { label: "X (Twitter)", glyph: "x_twitter" },
|
|
216442
|
+
x: { label: "X (Twitter)", glyph: "x_twitter" },
|
|
216443
|
+
pinterest: { label: "Pinterest", glyph: "pinterest" },
|
|
216444
|
+
linkedin: { label: "LinkedIn" },
|
|
216445
|
+
whatsapp: { label: "WhatsApp", glyph: "whatsapp" },
|
|
216446
|
+
globe: { label: "Website", glyph: "globe" }
|
|
216447
|
+
};
|
|
216448
|
+
SOCIAL_BUTTON = 48;
|
|
216377
216449
|
HANDLERS = {
|
|
216378
216450
|
platform_elements_title_section: (id, _s2, st2) => {
|
|
216379
216451
|
const style = st2.textStyle === "heading" ? "title2" : "title3";
|
|
@@ -217238,28 +217310,43 @@ var init_generate = __esm({
|
|
|
217238
217310
|
if (missing4.length) ctx.gap(sectionId, type2, `the source card shows ${missing4.join(" and ")}; the card has ${missing4.length > 1 ? "neither" : "none"}`);
|
|
217239
217311
|
return eventsInline(id, s5, st2, index, ctx, true);
|
|
217240
217312
|
},
|
|
217241
|
-
// Links to the business's networks
|
|
217242
|
-
//
|
|
217313
|
+
// Links to the business's networks, as the source draws them: one round button per link holding the network's mark, in source order,
|
|
217314
|
+
// in a row that wraps on a narrow screen. Each is a button named for its network. A network Himi has no mark for (LinkedIn, an unknown
|
|
217315
|
+
// host) is a pill in the same row that shows its name, so no two links look alike. A link that is not an http(s) URL is left out and
|
|
217316
|
+
// reported, never opened as something else.
|
|
217243
217317
|
platform_general_social_links_section: (id, s5, st2, _i2, ctx, sectionId) => {
|
|
217244
217318
|
const type2 = "platform_general_social_links_section";
|
|
217319
|
+
const unmarked = [];
|
|
217245
217320
|
const buttons = arr4(st2.links).map(obj20).flatMap((link4, i2) => {
|
|
217246
217321
|
const url = webUrl(str16(link4.url));
|
|
217247
217322
|
if (!url) {
|
|
217248
217323
|
ctx.gap(sectionId, type2, `the link "${str16(link4.url).trim() || "(empty)"}" is not an http(s) URL, so it is left out`);
|
|
217249
217324
|
return [];
|
|
217250
217325
|
}
|
|
217251
|
-
const
|
|
217252
|
-
|
|
217326
|
+
const network = SOCIAL_NETWORKS[str16(link4.icon).trim().toLowerCase()];
|
|
217327
|
+
const label4 = network?.label ?? new URL(url).hostname.replace(/^www\./, "");
|
|
217328
|
+
const face = { background: { token: "accentSurface" }, onTap: openUrl(url), accessibilityLabel: label4, accessibilityRole: "link" };
|
|
217329
|
+
if (!network?.glyph) {
|
|
217330
|
+
unmarked.push(label4);
|
|
217331
|
+
return [text10(`${id}.l${i2}`, label4, "bodyEmphasis", { maxLines: 1 }, { ...face, cornerRadius: 999, maxWidth: 240, padding: { leading: 18, trailing: 18, top: 13, bottom: 13 } })];
|
|
217332
|
+
}
|
|
217333
|
+
return [node3(
|
|
217334
|
+
`${id}.l${i2}`,
|
|
217335
|
+
"ZStack",
|
|
217336
|
+
{ alignment: "center", children: [node3(`${id}.l${i2}.icon`, "Icon", { name: network.glyph, size: 24, tint: "textPrimary" })] },
|
|
217337
|
+
{ ...face, cornerRadius: SOCIAL_BUTTON / 2, width: SOCIAL_BUTTON, height: SOCIAL_BUTTON }
|
|
217338
|
+
)];
|
|
217253
217339
|
});
|
|
217254
217340
|
if (!buttons.length) {
|
|
217255
217341
|
ctx.gap(sectionId, type2, "the section has no link to show, so it is left out");
|
|
217256
217342
|
return null;
|
|
217257
217343
|
}
|
|
217258
|
-
ctx.gap(sectionId, type2, "
|
|
217344
|
+
if (unmarked.length) ctx.gap(sectionId, type2, `Himi has no mark for ${[...new Set(unmarked)].join(", ")}, so ${unmarked.length > 1 ? "those links show their names" : "its link shows its name"} instead of an icon`);
|
|
217259
217345
|
const children2 = [];
|
|
217260
217346
|
const title = str16(s5.title).trim();
|
|
217261
217347
|
if (s5.showTitle === true && title) children2.push(text10(`${id}.title`, title, "title3", {}, inset(0, 0, 0)));
|
|
217262
|
-
|
|
217348
|
+
children2.push(node3(`${id}.links`, "HStack", { spacing: 8, alignment: "center", wrap: true, children: buttons }));
|
|
217349
|
+
return vstack(`${id}.box`, children2, 12, inset(16, 16));
|
|
217263
217350
|
},
|
|
217264
217351
|
// A form (a v4 form id or a legacy short id), laid out inline as the source does: the section's own heading, then the form's fields,
|
|
217265
217352
|
// validation, draft and submit from the himi_form screen's own service (form-section). A form with a field the app cannot fill
|
|
@@ -284088,58 +284175,58 @@ var init_preview_assets_generated = __esm({
|
|
|
284088
284175
|
init_define_HHP_CATALOG();
|
|
284089
284176
|
init_preview_assets_format();
|
|
284090
284177
|
PREVIEW_ASSET_MANIFEST = [
|
|
284091
|
-
{ key: "assets/DashboardHost-
|
|
284092
|
-
{ key: "assets/DevDrawer-
|
|
284093
|
-
{ key: "assets/IdiomCompare-
|
|
284094
|
-
{ key: "assets/LightboxViewer-
|
|
284095
|
-
{ key: "assets/OfflineReadingBar-
|
|
284096
|
-
{ key: "assets/PhonePreviewControl-
|
|
284097
|
-
{ key: "assets/SchemeCompare-
|
|
284098
|
-
{ key: "assets/TopBandLayer-
|
|
284099
|
-
{ key: "assets/TopBarSearchStates-
|
|
284100
|
-
{ key: "assets/WixFrogTelemetrySink-
|
|
284178
|
+
{ key: "assets/DashboardHost-BXW3zlFR.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "af557acde4cda3077309bba221b41653a0cf34bddbb6a7fe6a8b550f57c48d24" },
|
|
284179
|
+
{ key: "assets/DevDrawer-CundDFS0.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "15b7003a94532091d40ec3c2080e25e688def8c13056e3beb4db7dde27eb8230" },
|
|
284180
|
+
{ key: "assets/IdiomCompare-CJOAKzJF.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "365ce0044d6b23fce0282b9304f1f2a1df35991c325f9ddd0b87a3dd2b67bcb9" },
|
|
284181
|
+
{ key: "assets/LightboxViewer-C6OCn8dG.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 15970, sha256: "a4ca72b6fd9463a3bfe70a7b6df4a81b0b004ecd2a559f4f8232fc50d31e9dbf" },
|
|
284182
|
+
{ key: "assets/OfflineReadingBar-Bg8Cogmx.js", contentType: "application/javascript; charset=utf-8", offset: 37672, length: 1761, sha256: "2d4ba28aec5e2e4c46d7d4d024344d630b19d96c12f2f350652583af08ad5038" },
|
|
284183
|
+
{ key: "assets/PhonePreviewControl-B5B99aNt.js", contentType: "application/javascript; charset=utf-8", offset: 39433, length: 37851, sha256: "1cca7e1a71ff8d48d3f6f0afd9a7af3b1b0e62932013600bc9d99153f7fe46b5" },
|
|
284184
|
+
{ key: "assets/SchemeCompare-2oIUMA1F.js", contentType: "application/javascript; charset=utf-8", offset: 77284, length: 1858, sha256: "d89275ccc463484cd84099d3951a321da9c0fa3ccbff999c69665c2b22032493" },
|
|
284185
|
+
{ key: "assets/TopBandLayer-BrJyZT6N.js", contentType: "application/javascript; charset=utf-8", offset: 79142, length: 1275, sha256: "0b08c110bfcb3051ce1d09057688ec2e1d340a9ae81d8de3f7d5d01aa53d157d" },
|
|
284186
|
+
{ key: "assets/TopBarSearchStates-Btfgegq7.js", contentType: "application/javascript; charset=utf-8", offset: 80417, length: 4069, sha256: "3882b3581841a0a2a3bf4269fff7748e059c0729e05c277dd246d29ceb876b47" },
|
|
284187
|
+
{ key: "assets/WixFrogTelemetrySink-wa1zZaPO.js", contentType: "application/javascript; charset=utf-8", offset: 84486, length: 3586, sha256: "6da7499cf456cdef7b0882cc4751ad334738ace06066d3c4c6794bc9d22cb949" },
|
|
284101
284188
|
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 88072, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
|
|
284102
284189
|
{ key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset: 90264, length: 35626, sha256: "90111ffcf2d13eff399836acafd1f2b387859440a29dcd4a0afd8370915992cb" },
|
|
284103
|
-
{ key: "assets/catalogFontFaces-
|
|
284190
|
+
{ key: "assets/catalogFontFaces-DEGBoUqh.js", contentType: "application/javascript; charset=utf-8", offset: 125890, length: 1111, sha256: "9e1b16404e559055a1a85b7cd351b0ca41c7922c89776add846a877602072821" },
|
|
284104
284191
|
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 127001, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
|
|
284105
|
-
{ key: "assets/files-transfer-
|
|
284192
|
+
{ key: "assets/files-transfer-B18DKtnE.js", contentType: "application/javascript; charset=utf-8", offset: 129568, length: 9311, sha256: "e19f05d93d1f397691e4cd5f002f3c393068cbf86f3a1fe0be1bcea0d380c046" },
|
|
284106
284193
|
{ key: "assets/frogActionMap-tm2NQk9s.js", contentType: "application/javascript; charset=utf-8", offset: 138879, length: 1336, sha256: "72bb60d400d913ff4865c17604fef897e270e094c52bceca76c22cd9f88847df" },
|
|
284107
|
-
{ key: "assets/frogApiRules-
|
|
284194
|
+
{ key: "assets/frogApiRules-DTmwiS1l.js", contentType: "application/javascript; charset=utf-8", offset: 140215, length: 2803, sha256: "16fae2847c38b5b6b84bc80dd9204c52aa4e320d92a27a02ff1e44f29ee32e7b" },
|
|
284108
284195
|
{ key: "assets/frogScreenMap-LM0nfzDQ.js", contentType: "application/javascript; charset=utf-8", offset: 143018, length: 1096, sha256: "991b931a02a029c9c4514f0ccbdc8a07f4cf2168ea3e23ffe5e244327fa05141" },
|
|
284109
284196
|
{ key: "assets/frogScreenNavArgs-mIYDwUYX.js", contentType: "application/javascript; charset=utf-8", offset: 144114, length: 780, sha256: "6c9e52135322e0a752b57ef6f360d71400cb77414b4f29d480230ae174201230" },
|
|
284110
284197
|
{ key: "assets/glassPreviewBrowser-OVmIRgHt.js", contentType: "application/javascript; charset=utf-8", offset: 144894, length: 6800, sha256: "3671697a4f66a1f5f68610fab57d590630be70be934f59675ef1bda9a96e6fe3" },
|
|
284111
284198
|
{ key: "assets/godot-pack-cache-Cuhrw41M.js", contentType: "application/javascript; charset=utf-8", offset: 151694, length: 1626, sha256: "70b16367b8938ebd6eb8494a2b472171dd2acdcb452c52f35f140eb8ede9c0b7" },
|
|
284112
284199
|
{ key: "assets/iap-monitoring-pnsucaMg.js", contentType: "application/javascript; charset=utf-8", offset: 153320, length: 1721, sha256: "b554f39332dd0f39010aeb1eec33dd39132c7f86e61f2738ba7a62162fbf7633" },
|
|
284113
284200
|
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 155041, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
|
|
284114
|
-
{ key: "assets/index-
|
|
284115
|
-
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
284116
|
-
{ key: "assets/network-watches-
|
|
284117
|
-
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
284118
|
-
{ key: "assets/pdf-
|
|
284119
|
-
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
284120
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
284121
|
-
{ key: "assets/pdfDocument-
|
|
284122
|
-
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
284123
|
-
{ key: "assets/scrollLinkedRuntime-
|
|
284124
|
-
{ key: "assets/webviewBridgeHost-
|
|
284125
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
284126
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
284127
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
284128
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
284129
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
284130
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
284131
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
284132
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
284133
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
284134
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
284135
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
284136
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
284137
|
-
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
284138
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
284139
|
-
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset:
|
|
284140
|
-
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset:
|
|
284141
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
284142
|
-
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
284201
|
+
{ key: "assets/index-DSGumcv4.js", contentType: "application/javascript; charset=utf-8", offset: 157745, length: 1763457, sha256: "e3ab4add963f901e62875cb7c9f62a1bc40153a1b2335e06d944376fff07b570" },
|
|
284202
|
+
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1921202, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
|
|
284203
|
+
{ key: "assets/network-watches-LfVGK0Hp.js", contentType: "application/javascript; charset=utf-8", offset: 1928953, length: 1299, sha256: "c7cc57154664a8b3e212c89299230b5cf568365ffd0c4d5c11b58b25a792a5ab" },
|
|
284204
|
+
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1930252, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
|
|
284205
|
+
{ key: "assets/pdf-BlBXOV15.js", contentType: "application/javascript; charset=utf-8", offset: 1940783, length: 488215, sha256: "cc7bcf8fdff413c24057510cbaf7ec5412b22de421a69e873d0a07b4d0e86cfa" },
|
|
284206
|
+
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2428998, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
|
|
284207
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2429088, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
284208
|
+
{ key: "assets/pdfDocument-BXayW24N.js", contentType: "application/javascript; charset=utf-8", offset: 3746122, length: 3836, sha256: "c4790ba8e40f523eb1e05bfb84987b35a55586c937a7142dcca1f85722e2b7d3" },
|
|
284209
|
+
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3749958, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
|
|
284210
|
+
{ key: "assets/scrollLinkedRuntime-yPsV5YnM.js", contentType: "application/javascript; charset=utf-8", offset: 3752224, length: 2278, sha256: "9327bac3bb1d3b773db16bc8b63143d49795a39fc787ed2b275ae1b07c22d8af" },
|
|
284211
|
+
{ key: "assets/webviewBridgeHost-BOsqGnNS.js", contentType: "application/javascript; charset=utf-8", offset: 3754502, length: 9946, sha256: "4d0d078ee8dabb772b46fd8ba927b5305f675ded53d2bcf3cbd79e325c0edab1" },
|
|
284212
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3764448, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
284213
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3769058, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
284214
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4257642, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
284215
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4348566, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
284216
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4439550, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
284217
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4530530, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
284218
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4621402, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
284219
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4712382, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
284220
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4821018, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
284221
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4930102, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
284222
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 5039150, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
284223
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 5146850, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
284224
|
+
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5234958, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
|
|
284225
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 5241776, length: 4924, sha256: "221c7f0e6f53d4f9bdfb69bd7fd2214190f89be3a5e119ac37fd227e6760e9e7" },
|
|
284226
|
+
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5246700, length: 15585, sha256: "98ec60ef8f9568532f0746d1092b5c76f1c52d718365c586c8bade8f62c7c5eb" },
|
|
284227
|
+
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5262285, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
|
|
284228
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5263456, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
|
|
284229
|
+
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5287759, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
|
|
284143
284230
|
];
|
|
284144
284231
|
}
|
|
284145
284232
|
});
|
|
Binary file
|
package/guides/headless-loop.md
CHANGED
|
@@ -237,7 +237,7 @@ A few flags worth knowing up front (all discoverable via `himi render --help`):
|
|
|
237
237
|
which over-stretches a phone layout.
|
|
238
238
|
- **`himi icons`** lists the valid `Icon.name` vocabulary — an unknown name silently falls back to a
|
|
239
239
|
generic glyph on device (and `validate` warns), so pick from this list rather than guessing SF-Symbol
|
|
240
|
-
names. The full set (aliases included): add_ai, ai, arrow_down, arrow_left, arrow_outward, arrow_right, arrow_up, attachment, back, bag, bag_fill, barcode, bell, bell_fill, bell_off, bell_slash, book, bookmark, bookmark_fill, boxes, branch, calendar, camera, cards_collection, cart, cart_fill, chart, chat, check, checklist, checkmark, chevron_down, chevron_left, chevron_right, chevron_up, circle, circle_fill, circle_half, clock, close, concealed, cookie, copy, dashboard, dashboard_fill, doc, document, download, edit, ellipsis, error, expand, external_link, eye, eye_slash, filter, folder, forward, fullscreen, gallery_mosaic, gallery_mosaic_fill, gear, gift, globe, grid, grid_fill, grip, heart, heart_fill, help, home, home_fill, house, image, inbox, info, layers, link, list, location, lock, logout, mail, map, menu, message, mic, mic_fill, microphone, microphone_fill, minus, moon, more, more_vertical, music, newspaper, newspaper_fill, next, paper_plane, paperclip, pause, pencil, people, person, person_fill, phone, photo, pin, play, play_circle, play_circle_fill, plus, plus_circle, plus_circle_fill, prev, question, radio_off, radio_on, redo, refresh, repeat, rss, search, send, send_arrow, settings, settings_fill, share, shuffle, skip_back, skip_forward, skip_next, skip_previous, star, star_fill, star_off, stop, success, tag, ticket, ticket_fill, trash, tray, trending_down, trending_up, undo, user, visible, volume, warning, whatsapp, wifi, xmark.
|
|
240
|
+
names. The full set (aliases included): add_ai, ai, arrow_down, arrow_left, arrow_outward, arrow_right, arrow_up, attachment, back, bag, bag_fill, barcode, bell, bell_fill, bell_off, bell_slash, book, bookmark, bookmark_fill, boxes, branch, calendar, camera, cards_collection, cart, cart_fill, chart, chat, check, checklist, checkmark, chevron_down, chevron_left, chevron_right, chevron_up, circle, circle_fill, circle_half, clock, close, concealed, cookie, copy, dashboard, dashboard_fill, doc, document, download, edit, ellipsis, error, expand, external_link, eye, eye_slash, facebook, filter, folder, forward, fullscreen, gallery_mosaic, gallery_mosaic_fill, gear, gift, globe, grid, grid_fill, grip, heart, heart_fill, help, home, home_fill, house, image, inbox, info, instagram, layers, link, list, location, lock, logout, mail, map, menu, message, mic, mic_fill, microphone, microphone_fill, minus, moon, more, more_vertical, music, newspaper, newspaper_fill, next, paper_plane, paperclip, pause, pencil, people, person, person_fill, phone, photo, pin, pinterest, play, play_circle, play_circle_fill, plus, plus_circle, plus_circle_fill, prev, question, radio_off, radio_on, redo, refresh, repeat, rss, search, send, send_arrow, settings, settings_fill, share, shuffle, skip_back, skip_forward, skip_next, skip_previous, star, star_fill, star_off, stop, success, tag, ticket, ticket_fill, tiktok, trash, tray, trending_down, trending_up, undo, user, visible, volume, warning, whatsapp, wifi, x_twitter, xmark, youtube.
|
|
241
241
|
|
|
242
242
|
## 4b. Prove it WORKS, not just that it renders (`himi test`, when installed)
|
|
243
243
|
|
|
@@ -227,7 +227,7 @@ carousel placement remain separate gaps; the mappings above stay Partial.
|
|
|
227
227
|
| `platform_elements_image_section` | `wix.platform.elements.image_section` | [Core Image](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Inline primitive | Primitive | Translate media URL, aspect/crop ratio, fill/fit, corner radius, alt text and configured click action; preserve sizing and accessibility. |
|
|
228
228
|
| `platform_elements_button_section` | `wix.platform.elements.button_section` | [Core Button](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Inline primitive | Primitive | Translate first/second button labels, single/double layout, size/width/alignment, icons and styling. Resolve each action and source settings-version behavior. |
|
|
229
229
|
| `platform_elements_title_section` | `wix.platform.elements.title_section` | [Core Text](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Inline primitive | Primitive | Translate authored heading text, typography role, alignment and visibility through resolved design tokens. |
|
|
230
|
-
| `platform_general_social_links_section` | `wix.memberView.general.social_media_links_section` | [Core Icon/Button/HStack composition](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Inline composition | Composition | Read each authored links[].url/icon; compose links in order and preserve supported external-link behavior.
|
|
230
|
+
| `platform_general_social_links_section` | `wix.memberView.general.social_media_links_section` | [Core Icon/Button/HStack composition](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Inline composition | Composition | Read each authored links[].url/icon; compose links in order and preserve supported external-link behavior. Each link is a round tappable button in one wrapping row, drawing its network's catalog brand mark and named for its network; LinkedIn and an unknown network (no mark) are a name pill in the row (the host name for an unknown icon) and are reported; a link that is not an http(s) URL is left out and reported. |
|
|
231
231
|
| `platform_elements_paragraph_section` | `wix.memberView.elements.paragraph_section` | [Core Text / RichContent](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Inline primitive | Primitive | Translate text, typographyStyle, size and alignment. Use RichContent only when the actual input format requires it; do not reinterpret plain text as a rich document. |
|
|
232
232
|
| `platform_elements_repeater_section` | `wix.memberView.elements.repeater_section` | [Core Grid/LazyList + Image/Text/Button](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Inline composition | Composition | Translate authored items, hidden flags, grid/vertical type, columns, spacing, text/image options and per-item actionData. These are static authored items, not a live business catalog. |
|
|
233
233
|
| `platform_elements_interactive_banner_section` | `wix.memberView.elements.interactive_banner` | [Core Image/Text/Button + stack composition](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Existing base; adaptation needed | Partial | Reuse primitives for authored banner content/actions. Translate split/stacked layout, overlay, radius and alignment. Diagonal variants need a verified target layout or an explicit user-approved adaptation. |
|
|
@@ -247,11 +247,15 @@ Groups tab only on a confirmed `none`, and treat failed or absent reads as `unkn
|
|
|
247
247
|
Three sections that the census of the top 100 apps found with no rule at all (so `generate` stopped on them) are built from the
|
|
248
248
|
section's settings, with no loader of their own:
|
|
249
249
|
|
|
250
|
-
- `platform_general_social_links_section`: one **button per link**,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
250
|
+
- `platform_general_social_links_section`: one **round icon button per link**, in source order, in a row that wraps on a narrow
|
|
251
|
+
screen, as One App draws it. Each is a 48pt circle on `accentSurface` holding an `Icon` with its network's mark from the icon
|
|
252
|
+
catalog (`instagram`, `facebook`, `x_twitter`, `youtube`, `tiktok`, `pinterest`, `whatsapp`; `globe` for the `globe` icon),
|
|
253
|
+
with the link role (the tap leaves the app) and its network's name for screen readers ("Instagram", "X (Twitter)", "Website"). It is a tappable
|
|
254
|
+
container rather than an icon-only `Button`, because a native icon-only Button keeps its platform's padding and is not round on
|
|
255
|
+
Android. LinkedIn and an unknown network have no mark, so they are a pill in the same row showing their name (the host name for
|
|
256
|
+
an unknown one), and `generate` reports it. The tap opens the exact authored link. A link that is not an http(s) URL is left out
|
|
257
|
+
and reported; a section with no usable link leaves nothing, and a page made only of it is reported as unmapped. A brand mark is
|
|
258
|
+
drawn from the app binary's icon catalog, so an app built before the marks were added draws the unknown-icon marker.
|
|
255
259
|
- `forms_full_form_by_short_id`: the section's heading (only when the source shows it) and the form laid out inline, as the source
|
|
256
260
|
does: its fields in layout order with their labels and required marks, the form's own submit text, required and format checks, the
|
|
257
261
|
send and the thank-you state. The form is `platformFormId` (a v4 form id) or `shortId` (a legacy numeric id). The page worker
|
|
@@ -37523,7 +37523,7 @@
|
|
|
37523
37523
|
"name": "StoreProductSearch",
|
|
37524
37524
|
"kind": "interface",
|
|
37525
37525
|
"jsdoc": "/** User-facing product discovery. V3 name search/sorting belong to Search\n * Products; Query Products deliberately does not support the name field.\n * V1 uses its documented JSON-string filter/sort dialect. */",
|
|
37526
|
-
"decl": "export interface StoreProductSearch {\n query?: string;\n sort?: 'default' | 'az' | 'za';\n ids?: string[];\n /**\n * Only products in this category (V3) / collection (V1) — a category screen's\n * \"products in X\". ANDed with `ids` when both are given.\n *\n * V3 matches `allCategoriesInfo.categories`, so a parent category also lists its\n * subcategories' products, as the site does. Only Search Products can filter by\n * category — Query Products answers `not declared as filterable` — so a\n * `categoryId` always routes the V3 read to `/products/search`. V1 matches\n * `collections.id`.\n */\n categoryId?: string;\n limit?: number;\n cursor?: string;\n /** Extra v3 fieldsets. Additive — widens the default, never replaces it. */\n fields?: readonly string[];\n}",
|
|
37526
|
+
"decl": "export interface StoreProductSearch {\n query?: string;\n sort?: 'default' | 'az' | 'za';\n ids?: string[];\n /**\n * Only products in this category (V3) / collection (V1) — a category screen's\n * \"products in X\". ANDed with `ids` when both are given.\n *\n * V3 matches `allCategoriesInfo.categories`, so a parent category also lists its\n * subcategories' products, as the site does. Only Search Products can filter by\n * category — Query Products answers `not declared as filterable` — so a\n * `categoryId` always routes the V3 read to `/products/search`. V1 matches\n * `collections.id`.\n */\n categoryId?: string;\n /**\n * Match `query` in every field Wix Search Products searches (name, description, …), as the\n * Wix store's own search does, instead of the name alone. Either way any word of the query\n * matches (Wix's default OR mode) and the answer comes in relevance order. V3 only: V1 has\n * no search engine, so its `name` `$contains` filter stays the whole match.\n */\n searchAllFields?: boolean;\n limit?: number;\n cursor?: string;\n /** Extra v3 fieldsets. Additive — widens the default, never replaces it. */\n fields?: readonly string[];\n}",
|
|
37527
37527
|
"verificationChecked": true
|
|
37528
37528
|
},
|
|
37529
37529
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2052.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
|
|
6
6
|
"keywords": [
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"artifactId": "himalaya-cli"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"falconPackageHash": "
|
|
85
|
+
"falconPackageHash": "34b831849428c72a200ebbe9f93efb9c950232e0cab024d4d9535eab"
|
|
86
86
|
}
|
|
@@ -3726,6 +3726,10 @@
|
|
|
3726
3726
|
"source": "No products match “{query}”.",
|
|
3727
3727
|
"translation": "אין מוצרים שתואמים ל“{query}”."
|
|
3728
3728
|
},
|
|
3729
|
+
"h_30c8584bc33b": {
|
|
3730
|
+
"source": "Search isn’t available right now. No product names match “{query}”.",
|
|
3731
|
+
"translation": "החיפוש לא זמין כרגע. אין שמות מוצרים שתואמים ל“{query}”."
|
|
3732
|
+
},
|
|
3729
3733
|
"h_d00aa6043f90": {
|
|
3730
3734
|
"source": "No products match these filters.",
|
|
3731
3735
|
"translation": "אין מוצרים שתואמים למסננים האלה."
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// The store search behind Branded Lite's Shop and category search fields: the text goes to Wix
|
|
2
|
+
// Search Products, which matches any word of it in the name or the description, as the Wix
|
|
3
|
+
// store's own search does (the One App "Studio Practice Towel" also finds "Studio Practice
|
|
4
|
+
// Journal"). The product list stays the screen's loaded scope; the server answer only says which
|
|
5
|
+
// of those products match and in what order, so sort, filters, prices and hearts are unchanged.
|
|
6
|
+
//
|
|
7
|
+
// Debounce lives in the field (`searchField.debounceMs`): the worker sandbox has no timers on
|
|
8
|
+
// every engine, so one `search` action is one request. Only the newest text owns the answer; an
|
|
9
|
+
// older one landing late is dropped.
|
|
10
|
+
//
|
|
11
|
+
// Offline, or when the request fails, the products whose name contains the text still show
|
|
12
|
+
// (the previous, on-device rule), and `unavailable` lets the screen say the search itself did not
|
|
13
|
+
// run, which is not the same as "nothing matches".
|
|
14
|
+
import { connectivity } from "@himalaya/state";
|
|
15
|
+
import { searchStoreProducts } from "./himi-store.js";
|
|
16
|
+
import type { Row } from "./himi-store-facets.js";
|
|
17
|
+
|
|
18
|
+
/** The server ranks the best matches first; the first page is the answer. A broad word in a large
|
|
19
|
+
* catalog can match more than this: the name matches all still show, the rest past Wix's top 100
|
|
20
|
+
* do not (as a paged search shows its first page). */
|
|
21
|
+
export const STORE_SEARCH_LIMIT = 100;
|
|
22
|
+
|
|
23
|
+
export interface StoreSearchMatch {
|
|
24
|
+
/** Exact name first, then the other names that contain the text, then the server's other matches in its order. */
|
|
25
|
+
rows: Row[];
|
|
26
|
+
/** The server answer for this text is on its way: the name matches show, "no matches" must not. */
|
|
27
|
+
searching: boolean;
|
|
28
|
+
/** The server search did not run (offline) or failed: only name matches show. */
|
|
29
|
+
unavailable: boolean;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
interface Entry { key: string; status: "pending" | "ready" | "failed"; order?: Map<string, number> }
|
|
33
|
+
|
|
34
|
+
/** `onLanded` runs when the answer for the newest text lands or fails; the screen re-derives then. */
|
|
35
|
+
export function createStoreSearch(onLanded: () => void) {
|
|
36
|
+
let current: Entry | undefined;
|
|
37
|
+
|
|
38
|
+
/** The newest text's entry, starting its request when the text or the scope changed. */
|
|
39
|
+
function entryFor(scope: string, text: string): Entry | undefined {
|
|
40
|
+
const key = `${scope}\u0000${text.toLowerCase()}`;
|
|
41
|
+
if (current?.key === key) return current;
|
|
42
|
+
// Offline nothing is asked. Back online, the next derive asks (an edit, a refresh, or on Shop
|
|
43
|
+
// the reconnect recovery). A failed answer stays until `reset()`: asking again from derive
|
|
44
|
+
// would turn every failure into a request loop.
|
|
45
|
+
if (!connectivity().online) return undefined;
|
|
46
|
+
const entry: Entry = { key, status: "pending" };
|
|
47
|
+
current = entry;
|
|
48
|
+
void searchStoreProducts({ query: text, searchAllFields: true, limit: STORE_SEARCH_LIMIT, ...(scope ? { categoryId: scope } : {}) }).then(
|
|
49
|
+
(res) => {
|
|
50
|
+
entry.order = new Map();
|
|
51
|
+
for (const p of res.products ?? []) if (p.id && !entry.order.has(p.id)) entry.order.set(p.id, entry.order.size);
|
|
52
|
+
entry.status = "ready";
|
|
53
|
+
},
|
|
54
|
+
() => { entry.status = "failed"; },
|
|
55
|
+
).then(() => { if (current === entry) onLanded(); });
|
|
56
|
+
return entry;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return {
|
|
60
|
+
/** `rows` narrowed to `typed` (as typed; the match trims). `scope`: a category id, "" for the whole catalog. */
|
|
61
|
+
match(rows: Row[], scope: string, typed: string): StoreSearchMatch {
|
|
62
|
+
const text = typed.trim();
|
|
63
|
+
if (!text) return { rows, searching: false, unavailable: false };
|
|
64
|
+
const q = text.toLowerCase();
|
|
65
|
+
// Row names are lower-cased (toRows). An exact name is the product the shopper meant.
|
|
66
|
+
const named = rows.filter((r) => r.name === q).concat(rows.filter((r) => r.name !== q && r.name.includes(q)));
|
|
67
|
+
const entry = entryFor(scope, text);
|
|
68
|
+
if (entry?.status !== "ready") return { rows: named, searching: entry?.status === "pending", unavailable: entry?.status !== "pending" };
|
|
69
|
+
const order = entry.order!;
|
|
70
|
+
const shown = new Set(named);
|
|
71
|
+
const more = rows.filter((r) => !shown.has(r) && order.has(r.card.id)).sort((a, b) => order.get(a.card.id)! - order.get(b.card.id)!);
|
|
72
|
+
return { rows: named.concat(more), searching: false, unavailable: false };
|
|
73
|
+
},
|
|
74
|
+
/** Forget the answer (pull to refresh, a new session): the next match asks again. */
|
|
75
|
+
reset(): void { current = undefined; },
|
|
76
|
+
};
|
|
77
|
+
}
|