@yoobic/yobi 8.5.12 → 8.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/cjs/{index-bd063b62.js → index-485de4aa.js} +0 -3
  2. package/dist/cjs/yoo-form-creator-block-expandable.cjs.entry.js +1 -1
  3. package/dist/cjs/yoo-form-creator-condition-block.cjs.entry.js +1 -1
  4. package/dist/cjs/yoo-form-creator-page-card-list.cjs.entry.js +1 -1
  5. package/dist/cjs/yoo-form-creator-page-card.cjs.entry.js +1 -1
  6. package/dist/cjs/yoo-form-creator-score-expandable.cjs.entry.js +1 -1
  7. package/dist/cjs/yoo-form-creator-translate-dialog.cjs.entry.js +1 -1
  8. package/dist/cjs/yoo-form-creator-translate.cjs.entry.js +1 -1
  9. package/dist/cjs/yoo-form-creator-workflow-side-selection.cjs.entry.js +1 -1
  10. package/dist/cjs/yoo-form-creator.cjs.entry.js +1 -1
  11. package/dist/cjs/yoo-form-dynamic.cjs.entry.js +1 -1
  12. package/dist/cjs/yoo-form-input.cjs.entry.js +1 -1
  13. package/dist/cjs/yoo-workflow.cjs.entry.js +1 -1
  14. package/dist/collection/components/form/form-dynamic/form-dynamic.js +1 -1
  15. package/dist/collection/components/form/form-input/form-input.js +2 -2
  16. package/dist/collection/components/form-creator/helpers/index.js +0 -3
  17. package/dist/design-system/{index-c7d9c582.js → index-61ca11b9.js} +0 -3
  18. package/dist/design-system/yoo-form-creator-block-expandable.entry.js +1 -1
  19. package/dist/design-system/yoo-form-creator-condition-block.entry.js +1 -1
  20. package/dist/design-system/yoo-form-creator-page-card-list.entry.js +1 -1
  21. package/dist/design-system/yoo-form-creator-page-card.entry.js +1 -1
  22. package/dist/design-system/yoo-form-creator-score-expandable.entry.js +1 -1
  23. package/dist/design-system/yoo-form-creator-translate-dialog.entry.js +1 -1
  24. package/dist/design-system/yoo-form-creator-translate.entry.js +1 -1
  25. package/dist/design-system/yoo-form-creator-workflow-side-selection.entry.js +1 -1
  26. package/dist/design-system/yoo-form-creator.entry.js +1 -1
  27. package/dist/design-system/yoo-form-dynamic.entry.js +1 -1
  28. package/dist/design-system/yoo-form-input.entry.js +1 -1
  29. package/dist/design-system/yoo-workflow.entry.js +1 -1
  30. package/dist/esm/{index-c7d9c582.js → index-61ca11b9.js} +0 -3
  31. package/dist/esm/yoo-form-creator-block-expandable.entry.js +1 -1
  32. package/dist/esm/yoo-form-creator-condition-block.entry.js +1 -1
  33. package/dist/esm/yoo-form-creator-page-card-list.entry.js +1 -1
  34. package/dist/esm/yoo-form-creator-page-card.entry.js +1 -1
  35. package/dist/esm/yoo-form-creator-score-expandable.entry.js +1 -1
  36. package/dist/esm/yoo-form-creator-translate-dialog.entry.js +1 -1
  37. package/dist/esm/yoo-form-creator-translate.entry.js +1 -1
  38. package/dist/esm/yoo-form-creator-workflow-side-selection.entry.js +1 -1
  39. package/dist/esm/yoo-form-creator.entry.js +1 -1
  40. package/dist/esm/yoo-form-dynamic.entry.js +1 -1
  41. package/dist/esm/yoo-form-input.entry.js +1 -1
  42. package/dist/esm/yoo-workflow.entry.js +1 -1
  43. package/package.json +1 -1
@@ -339,9 +339,6 @@ function getDefaultField(field, type) {
339
339
  if (type === 'lesson') {
340
340
  newField.required = true;
341
341
  }
342
- if (type === 'mission' && [index$1.FormFieldType.number, index$1.FormFieldType.slider].includes(field.type)) {
343
- newField.allowDecimals = true;
344
- }
345
342
  return newField;
346
343
  }
347
344
  function setParentConditions(slides) {
@@ -7,7 +7,7 @@ const index$1 = require('./index-ec5dad3e.js');
7
7
  require('./index-b3e14aed.js');
8
8
  const lodash = require('./lodash-a9050d79.js');
9
9
  const index$4 = require('./index-029fb2d6.js');
10
- const index$3 = require('./index-bd063b62.js');
10
+ const index$3 = require('./index-485de4aa.js');
11
11
  const index$2 = require('./index-3ad228d9.js');
12
12
  require('./annotations-helpers-fb554cca.js');
13
13
  require('./_commonjsHelpers-94df2ea7.js');
@@ -6,7 +6,7 @@ const index = require('./index-9ca0e46c.js');
6
6
  const index$1 = require('./index-ec5dad3e.js');
7
7
  require('./index-b3e14aed.js');
8
8
  const index$4 = require('./index-7d3c7ee7.js');
9
- const index$2 = require('./index-bd063b62.js');
9
+ const index$2 = require('./index-485de4aa.js');
10
10
  const index$3 = require('./index-3ad228d9.js');
11
11
  require('./lodash-a9050d79.js');
12
12
  require('./annotations-helpers-fb554cca.js');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-9ca0e46c.js');
6
6
  require('./index-b3e14aed.js');
7
7
  const sortable_esm = require('./sortable.esm-00e15691.js');
8
- const index$1 = require('./index-bd063b62.js');
8
+ const index$1 = require('./index-485de4aa.js');
9
9
  const index$2 = require('./index-3ad228d9.js');
10
10
  require('./lodash-a9050d79.js');
11
11
  require('./index-ec5dad3e.js');
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-9ca0e46c.js');
6
6
  require('./index-b3e14aed.js');
7
- const index$1 = require('./index-bd063b62.js');
7
+ const index$1 = require('./index-485de4aa.js');
8
8
  const index$2 = require('./index-3ad228d9.js');
9
9
  require('./lodash-a9050d79.js');
10
10
  require('./index-ec5dad3e.js');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-9ca0e46c.js');
6
6
  const index$1 = require('./index-ec5dad3e.js');
7
7
  require('./index-b3e14aed.js');
8
- const index$3 = require('./index-bd063b62.js');
8
+ const index$3 = require('./index-485de4aa.js');
9
9
  const index$2 = require('./index-3ad228d9.js');
10
10
  require('./lodash-a9050d79.js');
11
11
  require('./annotations-helpers-fb554cca.js');
@@ -6,7 +6,7 @@ const index = require('./index-9ca0e46c.js');
6
6
  const index$3 = require('./index-ec5dad3e.js');
7
7
  require('./index-b3e14aed.js');
8
8
  const lodash = require('./lodash-a9050d79.js');
9
- const index$2 = require('./index-bd063b62.js');
9
+ const index$2 = require('./index-485de4aa.js');
10
10
  const index$1 = require('./index-3ad228d9.js');
11
11
  require('./annotations-helpers-fb554cca.js');
12
12
  require('./_commonjsHelpers-94df2ea7.js');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-9ca0e46c.js');
6
6
  require('./index-b3e14aed.js');
7
7
  const lodash = require('./lodash-a9050d79.js');
8
- const index$2 = require('./index-bd063b62.js');
8
+ const index$2 = require('./index-485de4aa.js');
9
9
  const index$1 = require('./index-3ad228d9.js');
10
10
  require('./index-ec5dad3e.js');
11
11
  require('./annotations-helpers-fb554cca.js');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-9ca0e46c.js');
6
6
  require('./index-b3e14aed.js');
7
7
  const commonHelpers = require('./common-helpers-4137cff6.js');
8
- const index$1 = require('./index-bd063b62.js');
8
+ const index$1 = require('./index-485de4aa.js');
9
9
  const index$2 = require('./index-3ad228d9.js');
10
10
  require('./lodash-a9050d79.js');
11
11
  require('./index-ec5dad3e.js');
@@ -10,7 +10,7 @@ const sortable_esm = require('./sortable.esm-00e15691.js');
10
10
  const index$1 = require('./index-c55e4a15.js');
11
11
  const commonHelpers = require('./common-helpers-4137cff6.js');
12
12
  const index$5 = require('./index-029fb2d6.js');
13
- const index$3 = require('./index-bd063b62.js');
13
+ const index$3 = require('./index-485de4aa.js');
14
14
  const index$4 = require('./index-3ad228d9.js');
15
15
  const formField_instance = require('./form-field.instance-410c2aea.js');
16
16
  require('./workflow.interface-ffda8358.js');
@@ -3292,7 +3292,7 @@ const YooFormDynamicComponent = class {
3292
3292
  extraAttrs = {
3293
3293
  min: field.min,
3294
3294
  max: field.max,
3295
- allowDecimals: lodash.isFunction(field.allowDecimals) ? field.allowDecimals(this.host) : field.allowDecimals,
3295
+ allowDecimals: this.isLesson() ? false : lodash.isFunction(field.allowDecimals) ? field.allowDecimals(this.host) : field.allowDecimals,
3296
3296
  maxCharacters: field.maxCharacters,
3297
3297
  type: field.type === index.FormFieldType.number && index$1.isSamsung() ? index.FormFieldType.text : getInputType(field),
3298
3298
  inputmode: field.type === index.FormFieldType.number && index$1.isSamsung() ? 'numeric' : '',
@@ -43,7 +43,7 @@ const YooFormInputComponent = class {
43
43
  this.size = 'large';
44
44
  this.initialCheckboxParams = null;
45
45
  this.fireInputChangeEvent = false;
46
- this.allowDecimals = false;
46
+ this.allowDecimals = true;
47
47
  this.format = 'input';
48
48
  this.checkboxParams = null;
49
49
  this.hostWidth = 0;
@@ -8,7 +8,7 @@ const lodash = require('./lodash-a9050d79.js');
8
8
  const workflow_interface = require('./workflow.interface-ffda8358.js');
9
9
  const commonHelpers = require('./common-helpers-4137cff6.js');
10
10
  const index$4 = require('./index-029fb2d6.js');
11
- const index$2 = require('./index-bd063b62.js');
11
+ const index$2 = require('./index-485de4aa.js');
12
12
  const index$3 = require('./index-9c56868f.js');
13
13
  const index$1 = require('./index-3ad228d9.js');
14
14
  require('./index-ec5dad3e.js');
@@ -3092,7 +3092,7 @@ export class YooFormDynamicComponent {
3092
3092
  extraAttrs = {
3093
3093
  min: field.min,
3094
3094
  max: field.max,
3095
- allowDecimals: isFunction(field.allowDecimals) ? field.allowDecimals(this.host) : field.allowDecimals,
3095
+ allowDecimals: this.isLesson() ? false : isFunction(field.allowDecimals) ? field.allowDecimals(this.host) : field.allowDecimals,
3096
3096
  maxCharacters: field.maxCharacters,
3097
3097
  type: field.type === FormFieldType.number && isSamsung() ? FormFieldType.text : getInputType(field),
3098
3098
  inputmode: field.type === FormFieldType.number && isSamsung() ? 'numeric' : '',
@@ -19,7 +19,7 @@ export class YooFormInputComponent {
19
19
  this.size = 'large';
20
20
  this.initialCheckboxParams = null;
21
21
  this.fireInputChangeEvent = false;
22
- this.allowDecimals = false;
22
+ this.allowDecimals = true;
23
23
  this.format = 'input';
24
24
  this.checkboxParams = null;
25
25
  this.hostWidth = 0;
@@ -1354,7 +1354,7 @@ export class YooFormInputComponent {
1354
1354
  },
1355
1355
  "attribute": "allow-decimals",
1356
1356
  "reflect": false,
1357
- "defaultValue": "false"
1357
+ "defaultValue": "true"
1358
1358
  },
1359
1359
  "format": {
1360
1360
  "type": "string",
@@ -335,9 +335,6 @@ export function getDefaultField(field, type) {
335
335
  if (type === 'lesson') {
336
336
  newField.required = true;
337
337
  }
338
- if (type === 'mission' && [FormFieldType.number, FormFieldType.slider].includes(field.type)) {
339
- newField.allowDecimals = true;
340
- }
341
338
  return newField;
342
339
  }
343
340
  export function setParentConditions(slides) {
@@ -337,9 +337,6 @@ function getDefaultField(field, type) {
337
337
  if (type === 'lesson') {
338
338
  newField.required = true;
339
339
  }
340
- if (type === 'mission' && [FormFieldType.number, FormFieldType.slider].includes(field.type)) {
341
- newField.allowDecimals = true;
342
- }
343
340
  return newField;
344
341
  }
345
342
  function setParentConditions(slides) {
@@ -3,7 +3,7 @@ import { Y as FORM_CREATOR_OPTIONS_ALL, A as ALL_MOBILE_FORM_FIELDS, u as FormFi
3
3
  import './index-0b3d2e69.js';
4
4
  import { n as compact } from './lodash-777f91de.js';
5
5
  import { N as NON_CONDITION_CATEGORIES, a as NON_CONDITION_TYPES } from './index-c3215c3c.js';
6
- import { l as setBlockSelection, S as setRestrictionAndConditionActions, T as filterSequentialFields, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-c7d9c582.js';
6
+ import { l as setBlockSelection, S as setRestrictionAndConditionActions, T as filterSequentialFields, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-61ca11b9.js';
7
7
  import { k as isNullOrUndefined, I as debounce, t as translate, aW as gsapTo, aX as gsapSet, dr as Power3, aY as gsapFromTo, a3 as translateMulti } from './index-998eec90.js';
8
8
  import './annotations-helpers-f7b42b40.js';
9
9
  import './_commonjsHelpers-f4d11124.js';
@@ -2,7 +2,7 @@ import { r as registerInstance, i as createEvent, f as forceUpdate, h, e as Host
2
2
  import { A as ALL_MOBILE_FORM_FIELDS } from './index-4bbbf966.js';
3
3
  import './index-0b3d2e69.js';
4
4
  import { f as feedbackValues } from './index-2319a076.js';
5
- import { l as setBlockSelection, U as setPageSelection } from './index-c7d9c582.js';
5
+ import { l as setBlockSelection, U as setPageSelection } from './index-61ca11b9.js';
6
6
  import { t as translate, k as isNullOrUndefined, a3 as translateMulti } from './index-998eec90.js';
7
7
  import './lodash-777f91de.js';
8
8
  import './annotations-helpers-f7b42b40.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, i as createEvent, h, e as Host, g as getElement } from './index-a6a92b3d.js';
2
2
  import './index-0b3d2e69.js';
3
3
  import { S as Sortable } from './sortable.esm-f788d1ca.js';
4
- import { I as setRestrictionAndFieldConditions, Q as getWorkflowFieldState } from './index-c7d9c582.js';
4
+ import { I as setRestrictionAndFieldConditions, Q as getWorkflowFieldState } from './index-61ca11b9.js';
5
5
  import { k as isNullOrUndefined, a3 as translateMulti, t as translate } from './index-998eec90.js';
6
6
  import './lodash-777f91de.js';
7
7
  import './index-4bbbf966.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, i as createEvent, h } from './index-a6a92b3d.js';
2
2
  import './index-0b3d2e69.js';
3
- import { S as setRestrictionAndConditionActions } from './index-c7d9c582.js';
3
+ import { S as setRestrictionAndConditionActions } from './index-61ca11b9.js';
4
4
  import { t as translate } from './index-998eec90.js';
5
5
  import './lodash-777f91de.js';
6
6
  import './index-4bbbf966.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, i as createEvent, h, e as Host, g as getElement } from './index-a6a92b3d.js';
2
2
  import { Y as FORM_CREATOR_OPTIONS_ALL, S as ScoringCategory, A as ALL_MOBILE_FORM_FIELDS, c as FormFieldType, T as TRUE_PRESENCE_VALUE_TEXT, e as FALSE_PRESENCE_VALUE_TEXT } from './index-4bbbf966.js';
3
3
  import './index-0b3d2e69.js';
4
- import { K as starRatingMaxDefault } from './index-c7d9c582.js';
4
+ import { K as starRatingMaxDefault } from './index-61ca11b9.js';
5
5
  import { k as isNullOrUndefined, aW as gsapTo, dr as Power3, aY as gsapFromTo, ds as findMaxScore, a3 as translateMulti, t as translate, dt as isNotApplicable } from './index-998eec90.js';
6
6
  import './lodash-777f91de.js';
7
7
  import './annotations-helpers-f7b42b40.js';
@@ -2,7 +2,7 @@ import { r as registerInstance, i as createEvent, h, e as Host, g as getElement
2
2
  import { f as TRANSLATABLE_FORM_FIELD_ATTRIBUTES, c as FormFieldType, C as COMPLEX_ARRAY_TRANSLATABLE_FORM_FIELD_ATTRIBUTES, g as SINGLE_ARRAY_TRANSLATABLE_FORM_FIELD_ATTRIBUTES } from './index-4bbbf966.js';
3
3
  import './index-0b3d2e69.js';
4
4
  import { n as compact, c as cloneDeep, v as isObject, y as isEmpty, p as isString } from './lodash-777f91de.js';
5
- import { R as updateLocaleTranslation } from './index-c7d9c582.js';
5
+ import { R as updateLocaleTranslation } from './index-61ca11b9.js';
6
6
  import { I as debounce, b8 as formatSlides, aA as getCurrentLanguage, dH as getLocaleTranslation, dI as isHTML, a3 as translateMulti, t as translate, b3 as findField, w as closeModal, dq as getTranslateLanguageKeys } from './index-998eec90.js';
7
7
  import './annotations-helpers-f7b42b40.js';
8
8
  import './_commonjsHelpers-f4d11124.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, i as createEvent, h, e as Host } from './index-a6a92b3d.js';
2
2
  import './index-0b3d2e69.js';
3
3
  import { c as cloneDeep, A as isEqual, a0 as remove } from './lodash-777f91de.js';
4
- import { L as resetKey, M as resetFieldTranslations, t as translateAll, N as isAlreadyTranslated, O as addRow } from './index-c7d9c582.js';
4
+ import { L as resetKey, M as resetFieldTranslations, t as translateAll, N as isAlreadyTranslated, O as addRow } from './index-61ca11b9.js';
5
5
  import { b8 as formatSlides, du as cleanUnusedTranslations, dq as getTranslateLanguageKeys, b6 as hasImageRecognitionFields, k as isNullOrUndefined, t as translate, d0 as getAuthentication, ay as getLanguageKey, aj as showAlert, w as closeModal, dv as updateScoringWithTranslations, dw as updateAuditWithTranslations, G as showModal } from './index-998eec90.js';
6
6
  import './index-4bbbf966.js';
7
7
  import './annotations-helpers-f7b42b40.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, i as createEvent, h, e as Host, g as getElement } from './index-a6a92b3d.js';
2
2
  import './index-0b3d2e69.js';
3
3
  import { g as getAppContext } from './common-helpers-e1ab61d3.js';
4
- import { P as onWorkflowStepClicked } from './index-c7d9c582.js';
4
+ import { P as onWorkflowStepClicked } from './index-61ca11b9.js';
5
5
  import { t as translate } from './index-998eec90.js';
6
6
  import './lodash-777f91de.js';
7
7
  import './index-4bbbf966.js';
@@ -6,7 +6,7 @@ import { S as Sortable } from './sortable.esm-f788d1ca.js';
6
6
  import { F as FORM_CREATOR_BULK_ACTIONS_ALL } from './index-c04e931c.js';
7
7
  import { g as getAppContext } from './common-helpers-e1ab61d3.js';
8
8
  import { N as NON_CONDITION_CATEGORIES, a as NON_CONDITION_TYPES, A as ARROW_PAIR } from './index-c3215c3c.js';
9
- import { a as addNewIdsToSlide, s as serializeScoringValuePairs, u as updateSelectedFields, i as isScoring, g as getExpandableBlockReference, r as removeCondition, b as removePageCondtion, c as addNewUnattachedParentConditions, d as deleteFieldAndRemoveConditionReferences, e as duplicateField, f as deleteCondition, h as deleteUnattachedParentConditions, j as findCondition, k as updateCondition, l as setBlockSelection, m as cleanCustomFormFieldSlides, t as translateAll, n as cleanUnattachedParentConditions, o as removeSelectedItems, p as setSelectedScoring, q as getFieldsWithScoring, v as populateFieldsWithScoring, w as setFormFieldIndex, x as setParentConditions, y as updateUnattatchedCondition, z as doesSlidePageHaveItems, A as getNumberOfSequentialFields, B as getDefaultCondition, C as addNewParentCondition, D as createNewIdsForCustomFields, E as getDefaultField, F as getScoringQuickSetupData, G as checkForFieldAttribute, H as populateMissingValues, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-c7d9c582.js';
9
+ import { a as addNewIdsToSlide, s as serializeScoringValuePairs, u as updateSelectedFields, i as isScoring, g as getExpandableBlockReference, r as removeCondition, b as removePageCondtion, c as addNewUnattachedParentConditions, d as deleteFieldAndRemoveConditionReferences, e as duplicateField, f as deleteCondition, h as deleteUnattachedParentConditions, j as findCondition, k as updateCondition, l as setBlockSelection, m as cleanCustomFormFieldSlides, t as translateAll, n as cleanUnattachedParentConditions, o as removeSelectedItems, p as setSelectedScoring, q as getFieldsWithScoring, v as populateFieldsWithScoring, w as setFormFieldIndex, x as setParentConditions, y as updateUnattatchedCondition, z as doesSlidePageHaveItems, A as getNumberOfSequentialFields, B as getDefaultCondition, C as addNewParentCondition, D as createNewIdsForCustomFields, E as getDefaultField, F as getScoringQuickSetupData, G as checkForFieldAttribute, H as populateMissingValues, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-61ca11b9.js';
10
10
  import { a_ as updateTranslationKey, a$ as checkIfKeyIsInPage, t as translate, aj as showAlert, b0 as removeScoringSelectedFields, b1 as serializeScores, b2 as setFieldIconAndCategory, a3 as translateMulti, b3 as findField, b4 as CURVE_EASE_OUT_QUAD, b5 as changeSelectedScoring, k as isNullOrUndefined, b6 as hasImageRecognitionFields, aU as getUUID, aA as getCurrentLanguage, b7 as calculateScoringTotal, b8 as formatSlides, G as showModal, b9 as showToast, ba as checkIfKeyIsInField, bb as removeParentCondition, bc as populateScoringFields, bd as isFieldNameUnique, be as getCustomName, a8 as getSession, w as closeModal, bf as getScoringCategory, bg as formatScoringValuePairs, bh as findMultiMaxScore } from './index-998eec90.js';
11
11
  import { c as conditionBlocksConfig } from './form-field.instance-9dc4d638.js';
12
12
  import './workflow.interface-79064a52.js';
@@ -3288,7 +3288,7 @@ const YooFormDynamicComponent = class {
3288
3288
  extraAttrs = {
3289
3289
  min: field.min,
3290
3290
  max: field.max,
3291
- allowDecimals: isFunction(field.allowDecimals) ? field.allowDecimals(this.host) : field.allowDecimals,
3291
+ allowDecimals: this.isLesson() ? false : isFunction(field.allowDecimals) ? field.allowDecimals(this.host) : field.allowDecimals,
3292
3292
  maxCharacters: field.maxCharacters,
3293
3293
  type: field.type === FormFieldType.number && isSamsung() ? FormFieldType.text : getInputType(field),
3294
3294
  inputmode: field.type === FormFieldType.number && isSamsung() ? 'numeric' : '',
@@ -39,7 +39,7 @@ const YooFormInputComponent = class {
39
39
  this.size = 'large';
40
40
  this.initialCheckboxParams = null;
41
41
  this.fireInputChangeEvent = false;
42
- this.allowDecimals = false;
42
+ this.allowDecimals = true;
43
43
  this.format = 'input';
44
44
  this.checkboxParams = null;
45
45
  this.hostWidth = 0;
@@ -4,7 +4,7 @@ import { n as compact } from './lodash-777f91de.js';
4
4
  import { W as WorkflowMode } from './workflow.interface-79064a52.js';
5
5
  import { g as getAppContext } from './common-helpers-e1ab61d3.js';
6
6
  import { A as ARROW_PAIR } from './index-c3215c3c.js';
7
- import { P as onWorkflowStepClicked, Q as getWorkflowFieldState } from './index-c7d9c582.js';
7
+ import { P as onWorkflowStepClicked, Q as getWorkflowFieldState } from './index-61ca11b9.js';
8
8
  import { f as fieldStateOptions } from './index-a7443ef7.js';
9
9
  import { t as translate } from './index-998eec90.js';
10
10
  import './index-4bbbf966.js';
@@ -337,9 +337,6 @@ function getDefaultField(field, type) {
337
337
  if (type === 'lesson') {
338
338
  newField.required = true;
339
339
  }
340
- if (type === 'mission' && [FormFieldType.number, FormFieldType.slider].includes(field.type)) {
341
- newField.allowDecimals = true;
342
- }
343
340
  return newField;
344
341
  }
345
342
  function setParentConditions(slides) {
@@ -3,7 +3,7 @@ import { Y as FORM_CREATOR_OPTIONS_ALL, A as ALL_MOBILE_FORM_FIELDS, u as FormFi
3
3
  import './index-0b3d2e69.js';
4
4
  import { n as compact } from './lodash-777f91de.js';
5
5
  import { N as NON_CONDITION_CATEGORIES, a as NON_CONDITION_TYPES } from './index-c3215c3c.js';
6
- import { l as setBlockSelection, S as setRestrictionAndConditionActions, T as filterSequentialFields, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-c7d9c582.js';
6
+ import { l as setBlockSelection, S as setRestrictionAndConditionActions, T as filterSequentialFields, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-61ca11b9.js';
7
7
  import { k as isNullOrUndefined, I as debounce, t as translate, aW as gsapTo, aX as gsapSet, dr as Power3, aY as gsapFromTo, a3 as translateMulti } from './index-998eec90.js';
8
8
  import './annotations-helpers-f7b42b40.js';
9
9
  import './_commonjsHelpers-f4d11124.js';
@@ -2,7 +2,7 @@ import { r as registerInstance, i as createEvent, f as forceUpdate, h, e as Host
2
2
  import { A as ALL_MOBILE_FORM_FIELDS } from './index-4bbbf966.js';
3
3
  import './index-0b3d2e69.js';
4
4
  import { f as feedbackValues } from './index-2319a076.js';
5
- import { l as setBlockSelection, U as setPageSelection } from './index-c7d9c582.js';
5
+ import { l as setBlockSelection, U as setPageSelection } from './index-61ca11b9.js';
6
6
  import { t as translate, k as isNullOrUndefined, a3 as translateMulti } from './index-998eec90.js';
7
7
  import './lodash-777f91de.js';
8
8
  import './annotations-helpers-f7b42b40.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, i as createEvent, h, e as Host, g as getElement } from './index-a6a92b3d.js';
2
2
  import './index-0b3d2e69.js';
3
3
  import { S as Sortable } from './sortable.esm-f788d1ca.js';
4
- import { I as setRestrictionAndFieldConditions, Q as getWorkflowFieldState } from './index-c7d9c582.js';
4
+ import { I as setRestrictionAndFieldConditions, Q as getWorkflowFieldState } from './index-61ca11b9.js';
5
5
  import { k as isNullOrUndefined, a3 as translateMulti, t as translate } from './index-998eec90.js';
6
6
  import './lodash-777f91de.js';
7
7
  import './index-4bbbf966.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, i as createEvent, h } from './index-a6a92b3d.js';
2
2
  import './index-0b3d2e69.js';
3
- import { S as setRestrictionAndConditionActions } from './index-c7d9c582.js';
3
+ import { S as setRestrictionAndConditionActions } from './index-61ca11b9.js';
4
4
  import { t as translate } from './index-998eec90.js';
5
5
  import './lodash-777f91de.js';
6
6
  import './index-4bbbf966.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, i as createEvent, h, e as Host, g as getElement } from './index-a6a92b3d.js';
2
2
  import { Y as FORM_CREATOR_OPTIONS_ALL, S as ScoringCategory, A as ALL_MOBILE_FORM_FIELDS, c as FormFieldType, T as TRUE_PRESENCE_VALUE_TEXT, e as FALSE_PRESENCE_VALUE_TEXT } from './index-4bbbf966.js';
3
3
  import './index-0b3d2e69.js';
4
- import { K as starRatingMaxDefault } from './index-c7d9c582.js';
4
+ import { K as starRatingMaxDefault } from './index-61ca11b9.js';
5
5
  import { k as isNullOrUndefined, aW as gsapTo, dr as Power3, aY as gsapFromTo, ds as findMaxScore, a3 as translateMulti, t as translate, dt as isNotApplicable } from './index-998eec90.js';
6
6
  import './lodash-777f91de.js';
7
7
  import './annotations-helpers-f7b42b40.js';
@@ -2,7 +2,7 @@ import { r as registerInstance, i as createEvent, h, e as Host, g as getElement
2
2
  import { f as TRANSLATABLE_FORM_FIELD_ATTRIBUTES, c as FormFieldType, C as COMPLEX_ARRAY_TRANSLATABLE_FORM_FIELD_ATTRIBUTES, g as SINGLE_ARRAY_TRANSLATABLE_FORM_FIELD_ATTRIBUTES } from './index-4bbbf966.js';
3
3
  import './index-0b3d2e69.js';
4
4
  import { n as compact, c as cloneDeep, v as isObject, y as isEmpty, p as isString } from './lodash-777f91de.js';
5
- import { R as updateLocaleTranslation } from './index-c7d9c582.js';
5
+ import { R as updateLocaleTranslation } from './index-61ca11b9.js';
6
6
  import { I as debounce, b8 as formatSlides, aA as getCurrentLanguage, dH as getLocaleTranslation, dI as isHTML, a3 as translateMulti, t as translate, b3 as findField, w as closeModal, dq as getTranslateLanguageKeys } from './index-998eec90.js';
7
7
  import './annotations-helpers-f7b42b40.js';
8
8
  import './_commonjsHelpers-f4d11124.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, i as createEvent, h, e as Host } from './index-a6a92b3d.js';
2
2
  import './index-0b3d2e69.js';
3
3
  import { c as cloneDeep, A as isEqual, a0 as remove } from './lodash-777f91de.js';
4
- import { L as resetKey, M as resetFieldTranslations, t as translateAll, N as isAlreadyTranslated, O as addRow } from './index-c7d9c582.js';
4
+ import { L as resetKey, M as resetFieldTranslations, t as translateAll, N as isAlreadyTranslated, O as addRow } from './index-61ca11b9.js';
5
5
  import { b8 as formatSlides, du as cleanUnusedTranslations, dq as getTranslateLanguageKeys, b6 as hasImageRecognitionFields, k as isNullOrUndefined, t as translate, d0 as getAuthentication, ay as getLanguageKey, aj as showAlert, w as closeModal, dv as updateScoringWithTranslations, dw as updateAuditWithTranslations, G as showModal } from './index-998eec90.js';
6
6
  import './index-4bbbf966.js';
7
7
  import './annotations-helpers-f7b42b40.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, i as createEvent, h, e as Host, g as getElement } from './index-a6a92b3d.js';
2
2
  import './index-0b3d2e69.js';
3
3
  import { g as getAppContext } from './common-helpers-e1ab61d3.js';
4
- import { P as onWorkflowStepClicked } from './index-c7d9c582.js';
4
+ import { P as onWorkflowStepClicked } from './index-61ca11b9.js';
5
5
  import { t as translate } from './index-998eec90.js';
6
6
  import './lodash-777f91de.js';
7
7
  import './index-4bbbf966.js';
@@ -6,7 +6,7 @@ import { S as Sortable } from './sortable.esm-f788d1ca.js';
6
6
  import { F as FORM_CREATOR_BULK_ACTIONS_ALL } from './index-c04e931c.js';
7
7
  import { g as getAppContext } from './common-helpers-e1ab61d3.js';
8
8
  import { N as NON_CONDITION_CATEGORIES, a as NON_CONDITION_TYPES, A as ARROW_PAIR } from './index-c3215c3c.js';
9
- import { a as addNewIdsToSlide, s as serializeScoringValuePairs, u as updateSelectedFields, i as isScoring, g as getExpandableBlockReference, r as removeCondition, b as removePageCondtion, c as addNewUnattachedParentConditions, d as deleteFieldAndRemoveConditionReferences, e as duplicateField, f as deleteCondition, h as deleteUnattachedParentConditions, j as findCondition, k as updateCondition, l as setBlockSelection, m as cleanCustomFormFieldSlides, t as translateAll, n as cleanUnattachedParentConditions, o as removeSelectedItems, p as setSelectedScoring, q as getFieldsWithScoring, v as populateFieldsWithScoring, w as setFormFieldIndex, x as setParentConditions, y as updateUnattatchedCondition, z as doesSlidePageHaveItems, A as getNumberOfSequentialFields, B as getDefaultCondition, C as addNewParentCondition, D as createNewIdsForCustomFields, E as getDefaultField, F as getScoringQuickSetupData, G as checkForFieldAttribute, H as populateMissingValues, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-c7d9c582.js';
9
+ import { a as addNewIdsToSlide, s as serializeScoringValuePairs, u as updateSelectedFields, i as isScoring, g as getExpandableBlockReference, r as removeCondition, b as removePageCondtion, c as addNewUnattachedParentConditions, d as deleteFieldAndRemoveConditionReferences, e as duplicateField, f as deleteCondition, h as deleteUnattachedParentConditions, j as findCondition, k as updateCondition, l as setBlockSelection, m as cleanCustomFormFieldSlides, t as translateAll, n as cleanUnattachedParentConditions, o as removeSelectedItems, p as setSelectedScoring, q as getFieldsWithScoring, v as populateFieldsWithScoring, w as setFormFieldIndex, x as setParentConditions, y as updateUnattatchedCondition, z as doesSlidePageHaveItems, A as getNumberOfSequentialFields, B as getDefaultCondition, C as addNewParentCondition, D as createNewIdsForCustomFields, E as getDefaultField, F as getScoringQuickSetupData, G as checkForFieldAttribute, H as populateMissingValues, I as setRestrictionAndFieldConditions, J as setChildFields } from './index-61ca11b9.js';
10
10
  import { a_ as updateTranslationKey, a$ as checkIfKeyIsInPage, t as translate, aj as showAlert, b0 as removeScoringSelectedFields, b1 as serializeScores, b2 as setFieldIconAndCategory, a3 as translateMulti, b3 as findField, b4 as CURVE_EASE_OUT_QUAD, b5 as changeSelectedScoring, k as isNullOrUndefined, b6 as hasImageRecognitionFields, aU as getUUID, aA as getCurrentLanguage, b7 as calculateScoringTotal, b8 as formatSlides, G as showModal, b9 as showToast, ba as checkIfKeyIsInField, bb as removeParentCondition, bc as populateScoringFields, bd as isFieldNameUnique, be as getCustomName, a8 as getSession, w as closeModal, bf as getScoringCategory, bg as formatScoringValuePairs, bh as findMultiMaxScore } from './index-998eec90.js';
11
11
  import { c as conditionBlocksConfig } from './form-field.instance-9dc4d638.js';
12
12
  import './workflow.interface-79064a52.js';
@@ -3288,7 +3288,7 @@ const YooFormDynamicComponent = class {
3288
3288
  extraAttrs = {
3289
3289
  min: field.min,
3290
3290
  max: field.max,
3291
- allowDecimals: isFunction(field.allowDecimals) ? field.allowDecimals(this.host) : field.allowDecimals,
3291
+ allowDecimals: this.isLesson() ? false : isFunction(field.allowDecimals) ? field.allowDecimals(this.host) : field.allowDecimals,
3292
3292
  maxCharacters: field.maxCharacters,
3293
3293
  type: field.type === FormFieldType.number && isSamsung() ? FormFieldType.text : getInputType(field),
3294
3294
  inputmode: field.type === FormFieldType.number && isSamsung() ? 'numeric' : '',
@@ -39,7 +39,7 @@ const YooFormInputComponent = class {
39
39
  this.size = 'large';
40
40
  this.initialCheckboxParams = null;
41
41
  this.fireInputChangeEvent = false;
42
- this.allowDecimals = false;
42
+ this.allowDecimals = true;
43
43
  this.format = 'input';
44
44
  this.checkboxParams = null;
45
45
  this.hostWidth = 0;
@@ -4,7 +4,7 @@ import { n as compact } from './lodash-777f91de.js';
4
4
  import { W as WorkflowMode } from './workflow.interface-79064a52.js';
5
5
  import { g as getAppContext } from './common-helpers-e1ab61d3.js';
6
6
  import { A as ARROW_PAIR } from './index-c3215c3c.js';
7
- import { P as onWorkflowStepClicked, Q as getWorkflowFieldState } from './index-c7d9c582.js';
7
+ import { P as onWorkflowStepClicked, Q as getWorkflowFieldState } from './index-61ca11b9.js';
8
8
  import { f as fieldStateOptions } from './index-a7443ef7.js';
9
9
  import { t as translate } from './index-998eec90.js';
10
10
  import './index-4bbbf966.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoobic/yobi",
3
- "version": "8.5.12",
3
+ "version": "8.5.13",
4
4
  "description": "Yobi - Yoobic Design System",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.cjs.js",