@vectoriox/iox-ui 5.193.0 → 5.194.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/fesm2022/vectoriox-iox-ui-forms-core.mjs +186 -122
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +193 -95
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +194 -132
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/forms-core/index.d.ts +17 -2
- package/harness-core/index.d.ts +102 -12
- package/index.d.ts +7 -5
- package/package.json +1 -1
- package/src/forms-core/messages.ts +72 -1
- package/src/forms-core/submit-lifecycle.ts +4 -5
- package/src/harness-core/business-types.ts +14 -9
- package/src/harness-core/harness-spec.generated.ts +168 -84
- package/src/harness-core/lint.ts +29 -11
package/forms-core/index.d.ts
CHANGED
|
@@ -186,8 +186,21 @@ declare const FORM_ERROR_KEYS: Readonly<{
|
|
|
186
186
|
RateLimited: "forms.validation.form.rateLimited";
|
|
187
187
|
Server: "forms.validation.form.server";
|
|
188
188
|
}>;
|
|
189
|
-
/** The English
|
|
189
|
+
/** The English column of the ONE forms message catalog (`formMessage`) — what a site in any language the catalog does not
|
|
190
|
+
* hold reads, and what a consumer that has not added the keys yet still shows. */
|
|
190
191
|
declare const DEFAULT_EN_MESSAGES: Readonly<Record<string, string>>;
|
|
192
|
+
/** The languages the catalog holds. */
|
|
193
|
+
declare const FORM_MESSAGE_LANGUAGES: readonly string[];
|
|
194
|
+
/** The whole column for `lang` (`he-IL` → he, `iw` → he) — English for a language the catalog does not hold. */
|
|
195
|
+
declare function formMessages(lang?: string | null): Readonly<Record<string, string>>;
|
|
196
|
+
/** `{{n}}` / `{{field}}` placed where the sentence's grammar put them; a missing param reads as ''. */
|
|
197
|
+
declare function interpolateMessage(template: string, params?: Readonly<Record<string, unknown>> | null): string;
|
|
198
|
+
/**
|
|
199
|
+
* A message KEY as the sentence a visitor reads, in the page's language — THE reading both renderers make (the
|
|
200
|
+
* component path's default `IOX_FORM_MESSAGES`, the string runtime's): `lang`'s sentence, else the English one, else the
|
|
201
|
+
* key itself (an author's own message, which travels as its text).
|
|
202
|
+
*/
|
|
203
|
+
declare function formMessage(key: string, params?: Readonly<Record<string, unknown>> | null, lang?: string | null): string;
|
|
191
204
|
|
|
192
205
|
interface FieldError {
|
|
193
206
|
/** i18n key, or the author's own override string when they set one. */
|
|
@@ -557,6 +570,8 @@ declare enum SubmitLabelClass {
|
|
|
557
570
|
/** The check the Sent label draws once (premium N2 — the rare-tier beat, Emil 135/136): one stroke, `pathLength` 100 so
|
|
558
571
|
* the shared CSS draws it by `stroke-dashoffset` whatever its real length. */
|
|
559
572
|
declare const SUBMIT_CHECK_SVG: string;
|
|
573
|
+
/** "Sent" in the site's language, for a button whose author wrote no Sent words — the forms message catalog's
|
|
574
|
+
* (`formMessage`), the document's `lang` picking, like the date picker's words. */
|
|
560
575
|
declare function sentWord(lang: string | null | undefined): string;
|
|
561
576
|
/** The SubmitButton's baseline "While sending" words — what a node holds that nobody wrote. */
|
|
562
577
|
declare const DEFAULT_BUSY_WORDS: string;
|
|
@@ -996,5 +1011,5 @@ interface FieldMarkupOptions {
|
|
|
996
1011
|
/** A Field's whole element, as the string renderer writes it. */
|
|
997
1012
|
declare function fieldHtml(props: Record<string, any> | null | undefined, options: FieldMarkupOptions): string;
|
|
998
1013
|
|
|
999
|
-
export { CALENDAR_ROWS, CHANNEL_KINDS, CHOICE_MESSAGE_KEYS, CalendarKey, ChannelKind, ChoiceAppearance, ControlType, DATE_EMPTY_ATTRIBUTE, DATE_ICON_SVG, DATE_MAX_ATTRIBUTE, DATE_MESSAGE_KEYS, DATE_MIN_ATTRIBUTE, DATE_PICKER_WORDS, DEFAULT_BUSY_WORDS, DEFAULT_EN_MESSAGES, EMAIL_TO_OWNER, FIELD_GROUP_NODE_TYPE, FIELD_NODE_TYPE, FORM_ACTIONS_ROLE, FORM_AFTER_SEND_ATTRIBUTE, FORM_AFTER_SEND_TRAIT, FORM_ANNOUNCER_ATTRIBUTE, FORM_CHANNEL_ROLE, FORM_CONTENT_TYPES, FORM_ERROR_KEYS, FORM_FIELDS_ATTRIBUTE, FORM_HONEYPOT_CLASS, FORM_NODE_TYPE, FORM_PRESETS, FORM_PRESET_WORDS_HE, FORM_STATE_ATTRIBUTE, FeedbackTiming, FormAfterSend, FormPresetId, FormRenderState, FormWordsLanguage, HONEYPOT_FIELD, IMPLIED_PATTERN, INITIAL_FORM_STATE, INTERACTIVE_HOST_TAGS, InteractiveTag, MESSAGE_NAMESPACE, OPTION_CONTROLS, PATTERN_MESSAGE_KEYS, PATTERN_PRESETS, PATTERN_PRESET_OPTIONS, PatternPreset, RENDERED_AT_FIELD, RULE_DESCRIPTORS, RULE_MESSAGE_KEYS, RuleName, RuleParamKind, STORE_ACTION, SUBMIT_BUTTON_NODE_TYPE, SUBMIT_CHECK_SVG, SUBMIT_KEEP_ENABLED_ATTRIBUTE, SUBMIT_MESSAGE_KEYS, SubmitLabelClass, addDaysIso, addMonthsIso, addableRules, applyServerErrors, baseFieldName, baselineFormWords, busyWord, calendarKeyTarget, calendarMonth, channelHref, channelOpensNewTab, channelWords, choiceAppearanceOf, clampIso, clientFormSpec, collectFieldNodes, collectFormSpec, dateBoundRules, dateOfIso, datePickerWords, deriveFieldName, emailsOwner, failureAnnouncement, fieldDateRange, fieldHtml, fieldKindWords, fieldOptionsOf, fieldSpecOf, findFormContentInHosts, firstInvalidField, formAfterSend, formChromeHtml, formContentInHost, formFieldNameMap, formFieldNames, formLanguageOf, formPresetById, formPresetIn, formWordIn, formWords, formatDateInWords, inputTypeOf, interpretSubmitResponse, isChannelFilled, isDateBoundParams, isDateField, isFormContent, isInteractiveHost, isIsoDate, isMultiValueField, isoOfDate, normaliseAnswers, onFieldBlur, onFieldChange, onSubmitAttempt, parseChannelHref, parseClientFormSpec, parseDateBound, parseFieldOptions, planFormPresetIds, presetFormActions, resetFormState, resolveDateBound, rulesFor, sentWord, shouldShowError, submitBusyWords, submitButtonLabelsHtml, submitButtonView, submitEndpointPath, submitOutcome, todayIso, uniqueFieldName, uniqueFieldNames, validateField, validateForm, weekStartFor, withAntiSpamFields };
|
|
1014
|
+
export { CALENDAR_ROWS, CHANNEL_KINDS, CHOICE_MESSAGE_KEYS, CalendarKey, ChannelKind, ChoiceAppearance, ControlType, DATE_EMPTY_ATTRIBUTE, DATE_ICON_SVG, DATE_MAX_ATTRIBUTE, DATE_MESSAGE_KEYS, DATE_MIN_ATTRIBUTE, DATE_PICKER_WORDS, DEFAULT_BUSY_WORDS, DEFAULT_EN_MESSAGES, EMAIL_TO_OWNER, FIELD_GROUP_NODE_TYPE, FIELD_NODE_TYPE, FORM_ACTIONS_ROLE, FORM_AFTER_SEND_ATTRIBUTE, FORM_AFTER_SEND_TRAIT, FORM_ANNOUNCER_ATTRIBUTE, FORM_CHANNEL_ROLE, FORM_CONTENT_TYPES, FORM_ERROR_KEYS, FORM_FIELDS_ATTRIBUTE, FORM_HONEYPOT_CLASS, FORM_MESSAGE_LANGUAGES, FORM_NODE_TYPE, FORM_PRESETS, FORM_PRESET_WORDS_HE, FORM_STATE_ATTRIBUTE, FeedbackTiming, FormAfterSend, FormPresetId, FormRenderState, FormWordsLanguage, HONEYPOT_FIELD, IMPLIED_PATTERN, INITIAL_FORM_STATE, INTERACTIVE_HOST_TAGS, InteractiveTag, MESSAGE_NAMESPACE, OPTION_CONTROLS, PATTERN_MESSAGE_KEYS, PATTERN_PRESETS, PATTERN_PRESET_OPTIONS, PatternPreset, RENDERED_AT_FIELD, RULE_DESCRIPTORS, RULE_MESSAGE_KEYS, RuleName, RuleParamKind, STORE_ACTION, SUBMIT_BUTTON_NODE_TYPE, SUBMIT_CHECK_SVG, SUBMIT_KEEP_ENABLED_ATTRIBUTE, SUBMIT_MESSAGE_KEYS, SubmitLabelClass, addDaysIso, addMonthsIso, addableRules, applyServerErrors, baseFieldName, baselineFormWords, busyWord, calendarKeyTarget, calendarMonth, channelHref, channelOpensNewTab, channelWords, choiceAppearanceOf, clampIso, clientFormSpec, collectFieldNodes, collectFormSpec, dateBoundRules, dateOfIso, datePickerWords, deriveFieldName, emailsOwner, failureAnnouncement, fieldDateRange, fieldHtml, fieldKindWords, fieldOptionsOf, fieldSpecOf, findFormContentInHosts, firstInvalidField, formAfterSend, formChromeHtml, formContentInHost, formFieldNameMap, formFieldNames, formLanguageOf, formMessage, formMessages, formPresetById, formPresetIn, formWordIn, formWords, formatDateInWords, inputTypeOf, interpolateMessage, interpretSubmitResponse, isChannelFilled, isDateBoundParams, isDateField, isFormContent, isInteractiveHost, isIsoDate, isMultiValueField, isoOfDate, normaliseAnswers, onFieldBlur, onFieldChange, onSubmitAttempt, parseChannelHref, parseClientFormSpec, parseDateBound, parseFieldOptions, planFormPresetIds, presetFormActions, resetFormState, resolveDateBound, rulesFor, sentWord, shouldShowError, submitBusyWords, submitButtonLabelsHtml, submitButtonView, submitEndpointPath, submitOutcome, todayIso, uniqueFieldName, uniqueFieldNames, validateField, validateForm, weekStartFor, withAntiSpamFields };
|
|
1000
1015
|
export type { CalendarDay, CalendarMonth, CalendarOptions, ClientFormSpec, DateBoundParams, DatePickerWords, FieldError, FieldKindControl, FieldKindWords, FieldMarkupOptions, FieldOption, FieldOptionSource, FieldResult, FieldSpec, FormFailureWords, FormNodeLike, FormPresetChannel, FormPresetDef, FormPresetField, FormResult, FormRuntimeState, FormSpec, FormTransport, FormWordSlot, FormWords, MisplacedFormContent, NestingNode, RuleDescriptor, SubmitAction, SubmitButtonView, SubmitLabels, SubmitOutcome, SubmitRequest, SubmitResponse, ValidateOptions, ValidationRule };
|
package/harness-core/index.d.ts
CHANGED
|
@@ -78,30 +78,35 @@ declare const SPEC_USER_AVOIDS: {
|
|
|
78
78
|
readonly mode: readonly ["dark"];
|
|
79
79
|
};
|
|
80
80
|
readonly say: "You asked for no dark backgrounds.";
|
|
81
|
+
readonly sayHe: "ביקשתם בלי רקעים כהים.";
|
|
81
82
|
};
|
|
82
83
|
readonly "loud-colour": {
|
|
83
84
|
readonly when: {
|
|
84
85
|
readonly moods: readonly ["bold", "energetic"];
|
|
85
86
|
};
|
|
86
87
|
readonly say: "You asked for nothing loud.";
|
|
88
|
+
readonly sayHe: "ביקשתם בלי דברים רועשים.";
|
|
87
89
|
};
|
|
88
90
|
readonly "lots-of-motion": {
|
|
89
91
|
readonly when: {
|
|
90
92
|
readonly motion: readonly ["snappy", "lively"];
|
|
91
93
|
};
|
|
92
94
|
readonly say: "You asked for little movement.";
|
|
95
|
+
readonly sayHe: "ביקשתם מעט תנועה.";
|
|
93
96
|
};
|
|
94
97
|
readonly "too-cute": {
|
|
95
98
|
readonly when: {
|
|
96
99
|
readonly moods: readonly ["playful"];
|
|
97
100
|
};
|
|
98
101
|
readonly say: "You asked for nothing cute or childish.";
|
|
102
|
+
readonly sayHe: "ביקשתם בלי חמוד או ילדותי.";
|
|
99
103
|
};
|
|
100
104
|
readonly "too-corporate": {
|
|
101
105
|
readonly when: {
|
|
102
106
|
readonly moods: readonly ["trustworthy", "technical"];
|
|
103
107
|
};
|
|
104
108
|
readonly say: "You asked for nothing corporate.";
|
|
109
|
+
readonly sayHe: "ביקשתם בלי מראה תאגידי.";
|
|
105
110
|
};
|
|
106
111
|
};
|
|
107
112
|
declare const SPEC_STRUCTURES: {
|
|
@@ -201,17 +206,21 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
201
206
|
readonly moods: readonly ["playful"];
|
|
202
207
|
};
|
|
203
208
|
readonly say: "Loud colour and bouncy shapes fight the photos for attention.";
|
|
209
|
+
readonly sayHe: "צבע רועש וצורות קופצניות מתחרים בתמונות על תשומת הלב.";
|
|
204
210
|
}, {
|
|
205
211
|
readonly check: "needs-family";
|
|
206
212
|
readonly family: "collection";
|
|
207
213
|
readonly say: "Show the work: a site like this needs a gallery or a grid of projects on the home page.";
|
|
214
|
+
readonly sayHe: "הראו את העבודה: אתר כזה צריך גלריה או רשת של פרויקטים בעמוד הבית.";
|
|
208
215
|
}, {
|
|
209
216
|
readonly check: "image-hero";
|
|
210
217
|
readonly say: "Lead with a picture: the first screen should show the place or the work, not only words.";
|
|
218
|
+
readonly sayHe: "פתחו בתמונה: המסך הראשון צריך להראות את המקום או את העבודה, לא רק מילים.";
|
|
211
219
|
}, {
|
|
212
220
|
readonly check: "copy-length";
|
|
213
221
|
readonly max: "standard";
|
|
214
222
|
readonly say: "Heavy text buries the pictures.";
|
|
223
|
+
readonly sayHe: "טקסט כבד קובר את התמונות.";
|
|
215
224
|
}];
|
|
216
225
|
readonly words: readonly ["capturing memories", "stunning", "passionate"];
|
|
217
226
|
readonly structure: "studio";
|
|
@@ -296,18 +305,22 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
296
305
|
readonly moods: readonly ["playful"];
|
|
297
306
|
};
|
|
298
307
|
readonly say: "Playful shapes cheapen a portfolio of finished rooms.";
|
|
308
|
+
readonly sayHe: "צורות שובבות מוזילות תיק עבודות של חללים גמורים.";
|
|
299
309
|
}, {
|
|
300
310
|
readonly when: {
|
|
301
311
|
readonly density: readonly ["compact"];
|
|
302
312
|
};
|
|
303
313
|
readonly say: "A cramped page is the opposite of a well-designed room.";
|
|
314
|
+
readonly sayHe: "עמוד צפוף הוא ההפך מחדר מעוצב היטב.";
|
|
304
315
|
}, {
|
|
305
316
|
readonly check: "needs-family";
|
|
306
317
|
readonly family: "collection";
|
|
307
318
|
readonly say: "Show the work: a site like this needs a gallery or a grid of projects on the home page.";
|
|
319
|
+
readonly sayHe: "הראו את העבודה: אתר כזה צריך גלריה או רשת של פרויקטים בעמוד הבית.";
|
|
308
320
|
}, {
|
|
309
321
|
readonly check: "image-hero";
|
|
310
322
|
readonly say: "Lead with a picture: the first screen should show the place or the work, not only words.";
|
|
323
|
+
readonly sayHe: "פתחו בתמונה: המסך הראשון צריך להראות את המקום או את העבודה, לא רק מילים.";
|
|
311
324
|
}];
|
|
312
325
|
readonly words: readonly ["dream home", "luxurious", "stunning"];
|
|
313
326
|
readonly structure: "studio";
|
|
@@ -392,19 +405,23 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
392
405
|
readonly moods: readonly ["playful"];
|
|
393
406
|
};
|
|
394
407
|
readonly say: "Playful shapes undercut the precision clients pay for.";
|
|
408
|
+
readonly sayHe: "צורות שובבות פוגעות בדיוק שלקוחות משלמים עליו.";
|
|
395
409
|
}, {
|
|
396
410
|
readonly check: "brand-hue";
|
|
397
411
|
readonly from: 270;
|
|
398
412
|
readonly to: 335;
|
|
399
413
|
readonly minChroma: 0.12;
|
|
400
414
|
readonly say: "A purple-pink brand is the colour of AI tools right now; on this kind of site it can read as generic.";
|
|
415
|
+
readonly sayHe: "מותג סגול-ורוד הוא הצבע של כלי ה-AI עכשיו; באתר מהסוג הזה הוא עלול להיראות גנרי.";
|
|
401
416
|
}, {
|
|
402
417
|
readonly check: "needs-family";
|
|
403
418
|
readonly family: "collection";
|
|
404
419
|
readonly say: "Show the work: a site like this needs a gallery or a grid of projects on the home page.";
|
|
420
|
+
readonly sayHe: "הראו את העבודה: אתר כזה צריך גלריה או רשת של פרויקטים בעמוד הבית.";
|
|
405
421
|
}, {
|
|
406
422
|
readonly check: "image-hero";
|
|
407
423
|
readonly say: "Lead with a picture: the first screen should show the place or the work, not only words.";
|
|
424
|
+
readonly sayHe: "פתחו בתמונה: המסך הראשון צריך להראות את המקום או את העבודה, לא רק מילים.";
|
|
408
425
|
}];
|
|
409
426
|
readonly words: readonly ["iconic", "world-class", "cutting-edge"];
|
|
410
427
|
readonly structure: "studio";
|
|
@@ -488,10 +505,12 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
488
505
|
readonly check: "needs-family";
|
|
489
506
|
readonly family: "collection";
|
|
490
507
|
readonly say: "Show the work: a site like this needs a gallery or a grid of projects on the home page.";
|
|
508
|
+
readonly sayHe: "הראו את העבודה: אתר כזה צריך גלריה או רשת של פרויקטים בעמוד הבית.";
|
|
491
509
|
}, {
|
|
492
510
|
readonly check: "no-pattern";
|
|
493
511
|
readonly pattern: "pricing.tiers";
|
|
494
512
|
readonly say: "Studios that sell projects rarely list fixed prices; a price table can undersell you.";
|
|
513
|
+
readonly sayHe: "סטודיו שמוכר פרויקטים כמעט לא מפרסם מחירים קבועים; טבלת מחירים עלולה להוזיל את העבודה.";
|
|
495
514
|
}];
|
|
496
515
|
readonly words: readonly ["synergy", "cutting-edge", "solutions"];
|
|
497
516
|
readonly structure: "studio";
|
|
@@ -577,10 +596,12 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
577
596
|
readonly flavor: readonly ["crisp"];
|
|
578
597
|
};
|
|
579
598
|
readonly say: "A corporate look makes an artist look like a firm.";
|
|
599
|
+
readonly sayHe: "מראה תאגידי גורם לאמן להיראות כמו חברה.";
|
|
580
600
|
}, {
|
|
581
601
|
readonly check: "needs-family";
|
|
582
602
|
readonly family: "collection";
|
|
583
603
|
readonly say: "Show the work: a site like this needs a gallery or a grid of projects on the home page.";
|
|
604
|
+
readonly sayHe: "הראו את העבודה: אתר כזה צריך גלריה או רשת של פרויקטים בעמוד הבית.";
|
|
584
605
|
}];
|
|
585
606
|
readonly words: readonly ["unique", "passionate"];
|
|
586
607
|
readonly structure: "studio";
|
|
@@ -665,10 +686,12 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
665
686
|
readonly moods: readonly ["technical"];
|
|
666
687
|
};
|
|
667
688
|
readonly say: "A cold, technical look hides the hand that made the work.";
|
|
689
|
+
readonly sayHe: "מראה קר וטכני מסתיר את היד שיצרה את העבודה.";
|
|
668
690
|
}, {
|
|
669
691
|
readonly check: "needs-family";
|
|
670
692
|
readonly family: "collection";
|
|
671
693
|
readonly say: "Show the work: a site like this needs a gallery or a grid of projects on the home page.";
|
|
694
|
+
readonly sayHe: "הראו את העבודה: אתר כזה צריך גלריה או רשת של פרויקטים בעמוד הבית.";
|
|
672
695
|
}];
|
|
673
696
|
readonly words: readonly ["perfect", "premium quality", "mass-produced"];
|
|
674
697
|
readonly structure: "studio";
|
|
@@ -753,11 +776,13 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
753
776
|
readonly moods: readonly ["playful"];
|
|
754
777
|
};
|
|
755
778
|
readonly say: "Playful colours read as costume jewellery.";
|
|
779
|
+
readonly sayHe: "צבעים שובבים נראים כמו תכשיטים זולים.";
|
|
756
780
|
}, {
|
|
757
781
|
readonly when: {
|
|
758
782
|
readonly motion: readonly ["snappy", "lively"];
|
|
759
783
|
};
|
|
760
784
|
readonly say: "Fast animation feels cheap next to fine pieces.";
|
|
785
|
+
readonly sayHe: "אנימציה מהירה מרגישה זולה ליד פריטים עדינים.";
|
|
761
786
|
}];
|
|
762
787
|
readonly words: readonly ["cheap", "bargain", "bling"];
|
|
763
788
|
readonly structure: "studio";
|
|
@@ -842,10 +867,12 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
842
867
|
readonly moods: readonly ["romantic"];
|
|
843
868
|
};
|
|
844
869
|
readonly say: "Soft pastels don't match the shop people expect.";
|
|
870
|
+
readonly sayHe: "פסטלים רכים לא מתאימים לחנות שאנשים מצפים לה.";
|
|
845
871
|
}, {
|
|
846
872
|
readonly check: "needs-family";
|
|
847
873
|
readonly family: "collection";
|
|
848
874
|
readonly say: "Show the work: a site like this needs a gallery or a grid of projects on the home page.";
|
|
875
|
+
readonly sayHe: "הראו את העבודה: אתר כזה צריך גלריה או רשת של פרויקטים בעמוד הבית.";
|
|
849
876
|
}];
|
|
850
877
|
readonly words: readonly ["cheap", "walk-ins guaranteed"];
|
|
851
878
|
readonly structure: "studio";
|
|
@@ -930,20 +957,24 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
930
957
|
readonly mode: readonly ["dark"];
|
|
931
958
|
};
|
|
932
959
|
readonly say: "Dark pages feel like a night club, not a place to rest.";
|
|
960
|
+
readonly sayHe: "עמודים כהים מרגישים כמו מועדון לילה, לא כמו מקום למנוחה.";
|
|
933
961
|
}, {
|
|
934
962
|
readonly when: {
|
|
935
963
|
readonly moods: readonly ["bold", "energetic"];
|
|
936
964
|
};
|
|
937
965
|
readonly say: "Loud, bright colour is the opposite of a quiet room.";
|
|
966
|
+
readonly sayHe: "צבע רועש ובוהק הוא ההפך מחדר שקט.";
|
|
938
967
|
}, {
|
|
939
968
|
readonly when: {
|
|
940
969
|
readonly motion: readonly ["snappy", "lively"];
|
|
941
970
|
};
|
|
942
971
|
readonly say: "Fast, bouncy motion works against the calm people come for.";
|
|
972
|
+
readonly sayHe: "תנועה מהירה וקופצנית פועלת נגד השקט שאנשים באים בשבילו.";
|
|
943
973
|
}, {
|
|
944
974
|
readonly check: "needs-fact";
|
|
945
975
|
readonly fact: "hours";
|
|
946
976
|
readonly say: "People look for your opening hours first; a site without them sends them elsewhere.";
|
|
977
|
+
readonly sayHe: "אנשים מחפשים קודם את שעות הפתיחה; אתר בלעדיהן שולח אותם למקום אחר.";
|
|
947
978
|
}];
|
|
948
979
|
readonly words: readonly ["deal", "hurry", "cheap"];
|
|
949
980
|
readonly structure: "practice";
|
|
@@ -1028,14 +1059,17 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1028
1059
|
readonly moods: readonly ["technical"];
|
|
1029
1060
|
};
|
|
1030
1061
|
readonly say: "A technical look feels clinical in a salon.";
|
|
1062
|
+
readonly sayHe: "מראה טכני מרגיש קליני בסלון.";
|
|
1031
1063
|
}, {
|
|
1032
1064
|
readonly check: "needs-family";
|
|
1033
1065
|
readonly family: "collection";
|
|
1034
1066
|
readonly say: "Show the work: a site like this needs a gallery or a grid of projects on the home page.";
|
|
1067
|
+
readonly sayHe: "הראו את העבודה: אתר כזה צריך גלריה או רשת של פרויקטים בעמוד הבית.";
|
|
1035
1068
|
}, {
|
|
1036
1069
|
readonly check: "needs-fact";
|
|
1037
1070
|
readonly fact: "hours";
|
|
1038
1071
|
readonly say: "People look for your opening hours first; a site without them sends them elsewhere.";
|
|
1072
|
+
readonly sayHe: "אנשים מחפשים קודם את שעות הפתיחה; אתר בלעדיהן שולח אותם למקום אחר.";
|
|
1039
1073
|
}];
|
|
1040
1074
|
readonly words: readonly ["cheap", "flawless"];
|
|
1041
1075
|
readonly structure: "practice";
|
|
@@ -1120,11 +1154,13 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1120
1154
|
readonly moods: readonly ["bold"];
|
|
1121
1155
|
};
|
|
1122
1156
|
readonly say: "Bold, loud design fights the calm a class promises.";
|
|
1157
|
+
readonly sayHe: "עיצוב נועז ורועש נלחם בשקט ששיעור מבטיח.";
|
|
1123
1158
|
}, {
|
|
1124
1159
|
readonly when: {
|
|
1125
1160
|
readonly motion: readonly ["snappy", "lively"];
|
|
1126
1161
|
};
|
|
1127
1162
|
readonly say: "Fast, bouncy motion works against the calm people come for.";
|
|
1163
|
+
readonly sayHe: "תנועה מהירה וקופצנית פועלת נגד השקט שאנשים באים בשבילו.";
|
|
1128
1164
|
}];
|
|
1129
1165
|
readonly words: readonly ["burn fat", "no pain no gain"];
|
|
1130
1166
|
readonly structure: "practice";
|
|
@@ -1213,11 +1249,13 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1213
1249
|
readonly motion: readonly ["off", "calm"];
|
|
1214
1250
|
};
|
|
1215
1251
|
readonly say: "A still, slow site feels low-energy for training.";
|
|
1252
|
+
readonly sayHe: "אתר דומם ואיטי מרגיש חסר אנרגיה לאימונים.";
|
|
1216
1253
|
}, {
|
|
1217
1254
|
readonly when: {
|
|
1218
1255
|
readonly moods: readonly ["luxurious"];
|
|
1219
1256
|
};
|
|
1220
1257
|
readonly say: "Hushed luxury can feel unwelcoming to beginners.";
|
|
1258
|
+
readonly sayHe: "יוקרה שקטה עלולה להרגיש לא מזמינה למתחילים.";
|
|
1221
1259
|
}];
|
|
1222
1260
|
readonly words: readonly ["guaranteed results", "lose 10 kilos"];
|
|
1223
1261
|
readonly structure: "practice";
|
|
@@ -1302,15 +1340,18 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1302
1340
|
readonly moods: readonly ["bold", "energetic"];
|
|
1303
1341
|
};
|
|
1304
1342
|
readonly say: "Bright, loud design can feel overwhelming to someone looking for help.";
|
|
1343
|
+
readonly sayHe: "עיצוב בוהק ורועש עלול להציף מי שמחפש עזרה.";
|
|
1305
1344
|
}, {
|
|
1306
1345
|
readonly when: {
|
|
1307
1346
|
readonly motion: readonly ["snappy", "lively"];
|
|
1308
1347
|
};
|
|
1309
1348
|
readonly say: "Fast, bouncy motion works against the calm people come for.";
|
|
1349
|
+
readonly sayHe: "תנועה מהירה וקופצנית פועלת נגד השקט שאנשים באים בשבילו.";
|
|
1310
1350
|
}, {
|
|
1311
1351
|
readonly check: "no-pattern";
|
|
1312
1352
|
readonly pattern: "proof.testimonial-carousel";
|
|
1313
1353
|
readonly say: "Client quotes can reveal who saw you; ask before showing any.";
|
|
1354
|
+
readonly sayHe: "דברי לקוחות עלולים לחשוף מי היה אצלכם; בקשו רשות לפני שמציגים אותם.";
|
|
1314
1355
|
}];
|
|
1315
1356
|
readonly words: readonly ["fix", "cure", "guaranteed"];
|
|
1316
1357
|
readonly structure: "practice";
|
|
@@ -1395,20 +1436,24 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1395
1436
|
readonly moods: readonly ["playful"];
|
|
1396
1437
|
};
|
|
1397
1438
|
readonly say: "Playful design can make patients doubt the care.";
|
|
1439
|
+
readonly sayHe: "עיצוב שובב עלול לגרום למטופלים לפקפק בטיפול.";
|
|
1398
1440
|
}, {
|
|
1399
1441
|
readonly check: "brand-hue";
|
|
1400
1442
|
readonly from: 270;
|
|
1401
1443
|
readonly to: 335;
|
|
1402
1444
|
readonly minChroma: 0.12;
|
|
1403
1445
|
readonly say: "A purple-pink brand is the colour of AI tools right now; on this kind of site it can read as generic.";
|
|
1446
|
+
readonly sayHe: "מותג סגול-ורוד הוא הצבע של כלי ה-AI עכשיו; באתר מהסוג הזה הוא עלול להיראות גנרי.";
|
|
1404
1447
|
}, {
|
|
1405
1448
|
readonly check: "needs-fact";
|
|
1406
1449
|
readonly fact: "phone";
|
|
1407
1450
|
readonly say: "A phone number is the first thing people need here.";
|
|
1451
|
+
readonly sayHe: "מספר טלפון הוא הדבר הראשון שאנשים צריכים כאן.";
|
|
1408
1452
|
}, {
|
|
1409
1453
|
readonly check: "needs-fact";
|
|
1410
1454
|
readonly fact: "hours";
|
|
1411
1455
|
readonly say: "People look for your opening hours first; a site without them sends them elsewhere.";
|
|
1456
|
+
readonly sayHe: "אנשים מחפשים קודם את שעות הפתיחה; אתר בלעדיהן שולח אותם למקום אחר.";
|
|
1412
1457
|
}];
|
|
1413
1458
|
readonly words: readonly ["cure", "guaranteed", "miracle", "best in town"];
|
|
1414
1459
|
readonly structure: "practice";
|
|
@@ -1489,14 +1534,17 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1489
1534
|
readonly mode: readonly ["dark"];
|
|
1490
1535
|
};
|
|
1491
1536
|
readonly say: "Dark pages feel heavy for a dental practice.";
|
|
1537
|
+
readonly sayHe: "עמודים כהים מרגישים כבדים למרפאת שיניים.";
|
|
1492
1538
|
}, {
|
|
1493
1539
|
readonly check: "needs-fact";
|
|
1494
1540
|
readonly fact: "phone";
|
|
1495
1541
|
readonly say: "A phone number is the first thing people need here.";
|
|
1542
|
+
readonly sayHe: "מספר טלפון הוא הדבר הראשון שאנשים צריכים כאן.";
|
|
1496
1543
|
}, {
|
|
1497
1544
|
readonly check: "needs-fact";
|
|
1498
1545
|
readonly fact: "hours";
|
|
1499
1546
|
readonly say: "People look for your opening hours first; a site without them sends them elsewhere.";
|
|
1547
|
+
readonly sayHe: "אנשים מחפשים קודם את שעות הפתיחה; אתר בלעדיהן שולח אותם למקום אחר.";
|
|
1500
1548
|
}];
|
|
1501
1549
|
readonly words: readonly ["painless", "guaranteed", "perfect smile"];
|
|
1502
1550
|
readonly structure: "practice";
|
|
@@ -1581,10 +1629,12 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1581
1629
|
readonly mode: readonly ["dark"];
|
|
1582
1630
|
};
|
|
1583
1631
|
readonly say: "Dark pages feel unfriendly for pet owners.";
|
|
1632
|
+
readonly sayHe: "עמודים כהים מרגישים לא ידידותיים לבעלי חיות.";
|
|
1584
1633
|
}, {
|
|
1585
1634
|
readonly check: "needs-fact";
|
|
1586
1635
|
readonly fact: "phone";
|
|
1587
1636
|
readonly say: "A phone number is the first thing people need here.";
|
|
1637
|
+
readonly sayHe: "מספר טלפון הוא הדבר הראשון שאנשים צריכים כאן.";
|
|
1588
1638
|
}];
|
|
1589
1639
|
readonly words: readonly ["guaranteed", "cure"];
|
|
1590
1640
|
readonly structure: "practice";
|
|
@@ -1669,17 +1719,21 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1669
1719
|
readonly moods: readonly ["technical"];
|
|
1670
1720
|
};
|
|
1671
1721
|
readonly say: "A cold, technical look kills appetite.";
|
|
1722
|
+
readonly sayHe: "מראה קר וטכני הורג את התיאבון.";
|
|
1672
1723
|
}, {
|
|
1673
1724
|
readonly check: "needs-fact";
|
|
1674
1725
|
readonly fact: "hours";
|
|
1675
1726
|
readonly say: "People look for your opening hours first; a site without them sends them elsewhere.";
|
|
1727
|
+
readonly sayHe: "אנשים מחפשים קודם את שעות הפתיחה; אתר בלעדיהן שולח אותם למקום אחר.";
|
|
1676
1728
|
}, {
|
|
1677
1729
|
readonly check: "needs-fact";
|
|
1678
1730
|
readonly fact: "address";
|
|
1679
1731
|
readonly say: "Visitors need the address to find you.";
|
|
1732
|
+
readonly sayHe: "מבקרים צריכים את הכתובת כדי למצוא את המקום.";
|
|
1680
1733
|
}, {
|
|
1681
1734
|
readonly check: "image-hero";
|
|
1682
1735
|
readonly say: "Lead with a picture: the first screen should show the place or the work, not only words.";
|
|
1736
|
+
readonly sayHe: "פתחו בתמונה: המסך הראשון צריך להראות את המקום או את העבודה, לא רק מילים.";
|
|
1683
1737
|
}];
|
|
1684
1738
|
readonly words: readonly ["best food in town", "world-class", "mouth-watering"];
|
|
1685
1739
|
readonly structure: "place";
|
|
@@ -1764,14 +1818,17 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1764
1818
|
readonly mode: readonly ["dark"];
|
|
1765
1819
|
};
|
|
1766
1820
|
readonly say: "A café is a daytime place; dark pages feel closed.";
|
|
1821
|
+
readonly sayHe: "בית קפה הוא מקום של יום; עמודים כהים מרגישים סגורים.";
|
|
1767
1822
|
}, {
|
|
1768
1823
|
readonly check: "needs-fact";
|
|
1769
1824
|
readonly fact: "hours";
|
|
1770
1825
|
readonly say: "People look for your opening hours first; a site without them sends them elsewhere.";
|
|
1826
|
+
readonly sayHe: "אנשים מחפשים קודם את שעות הפתיחה; אתר בלעדיהן שולח אותם למקום אחר.";
|
|
1771
1827
|
}, {
|
|
1772
1828
|
readonly check: "needs-fact";
|
|
1773
1829
|
readonly fact: "address";
|
|
1774
1830
|
readonly say: "Visitors need the address to find you.";
|
|
1831
|
+
readonly sayHe: "מבקרים צריכים את הכתובת כדי למצוא את המקום.";
|
|
1775
1832
|
}];
|
|
1776
1833
|
readonly words: readonly ["best coffee in town", "to die for"];
|
|
1777
1834
|
readonly structure: "place";
|
|
@@ -1856,14 +1913,17 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1856
1913
|
readonly flavor: readonly ["bloom"];
|
|
1857
1914
|
};
|
|
1858
1915
|
readonly say: "Round, bouncy design reads as a kids' brand, not a cellar.";
|
|
1916
|
+
readonly sayHe: "עיצוב עגול וקופצני נראה כמו מותג לילדים, לא כמו יקב.";
|
|
1859
1917
|
}, {
|
|
1860
1918
|
readonly check: "needs-fact";
|
|
1861
1919
|
readonly fact: "hours";
|
|
1862
1920
|
readonly say: "People look for your opening hours first; a site without them sends them elsewhere.";
|
|
1921
|
+
readonly sayHe: "אנשים מחפשים קודם את שעות הפתיחה; אתר בלעדיהן שולח אותם למקום אחר.";
|
|
1863
1922
|
}, {
|
|
1864
1923
|
readonly check: "needs-fact";
|
|
1865
1924
|
readonly fact: "address";
|
|
1866
1925
|
readonly say: "Visitors need the address to find you.";
|
|
1926
|
+
readonly sayHe: "מבקרים צריכים את הכתובת כדי למצוא את המקום.";
|
|
1867
1927
|
}];
|
|
1868
1928
|
readonly words: readonly ["best wine", "award-winning (unless you are)"];
|
|
1869
1929
|
readonly structure: "place";
|
|
@@ -1947,10 +2007,12 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1947
2007
|
readonly check: "copy-length";
|
|
1948
2008
|
readonly max: "standard";
|
|
1949
2009
|
readonly say: "Text-heavy pages slow down shoppers.";
|
|
2010
|
+
readonly sayHe: "עמודים עמוסי טקסט מאטים את הקונים.";
|
|
1950
2011
|
}, {
|
|
1951
2012
|
readonly check: "needs-family";
|
|
1952
2013
|
readonly family: "collection";
|
|
1953
2014
|
readonly say: "Show the work: a site like this needs a gallery or a grid of projects on the home page.";
|
|
2015
|
+
readonly sayHe: "הראו את העבודה: אתר כזה צריך גלריה או רשת של פרויקטים בעמוד הבית.";
|
|
1954
2016
|
}];
|
|
1955
2017
|
readonly words: readonly ["cheap", "must-have"];
|
|
1956
2018
|
readonly structure: "studio";
|
|
@@ -2035,10 +2097,12 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2035
2097
|
readonly mode: readonly ["dark"];
|
|
2036
2098
|
};
|
|
2037
2099
|
readonly say: "Flowers lose their colour on a dark page.";
|
|
2100
|
+
readonly sayHe: "פרחים מאבדים את הצבע שלהם על עמוד כהה.";
|
|
2038
2101
|
}, {
|
|
2039
2102
|
readonly check: "needs-family";
|
|
2040
2103
|
readonly family: "collection";
|
|
2041
2104
|
readonly say: "Show the work: a site like this needs a gallery or a grid of projects on the home page.";
|
|
2105
|
+
readonly sayHe: "הראו את העבודה: אתר כזה צריך גלריה או רשת של פרויקטים בעמוד הבית.";
|
|
2042
2106
|
}];
|
|
2043
2107
|
readonly words: readonly ["cheap", "best prices"];
|
|
2044
2108
|
readonly structure: "studio";
|
|
@@ -2123,10 +2187,12 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2123
2187
|
readonly moods: readonly ["playful"];
|
|
2124
2188
|
};
|
|
2125
2189
|
readonly say: "Excessive decoration distracts from the pieces.";
|
|
2190
|
+
readonly sayHe: "קישוט מופרז מסיח את הדעת מהפריטים.";
|
|
2126
2191
|
}, {
|
|
2127
2192
|
readonly check: "needs-family";
|
|
2128
2193
|
readonly family: "collection";
|
|
2129
2194
|
readonly say: "Show the work: a site like this needs a gallery or a grid of projects on the home page.";
|
|
2195
|
+
readonly sayHe: "הראו את העבודה: אתר כזה צריך גלריה או רשת של פרויקטים בעמוד הבית.";
|
|
2130
2196
|
}];
|
|
2131
2197
|
readonly words: readonly ["luxury", "cheap"];
|
|
2132
2198
|
readonly structure: "studio";
|
|
@@ -2211,12 +2277,14 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2211
2277
|
readonly moods: readonly ["playful"];
|
|
2212
2278
|
};
|
|
2213
2279
|
readonly say: "Playful reads as unserious to a client buying advice.";
|
|
2280
|
+
readonly sayHe: "עיצוב שובב נראה לא רציני ללקוח שקונה ייעוץ.";
|
|
2214
2281
|
}, {
|
|
2215
2282
|
readonly check: "brand-hue";
|
|
2216
2283
|
readonly from: 270;
|
|
2217
2284
|
readonly to: 335;
|
|
2218
2285
|
readonly minChroma: 0.12;
|
|
2219
2286
|
readonly say: "A purple-pink brand is the colour of AI tools right now; on this kind of site it can read as generic.";
|
|
2287
|
+
readonly sayHe: "מותג סגול-ורוד הוא הצבע של כלי ה-AI עכשיו; באתר מהסוג הזה הוא עלול להיראות גנרי.";
|
|
2220
2288
|
}];
|
|
2221
2289
|
readonly words: readonly ["synergy", "guaranteed ROI", "world-class"];
|
|
2222
2290
|
readonly structure: "practice";
|
|
@@ -2301,6 +2369,7 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2301
2369
|
readonly moods: readonly ["technical"];
|
|
2302
2370
|
};
|
|
2303
2371
|
readonly say: "A cold, technical look is the opposite of personal.";
|
|
2372
|
+
readonly sayHe: "מראה קר וטכני הוא ההפך מאישי.";
|
|
2304
2373
|
}];
|
|
2305
2374
|
readonly words: readonly ["life-changing", "guaranteed"];
|
|
2306
2375
|
readonly structure: "practice";
|
|
@@ -2385,17 +2454,20 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2385
2454
|
readonly flavor: readonly ["pop", "bloom"];
|
|
2386
2455
|
};
|
|
2387
2456
|
readonly say: "Playful design undermines the trust clients need.";
|
|
2457
|
+
readonly sayHe: "עיצוב שובב מערער את האמון שלקוחות צריכים.";
|
|
2388
2458
|
}, {
|
|
2389
2459
|
readonly when: {
|
|
2390
2460
|
readonly motion: readonly ["lively"];
|
|
2391
2461
|
};
|
|
2392
2462
|
readonly say: "Bouncy motion feels out of place for legal or financial advice.";
|
|
2463
|
+
readonly sayHe: "תנועה קופצנית לא במקומה בייעוץ משפטי או פיננסי.";
|
|
2393
2464
|
}, {
|
|
2394
2465
|
readonly check: "brand-hue";
|
|
2395
2466
|
readonly from: 270;
|
|
2396
2467
|
readonly to: 335;
|
|
2397
2468
|
readonly minChroma: 0.12;
|
|
2398
2469
|
readonly say: "A purple-pink brand is the colour of AI tools right now; on this kind of site it can read as generic.";
|
|
2470
|
+
readonly sayHe: "מותג סגול-ורוד הוא הצבע של כלי ה-AI עכשיו; באתר מהסוג הזה הוא עלול להיראות גנרי.";
|
|
2399
2471
|
}];
|
|
2400
2472
|
readonly words: readonly ["guarantee", "win your case", "best lawyer"];
|
|
2401
2473
|
readonly structure: "practice";
|
|
@@ -2480,13 +2552,16 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2480
2552
|
readonly moods: readonly ["playful"];
|
|
2481
2553
|
};
|
|
2482
2554
|
readonly say: "Playful design doesn't fit a large purchase.";
|
|
2555
|
+
readonly sayHe: "עיצוב שובב לא מתאים לרכישה גדולה.";
|
|
2483
2556
|
}, {
|
|
2484
2557
|
readonly check: "image-hero";
|
|
2485
2558
|
readonly say: "Lead with a picture: the first screen should show the place or the work, not only words.";
|
|
2559
|
+
readonly sayHe: "פתחו בתמונה: המסך הראשון צריך להראות את המקום או את העבודה, לא רק מילים.";
|
|
2486
2560
|
}, {
|
|
2487
2561
|
readonly check: "needs-fact";
|
|
2488
2562
|
readonly fact: "phone";
|
|
2489
2563
|
readonly say: "A phone number is the first thing people need here.";
|
|
2564
|
+
readonly sayHe: "מספר טלפון הוא הדבר הראשון שאנשים צריכים כאן.";
|
|
2490
2565
|
}];
|
|
2491
2566
|
readonly words: readonly ["dream home", "guaranteed", "once in a lifetime"];
|
|
2492
2567
|
readonly structure: "studio";
|
|
@@ -2571,6 +2646,7 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2571
2646
|
readonly moods: readonly ["luxurious"];
|
|
2572
2647
|
};
|
|
2573
2648
|
readonly say: "Looking expensive makes donors ask where the money goes.";
|
|
2649
|
+
readonly sayHe: "מראה יקר גורם לתורמים לשאול לאן הולך הכסף.";
|
|
2574
2650
|
}];
|
|
2575
2651
|
readonly words: readonly ["donate now!!", "save the world"];
|
|
2576
2652
|
readonly structure: "practice";
|
|
@@ -2655,13 +2731,16 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2655
2731
|
readonly moods: readonly ["technical"];
|
|
2656
2732
|
};
|
|
2657
2733
|
readonly say: "A technical look takes the romance out of the day.";
|
|
2734
|
+
readonly sayHe: "מראה טכני מוציא את הרומנטיקה מהיום.";
|
|
2658
2735
|
}, {
|
|
2659
2736
|
readonly check: "needs-family";
|
|
2660
2737
|
readonly family: "collection";
|
|
2661
2738
|
readonly say: "Show the work: a site like this needs a gallery or a grid of projects on the home page.";
|
|
2739
|
+
readonly sayHe: "הראו את העבודה: אתר כזה צריך גלריה או רשת של פרויקטים בעמוד הבית.";
|
|
2662
2740
|
}, {
|
|
2663
2741
|
readonly check: "image-hero";
|
|
2664
2742
|
readonly say: "Lead with a picture: the first screen should show the place or the work, not only words.";
|
|
2743
|
+
readonly sayHe: "פתחו בתמונה: המסך הראשון צריך להראות את המקום או את העבודה, לא רק מילים.";
|
|
2665
2744
|
}];
|
|
2666
2745
|
readonly words: readonly ["fairy tale", "once in a lifetime"];
|
|
2667
2746
|
readonly structure: "place";
|
|
@@ -2746,13 +2825,16 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2746
2825
|
readonly moods: readonly ["technical"];
|
|
2747
2826
|
};
|
|
2748
2827
|
readonly say: "Cold and technical is the opposite of a welcome.";
|
|
2828
|
+
readonly sayHe: "קר וטכני הוא ההפך מקבלת פנים חמה.";
|
|
2749
2829
|
}, {
|
|
2750
2830
|
readonly check: "image-hero";
|
|
2751
2831
|
readonly say: "Lead with a picture: the first screen should show the place or the work, not only words.";
|
|
2832
|
+
readonly sayHe: "פתחו בתמונה: המסך הראשון צריך להראות את המקום או את העבודה, לא רק מילים.";
|
|
2752
2833
|
}, {
|
|
2753
2834
|
readonly check: "needs-fact";
|
|
2754
2835
|
readonly fact: "address";
|
|
2755
2836
|
readonly say: "Visitors need the address to find you.";
|
|
2837
|
+
readonly sayHe: "מבקרים צריכים את הכתובת כדי למצוא את המקום.";
|
|
2756
2838
|
}];
|
|
2757
2839
|
readonly words: readonly ["paradise", "luxury (unless rated)"];
|
|
2758
2840
|
readonly structure: "place";
|
|
@@ -2837,11 +2919,13 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2837
2919
|
readonly moods: readonly ["luxurious"];
|
|
2838
2920
|
};
|
|
2839
2921
|
readonly say: "An expensive look puts off parents comparing classes.";
|
|
2922
|
+
readonly sayHe: "מראה יקר מרתיע הורים שמשווים חוגים.";
|
|
2840
2923
|
}, {
|
|
2841
2924
|
readonly when: {
|
|
2842
2925
|
readonly motion: readonly ["off"];
|
|
2843
2926
|
};
|
|
2844
2927
|
readonly say: "A still site feels low-energy for a class.";
|
|
2928
|
+
readonly sayHe: "אתר דומם מרגיש חסר אנרגיה לשיעור.";
|
|
2845
2929
|
}];
|
|
2846
2930
|
readonly words: readonly ["guaranteed", "genius"];
|
|
2847
2931
|
readonly structure: "practice";
|
|
@@ -3257,36 +3341,34 @@ interface LookCondition {
|
|
|
3257
3341
|
readonly animate?: ReadonlyArray<string>;
|
|
3258
3342
|
readonly between?: ReadonlyArray<string>;
|
|
3259
3343
|
}
|
|
3260
|
-
|
|
3261
|
-
|
|
3344
|
+
/** A rule's line, in English and in Hebrew (vectoriox/iox-cms-client#128 — the contract's `sayHe`, gated by build-spec). */
|
|
3345
|
+
interface RuleLine {
|
|
3262
3346
|
readonly say: string;
|
|
3347
|
+
readonly sayHe: string;
|
|
3348
|
+
}
|
|
3349
|
+
interface LookRule extends RuleLine {
|
|
3350
|
+
readonly when: LookCondition;
|
|
3263
3351
|
}
|
|
3264
|
-
type CheckRule = {
|
|
3352
|
+
type CheckRule = RuleLine & ({
|
|
3265
3353
|
readonly check: `${AvoidCheck.NeedsFamily}`;
|
|
3266
3354
|
readonly family: string;
|
|
3267
|
-
readonly say: string;
|
|
3268
3355
|
} | {
|
|
3269
3356
|
readonly check: `${AvoidCheck.NeedsFact}`;
|
|
3270
3357
|
readonly fact: FactKey;
|
|
3271
|
-
readonly say: string;
|
|
3272
3358
|
} | {
|
|
3273
3359
|
readonly check: `${AvoidCheck.ImageHero}`;
|
|
3274
|
-
readonly say: string;
|
|
3275
3360
|
} | {
|
|
3276
3361
|
readonly check: `${AvoidCheck.NoPattern}`;
|
|
3277
3362
|
readonly pattern: string;
|
|
3278
|
-
readonly say: string;
|
|
3279
3363
|
} | {
|
|
3280
3364
|
readonly check: `${AvoidCheck.BrandHue}`;
|
|
3281
3365
|
readonly from: number;
|
|
3282
3366
|
readonly to: number;
|
|
3283
3367
|
readonly minChroma: number;
|
|
3284
|
-
readonly say: string;
|
|
3285
3368
|
} | {
|
|
3286
3369
|
readonly check: `${AvoidCheck.CopyLength}`;
|
|
3287
3370
|
readonly max: `${CopyLength}`;
|
|
3288
|
-
|
|
3289
|
-
};
|
|
3371
|
+
});
|
|
3290
3372
|
type AvoidRule = LookRule | CheckRule;
|
|
3291
3373
|
declare const isLookRule: (rule: AvoidRule) => rule is LookRule;
|
|
3292
3374
|
interface GoodFit {
|
|
@@ -3632,8 +3714,16 @@ declare enum LintKind {
|
|
|
3632
3714
|
interface LintFinding {
|
|
3633
3715
|
kind: LintKind;
|
|
3634
3716
|
say: string;
|
|
3717
|
+
/** The same line in Hebrew (vectoriox/iox-cms-client#128). Read through `lintSentence`. */
|
|
3718
|
+
sayHe: string;
|
|
3635
3719
|
fact?: FactKey;
|
|
3636
3720
|
}
|
|
3721
|
+
/**
|
|
3722
|
+
* A finding's line in the reader's language — THE choice Home, the Publish dialog and anything else showing advice make:
|
|
3723
|
+
* Hebrew (`he`, `he-IL`, the old `iw`) reads `sayHe`, every other language the English `say`. A finding from an older
|
|
3724
|
+
* server, without `sayHe`, says its English.
|
|
3725
|
+
*/
|
|
3726
|
+
declare function lintSentence(finding: Pick<LintFinding, 'say'> & Partial<Pick<LintFinding, 'sayHe'>>, lang?: string | null): string;
|
|
3637
3727
|
/** What the lint reads of a site. */
|
|
3638
3728
|
interface LintSite {
|
|
3639
3729
|
design: Pick<DesignChoices, 'flavorId' | 'seed' | 'motion' | 'density' | 'mode'> & Partial<Pick<DesignChoices, 'tint'>> & Partial<DesignMotion>;
|
|
@@ -4536,5 +4626,5 @@ declare function businessComposeContext(typeId: string | null | undefined): Pick
|
|
|
4536
4626
|
*/
|
|
4537
4627
|
declare function runComposeContext(run: ComposeRun): ComposeContext;
|
|
4538
4628
|
|
|
4539
|
-
export { ANIMATE_ADVICE_STEPS, AnalysisIssueCode, AnalysisLocale, AvoidCheck, BUSINESS_TYPES, BUSINESS_TYPE_IDS, BookingNeed, COPY_LENGTH_ORDER, ComposedPageState, CopyLength, FILM_IDEAS, FILM_WORDS, FilmIdea, FilmIdeaReason, FilmStance, FilmStart, GENERATION_LIMITS, HARNESS_SOURCE, LITTLE_MOVEMENT_AVOID, LITTLE_MOVEMENT_CAP, LintKind, MAX_ANALYSIS_MOODS, MAX_PIXEL_SAMPLES, MAX_READ_PICTURES, NEEDS, NEED_IDS, NeedSource, PALETTE_SIZE, PALETTE_THRESHOLDS, POPUP_WORDS, PRODUCTS_NEED, PictureRole, PicturesUnavailable, PlanChangeOutcome, PopupStance, PresetFit, RANK_WEIGHTS, READING_SHAPE, READ_ANIMATE, READ_WEIGHTS, RankReason, ReaderState, ReadingIssueCode, SITE_ANALYSIS_SCHEMA_NAME, SITE_READING_SCHEMA_NAME, SPEC_ANALYSIS_SHAPE, SPEC_BUSINESS_TYPES, SPEC_FILM_IDEAS, SPEC_HARNESS_EXAMPLES, SPEC_HARNESS_SOURCE, SPEC_NEEDS, SPEC_POPUP_STANCES, SPEC_STATED_FACTS, SPEC_STRUCTURES, SPEC_USER_AVOIDS, STATED_FACTS, STATED_FACT_KEYS, STRUCTURES, SellingNeed, SiteReadRefusal, StyleReadGround, StyleReadHeadings, StyleReadMotion, StyleReadSourceKind, USER_AVOID_IDS, VoiceFormality, VoicePerson, addressesIn, analysisFromWire, analysisPromptContext, analysisToWire, bestRankedPreset, businessComposeContext, businessTypeById, calmerChoice, decodeSiteReading, filmIdeaFor, filmIdeasOf, filmStanceFor, filmWordsIn, inferNeeds, isCalmBusiness, isCalmBusinessType, isLookRule, keywordsIn, lintDesign, lookMatches, mapStyleRead, matchBusinessType, matchBusinessTypes, measurePalette, mergeStyleReads, motionAdvice, motionFor, needsSell, normalizeAddress, offeredNeeds, oklchHue, paletteBrand, paletteGround, paletteSamples, pictureStyleRead, pixelSamples, popupStanceFor, popupSuggestion, popupWordsIn, presetDesign, presetHasSerifHeadings, presetLook, presetReason, presetsByFlavor, rankStylePresets, rankWithReferences, readPalette, referenceSeed, runComposeContext, seedPassesPreset, siteAnalysisJsonSchema, siteReadingJsonSchema, startingDesign, structureFor, unplacedPicturesOf, userAvoidRule, validateSiteAnalysis, validateSiteReading, withSellingNeed, withoutAddress };
|
|
4540
|
-
export type { AiGenerationView, AnalysisContext, AnalysisIssue, AnalysisValidation, AvoidRule, BusinessType, BusinessTypeColumn, BusinessTypeFilm, BusinessTypeFooter, BusinessTypeLists, BusinessTypeMatch, CheckRule, ColourSample, ComposeRun, ComposedPageView, FactRead, FilmIdeaChoice, FilmIdeaDef, FilmIdeaInput, FilmIdeaSkip, FilmWords, GenerationBuildRequest, GenerationFileView, GenerationPicturesView, GenerationReadersView, GenerationStartRequest, GoodFit, LayoutCheckRequest, LayoutPhotoView, LintFinding, LintSite, LookCondition, LookDesign, LookRule, MeasuredPicture, MotionBasis, MotionInput, MotionStart, NeedDef, NeedId, PaletteColour, PaletteReading, PictureStyle, PlanRevisionView, PopupLine, PopupSuggestion, PopupSuggestionInput, PopupWords, PresetFlavorGroup, PromptContext, PromptContextOptions, PromptSection, RankInput, RankedPreset, ReadingIssue, ReferenceSeed, SiteAnalysis, SiteAuditView, SiteNeed, SiteReaderView, SiteReading, StartingDesign, StatedFactDef, StatedFactKey, StructureChoice, StructureId, StyleHints, StyleRead, UnplacedPictures, UserAvoidId };
|
|
4629
|
+
export { ANIMATE_ADVICE_STEPS, AnalysisIssueCode, AnalysisLocale, AvoidCheck, BUSINESS_TYPES, BUSINESS_TYPE_IDS, BookingNeed, COPY_LENGTH_ORDER, ComposedPageState, CopyLength, FILM_IDEAS, FILM_WORDS, FilmIdea, FilmIdeaReason, FilmStance, FilmStart, GENERATION_LIMITS, HARNESS_SOURCE, LITTLE_MOVEMENT_AVOID, LITTLE_MOVEMENT_CAP, LintKind, MAX_ANALYSIS_MOODS, MAX_PIXEL_SAMPLES, MAX_READ_PICTURES, NEEDS, NEED_IDS, NeedSource, PALETTE_SIZE, PALETTE_THRESHOLDS, POPUP_WORDS, PRODUCTS_NEED, PictureRole, PicturesUnavailable, PlanChangeOutcome, PopupStance, PresetFit, RANK_WEIGHTS, READING_SHAPE, READ_ANIMATE, READ_WEIGHTS, RankReason, ReaderState, ReadingIssueCode, SITE_ANALYSIS_SCHEMA_NAME, SITE_READING_SCHEMA_NAME, SPEC_ANALYSIS_SHAPE, SPEC_BUSINESS_TYPES, SPEC_FILM_IDEAS, SPEC_HARNESS_EXAMPLES, SPEC_HARNESS_SOURCE, SPEC_NEEDS, SPEC_POPUP_STANCES, SPEC_STATED_FACTS, SPEC_STRUCTURES, SPEC_USER_AVOIDS, STATED_FACTS, STATED_FACT_KEYS, STRUCTURES, SellingNeed, SiteReadRefusal, StyleReadGround, StyleReadHeadings, StyleReadMotion, StyleReadSourceKind, USER_AVOID_IDS, VoiceFormality, VoicePerson, addressesIn, analysisFromWire, analysisPromptContext, analysisToWire, bestRankedPreset, businessComposeContext, businessTypeById, calmerChoice, decodeSiteReading, filmIdeaFor, filmIdeasOf, filmStanceFor, filmWordsIn, inferNeeds, isCalmBusiness, isCalmBusinessType, isLookRule, keywordsIn, lintDesign, lintSentence, lookMatches, mapStyleRead, matchBusinessType, matchBusinessTypes, measurePalette, mergeStyleReads, motionAdvice, motionFor, needsSell, normalizeAddress, offeredNeeds, oklchHue, paletteBrand, paletteGround, paletteSamples, pictureStyleRead, pixelSamples, popupStanceFor, popupSuggestion, popupWordsIn, presetDesign, presetHasSerifHeadings, presetLook, presetReason, presetsByFlavor, rankStylePresets, rankWithReferences, readPalette, referenceSeed, runComposeContext, seedPassesPreset, siteAnalysisJsonSchema, siteReadingJsonSchema, startingDesign, structureFor, unplacedPicturesOf, userAvoidRule, validateSiteAnalysis, validateSiteReading, withSellingNeed, withoutAddress };
|
|
4630
|
+
export type { AiGenerationView, AnalysisContext, AnalysisIssue, AnalysisValidation, AvoidRule, BusinessType, BusinessTypeColumn, BusinessTypeFilm, BusinessTypeFooter, BusinessTypeLists, BusinessTypeMatch, CheckRule, ColourSample, ComposeRun, ComposedPageView, FactRead, FilmIdeaChoice, FilmIdeaDef, FilmIdeaInput, FilmIdeaSkip, FilmWords, GenerationBuildRequest, GenerationFileView, GenerationPicturesView, GenerationReadersView, GenerationStartRequest, GoodFit, LayoutCheckRequest, LayoutPhotoView, LintFinding, LintSite, LookCondition, LookDesign, LookRule, MeasuredPicture, MotionBasis, MotionInput, MotionStart, NeedDef, NeedId, PaletteColour, PaletteReading, PictureStyle, PlanRevisionView, PopupLine, PopupSuggestion, PopupSuggestionInput, PopupWords, PresetFlavorGroup, PromptContext, PromptContextOptions, PromptSection, RankInput, RankedPreset, ReadingIssue, ReferenceSeed, RuleLine, SiteAnalysis, SiteAuditView, SiteNeed, SiteReaderView, SiteReading, StartingDesign, StatedFactDef, StatedFactKey, StructureChoice, StructureId, StyleHints, StyleRead, UnplacedPictures, UserAvoidId };
|