@vectoriox/iox-ui 5.193.0 → 5.195.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/actions-core/index.d.ts +1 -0
- package/commerce-core/index.d.ts +0 -1
- package/composite-core/index.d.ts +28 -11
- package/design-core/index.d.ts +44 -2
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +1 -0
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-commerce-core.mjs +0 -2
- package/fesm2022/vectoriox-iox-ui-commerce-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +65 -34
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +142 -60
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- 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-generation-core.mjs +244 -16
- package/fesm2022/vectoriox-iox-ui-generation-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 +209 -148
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/forms-core/index.d.ts +17 -2
- package/generation-core/index.d.ts +141 -4
- package/harness-core/index.d.ts +102 -12
- package/index.d.ts +15 -12
- package/package.json +1 -1
- package/src/actions-core/public-api.ts +3 -0
- package/src/commerce-core/shop-display.ts +0 -2
- package/src/composite-core/lightbox.ts +27 -8
- package/src/composite-core/shop.ts +45 -28
- package/src/design-core/close-word.ts +18 -0
- package/src/design-core/contrast-audit.ts +24 -14
- package/src/design-core/locale-direction.ts +17 -0
- package/src/design-core/public-api.ts +1 -0
- package/src/design-core/token-css.ts +62 -3
- package/src/forms-core/messages.ts +72 -1
- package/src/forms-core/submit-lifecycle.ts +4 -5
- package/src/generation-core/audit-site.ts +26 -5
- package/src/generation-core/audit-words.ts +8 -0
- package/src/generation-core/compose-site.ts +3 -2
- package/src/generation-core/import-plan.ts +41 -0
- package/src/generation-core/public-api.ts +1 -0
- package/src/generation-core/stock-photos.ts +23 -4
- package/src/generation-core/stock-search.ts +235 -0
- 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
|
@@ -13,7 +13,7 @@ import Lenis from 'lenis';
|
|
|
13
13
|
import { SLIDER_WORDS, sliderPartElement, SliderRole, sliderWords, attachCarouselA11y, attachSliderBar, isSliderPart, SceneRole, MARQUEE_NODE_ATTRIBUTES, POPUP_ATTRIBUTES, popupDialogAttributes, SLIDE_TYPE, SLIDE_CAPTION_TRAIT, marqueeRootAttributes, MarqueeRole, PopupAttribute, PopupTrait, popupWords, PopupForm } from '@vectoriox/iox-ui/composite-core';
|
|
14
14
|
import { getByPath } from '@vectoriox/iox-ui/data-core';
|
|
15
15
|
export * from '@vectoriox/iox-ui/data-core';
|
|
16
|
-
import { runExitMotion, isExiting, popoverOpenersSelector, OpenerAttribute, cancelExit, POPOVER_NODE_TYPE, dialogOpenerAttributes, popoverOpenerAttributes, popoverDomId, dialogDomId, COUNT_UP_TRIGGERS, DISSOLVE_ACTION, SCROLL_PROGRESS_TRIGGER, planPopupArrival, ArrivalTrigger, popupDue, popupFormOn, popupMotionScale, popupFadesOnly, overlayTurn, isQuietRoute, popupOfTurn, arrivalFired, focusDialogSheet, popupMemoryStore, PopupMemoryStore, popupMemoryKey, decodePopupMemory, encodePopupMemory, popupVersionOf } from '@vectoriox/iox-ui/actions-core';
|
|
16
|
+
import { closeWord, runExitMotion, isExiting, popoverOpenersSelector, OpenerAttribute, cancelExit, POPOVER_NODE_TYPE, dialogOpenerAttributes, popoverOpenerAttributes, popoverDomId, dialogDomId, COUNT_UP_TRIGGERS, DISSOLVE_ACTION, SCROLL_PROGRESS_TRIGGER, planPopupArrival, ArrivalTrigger, popupDue, popupFormOn, popupMotionScale, popupFadesOnly, overlayTurn, isQuietRoute, popupOfTurn, arrivalFired, focusDialogSheet, popupMemoryStore, PopupMemoryStore, popupMemoryKey, decodePopupMemory, encodePopupMemory, popupVersionOf } from '@vectoriox/iox-ui/actions-core';
|
|
17
17
|
export { SCROLL_PROGRESS_TRIGGER } from '@vectoriox/iox-ui/actions-core';
|
|
18
18
|
import { VideoKind, planVideo, videoRootAttributes, videoInnerHtml, videoWords, VideoAttribute, attachVideoAt, VideoClass } from '@vectoriox/iox-ui/media-core';
|
|
19
19
|
import * as i1$1 from '@angular/platform-browser';
|
|
@@ -4075,6 +4075,121 @@ function isMultiValueField(field) {
|
|
|
4075
4075
|
/** The controls whose answers must be one of the field's own options (the implied `oneOf` rule). */
|
|
4076
4076
|
const OPTION_CONTROLS = new Set([ControlType.Choices, ControlType.Radio, ControlType.Select]);
|
|
4077
4077
|
|
|
4078
|
+
/**
|
|
4079
|
+
* FORM WORDS — what a form part says the moment it lands on a page, in the SITE's language (iox-ui#159).
|
|
4080
|
+
*
|
|
4081
|
+
* ONE table for the words nobody wrote yet: a new Field's label, the plain Form's Name / Email / Send, each field kind's
|
|
4082
|
+
* label and starter choices (the Forms tray's Checkbox, Radio group, …), and a second channel's words (WhatsApp, Call
|
|
4083
|
+
* us, …). The builder's Form type, its field-kind presets and `addFormChannel`, and the admin's channel panel all read
|
|
4084
|
+
* it — a Hebrew site gets Hebrew parts from the tray, never English it has to retype. The English column IS the
|
|
4085
|
+
* baseline the builder's configs carry; `formWordIn` turns an untouched baseline word into the site's language.
|
|
4086
|
+
*
|
|
4087
|
+
* Data + lookups only: framework-free, like the rest of forms-core. The preset forms' own words stay in
|
|
4088
|
+
* `form-presets.ts` (`FORM_PRESET_WORDS_HE`); "While sending" and "Sent" in `submit-lifecycle.ts`.
|
|
4089
|
+
*/
|
|
4090
|
+
var FormWordsLanguage;
|
|
4091
|
+
(function (FormWordsLanguage) {
|
|
4092
|
+
FormWordsLanguage["En"] = "en";
|
|
4093
|
+
FormWordsLanguage["He"] = "he";
|
|
4094
|
+
})(FormWordsLanguage || (FormWordsLanguage = {}));
|
|
4095
|
+
const CHOICES_EN = 'First choice\nSecond choice\nThird choice';
|
|
4096
|
+
const CHOICES_HE = 'אפשרות ראשונה\nאפשרות שנייה\nאפשרות שלישית';
|
|
4097
|
+
|
|
4098
|
+
const FORM_WORDS = /* @__PURE__ */ Object.freeze({
|
|
4099
|
+
en: {
|
|
4100
|
+
field: 'Label',
|
|
4101
|
+
name: 'Name',
|
|
4102
|
+
email: 'Email',
|
|
4103
|
+
send: 'Send',
|
|
4104
|
+
kinds: {
|
|
4105
|
+
checkbox: { label: 'I agree' },
|
|
4106
|
+
switch: { label: 'Enable' },
|
|
4107
|
+
radio: { label: 'Pick one', optionsText: CHOICES_EN },
|
|
4108
|
+
choices: { label: 'What do you need?', optionsText: CHOICES_EN },
|
|
4109
|
+
select: { label: 'Choose', optionsText: CHOICES_EN },
|
|
4110
|
+
range: { label: 'How much' },
|
|
4111
|
+
date: { label: 'Date' },
|
|
4112
|
+
time: { label: 'Time' },
|
|
4113
|
+
},
|
|
4114
|
+
channels: {
|
|
4115
|
+
whatsapp: 'Message us on WhatsApp',
|
|
4116
|
+
phone: 'Call us',
|
|
4117
|
+
email: 'Email us',
|
|
4118
|
+
link: 'Book online',
|
|
4119
|
+
},
|
|
4120
|
+
announce: {
|
|
4121
|
+
failed: 'That did not send.',
|
|
4122
|
+
oneField: '1 field needs attention.',
|
|
4123
|
+
fields: '{count} fields need attention.',
|
|
4124
|
+
},
|
|
4125
|
+
},
|
|
4126
|
+
he: {
|
|
4127
|
+
field: 'שם השדה',
|
|
4128
|
+
name: 'שם',
|
|
4129
|
+
email: 'אימייל',
|
|
4130
|
+
send: 'שליחה',
|
|
4131
|
+
kinds: {
|
|
4132
|
+
checkbox: { label: 'אני מאשר/ת' },
|
|
4133
|
+
switch: { label: 'הפעלה' },
|
|
4134
|
+
radio: { label: 'בחרו אחת', optionsText: CHOICES_HE },
|
|
4135
|
+
choices: { label: 'מה אתם צריכים?', optionsText: CHOICES_HE },
|
|
4136
|
+
select: { label: 'בחירה', optionsText: CHOICES_HE },
|
|
4137
|
+
range: { label: 'כמה' },
|
|
4138
|
+
date: { label: 'תאריך' },
|
|
4139
|
+
time: { label: 'שעה' },
|
|
4140
|
+
},
|
|
4141
|
+
channels: {
|
|
4142
|
+
whatsapp: 'שלחו לנו הודעה בוואטסאפ',
|
|
4143
|
+
phone: 'התקשרו אלינו',
|
|
4144
|
+
email: 'כתבו לנו',
|
|
4145
|
+
link: 'הזמנה אונליין',
|
|
4146
|
+
},
|
|
4147
|
+
announce: {
|
|
4148
|
+
failed: 'השליחה לא הצליחה.',
|
|
4149
|
+
oneField: 'שדה אחד דורש תשומת לב.',
|
|
4150
|
+
fields: '{count} שדות דורשים תשומת לב.',
|
|
4151
|
+
},
|
|
4152
|
+
},
|
|
4153
|
+
});
|
|
4154
|
+
/** The language a form speaks for a `lang` attribute or site locale: design-core's subtag (`he-IL` → `he`), the old
|
|
4155
|
+
* `iw` read as `he`; '' when none. */
|
|
4156
|
+
function formLanguageOf(lang) {
|
|
4157
|
+
const language = languageOf(lang);
|
|
4158
|
+
return language === 'iw' ? 'he' : language;
|
|
4159
|
+
}
|
|
4160
|
+
/** The words in a site's language — English for any language the table does not hold, and when none is given. */
|
|
4161
|
+
function formWords(lang) {
|
|
4162
|
+
return ownWord(FORM_WORDS, formLanguageOf(lang)) ?? FORM_WORDS[FormWordsLanguage.En];
|
|
4163
|
+
}
|
|
4164
|
+
/** The baseline — what a builder config carries before anyone writes. */
|
|
4165
|
+
function baselineFormWords() {
|
|
4166
|
+
return FORM_WORDS[FormWordsLanguage.En];
|
|
4167
|
+
}
|
|
4168
|
+
/** A field kind's seeded label and choices in `lang`; undefined for a control the tray does not offer as a row. */
|
|
4169
|
+
function fieldKindWords(control, lang) {
|
|
4170
|
+
return ownWord(formWords(lang).kinds, control);
|
|
4171
|
+
}
|
|
4172
|
+
/** A channel's words in `lang` ('' for an unknown kind — the caller keeps what it has). */
|
|
4173
|
+
function channelWords(kind, lang) {
|
|
4174
|
+
return ownWord(formWords(lang).channels, kind) ?? '';
|
|
4175
|
+
}
|
|
4176
|
+
/** A table's own entry — never an inherited `constructor` or `toString` for a key someone typed. */
|
|
4177
|
+
function ownWord(table, key) {
|
|
4178
|
+
return Object.prototype.hasOwnProperty.call(table, key) ? table[key] : undefined;
|
|
4179
|
+
}
|
|
4180
|
+
/**
|
|
4181
|
+
* An UNTOUCHED baseline word in `lang`: when `value` is the English word one of `slots` carries, the site language's word
|
|
4182
|
+
* for that slot; anything an author wrote (or an empty value) comes back as it is. How a freshly created Form, Field or
|
|
4183
|
+
* submit button speaks the site's language without a second copy of its config.
|
|
4184
|
+
*/
|
|
4185
|
+
function formWordIn(value, lang, slots) {
|
|
4186
|
+
if (typeof value !== 'string' || !value)
|
|
4187
|
+
return value;
|
|
4188
|
+
const base = baselineFormWords();
|
|
4189
|
+
const slot = slots.find(s => base[s] === value);
|
|
4190
|
+
return slot ? formWords(lang)[slot] : value;
|
|
4191
|
+
}
|
|
4192
|
+
|
|
4078
4193
|
// The default message for every rule, as an i18n KEY — never a rendered string.
|
|
4079
4194
|
//
|
|
4080
4195
|
// This is what lets the Validation panel stay empty and still produce good errors: an author who
|
|
@@ -4146,7 +4261,8 @@ const FORM_ERROR_KEYS = Object.freeze({
|
|
|
4146
4261
|
RateLimited: `${MESSAGE_NAMESPACE}.form.rateLimited`,
|
|
4147
4262
|
Server: `${MESSAGE_NAMESPACE}.form.server`,
|
|
4148
4263
|
});
|
|
4149
|
-
/** The English
|
|
4264
|
+
/** The English column of the ONE forms message catalog (`formMessage`) — what a site in any language the catalog does not
|
|
4265
|
+
* hold reads, and what a consumer that has not added the keys yet still shows. */
|
|
4150
4266
|
const DEFAULT_EN_MESSAGES = Object.freeze({
|
|
4151
4267
|
[RULE_MESSAGE_KEYS[RuleName.Required]]: 'This field is required',
|
|
4152
4268
|
[RULE_MESSAGE_KEYS[RuleName.MinLength]]: 'Use at least {{n}} characters',
|
|
@@ -4178,6 +4294,70 @@ const DEFAULT_EN_MESSAGES = Object.freeze({
|
|
|
4178
4294
|
[DATE_MESSAGE_KEYS.Max]: 'Choose an earlier date',
|
|
4179
4295
|
[SUBMIT_MESSAGE_KEYS.Sent]: 'Sent',
|
|
4180
4296
|
});
|
|
4297
|
+
/**
|
|
4298
|
+
* The Hebrew column (iox-client-engine#15). A visitor is spoken to in the plural imperative, like every other word a site
|
|
4299
|
+
* says (`form-words.ts`: בחרו, כתבו לנו). Every key of the English column has its entry here — a spec holds that.
|
|
4300
|
+
*/
|
|
4301
|
+
const HE_MESSAGES = /* @__PURE__ */ Object.freeze({
|
|
4302
|
+
[RULE_MESSAGE_KEYS[RuleName.Required]]: 'שדה חובה',
|
|
4303
|
+
[RULE_MESSAGE_KEYS[RuleName.MinLength]]: 'כתבו לפחות {{n}} תווים',
|
|
4304
|
+
[RULE_MESSAGE_KEYS[RuleName.MaxLength]]: 'כתבו עד {{n}} תווים',
|
|
4305
|
+
[RULE_MESSAGE_KEYS[RuleName.Min]]: 'הזינו {{n}} או יותר',
|
|
4306
|
+
[RULE_MESSAGE_KEYS[RuleName.Max]]: 'הזינו {{n}} או פחות',
|
|
4307
|
+
[RULE_MESSAGE_KEYS[RuleName.Pattern]]: 'בדקו את צורת הערך',
|
|
4308
|
+
[RULE_MESSAGE_KEYS[RuleName.Matches]]: 'הערך צריך להתאים לשדה {{field}}',
|
|
4309
|
+
[RULE_MESSAGE_KEYS[RuleName.Accepted]]: 'סמנו כדי להמשיך',
|
|
4310
|
+
[RULE_MESSAGE_KEYS[RuleName.FileType]]: 'סוג הקובץ הזה לא מתקבל',
|
|
4311
|
+
[RULE_MESSAGE_KEYS[RuleName.FileSize]]: 'הקובץ גדול מ-{{n}}MB',
|
|
4312
|
+
[PATTERN_MESSAGE_KEYS['email']]: 'הזינו כתובת אימייל תקינה',
|
|
4313
|
+
[PATTERN_MESSAGE_KEYS['phone']]: 'הזינו מספר טלפון תקין',
|
|
4314
|
+
[PATTERN_MESSAGE_KEYS['url']]: 'הזינו כתובת אתר תקינה',
|
|
4315
|
+
[PATTERN_MESSAGE_KEYS['digits']]: 'ספרות בלבד',
|
|
4316
|
+
[PATTERN_MESSAGE_KEYS['letters']]: 'אותיות בלבד',
|
|
4317
|
+
[PATTERN_MESSAGE_KEYS['slug']]: 'אותיות לטיניות קטנות, ספרות ומקפים',
|
|
4318
|
+
[FORM_ERROR_KEYS.Network]: 'לא הצלחנו להגיע לשרת — בדקו את החיבור ונסו שוב',
|
|
4319
|
+
[FORM_ERROR_KEYS.Rejected]: 'יש תשובות שצריך לתקן',
|
|
4320
|
+
[FORM_ERROR_KEYS.Spam]: 'לא יכולנו לקבל את השליחה הזו',
|
|
4321
|
+
[FORM_ERROR_KEYS.RateLimited]: 'יותר מדי ניסיונות — חכו רגע ונסו שוב',
|
|
4322
|
+
[FORM_ERROR_KEYS.Server]: 'משהו השתבש אצלנו — התשובות שלכם עדיין כאן',
|
|
4323
|
+
[RULE_MESSAGE_KEYS[RuleName.OneOf]]: 'בחרו אחת מהאפשרויות',
|
|
4324
|
+
[RULE_MESSAGE_KEYS[RuleName.ValidDate]]: 'בחרו תאריך מלוח השנה',
|
|
4325
|
+
[CHOICE_MESSAGE_KEYS.One]: 'בחרו אפשרות',
|
|
4326
|
+
[CHOICE_MESSAGE_KEYS.Some]: 'בחרו לפחות אחת',
|
|
4327
|
+
[CHOICE_MESSAGE_KEYS.Date]: 'בחרו תאריך',
|
|
4328
|
+
[DATE_MESSAGE_KEYS.Min]: 'בחרו תאריך מאוחר יותר',
|
|
4329
|
+
[DATE_MESSAGE_KEYS.Max]: 'בחרו תאריך מוקדם יותר',
|
|
4330
|
+
[SUBMIT_MESSAGE_KEYS.Sent]: 'נשלח',
|
|
4331
|
+
});
|
|
4332
|
+
/** The catalog, by the language `formLanguageOf` reads. */
|
|
4333
|
+
const FORM_MESSAGES = /* @__PURE__ */ Object.freeze({
|
|
4334
|
+
en: DEFAULT_EN_MESSAGES,
|
|
4335
|
+
he: HE_MESSAGES,
|
|
4336
|
+
});
|
|
4337
|
+
/** The languages the catalog holds. */
|
|
4338
|
+
const FORM_MESSAGE_LANGUAGES = Object.freeze(['en', 'he']);
|
|
4339
|
+
/** The whole column for `lang` (`he-IL` → he, `iw` → he) — English for a language the catalog does not hold. */
|
|
4340
|
+
function formMessages(lang) {
|
|
4341
|
+
const language = formLanguageOf(lang);
|
|
4342
|
+
return Object.prototype.hasOwnProperty.call(FORM_MESSAGES, language) ? FORM_MESSAGES[language] : DEFAULT_EN_MESSAGES;
|
|
4343
|
+
}
|
|
4344
|
+
/** `{{n}}` / `{{field}}` placed where the sentence's grammar put them; a missing param reads as ''. */
|
|
4345
|
+
function interpolateMessage(template, params) {
|
|
4346
|
+
if (!params)
|
|
4347
|
+
return template;
|
|
4348
|
+
return template.replace(/\{\{(\w+)\}\}/g, (_, name) => String(params[name] ?? ''));
|
|
4349
|
+
}
|
|
4350
|
+
/**
|
|
4351
|
+
* A message KEY as the sentence a visitor reads, in the page's language — THE reading both renderers make (the
|
|
4352
|
+
* component path's default `IOX_FORM_MESSAGES`, the string runtime's): `lang`'s sentence, else the English one, else the
|
|
4353
|
+
* key itself (an author's own message, which travels as its text).
|
|
4354
|
+
*/
|
|
4355
|
+
function formMessage(key, params, lang) {
|
|
4356
|
+
const own = formMessages(lang);
|
|
4357
|
+
const template = Object.prototype.hasOwnProperty.call(own, key) ? own[key]
|
|
4358
|
+
: Object.prototype.hasOwnProperty.call(DEFAULT_EN_MESSAGES, key) ? DEFAULT_EN_MESSAGES[key] : key;
|
|
4359
|
+
return interpolateMessage(template, params);
|
|
4360
|
+
}
|
|
4181
4361
|
|
|
4182
4362
|
/**
|
|
4183
4363
|
* DATES — the date picker's pure half (premium components N8) and the date rules' one reading.
|
|
@@ -5109,121 +5289,6 @@ function normaliseErrors(raw) {
|
|
|
5109
5289
|
return Object.keys(errors).length ? errors : undefined;
|
|
5110
5290
|
}
|
|
5111
5291
|
|
|
5112
|
-
/**
|
|
5113
|
-
* FORM WORDS — what a form part says the moment it lands on a page, in the SITE's language (iox-ui#159).
|
|
5114
|
-
*
|
|
5115
|
-
* ONE table for the words nobody wrote yet: a new Field's label, the plain Form's Name / Email / Send, each field kind's
|
|
5116
|
-
* label and starter choices (the Forms tray's Checkbox, Radio group, …), and a second channel's words (WhatsApp, Call
|
|
5117
|
-
* us, …). The builder's Form type, its field-kind presets and `addFormChannel`, and the admin's channel panel all read
|
|
5118
|
-
* it — a Hebrew site gets Hebrew parts from the tray, never English it has to retype. The English column IS the
|
|
5119
|
-
* baseline the builder's configs carry; `formWordIn` turns an untouched baseline word into the site's language.
|
|
5120
|
-
*
|
|
5121
|
-
* Data + lookups only: framework-free, like the rest of forms-core. The preset forms' own words stay in
|
|
5122
|
-
* `form-presets.ts` (`FORM_PRESET_WORDS_HE`); "While sending" and "Sent" in `submit-lifecycle.ts`.
|
|
5123
|
-
*/
|
|
5124
|
-
var FormWordsLanguage;
|
|
5125
|
-
(function (FormWordsLanguage) {
|
|
5126
|
-
FormWordsLanguage["En"] = "en";
|
|
5127
|
-
FormWordsLanguage["He"] = "he";
|
|
5128
|
-
})(FormWordsLanguage || (FormWordsLanguage = {}));
|
|
5129
|
-
const CHOICES_EN = 'First choice\nSecond choice\nThird choice';
|
|
5130
|
-
const CHOICES_HE = 'אפשרות ראשונה\nאפשרות שנייה\nאפשרות שלישית';
|
|
5131
|
-
|
|
5132
|
-
const FORM_WORDS = /* @__PURE__ */ Object.freeze({
|
|
5133
|
-
en: {
|
|
5134
|
-
field: 'Label',
|
|
5135
|
-
name: 'Name',
|
|
5136
|
-
email: 'Email',
|
|
5137
|
-
send: 'Send',
|
|
5138
|
-
kinds: {
|
|
5139
|
-
checkbox: { label: 'I agree' },
|
|
5140
|
-
switch: { label: 'Enable' },
|
|
5141
|
-
radio: { label: 'Pick one', optionsText: CHOICES_EN },
|
|
5142
|
-
choices: { label: 'What do you need?', optionsText: CHOICES_EN },
|
|
5143
|
-
select: { label: 'Choose', optionsText: CHOICES_EN },
|
|
5144
|
-
range: { label: 'How much' },
|
|
5145
|
-
date: { label: 'Date' },
|
|
5146
|
-
time: { label: 'Time' },
|
|
5147
|
-
},
|
|
5148
|
-
channels: {
|
|
5149
|
-
whatsapp: 'Message us on WhatsApp',
|
|
5150
|
-
phone: 'Call us',
|
|
5151
|
-
email: 'Email us',
|
|
5152
|
-
link: 'Book online',
|
|
5153
|
-
},
|
|
5154
|
-
announce: {
|
|
5155
|
-
failed: 'That did not send.',
|
|
5156
|
-
oneField: '1 field needs attention.',
|
|
5157
|
-
fields: '{count} fields need attention.',
|
|
5158
|
-
},
|
|
5159
|
-
},
|
|
5160
|
-
he: {
|
|
5161
|
-
field: 'שם השדה',
|
|
5162
|
-
name: 'שם',
|
|
5163
|
-
email: 'אימייל',
|
|
5164
|
-
send: 'שליחה',
|
|
5165
|
-
kinds: {
|
|
5166
|
-
checkbox: { label: 'אני מאשר/ת' },
|
|
5167
|
-
switch: { label: 'הפעלה' },
|
|
5168
|
-
radio: { label: 'בחרו אחת', optionsText: CHOICES_HE },
|
|
5169
|
-
choices: { label: 'מה אתם צריכים?', optionsText: CHOICES_HE },
|
|
5170
|
-
select: { label: 'בחירה', optionsText: CHOICES_HE },
|
|
5171
|
-
range: { label: 'כמה' },
|
|
5172
|
-
date: { label: 'תאריך' },
|
|
5173
|
-
time: { label: 'שעה' },
|
|
5174
|
-
},
|
|
5175
|
-
channels: {
|
|
5176
|
-
whatsapp: 'שלחו לנו הודעה בוואטסאפ',
|
|
5177
|
-
phone: 'התקשרו אלינו',
|
|
5178
|
-
email: 'כתבו לנו',
|
|
5179
|
-
link: 'הזמנה אונליין',
|
|
5180
|
-
},
|
|
5181
|
-
announce: {
|
|
5182
|
-
failed: 'השליחה לא הצליחה.',
|
|
5183
|
-
oneField: 'שדה אחד דורש תשומת לב.',
|
|
5184
|
-
fields: '{count} שדות דורשים תשומת לב.',
|
|
5185
|
-
},
|
|
5186
|
-
},
|
|
5187
|
-
});
|
|
5188
|
-
/** The language a form speaks for a `lang` attribute or site locale: design-core's subtag (`he-IL` → `he`), the old
|
|
5189
|
-
* `iw` read as `he`; '' when none. */
|
|
5190
|
-
function formLanguageOf(lang) {
|
|
5191
|
-
const language = languageOf(lang);
|
|
5192
|
-
return language === 'iw' ? 'he' : language;
|
|
5193
|
-
}
|
|
5194
|
-
/** The words in a site's language — English for any language the table does not hold, and when none is given. */
|
|
5195
|
-
function formWords(lang) {
|
|
5196
|
-
return ownWord(FORM_WORDS, formLanguageOf(lang)) ?? FORM_WORDS[FormWordsLanguage.En];
|
|
5197
|
-
}
|
|
5198
|
-
/** The baseline — what a builder config carries before anyone writes. */
|
|
5199
|
-
function baselineFormWords() {
|
|
5200
|
-
return FORM_WORDS[FormWordsLanguage.En];
|
|
5201
|
-
}
|
|
5202
|
-
/** A field kind's seeded label and choices in `lang`; undefined for a control the tray does not offer as a row. */
|
|
5203
|
-
function fieldKindWords(control, lang) {
|
|
5204
|
-
return ownWord(formWords(lang).kinds, control);
|
|
5205
|
-
}
|
|
5206
|
-
/** A channel's words in `lang` ('' for an unknown kind — the caller keeps what it has). */
|
|
5207
|
-
function channelWords(kind, lang) {
|
|
5208
|
-
return ownWord(formWords(lang).channels, kind) ?? '';
|
|
5209
|
-
}
|
|
5210
|
-
/** A table's own entry — never an inherited `constructor` or `toString` for a key someone typed. */
|
|
5211
|
-
function ownWord(table, key) {
|
|
5212
|
-
return Object.prototype.hasOwnProperty.call(table, key) ? table[key] : undefined;
|
|
5213
|
-
}
|
|
5214
|
-
/**
|
|
5215
|
-
* An UNTOUCHED baseline word in `lang`: when `value` is the English word one of `slots` carries, the site language's word
|
|
5216
|
-
* for that slot; anything an author wrote (or an empty value) comes back as it is. How a freshly created Form, Field or
|
|
5217
|
-
* submit button speaks the site's language without a second copy of its config.
|
|
5218
|
-
*/
|
|
5219
|
-
function formWordIn(value, lang, slots) {
|
|
5220
|
-
if (typeof value !== 'string' || !value)
|
|
5221
|
-
return value;
|
|
5222
|
-
const base = baselineFormWords();
|
|
5223
|
-
const slot = slots.find(s => base[s] === value);
|
|
5224
|
-
return slot ? formWords(lang)[slot] : value;
|
|
5225
|
-
}
|
|
5226
|
-
|
|
5227
5292
|
/**
|
|
5228
5293
|
* The submit LIFECYCLE's decisions — what a form shows after the server answers, what it says when a
|
|
5229
5294
|
* submit fails, what a client needs to validate a form, and how its submit button follows its state.
|
|
@@ -5333,11 +5398,10 @@ var SubmitLabelClass;
|
|
|
5333
5398
|
* the shared CSS draws it by `stroke-dashoffset` whatever its real length. */
|
|
5334
5399
|
const SUBMIT_CHECK_SVG = `<svg class="${SubmitLabelClass.Check}" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true" focusable="false">` +
|
|
5335
5400
|
'<path d="M5 12.5l4.5 4.5L19 7.5" pathLength="100" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>';
|
|
5336
|
-
/** "Sent" in the site's language, for a button whose author wrote no Sent words
|
|
5337
|
-
*
|
|
5338
|
-
const SENT_WORDS = Object.freeze({ en: 'Sent', he: 'נשלח' });
|
|
5401
|
+
/** "Sent" in the site's language, for a button whose author wrote no Sent words — the forms message catalog's
|
|
5402
|
+
* (`formMessage`), the document's `lang` picking, like the date picker's words. */
|
|
5339
5403
|
function sentWord(lang) {
|
|
5340
|
-
return
|
|
5404
|
+
return formMessage(SUBMIT_MESSAGE_KEYS.Sent, null, lang);
|
|
5341
5405
|
}
|
|
5342
5406
|
/** "While sending" in the site's language (iox-ui#158). The English one is the SubmitButton's baseline
|
|
5343
5407
|
* (`loadingLabel`), which every stamped node carries until its author writes their own. */
|
|
@@ -6097,13 +6161,6 @@ const TOAST_MS_PER_CHAR = 60;
|
|
|
6097
6161
|
const DESIGN_MARKER$1 = '.iox-es';
|
|
6098
6162
|
const SVG_NS = 'http://www.w3.org/2000/svg';
|
|
6099
6163
|
const CLOSE_PATH = 'M6 6l12 12M18 6L6 18';
|
|
6100
|
-
/** The close control's words in the page's language. */
|
|
6101
|
-
const TOAST_CLOSE_WORDS = Object.freeze({ en: 'Close', he: 'סגירה' });
|
|
6102
|
-
/** "Close" in `lang` (its base language), else English. */
|
|
6103
|
-
function toastCloseWord(lang) {
|
|
6104
|
-
const base = String(lang ?? '').toLowerCase().split(/[-_]/)[0];
|
|
6105
|
-
return TOAST_CLOSE_WORDS[base] ?? TOAST_CLOSE_WORDS['en'];
|
|
6106
|
-
}
|
|
6107
6164
|
/** How long a toast stays: long enough to read, within bounds. Pure. */
|
|
6108
6165
|
function toastDuration(text, override) {
|
|
6109
6166
|
if (typeof override === 'number' && Number.isFinite(override) && override > 0)
|
|
@@ -6224,7 +6281,7 @@ class ToastStack {
|
|
|
6224
6281
|
const close = doc.createElement('button');
|
|
6225
6282
|
close.type = 'button';
|
|
6226
6283
|
close.className = ToastClass.Close;
|
|
6227
|
-
const name =
|
|
6284
|
+
const name = closeWord(options.lang ?? options.from?.closest?.('[lang]')?.getAttribute('lang') ?? doc.documentElement.lang);
|
|
6228
6285
|
close.setAttribute('aria-label', name);
|
|
6229
6286
|
close.title = name;
|
|
6230
6287
|
close.appendChild(closeIcon(doc));
|
|
@@ -6417,13 +6474,8 @@ const IOX_FORM_MESSAGES = new InjectionToken('IOX_FORM_MESSAGES', {
|
|
|
6417
6474
|
providedIn: 'root',
|
|
6418
6475
|
factory: () => defaultMessageResolver,
|
|
6419
6476
|
});
|
|
6420
|
-
/** `{{n}}` / `{{field}}`
|
|
6421
|
-
const defaultMessageResolver = (key, params) =>
|
|
6422
|
-
const template = DEFAULT_EN_MESSAGES[key] ?? key;
|
|
6423
|
-
if (!params)
|
|
6424
|
-
return template;
|
|
6425
|
-
return template.replace(/\{\{(\w+)\}\}/g, (_, name) => String(params[name] ?? ''));
|
|
6426
|
-
};
|
|
6477
|
+
/** The catalog's sentence in the page's language, `{{n}}` / `{{field}}` placed — forms-core `formMessage`. */
|
|
6478
|
+
const defaultMessageResolver = (key, params, lang) => formMessage(key, params, lang);
|
|
6427
6479
|
/**
|
|
6428
6480
|
* Per-form runtime. **Provided by `IoxFormComponent`**, so every Field created into that form's
|
|
6429
6481
|
* `childrenHost` resolves THIS instance through its element injector — which is exactly how a field
|
|
@@ -7428,12 +7480,13 @@ class IoxFieldComponent {
|
|
|
7428
7480
|
return true;
|
|
7429
7481
|
return !!this.runtime?.showsError(this.fieldName);
|
|
7430
7482
|
}
|
|
7431
|
-
/** The message a visitor reads
|
|
7483
|
+
/** The message a visitor reads, in the page's language (`pageLanguageOf`) — IOX_FORM_MESSAGES, whose default is
|
|
7484
|
+
* forms-core's ONE catalog (iox-client-engine#15). */
|
|
7432
7485
|
get errorText() {
|
|
7433
7486
|
if (this.forceInvalid)
|
|
7434
7487
|
return this.designErrorText;
|
|
7435
7488
|
const error = this.runtime?.errorFor(this.fieldName);
|
|
7436
|
-
return error ? this.resolveMessage(error.messageKey, error.params) : '';
|
|
7489
|
+
return error ? this.resolveMessage(error.messageKey, error.params, pageLanguageOf(this.host?.nativeElement)) : '';
|
|
7437
7490
|
}
|
|
7438
7491
|
/** The field's spec under the name its form gave it — forms-core `fieldSpecOf`, the reading the saved spec uses. */
|
|
7439
7492
|
toSpec(name) {
|
|
@@ -7975,10 +8028,12 @@ class IoxSubmitButtonComponent {
|
|
|
7975
8028
|
if (this.sentLabel)
|
|
7976
8029
|
return this.sentLabel;
|
|
7977
8030
|
const key = SUBMIT_MESSAGE_KEYS.Sent;
|
|
7978
|
-
const
|
|
8031
|
+
const lang = this.pageLang();
|
|
8032
|
+
const translated = (this.resolveMessage ?? defaultMessageResolver)(key, undefined, lang);
|
|
8033
|
+
// A host resolver that knows no language hands back the English column — the page's language wins over it.
|
|
7979
8034
|
if (translated && translated !== key && translated !== DEFAULT_EN_MESSAGES[key])
|
|
7980
8035
|
return translated;
|
|
7981
|
-
return sentWord(
|
|
8036
|
+
return sentWord(lang);
|
|
7982
8037
|
}
|
|
7983
8038
|
/** The page's language (`pageLanguageOf`). */
|
|
7984
8039
|
pageLang() {
|
|
@@ -8103,11 +8158,13 @@ const isOff = (v) => v === false || v === 'false';
|
|
|
8103
8158
|
* Directive-host: the `<dialog>` IS the host, carrying exactly the markup the string renderer
|
|
8104
8159
|
* writes (`data-iox-dialog`, the opt-in backdrop-close / consent-role / placement attributes and
|
|
8105
8160
|
* the close X), so the runtime's dialog actions, the consent prompt and `styles.scss` treat both
|
|
8106
|
-
* paths alike. Ships CLOSED — only the dialog actions open it.
|
|
8161
|
+
* paths alike. Ships CLOSED — only the dialog actions open it. The close X is named in the PAGE's language (actions-core
|
|
8162
|
+
* `closeWord`, the word the string path writes too — iox-ui#167). Before this existed, a page holding
|
|
8107
8163
|
* a Dialog fell back to the string renderer wholesale.
|
|
8108
8164
|
*/
|
|
8109
8165
|
class IoxDialogComponent {
|
|
8110
|
-
constructor() {
|
|
8166
|
+
constructor(host) {
|
|
8167
|
+
this.host = host;
|
|
8111
8168
|
this.nodeId = '';
|
|
8112
8169
|
this.placement = 'center';
|
|
8113
8170
|
this.closeOnBackdrop = true;
|
|
@@ -8117,20 +8174,24 @@ class IoxDialogComponent {
|
|
|
8117
8174
|
get backdropCloses() { return !isOff(this.closeOnBackdrop); }
|
|
8118
8175
|
get closeButtonShown() { return !isOff(this.showCloseButton); }
|
|
8119
8176
|
get consentRoleOn() { return isOn(this.consentRole); }
|
|
8177
|
+
/** The close X's accessible name: "Close" in the page's language (the nearest `lang`, else the document's). */
|
|
8178
|
+
get closeName() { return closeWord(pageLanguageOf(this.host?.nativeElement)); }
|
|
8120
8179
|
get placementAttr() { return PLACEMENTS.includes(String(this.placement)) ? String(this.placement) : null; }
|
|
8121
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: IoxDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8122
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: IoxDialogComponent, isStandalone: false, selector: "dialog[iox-dialog]", inputs: { nodeId: "nodeId", placement: "placement", closeOnBackdrop: "closeOnBackdrop", showCloseButton: "showCloseButton", consentRole: "consentRole" }, host: { attributes: { "data-iox-dialog": "" }, properties: { "class": "'iox-node-' + nodeId", "attr.data-iox-dialog-backdrop-close": "backdropCloses ? '' : null", "attr.data-iox-consent-role": "consentRoleOn ? '' : null", "attr.data-iox-dialog-placement": "placementAttr" } }, viewQueries: [{ propertyName: "childrenHost", first: true, predicate: ["childrenHost"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `@if (closeButtonShown) {<button type="button" class="iox-dialog-close" data-iox-dialog-close aria-label="
|
|
8180
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: IoxDialogComponent, deps: [{ token: i0.ElementRef, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8181
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: IoxDialogComponent, isStandalone: false, selector: "dialog[iox-dialog]", inputs: { nodeId: "nodeId", placement: "placement", closeOnBackdrop: "closeOnBackdrop", showCloseButton: "showCloseButton", consentRole: "consentRole" }, host: { attributes: { "data-iox-dialog": "" }, properties: { "class": "'iox-node-' + nodeId", "attr.data-iox-dialog-backdrop-close": "backdropCloses ? '' : null", "attr.data-iox-consent-role": "consentRoleOn ? '' : null", "attr.data-iox-dialog-placement": "placementAttr" } }, viewQueries: [{ propertyName: "childrenHost", first: true, predicate: ["childrenHost"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `@if (closeButtonShown) {<button type="button" class="iox-dialog-close" data-iox-dialog-close [attr.aria-label]="closeName">×</button>}<ng-container #childrenHost></ng-container>`, isInline: true, styles: [":host{box-sizing:border-box}\n"] }); }
|
|
8123
8182
|
}
|
|
8124
8183
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: IoxDialogComponent, decorators: [{
|
|
8125
8184
|
type: Component,
|
|
8126
|
-
args: [{ selector: 'dialog[iox-dialog]', template: `@if (closeButtonShown) {<button type="button" class="iox-dialog-close" data-iox-dialog-close aria-label="
|
|
8185
|
+
args: [{ selector: 'dialog[iox-dialog]', template: `@if (closeButtonShown) {<button type="button" class="iox-dialog-close" data-iox-dialog-close [attr.aria-label]="closeName">×</button>}<ng-container #childrenHost></ng-container>`, host: {
|
|
8127
8186
|
'[class]': "'iox-node-' + nodeId",
|
|
8128
8187
|
'data-iox-dialog': '',
|
|
8129
8188
|
'[attr.data-iox-dialog-backdrop-close]': "backdropCloses ? '' : null",
|
|
8130
8189
|
'[attr.data-iox-consent-role]': "consentRoleOn ? '' : null",
|
|
8131
8190
|
'[attr.data-iox-dialog-placement]': 'placementAttr',
|
|
8132
8191
|
}, standalone: false, styles: [":host{box-sizing:border-box}\n"] }]
|
|
8133
|
-
}],
|
|
8192
|
+
}], ctorParameters: () => [{ type: i0.ElementRef, decorators: [{
|
|
8193
|
+
type: Optional
|
|
8194
|
+
}] }], propDecorators: { nodeId: [{
|
|
8134
8195
|
type: Input
|
|
8135
8196
|
}], placement: [{
|
|
8136
8197
|
type: Input
|
|
@@ -13478,7 +13539,7 @@ class StringFormRuntime {
|
|
|
13478
13539
|
continue;
|
|
13479
13540
|
const error = this.state.errors[field.name];
|
|
13480
13541
|
const shown = !!error && shouldShowError(field.name, this.state, this.spec.feedback);
|
|
13481
|
-
const text = shown ? this.messages(error.messageKey, error.params) : '';
|
|
13542
|
+
const text = shown ? this.messages(error.messageKey, error.params, pageLanguageOf(this.form)) : '';
|
|
13482
13543
|
writeFieldError(el, shown ? text : '');
|
|
13483
13544
|
}
|
|
13484
13545
|
}
|
|
@@ -14261,5 +14322,5 @@ class PopupRuntime {
|
|
|
14261
14322
|
* Generated bundle index. Do not edit.
|
|
14262
14323
|
*/
|
|
14263
14324
|
|
|
14264
|
-
export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BOUND_STYLE_PREFIX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_ROLES, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DISSOLVE_GROW_DEFAULT, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ENTRANCE_ACTION_TYPES, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EXIT_ACTION_TYPES, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderInkRuntime, HeaderRuntime, IMAGE_DEFAULT_CSS, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LIST_GROUND_PIPE, LIST_INK_PIPE, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MAX_LINES_KEY, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, POPUP_ANNOUNCE_ATTRIBUTE, POPUP_SCALE_PROPERTY, POPUP_SELECTOR, POPUP_STILL_ATTRIBUTE, PRELOADER_AT_ATTRIBUTE, PRELOADER_CLASS, PRELOADER_CSS, PRELOADER_END_EVENT, PRELOADER_RUN_ATTRIBUTE, PRELOADING_ATTRIBUTE, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, PopupRuntime, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLBARS_TAKE_WIDTH_CLASS, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_CARDS, SLIDER_FAN, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, SliderCreativePreset, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DIRECTION_KEY,
|
|
14325
|
+
export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BOUND_STYLE_PREFIX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_ROLES, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DISSOLVE_GROW_DEFAULT, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ENTRANCE_ACTION_TYPES, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EXIT_ACTION_TYPES, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderInkRuntime, HeaderRuntime, IMAGE_DEFAULT_CSS, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LIST_GROUND_PIPE, LIST_INK_PIPE, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MAX_LINES_KEY, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, POPUP_ANNOUNCE_ATTRIBUTE, POPUP_SCALE_PROPERTY, POPUP_SELECTOR, POPUP_STILL_ATTRIBUTE, PRELOADER_AT_ATTRIBUTE, PRELOADER_CLASS, PRELOADER_CSS, PRELOADER_END_EVENT, PRELOADER_RUN_ATTRIBUTE, PRELOADING_ATTRIBUTE, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, PopupRuntime, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLBARS_TAKE_WIDTH_CLASS, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_CARDS, SLIDER_FAN, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, SliderCreativePreset, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DIRECTION_KEY, TOAST_DESIGN_ATTRIBUTE, TOAST_EDGE_ATTRIBUTE, TOAST_FIRST_LANDS_MS, TOAST_MAX_MS, TOAST_MAX_VISIBLE, TOAST_MIN_MS, TOAST_MS_PER_CHAR, TOOLTIP_ATTRIBUTE, TOOLTIP_FIRST_DELAY_MS, TOOLTIP_HIDE_GRACE_MS, TOOLTIP_INSTANT_ATTRIBUTE, TOOLTIP_PINNED_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, TOOLTIP_SIDE_ATTRIBUTE, TOOLTIP_TYPES, TOOLTIP_WARM_MS, TRANSITION_FEELS, TRANSITION_PROPERTY_KEY, TextAlign, TextBlockComponent, ToastClass, ToastEdge, TooltipClass, TooltipRuntime, VALIDATION_STATES, VALIDATION_STATE_CLASS, VIRTUAL_TRAIT_GROUPS, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, VisibilityActionType, activeActions, afterPreloader, animateAction, applyBindingPipes, applyBoundStyle, applyBoundStyles, applyFeel, armCountUp, armInteractionCounts, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, boundStyleCss, boundStyleEntries, boundStyleOf, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, buildPreloaderLayer, buildSwiperBreakpoints, buildTargetedStateSelector, buildTargetedSuffixSelector, buildTransitionTimeline, canPopover$1 as canPopover, cascadeChain, clearInputOverride, clearOverride, clearToasts, closeAboveMediaQuery, closeAllPopovers, closePopover, collectContextSlotKeys, commitInlineEdit, compileDeclarations, compilePageStyle, componentStatesFor, composeVirtualTraits, containerHtmlTag, contextActionEffect, contextSlotKeys, countDuration, countIsReadable, countLocaleOf, countOverrides, countValueAt, coverPanelStyle, createCoverPanel, datePickerOf, declaredInputNames, decomposeBackdropFilter, defaultHoverTransitionTraits, defaultMessageResolver, deriveSeoFromContent, describePageStyle, describeSeoFields, dialogCloseAboveMinWidth, directionalFrames, dissolveGrowOf, domHasSliderParts, durationMs, effectiveActionType, effectiveTransitionId, ensurePreloaderStyles, entrancePreStateStyle, entranceStartsHidden, fanMiddle, feelFor, fieldLanguage, finalKeyframe, firstScreenReadiness, floatingLayer, floatingScope, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, gateHoverRule, getSeoValue, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerShouldHide, heldFrames, hideFromTopLayer, hidingHeadersIn, holdsOnScreen, initialSlotValues, inkFollowingHeadersIn, interactionMarkerAttributes, isActionEnabled, isBoundProp, isBoundStyleProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPreloading, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, layerFrame, legacyEnterToTransition, lookEaseOf, markScrollbarsTakeWidth, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, mountPreloader, nearestCommonAncestorId, needsAccessibleName, needsGroupName, nodeA11yAttributes, nodeCssId, nodeTraitValue, nodeUsesContext, normalizeAppPath, normalizeGalleryImage, normalizeIconClass, openPopover, openingPictureOf, orderStatesForEmit, pageTransitionOf, parentBreakpoint, parseCount, parseUrlList, partClassName, placeFloating, placePopover, planPartRule, planResponsiveRules, planScroll, planStateRule, planSwiperOptions, playCountUp, playDualLayerTransition, playInteraction, playPreloaderPreview, playsOnScroll, popoverPanelAttributes, popoverSide, popupAttributeGetter, popupIdOf, prefersReducedMotion, preloaderContentOf, preloaderHeadScript, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, runPreloader, safeSetInput, scrollActionKind, scrollMotionEnv, scrollbarsTakeWidthScript, scrubUntilOf, serializeA11yAttributes, setDateFieldValue, setInputOverride, setOverride, setSeoAuto, setSeoBinding, setSeoOverride, setSeoValue, settleInteraction, settleModeFor, shakeElement, showCalendarDesign, showInTopLayer, showToast, showToastDesign, sliderControlElements, sliderInputsFromProps, sliderInputsOf, sliderRunwayHtml, splitOuterProps, splitPressFeedback, stateNamesIn, statePseudoClass, stateSelectorSuffix, stateTransitionProperties, stringFormRuntimeOf, stripSuppressedProps, swiperAutoplayAllowed, swiperLoopOptions, swiperModuleNames, syncInteractionMarkers, syncNodeA11yAttributes, syncSubmitButtons, targetedStateSelector, toLayerRect, toastDuration, toastEdge, toastsToEvict, togglePopover, tooltipSide, tooltipTiming, tooltipWords, tooltipsOf, transitionPropertyList, translateYOf, viewportTransitionContext, watchHeaderInk, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
|
|
14265
14326
|
//# sourceMappingURL=vectoriox-iox-ui.mjs.map
|