@wix/himalaya-cli 0.1172.0 → 0.1174.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.
Files changed (68) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/extensions.d.ts +13 -3
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/products-v3.d.ts +13 -1
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +10 -3
  4. package/dist/cli.mjs +38 -16
  5. package/dist/preview-assets.generated.bin +0 -0
  6. package/guides/sdk-reference.json +15 -3
  7. package/package.json +2 -2
  8. package/templates/beauty-salon-owner/dev/index.ts +172 -6
  9. package/templates/beauty-salon-owner/tier5-src/_shared/owner-editor-value.ts +71 -5
  10. package/templates/beauty-salon-owner/tier5-src/_shared/owner-rich-guard.ts +1 -9
  11. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post-form/index.ts +17 -42
  12. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product-form/index.ts +130 -27
  13. package/templates/community-club-owner/dev/index.ts +257 -8
  14. package/templates/community-club-owner/tier5-src/_shared/owner-editor-value.ts +71 -5
  15. package/templates/community-club-owner/tier5-src/_shared/owner-rich-guard.ts +1 -9
  16. package/templates/community-club-owner/tier5-src/himi-owner-lite-event-form/index.ts +117 -51
  17. package/templates/community-club-owner/tier5-src/himi-owner-lite-post-form/index.ts +17 -42
  18. package/templates/community-club-owner/tier5-src/himi-owner-lite-product-form/index.ts +130 -27
  19. package/templates/events-meetups-owner/dev/index.ts +87 -4
  20. package/templates/events-meetups-owner/tier5-src/_shared/owner-editor-value.ts +71 -5
  21. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event-form/index.ts +117 -51
  22. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post-form/index.ts +17 -42
  23. package/templates/gym-fitness-owner/dev/index.ts +257 -8
  24. package/templates/gym-fitness-owner/tier5-src/_shared/owner-editor-value.ts +71 -5
  25. package/templates/gym-fitness-owner/tier5-src/_shared/owner-rich-guard.ts +1 -9
  26. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event-form/index.ts +117 -51
  27. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post-form/index.ts +17 -42
  28. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product-form/index.ts +130 -27
  29. package/templates/nonprofit-cause-owner/dev/index.ts +87 -4
  30. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-editor-value.ts +71 -5
  31. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event-form/index.ts +117 -51
  32. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post-form/index.ts +17 -42
  33. package/templates/owner-lite/dev/index.ts +512 -17
  34. package/templates/owner-lite/tier5-src/_shared/owner-editor-value.ts +71 -5
  35. package/templates/owner-lite/tier5-src/_shared/owner-rich-guard.ts +1 -9
  36. package/templates/owner-lite/tier5-src/himi-owner-lite-event-form/index.ts +117 -51
  37. package/templates/owner-lite/tier5-src/himi-owner-lite-faq-question-form/index.ts +77 -10
  38. package/templates/owner-lite/tier5-src/himi-owner-lite-post-form/index.ts +17 -42
  39. package/templates/owner-lite/tier5-src/himi-owner-lite-product-form/index.ts +130 -27
  40. package/templates/podcast-creator-owner/dev/index.ts +257 -8
  41. package/templates/podcast-creator-owner/tier5-src/_shared/owner-editor-value.ts +71 -5
  42. package/templates/podcast-creator-owner/tier5-src/_shared/owner-rich-guard.ts +1 -9
  43. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event-form/index.ts +117 -51
  44. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post-form/index.ts +17 -42
  45. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product-form/index.ts +130 -27
  46. package/templates/portfolio-creative-owner/dev/index.ts +172 -6
  47. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-editor-value.ts +71 -5
  48. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-rich-guard.ts +1 -9
  49. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post-form/index.ts +17 -42
  50. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product-form/index.ts +130 -27
  51. package/templates/restaurant-owner/dev/index.ts +257 -8
  52. package/templates/restaurant-owner/tier5-src/_shared/owner-editor-value.ts +71 -5
  53. package/templates/restaurant-owner/tier5-src/_shared/owner-rich-guard.ts +1 -9
  54. package/templates/restaurant-owner/tier5-src/himi-owner-lite-event-form/index.ts +117 -51
  55. package/templates/restaurant-owner/tier5-src/himi-owner-lite-post-form/index.ts +17 -42
  56. package/templates/restaurant-owner/tier5-src/himi-owner-lite-product-form/index.ts +130 -27
  57. package/templates/retail-store-owner/dev/index.ts +172 -6
  58. package/templates/retail-store-owner/tier5-src/_shared/owner-editor-value.ts +71 -5
  59. package/templates/retail-store-owner/tier5-src/_shared/owner-rich-guard.ts +1 -9
  60. package/templates/retail-store-owner/tier5-src/himi-owner-lite-post-form/index.ts +17 -42
  61. package/templates/retail-store-owner/tier5-src/himi-owner-lite-product-form/index.ts +130 -27
  62. package/templates/yoga-studio-owner/dev/index.ts +87 -4
  63. package/templates/yoga-studio-owner/tier5-src/_shared/owner-editor-value.ts +71 -5
  64. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event-form/index.ts +117 -51
  65. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post-form/index.ts +17 -42
  66. package/templates/events-meetups-owner/tier5-src/_shared/owner-rich-guard.ts +0 -35
  67. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-rich-guard.ts +0 -35
  68. package/templates/yoga-studio-owner/tier5-src/_shared/owner-rich-guard.ts +0 -35
@@ -73796,9 +73796,8 @@ const SCREENS = runtimeSetting({
73796
73796
  "package": "himalaya",
73797
73797
  "type": "FormField",
73798
73798
  "props": {
73799
- "id": "answer",
73799
+ "id": "answerText",
73800
73800
  "label": "Answer",
73801
- "required": true,
73802
73801
  "kind": "text",
73803
73802
  "text": {
73804
73803
  "valuePath": "$service:himiOwnerLiteFaqQuestionForm.answer",
@@ -73810,7 +73809,90 @@ const SCREENS = runtimeSetting({
73810
73809
  }
73811
73810
  },
73812
73811
  "modifiers": {
73813
- "hiddenPath": "$service:himiOwnerLiteFaqQuestionForm.answerProtected"
73812
+ "hiddenPath": "$service:himiOwnerLiteFaqQuestionForm.answerFieldHidden"
73813
+ }
73814
+ },
73815
+ {
73816
+ "id": "faq_question.answer_slot",
73817
+ "body": {
73818
+ "package": "himalaya",
73819
+ "type": "VStack",
73820
+ "props": {
73821
+ "spacing": 6,
73822
+ "alignment": "leading",
73823
+ "children": [
73824
+ {
73825
+ "id": "",
73826
+ "body": {
73827
+ "package": "himalaya",
73828
+ "type": "Text",
73829
+ "props": {
73830
+ "text": "Answer",
73831
+ "style": "bodyEmphasis"
73832
+ }
73833
+ }
73834
+ },
73835
+ {
73836
+ "id": "faq_answer_editor",
73837
+ "body": {
73838
+ "package": "himalaya",
73839
+ "type": "RichContentEditor",
73840
+ "props": {
73841
+ "name": "answer",
73842
+ "documentPath": "$service:himiOwnerLiteFaqQuestionForm.answerJson",
73843
+ "placeholder": "Write the answer",
73844
+ "uploadService": "himiOwnerLiteFaqQuestionFormUploads",
73845
+ "onChange": {
73846
+ "actionId": "tier5.himiOwnerLiteFaqQuestionForm.answerChanged"
73847
+ },
73848
+ "minHeight": 200,
73849
+ "fallback": {
73850
+ "id": "faq_question.answer_unavailable",
73851
+ "body": {
73852
+ "package": "himalaya",
73853
+ "type": "VStack",
73854
+ "props": {
73855
+ "spacing": 4,
73856
+ "alignment": "leading",
73857
+ "children": [
73858
+ {
73859
+ "id": "",
73860
+ "body": {
73861
+ "package": "himalaya",
73862
+ "type": "Text",
73863
+ "props": {
73864
+ "text": "Editor unavailable",
73865
+ "style": "title3"
73866
+ }
73867
+ }
73868
+ },
73869
+ {
73870
+ "id": "",
73871
+ "body": {
73872
+ "package": "himalaya",
73873
+ "type": "Text",
73874
+ "props": {
73875
+ "text": "The answer can’t be edited here right now. The question, category and visibility still save, and the answer stays as it is.",
73876
+ "style": "footnote",
73877
+ "color": "textSecondary"
73878
+ }
73879
+ }
73880
+ }
73881
+ ]
73882
+ }
73883
+ }
73884
+ }
73885
+ }
73886
+ },
73887
+ "modifiers": {
73888
+ "hiddenPath": "$service:himiOwnerLiteFaqQuestionForm.answerPending"
73889
+ }
73890
+ }
73891
+ ]
73892
+ }
73893
+ },
73894
+ "modifiers": {
73895
+ "hiddenPath": "$service:himiOwnerLiteFaqQuestionForm.answerEditorHidden"
73814
73896
  }
73815
73897
  },
73816
73898
  {
@@ -74040,9 +74122,8 @@ const SCREENS = runtimeSetting({
74040
74122
  "package": "himalaya",
74041
74123
  "type": "FormField",
74042
74124
  "props": {
74043
- "id": "answer",
74125
+ "id": "answerText",
74044
74126
  "label": "Answer",
74045
- "required": true,
74046
74127
  "kind": "text",
74047
74128
  "text": {
74048
74129
  "valuePath": "$service:himiOwnerLiteFaqQuestionForm.answer",
@@ -74054,7 +74135,90 @@ const SCREENS = runtimeSetting({
74054
74135
  }
74055
74136
  },
74056
74137
  "modifiers": {
74057
- "hiddenPath": "$service:himiOwnerLiteFaqQuestionForm.answerProtected"
74138
+ "hiddenPath": "$service:himiOwnerLiteFaqQuestionForm.answerFieldHidden"
74139
+ }
74140
+ },
74141
+ {
74142
+ "id": "faq_question.answer_slot",
74143
+ "body": {
74144
+ "package": "himalaya",
74145
+ "type": "VStack",
74146
+ "props": {
74147
+ "spacing": 6,
74148
+ "alignment": "leading",
74149
+ "children": [
74150
+ {
74151
+ "id": "",
74152
+ "body": {
74153
+ "package": "himalaya",
74154
+ "type": "Text",
74155
+ "props": {
74156
+ "text": "Answer",
74157
+ "style": "bodyEmphasis"
74158
+ }
74159
+ }
74160
+ },
74161
+ {
74162
+ "id": "faq_answer_editor",
74163
+ "body": {
74164
+ "package": "himalaya",
74165
+ "type": "RichContentEditor",
74166
+ "props": {
74167
+ "name": "answer",
74168
+ "documentPath": "$service:himiOwnerLiteFaqQuestionForm.answerJson",
74169
+ "placeholder": "Write the answer",
74170
+ "uploadService": "himiOwnerLiteFaqQuestionFormUploads",
74171
+ "onChange": {
74172
+ "actionId": "tier5.himiOwnerLiteFaqQuestionForm.answerChanged"
74173
+ },
74174
+ "minHeight": 200,
74175
+ "fallback": {
74176
+ "id": "faq_question.answer_unavailable",
74177
+ "body": {
74178
+ "package": "himalaya",
74179
+ "type": "VStack",
74180
+ "props": {
74181
+ "spacing": 4,
74182
+ "alignment": "leading",
74183
+ "children": [
74184
+ {
74185
+ "id": "",
74186
+ "body": {
74187
+ "package": "himalaya",
74188
+ "type": "Text",
74189
+ "props": {
74190
+ "text": "Editor unavailable",
74191
+ "style": "title3"
74192
+ }
74193
+ }
74194
+ },
74195
+ {
74196
+ "id": "",
74197
+ "body": {
74198
+ "package": "himalaya",
74199
+ "type": "Text",
74200
+ "props": {
74201
+ "text": "The answer can’t be edited here right now. The question, category and visibility still save, and the answer stays as it is.",
74202
+ "style": "footnote",
74203
+ "color": "textSecondary"
74204
+ }
74205
+ }
74206
+ }
74207
+ ]
74208
+ }
74209
+ }
74210
+ }
74211
+ }
74212
+ },
74213
+ "modifiers": {
74214
+ "hiddenPath": "$service:himiOwnerLiteFaqQuestionForm.answerPending"
74215
+ }
74216
+ }
74217
+ ]
74218
+ }
74219
+ },
74220
+ "modifiers": {
74221
+ "hiddenPath": "$service:himiOwnerLiteFaqQuestionForm.answerEditorHidden"
74058
74222
  }
74059
74223
  },
74060
74224
  {
@@ -78213,7 +78377,7 @@ const SCREENS = runtimeSetting({
78213
78377
  "package": "himalaya",
78214
78378
  "type": "FormField",
78215
78379
  "props": {
78216
- "id": "description",
78380
+ "id": "descriptionText",
78217
78381
  "label": "Description",
78218
78382
  "kind": "text",
78219
78383
  "text": {
@@ -78226,7 +78390,90 @@ const SCREENS = runtimeSetting({
78226
78390
  }
78227
78391
  },
78228
78392
  "modifiers": {
78229
- "hiddenPath": "$service:himiOwnerLiteProductForm.descriptionProtected"
78393
+ "hiddenPath": "$service:himiOwnerLiteProductForm.descriptionFieldHidden"
78394
+ }
78395
+ },
78396
+ {
78397
+ "id": "product_form.description_slot",
78398
+ "body": {
78399
+ "package": "himalaya",
78400
+ "type": "VStack",
78401
+ "props": {
78402
+ "spacing": 6,
78403
+ "alignment": "leading",
78404
+ "children": [
78405
+ {
78406
+ "id": "",
78407
+ "body": {
78408
+ "package": "himalaya",
78409
+ "type": "Text",
78410
+ "props": {
78411
+ "text": "Description",
78412
+ "style": "bodyEmphasis"
78413
+ }
78414
+ }
78415
+ },
78416
+ {
78417
+ "id": "product_description_editor",
78418
+ "body": {
78419
+ "package": "himalaya",
78420
+ "type": "RichContentEditor",
78421
+ "props": {
78422
+ "name": "description",
78423
+ "documentPath": "$service:himiOwnerLiteProductForm.descriptionJson",
78424
+ "placeholder": "Optional",
78425
+ "uploadService": "himiOwnerLiteProductFormUploads",
78426
+ "onChange": {
78427
+ "actionId": "tier5.himiOwnerLiteProductForm.descriptionChanged"
78428
+ },
78429
+ "minHeight": 200,
78430
+ "fallback": {
78431
+ "id": "product_form.description_unavailable",
78432
+ "body": {
78433
+ "package": "himalaya",
78434
+ "type": "VStack",
78435
+ "props": {
78436
+ "spacing": 4,
78437
+ "alignment": "leading",
78438
+ "children": [
78439
+ {
78440
+ "id": "",
78441
+ "body": {
78442
+ "package": "himalaya",
78443
+ "type": "Text",
78444
+ "props": {
78445
+ "text": "Editor unavailable",
78446
+ "style": "title3"
78447
+ }
78448
+ }
78449
+ },
78450
+ {
78451
+ "id": "",
78452
+ "body": {
78453
+ "package": "himalaya",
78454
+ "type": "Text",
78455
+ "props": {
78456
+ "text": "The description can’t be edited here right now. Name, price and SKU still save, and the description stays as it is.",
78457
+ "style": "footnote",
78458
+ "color": "textSecondary"
78459
+ }
78460
+ }
78461
+ }
78462
+ ]
78463
+ }
78464
+ }
78465
+ }
78466
+ }
78467
+ },
78468
+ "modifiers": {
78469
+ "hiddenPath": "$service:himiOwnerLiteProductForm.descriptionPending"
78470
+ }
78471
+ }
78472
+ ]
78473
+ }
78474
+ },
78475
+ "modifiers": {
78476
+ "hiddenPath": "$service:himiOwnerLiteProductForm.descriptionEditorHidden"
78230
78477
  }
78231
78478
  }
78232
78479
  ],
@@ -78495,7 +78742,7 @@ const SCREENS = runtimeSetting({
78495
78742
  "onChange": {
78496
78743
  "actionId": "tier5.himiOwnerLitePostForm.bodyChanged"
78497
78744
  },
78498
- "minHeight": 360,
78745
+ "minHeight": 240,
78499
78746
  "fallback": {
78500
78747
  "id": "post_form.body_unavailable",
78501
78748
  "body": {
@@ -78952,7 +79199,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
78952
79199
  "package": "himalaya",
78953
79200
  "type": "FormField",
78954
79201
  "props": {
78955
- "id": "description",
79202
+ "id": "descriptionText",
78956
79203
  "label": "Description",
78957
79204
  "kind": "text",
78958
79205
  "text": {
@@ -78965,7 +79212,90 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
78965
79212
  }
78966
79213
  },
78967
79214
  "modifiers": {
78968
- "hiddenPath": "$service:himiOwnerLiteProductForm.descriptionProtected"
79215
+ "hiddenPath": "$service:himiOwnerLiteProductForm.descriptionFieldHidden"
79216
+ }
79217
+ },
79218
+ {
79219
+ "id": "product_form.description_slot",
79220
+ "body": {
79221
+ "package": "himalaya",
79222
+ "type": "VStack",
79223
+ "props": {
79224
+ "spacing": 6,
79225
+ "alignment": "leading",
79226
+ "children": [
79227
+ {
79228
+ "id": "",
79229
+ "body": {
79230
+ "package": "himalaya",
79231
+ "type": "Text",
79232
+ "props": {
79233
+ "text": "Description",
79234
+ "style": "bodyEmphasis"
79235
+ }
79236
+ }
79237
+ },
79238
+ {
79239
+ "id": "product_description_editor",
79240
+ "body": {
79241
+ "package": "himalaya",
79242
+ "type": "RichContentEditor",
79243
+ "props": {
79244
+ "name": "description",
79245
+ "documentPath": "$service:himiOwnerLiteProductForm.descriptionJson",
79246
+ "placeholder": "Optional",
79247
+ "uploadService": "himiOwnerLiteProductFormUploads",
79248
+ "onChange": {
79249
+ "actionId": "tier5.himiOwnerLiteProductForm.descriptionChanged"
79250
+ },
79251
+ "minHeight": 200,
79252
+ "fallback": {
79253
+ "id": "product_form.description_unavailable",
79254
+ "body": {
79255
+ "package": "himalaya",
79256
+ "type": "VStack",
79257
+ "props": {
79258
+ "spacing": 4,
79259
+ "alignment": "leading",
79260
+ "children": [
79261
+ {
79262
+ "id": "",
79263
+ "body": {
79264
+ "package": "himalaya",
79265
+ "type": "Text",
79266
+ "props": {
79267
+ "text": "Editor unavailable",
79268
+ "style": "title3"
79269
+ }
79270
+ }
79271
+ },
79272
+ {
79273
+ "id": "",
79274
+ "body": {
79275
+ "package": "himalaya",
79276
+ "type": "Text",
79277
+ "props": {
79278
+ "text": "The description can’t be edited here right now. Name, price and SKU still save, and the description stays as it is.",
79279
+ "style": "footnote",
79280
+ "color": "textSecondary"
79281
+ }
79282
+ }
79283
+ }
79284
+ ]
79285
+ }
79286
+ }
79287
+ }
79288
+ }
79289
+ },
79290
+ "modifiers": {
79291
+ "hiddenPath": "$service:himiOwnerLiteProductForm.descriptionPending"
79292
+ }
79293
+ }
79294
+ ]
79295
+ }
79296
+ },
79297
+ "modifiers": {
79298
+ "hiddenPath": "$service:himiOwnerLiteProductForm.descriptionEditorHidden"
78969
79299
  }
78970
79300
  }
78971
79301
  ],
@@ -79466,7 +79796,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
79466
79796
  "package": "himalaya",
79467
79797
  "type": "FormField",
79468
79798
  "props": {
79469
- "id": "description",
79799
+ "id": "descriptionText",
79470
79800
  "label": "Description",
79471
79801
  "kind": "text",
79472
79802
  "text": {
@@ -79479,7 +79809,90 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
79479
79809
  }
79480
79810
  },
79481
79811
  "modifiers": {
79482
- "hiddenPath": "$service:himiOwnerLiteEventForm.descriptionProtected"
79812
+ "hiddenPath": "$service:himiOwnerLiteEventForm.descriptionFieldHidden"
79813
+ }
79814
+ },
79815
+ {
79816
+ "id": "event_form.description_slot",
79817
+ "body": {
79818
+ "package": "himalaya",
79819
+ "type": "VStack",
79820
+ "props": {
79821
+ "spacing": 6,
79822
+ "alignment": "leading",
79823
+ "children": [
79824
+ {
79825
+ "id": "",
79826
+ "body": {
79827
+ "package": "himalaya",
79828
+ "type": "Text",
79829
+ "props": {
79830
+ "text": "Description",
79831
+ "style": "bodyEmphasis"
79832
+ }
79833
+ }
79834
+ },
79835
+ {
79836
+ "id": "event_description_editor",
79837
+ "body": {
79838
+ "package": "himalaya",
79839
+ "type": "RichContentEditor",
79840
+ "props": {
79841
+ "name": "description",
79842
+ "documentPath": "$service:himiOwnerLiteEventForm.descriptionJson",
79843
+ "placeholder": "Optional",
79844
+ "uploadService": "himiOwnerLiteEventFormUploads",
79845
+ "onChange": {
79846
+ "actionId": "tier5.himiOwnerLiteEventForm.descriptionChanged"
79847
+ },
79848
+ "minHeight": 200,
79849
+ "fallback": {
79850
+ "id": "event_form.description_unavailable",
79851
+ "body": {
79852
+ "package": "himalaya",
79853
+ "type": "VStack",
79854
+ "props": {
79855
+ "spacing": 4,
79856
+ "alignment": "leading",
79857
+ "children": [
79858
+ {
79859
+ "id": "",
79860
+ "body": {
79861
+ "package": "himalaya",
79862
+ "type": "Text",
79863
+ "props": {
79864
+ "text": "Editor unavailable",
79865
+ "style": "title3"
79866
+ }
79867
+ }
79868
+ },
79869
+ {
79870
+ "id": "",
79871
+ "body": {
79872
+ "package": "himalaya",
79873
+ "type": "Text",
79874
+ "props": {
79875
+ "text": "The description can’t be edited here right now. The title still saves, and the description stays as it is.",
79876
+ "style": "footnote",
79877
+ "color": "textSecondary"
79878
+ }
79879
+ }
79880
+ }
79881
+ ]
79882
+ }
79883
+ }
79884
+ }
79885
+ }
79886
+ },
79887
+ "modifiers": {
79888
+ "hiddenPath": "$service:himiOwnerLiteEventForm.descriptionPending"
79889
+ }
79890
+ }
79891
+ ]
79892
+ }
79893
+ },
79894
+ "modifiers": {
79895
+ "hiddenPath": "$service:himiOwnerLiteEventForm.descriptionEditorHidden"
79483
79896
  }
79484
79897
  }
79485
79898
  ],
@@ -79752,7 +80165,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
79752
80165
  "onChange": {
79753
80166
  "actionId": "tier5.himiOwnerLitePostForm.bodyChanged"
79754
80167
  },
79755
- "minHeight": 360,
80168
+ "minHeight": 240,
79756
80169
  "fallback": {
79757
80170
  "id": "post_form.body_unavailable",
79758
80171
  "body": {
@@ -85378,9 +85791,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
85378
85791
  "package": "himalaya",
85379
85792
  "type": "FormField",
85380
85793
  "props": {
85381
- "id": "answer",
85794
+ "id": "answerText",
85382
85795
  "label": "Answer",
85383
- "required": true,
85384
85796
  "kind": "text",
85385
85797
  "text": {
85386
85798
  "valuePath": "$service:himiOwnerLiteFaqQuestionForm.answer",
@@ -85392,7 +85804,90 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
85392
85804
  }
85393
85805
  },
85394
85806
  "modifiers": {
85395
- "hiddenPath": "$service:himiOwnerLiteFaqQuestionForm.answerProtected"
85807
+ "hiddenPath": "$service:himiOwnerLiteFaqQuestionForm.answerFieldHidden"
85808
+ }
85809
+ },
85810
+ {
85811
+ "id": "faq_question.answer_slot",
85812
+ "body": {
85813
+ "package": "himalaya",
85814
+ "type": "VStack",
85815
+ "props": {
85816
+ "spacing": 6,
85817
+ "alignment": "leading",
85818
+ "children": [
85819
+ {
85820
+ "id": "",
85821
+ "body": {
85822
+ "package": "himalaya",
85823
+ "type": "Text",
85824
+ "props": {
85825
+ "text": "Answer",
85826
+ "style": "bodyEmphasis"
85827
+ }
85828
+ }
85829
+ },
85830
+ {
85831
+ "id": "faq_answer_editor",
85832
+ "body": {
85833
+ "package": "himalaya",
85834
+ "type": "RichContentEditor",
85835
+ "props": {
85836
+ "name": "answer",
85837
+ "documentPath": "$service:himiOwnerLiteFaqQuestionForm.answerJson",
85838
+ "placeholder": "Write the answer",
85839
+ "uploadService": "himiOwnerLiteFaqQuestionFormUploads",
85840
+ "onChange": {
85841
+ "actionId": "tier5.himiOwnerLiteFaqQuestionForm.answerChanged"
85842
+ },
85843
+ "minHeight": 200,
85844
+ "fallback": {
85845
+ "id": "faq_question.answer_unavailable",
85846
+ "body": {
85847
+ "package": "himalaya",
85848
+ "type": "VStack",
85849
+ "props": {
85850
+ "spacing": 4,
85851
+ "alignment": "leading",
85852
+ "children": [
85853
+ {
85854
+ "id": "",
85855
+ "body": {
85856
+ "package": "himalaya",
85857
+ "type": "Text",
85858
+ "props": {
85859
+ "text": "Editor unavailable",
85860
+ "style": "title3"
85861
+ }
85862
+ }
85863
+ },
85864
+ {
85865
+ "id": "",
85866
+ "body": {
85867
+ "package": "himalaya",
85868
+ "type": "Text",
85869
+ "props": {
85870
+ "text": "The answer can’t be edited here right now. The question, category and visibility still save, and the answer stays as it is.",
85871
+ "style": "footnote",
85872
+ "color": "textSecondary"
85873
+ }
85874
+ }
85875
+ }
85876
+ ]
85877
+ }
85878
+ }
85879
+ }
85880
+ }
85881
+ },
85882
+ "modifiers": {
85883
+ "hiddenPath": "$service:himiOwnerLiteFaqQuestionForm.answerPending"
85884
+ }
85885
+ }
85886
+ ]
85887
+ }
85888
+ },
85889
+ "modifiers": {
85890
+ "hiddenPath": "$service:himiOwnerLiteFaqQuestionForm.answerEditorHidden"
85396
85891
  }
85397
85892
  },
85398
85893
  {