@ember-eui/validated-form 8.0.46 → 8.0.47

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 (49) hide show
  1. package/declarations/components/validated-form/field-checkbox-group.d.ts +2 -1
  2. package/declarations/components/validated-form/field-checkbox-group.d.ts.map +1 -1
  3. package/declarations/components/validated-form/field-combo-box.d.ts +1 -0
  4. package/declarations/components/validated-form/field-combo-box.d.ts.map +1 -1
  5. package/declarations/components/validated-form/field-dual-range-slider.d.ts +1 -0
  6. package/declarations/components/validated-form/field-dual-range-slider.d.ts.map +1 -1
  7. package/declarations/components/validated-form/field-markdown-editor.d.ts +1 -0
  8. package/declarations/components/validated-form/field-markdown-editor.d.ts.map +1 -1
  9. package/declarations/components/validated-form/field-number.d.ts +1 -0
  10. package/declarations/components/validated-form/field-number.d.ts.map +1 -1
  11. package/declarations/components/validated-form/field-password.d.ts +1 -0
  12. package/declarations/components/validated-form/field-password.d.ts.map +1 -1
  13. package/declarations/components/validated-form/field-radio-group.d.ts +1 -0
  14. package/declarations/components/validated-form/field-radio-group.d.ts.map +1 -1
  15. package/declarations/components/validated-form/field-range-slider.d.ts +1 -0
  16. package/declarations/components/validated-form/field-range-slider.d.ts.map +1 -1
  17. package/declarations/components/validated-form/field-select.d.ts +1 -0
  18. package/declarations/components/validated-form/field-select.d.ts.map +1 -1
  19. package/declarations/components/validated-form/field-switch.d.ts +1 -0
  20. package/declarations/components/validated-form/field-switch.d.ts.map +1 -1
  21. package/declarations/components/validated-form/field-text-area.d.ts +1 -0
  22. package/declarations/components/validated-form/field-text-area.d.ts.map +1 -1
  23. package/declarations/components/validated-form/field-text.d.ts +1 -0
  24. package/declarations/components/validated-form/field-text.d.ts.map +1 -1
  25. package/dist/components/validated-form/field-checkbox-group.js +1 -1
  26. package/dist/components/validated-form/field-checkbox-group.js.map +1 -1
  27. package/dist/components/validated-form/field-combo-box.js +1 -1
  28. package/dist/components/validated-form/field-combo-box.js.map +1 -1
  29. package/dist/components/validated-form/field-dual-range-slider.js +1 -1
  30. package/dist/components/validated-form/field-dual-range-slider.js.map +1 -1
  31. package/dist/components/validated-form/field-markdown-editor.js +1 -1
  32. package/dist/components/validated-form/field-markdown-editor.js.map +1 -1
  33. package/dist/components/validated-form/field-number.js +1 -1
  34. package/dist/components/validated-form/field-number.js.map +1 -1
  35. package/dist/components/validated-form/field-password.js +1 -1
  36. package/dist/components/validated-form/field-password.js.map +1 -1
  37. package/dist/components/validated-form/field-radio-group.js +1 -1
  38. package/dist/components/validated-form/field-radio-group.js.map +1 -1
  39. package/dist/components/validated-form/field-range-slider.js +1 -1
  40. package/dist/components/validated-form/field-range-slider.js.map +1 -1
  41. package/dist/components/validated-form/field-select.js +1 -1
  42. package/dist/components/validated-form/field-select.js.map +1 -1
  43. package/dist/components/validated-form/field-switch.js +1 -1
  44. package/dist/components/validated-form/field-switch.js.map +1 -1
  45. package/dist/components/validated-form/field-text-area.js +1 -1
  46. package/dist/components/validated-form/field-text-area.js.map +1 -1
  47. package/dist/components/validated-form/field-text.js +1 -1
  48. package/dist/components/validated-form/field-text.js.map +1 -1
  49. package/package.json +3 -3
@@ -14,7 +14,8 @@ export interface FieldCheckboxGroupSignature {
14
14
  placeholder?: string;
15
15
  };
16
16
  Blocks: {
17
- label: [...EuiFormRowSignature['Blocks']['label']];
17
+ label: EuiFormRowSignature['Blocks']['label'];
18
+ helpText: EuiFormRowSignature['Blocks']['helpText'];
18
19
  };
19
20
  }
20
21
  export default class ValidatedFormFieldCheckboxGroup extends ValidatedFormFieldBase<FieldCheckboxGroupSignature> {
@@ -1 +1 @@
1
- {"version":3,"file":"field-checkbox-group.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-checkbox-group.ts"],"names":[],"mappings":"AAWA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAy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AK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,yBAAyB,CAAC,SAAS,CAAC,CAAC;IAC9C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,yBAAyB,CAAC,MAAM,CAAC,GAAG;QAClC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;QACnD,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;QAC9C,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC;KACrD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,+BAAgC,SAAQ,sBAAsB,CAAC,2BAA2B,CAAC;IAC9G,IAAI,KAAK,IAAI,MAAM,EAAE,CAIpB;IAED,IAAI,UAAU;;MAIb;IAED,cAAc,CAAC,KAAK,GAAE,MAAM,EAAO;;;IAenC,YAAY,CAAC,QAAQ,EAAE,MAAM;CA0D9B"}
@@ -17,6 +17,7 @@ export interface FieldComboBoxSignature {
17
17
  };
18
18
  Blocks: {
19
19
  label: EuiFormRowSignature['Blocks']['label'];
20
+ helpText: EuiFormRowSignature['Blocks']['helpText'];
20
21
  default: EuiComboBoxSignature['Blocks']['default'];
21
22
  };
22
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"field-combo-box.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field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,MAAM,CAAC,OAAO,OAAO,0BAA2B,SAAQ,sBAAsB,CAAC,sBAAsB,CAAC;IACpG,kBAAkB,SAA0B;IAI5C,YAAY,CAAC,OAAO,EAAE,GAAG,EAAE;CAkD5B"}
@@ -20,6 +20,7 @@ export interface FieldDualRangeSliderSignature {
20
20
  };
21
21
  Blocks: {
22
22
  label: [];
23
+ helpText: [...EuiFormRowSignature['Blocks']['helpText']];
23
24
  prepend: [...EuiDualRangeSignature['Blocks']['prepend']];
24
25
  min: [...EuiDualRangeSignature['Blocks']['min']];
25
26
  append: [...EuiDualRangeSignature['Blocks']['append']];
@@ -1 +1 @@
1
- {"version":3,"file":"field-dual-range-slider.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-dual-range-slider.ts"],"names":[],"mappings":"AAYA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EACV,qBAAqB,EACrB,WAAW,EACZ,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;IAC1C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,qBAAqB,CAAC,MAAM,CAAC,GAAG;QAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,SAAS,CAAC,EAAE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AC,EAC7B,QAAQ,EAAE,OAAO,EACjB,MAAM,EAAE,KAAK;CAoEhB"}
@@ -17,6 +17,7 @@ export interface FieldMarkdownEditorSignature {
17
17
  };
18
18
  Blocks: {
19
19
  label: [...EuiFormRowSignature['Blocks']['label']];
20
+ helpText: [...EuiFormRowSignature['Blocks']['helpText']];
20
21
  };
21
22
  }
22
23
  export default class ValidatedFormFieldMarkdownEditor extends ValidatedFormFieldBase<FieldMarkdownEditorSignature> {
@@ -1 +1 @@
1
- {"version":3,"file":"field-markdown-editor.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-markdown-editor.ts"],"names":[],"mappings":"AAaA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAC/C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,0BAA0B,CAAC,MAAM,CAAC,GAAG;QACnC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;QACnD,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,eAAe,CAAC,EAAE,aAAa,CAAA;KAChC,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;KACpD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,gCAAiC,SAAQ,sBAAsB,CAAC,4BAA4B,CAAC;IAGhH,YAAY,CAAC,GAAG,EAAE,MAAM;CAoDzB"}
1
+ {"version":3,"file":"field-markdown-editor.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-markdown-editor.ts"],"names":[],"mappings":"AAaA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAC/C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,0BAA0B,CAAC,MAAM,CAAC,GAAG;QACnC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;QACnD,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,eAAe,CAAC,EAAE,aAAa,CAAA;KAChC,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QACnD,QAAQ,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;KAC1D,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,gCAAiC,SAAQ,sBAAsB,CAAC,4BAA4B,CAAC;IAGhH,YAAY,CAAC,GAAG,EAAE,MAAM;CAwDzB"}
@@ -15,6 +15,7 @@ export interface FieldNumberSignature {
15
15
  };
16
16
  Blocks: {
17
17
  label: [...EuiFormRowSignature['Blocks']['label']];
18
+ helpText: [...EuiFormRowSignature['Blocks']['helpText']];
18
19
  prepend: [...EuiFieldNumberSignature['Blocks']['prepend']];
19
20
  append: [...EuiFieldNumberSignature['Blocks']['append']];
20
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":"field-number.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-number.ts"],"names":[],"mappings":"AAWA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;IAC5C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,uBAAuB,CAAC,MAAM,CAAC,GAAG;QAChC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,E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,IAAI,CAAC;QACnD,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QACnD,QAAQ,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;QACzD,OAAO,EAAE,CAAC,GAAG,uBAAuB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;QAC3D,MAAM,EAAE,CAAC,GAAG,uBAAuB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;KAC1D,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,sBAAsB,CAAC,oBAAoB,CAAC;CAsDjG"}
@@ -15,6 +15,7 @@ export interface FieldPasswordSignature {
15
15
  };
16
16
  Blocks: {
17
17
  label: [...EuiFormRowSignature['Blocks']['label']];
18
+ helpText: [...EuiFormRowSignature['Blocks']['helpText']];
18
19
  prepend: [...EuiFieldPasswordSignature['Blocks']['prepend']];
19
20
  append: [...EuiFieldPasswordSignature['Blocks']['append']];
20
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":"field-password.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-password.ts"],"names":[],"mappings":"AAWA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,yBAAyB,CAAC,SAAS,CAAC,CAAC;IAC9C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,C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AAM,CAAC,GAAG;QAClC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;QACnD,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QACnD,QAAQ,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;QACzD,OAAO,EAAE,CAAC,GAAG,yBAAyB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;QAC7D,MAAM,EAAE,CAAC,GAAG,yBAAyB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;KAC5D,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,0BAA2B,SAAQ,sBAAsB,CAAC,sBAAsB,CAAC;CAsDrG"}
@@ -14,6 +14,7 @@ export interface FieldRadioGroupSignature {
14
14
  };
15
15
  Blocks: {
16
16
  label: [...EuiFormRowSignature['Blocks']['label']];
17
+ helpText: [...EuiFormRowSignature['Blocks']['helpText']];
17
18
  };
18
19
  }
19
20
  export default class ValidatedFormFieldRadioGroup extends ValidatedFormFieldBase<FieldRadioGroupSignature> {
@@ -1 +1 @@
1
- {"version":3,"file":"field-radio-group.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-radio-group.ts"],"names":[],"mappings":"AAWA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC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;AAEzF,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;IAC3C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,sBAAsB,CAAC,MAAM,CAAC,GAAG;QAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;KACpD,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QACnD,QAAQ,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;KAC1D,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,4BAA6B,SAAQ,sBAAsB,CAAC,wBAAwB,CAAC;IACxG,IAAI,KAAK,QAIR;IAED,IAAI,UAAU;;MAIb;IAED,cAAc,CAAC,KAAK,UAAK;;;IAezB,YAAY,CAAC,QAAQ,EAAE,MAAM;CAwD9B"}
@@ -14,6 +14,7 @@ export interface FieldRangeSliderSignature {
14
14
  };
15
15
  Blocks: {
16
16
  label: [];
17
+ helpText: [...EuiFormRowSignature['Blocks']['helpText']];
17
18
  prepend: [...EuiRangeSignature['Blocks']['prepend']];
18
19
  min: [...EuiRangeSignature['Blocks']['min']];
19
20
  valuePrepend: [...EuiRangeSignature['Blocks']['valuePrepend']];
@@ -1 +1 @@
1
- {"version":3,"file":"field-range-slider.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-range-slider.ts"],"names":[],"mappings":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CAAC,CAAC,CAAC;QACrD,GAAG,EAAE,CAAC,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QAC7C,YAAY,EAAE,CAAC,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;QAC/D,KAAK,EAAE,CAAC,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QACjD,WAAW,EAAE,CAAC,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;QAC7D,MAAM,EAAE,CAAC,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;QACnD,GAAG,EAAE,CAAC,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;KAC9C,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,6BAA8B,SAAQ,sBAAsB,CAAC,yBAAyB,CAAC;CAwE3G"}
@@ -14,6 +14,7 @@ export interface FieldSelectSignature {
14
14
  };
15
15
  Blocks: {
16
16
  label: [];
17
+ helpText: [...EuiFormRowSignature['Blocks']['helpText']];
17
18
  prepend: [...EuiSelectSignature['Blocks']['prepend']];
18
19
  append: [...EuiSelectSignature['Blocks']['append']];
19
20
  };
@@ -1 +1 @@
1
- {"version":3,"file":"field-select.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-select.ts"],"names":[],"mappings":"AAWA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAEhF,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,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C3B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;KACpD,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,CAAC;QACV,QAAQ,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;QACzD,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;QACtD,MAAM,EAAE,CAAC,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;KACrD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,sBAAsB,CAAC,oBAAoB,CAAC;CAqDjG"}
@@ -15,6 +15,7 @@ export interface FieldSwitchSignature {
15
15
  };
16
16
  Blocks: {
17
17
  label: [];
18
+ helpText: EuiFormRowSignature['Blocks']['helpText'];
18
19
  'switch-label': [];
19
20
  };
20
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"field-switch.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-switch.ts"],"names":[],"mappings":"AAYA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAEhF,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC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pB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,WAAW,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;QAClD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;KACpD,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,CAAC;QACV,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC;QACpD,cAAc,EAAE,EAAE,CAAC;KACpB,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,sBAAsB,CAAC,oBAAoB,CAAC;IAEhG,YAAY,CAAC,CAAC,EAAE,UAAU;CAuD3B"}
@@ -21,6 +21,7 @@ export interface FieldTextAreaSignature extends FieldBaseSignature {
21
21
  };
22
22
  Blocks: {
23
23
  label: [];
24
+ helpText: [...EuiFormRowSignature['Blocks']['helpText']];
24
25
  default: [...EuiTextAreaSignature['Blocks']['default']];
25
26
  };
26
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"field-text-area.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-text-area.ts"],"names":[],"mappings":"AAWA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB;IAChE,OAAO,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IACzC,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,oBAAoB,CAAC,MAAM,CAAC,GAAG;QAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,GAAG,MAAM,CAAC;QACrD,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,WAAW,CAAC,EAAE,aAAa,CAAC;QAC5B,OAAO,CAAC,EAAE,aAAa,CAAC;QACxB,MAAM,CAAC,EAAE,aAAa,CAAC;QACvB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAC;KACnD,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,CAAC;QACV,OAAO,EAAE,CAAC,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;KACzD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,0BAA2B,SAAQ,sBAAsB,CAAC,sBAAsB,CAAC;CA8CrG"}
1
+ {"version":3,"file":"field-text-area.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-text-area.ts"],"names":[],"mappings":"AAWA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB;IAChE,OAAO,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IACzC,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,oBAAoB,CAAC,MAAM,CAAC,GAAG;QAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,GAAG,MAAM,CAAC;QACrD,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,WAAW,CAAC,EAAE,aAAa,CAAC;QAC5B,OAAO,CAAC,EAAE,aAAa,CAAC;QACxB,MAAM,CAAC,EAAE,aAAa,CAAC;QACvB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAC;KACnD,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,CAAC;QACV,QAAQ,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;QACzD,OAAO,EAAE,CAAC,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;KACzD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,0BAA2B,SAAQ,sBAAsB,CAAC,sBAAsB,CAAC;CAkDrG"}
@@ -13,6 +13,7 @@ export interface FieldTextSignature {
13
13
  };
14
14
  Blocks: {
15
15
  label: [];
16
+ helpText: [...EuiFormRowSignature['Blocks']['helpText']];
16
17
  prepend: [...EuiFieldTextSignature['Blocks']['prepend']];
17
18
  append: [...EuiFieldTextSignature['Blocks']['append']];
18
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"field-text.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-text.ts"],"names":[],"mappings":"AAWA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;IAC1C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,qBAAqB,CAAC,MAAM,CAAC,GAAG;QAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,CAAC;QACV,OAAO,EAAE,CAAC,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;QACzD,MAAM,EAAE,CAAC,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;KACxD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,sBAAsB,CAAC,kBAAkB,CAAC;CAkD7F"}
1
+ {"version":3,"file":"field-text.d.ts","sourceRoot":"","sources":["../../../src/components/validated-form/field-text.ts"],"names":[],"mappings":"AAWA,OAAO,sBAAsB,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;IAC1C,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAC9B,mBAAmB,CAAC,MAAM,CAAC,GAC3B,qBAAqB,CAAC,MAAM,CAAC,GAAG;QAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB,CAAC;IACJ,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,CAAC;QACV,QAAQ,EAAE,CAAC,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;QACzD,OAAO,EAAE,CAAC,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;QACzD,MAAM,EAAE,CAAC,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;KACxD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,sBAAsB,CAAC,kBAAkB,CAAC;CAsD7F"}
@@ -46,7 +46,7 @@ class ValidatedFormFieldCheckboxGroup extends ValidatedFormFieldBase {
46
46
  n(this.prototype, "handleChange", [action]);
47
47
  }
48
48
  static {
49
- setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiCheckboxGroup class={{@fieldClasses}} @formId={{@formId}} @valueKey={{@valueKey}} @labelKey={{@labelKey}} aria-label={{@ariaLabel}} @disabled={{@disabled}} @compressed={{@compressed}} @isInvalid={{this.isInvalidAndTouched}} @options={{this.options}} @idToSelectedMap={{this.arrayToMap}} @legend={{@legend}} @onChange={{this.handleChange}} autofocus={{@autofocus}} ...attributes />\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
49
+ setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiCheckboxGroup class={{@fieldClasses}} @formId={{@formId}} @valueKey={{@valueKey}} @labelKey={{@labelKey}} aria-label={{@ariaLabel}} @disabled={{@disabled}} @compressed={{@compressed}} @isInvalid={{this.isInvalidAndTouched}} @options={{this.options}} @idToSelectedMap={{this.arrayToMap}} @legend={{@legend}} @onChange={{this.handleChange}} autofocus={{@autofocus}} ...attributes />\n </:field>\n <:helpText>\n {{yield to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
50
50
  scope: () => ({
51
51
  argOrDefault,
52
52
  randomId,
@@ -1 +1 @@
1
- {"version":3,"file":"field-checkbox-group.js","sources":["../../../src/components/validated-form/field-checkbox-group.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiCheckboxGroup from '@ember-eui/core/components/eui-checkbox-group';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { maybeUnwrapProxy } from '@ember-eui/core/utils/maybe-unwrap-proxy';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiCheckboxGroupSignature } from '@ember-eui/core/components/eui-checkbox-group';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldCheckboxGroupSignature {\n Element: EuiCheckboxGroupSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiCheckboxGroupSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n placeholder?: string;\n };\n Blocks: {\n label: [...EuiFormRowSignature['Blocks']['label']];\n };\n}\nexport default class ValidatedFormFieldCheckboxGroup extends ValidatedFormFieldBase<FieldCheckboxGroupSignature> {\n get value(): string[] {\n let value1 = maybeUnwrapProxy(this.args.value);\n return value1?.toArray?.() || value1;\n }\n get arrayToMap() {\n const currArr1 = this.value || [];\n return this.transformToMap(currArr1);\n }\n transformToMap(value1: string[] = []) {\n let valuesMap1 = value1.reduce((acc1, val1)=>{\n acc1[val1] = true;\n return acc1;\n }, {} as {\n [key: string]: boolean;\n });\n return valuesMap1;\n }\n @action\n //@ts-expect-error\n handleChange(optionId1: string) {\n const value1 = this.value || [];\n const found1 = value1.find((v1)=>v1 === optionId1);\n let newArr1 = [];\n if (found1) {\n newArr1 = value1.filter((v1)=>v1 !== optionId1);\n } else {\n newArr1 = [\n ...value1,\n optionId1\n ];\n }\n this.args.onChange?.(newArr1);\n this.notifyValidityChange();\n this.isTouched = true;\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiCheckboxGroup\n class={{@fieldClasses}}\n @formId={{@formId}}\n @valueKey={{@valueKey}}\n @labelKey={{@labelKey}}\n aria-label={{@ariaLabel}}\n @disabled={{@disabled}}\n @compressed={{@compressed}}\n @isInvalid={{this.isInvalidAndTouched}}\n @options={{this.options}}\n @idToSelectedMap={{this.arrayToMap}}\n @legend={{@legend}}\n @onChange={{this.handleChange}}\n autofocus={{@autofocus}}\n ...attributes\n />\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldCheckboxGroup","ValidatedFormFieldBase","value","value1","maybeUnwrapProxy","args","toArray","arrayToMap","currArr1","transformToMap","valuesMap1","reduce","acc1","val1","handleChange","optionId1","found1","find","v1","newArr1","filter","onChange","notifyValidityChange","isTouched","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiCheckboxGroup","strictMode"],"mappings":";;;;;;;;;;;;;;AA6Be,MAAMA,+BAA+B,SAASC,sBAAsB,CAA8B;EAC7G,IAAIC,KAAKA,GAAa;IAClB,IAAIC,MAAM,GAAGC,gBAAgB,CAAC,IAAI,CAACC,IAAI,CAACH,KAAK,CAAC,CAAA;AAC9C,IAAA,OAAOC,MAAM,EAAEG,OAAO,IAAI,IAAIH,MAAM,CAAA;AACxC,GAAA;EACA,IAAII,UAAUA,GAAG;AACb,IAAA,MAAMC,QAAQ,GAAG,IAAI,CAACN,KAAK,IAAI,EAAE,CAAA;AACjC,IAAA,OAAO,IAAI,CAACO,cAAc,CAACD,QAAQ,CAAC,CAAA;AACxC,GAAA;AACAC,EAAAA,cAAcA,CAACN,MAAgB,GAAG,EAAE,EAAE;IAClC,IAAIO,UAAU,GAAGP,MAAM,CAACQ,MAAM,CAAC,CAACC,IAAI,EAAEC,IAAI,KAAG;AACzCD,MAAAA,IAAI,CAACC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,MAAA,OAAOD,IAAI,CAAA;KACd,EAAE,EAEF,CAAC,CAAA;AACF,IAAA,OAAOF,UAAU,CAAA;AACrB,GAAA;AAEA;EACAI,YAAYA,CAACC,SAAiB,EAAE;AAC5B,IAAA,MAAMZ,MAAM,GAAG,IAAI,CAACD,KAAK,IAAI,EAAE,CAAA;IAC/B,MAAMc,MAAM,GAAGb,MAAM,CAACc,IAAI,CAAEC,EAAE,IAAGA,EAAE,KAAKH,SAAS,CAAC,CAAA;IAClD,IAAII,OAAO,GAAG,EAAE,CAAA;AAChB,IAAA,IAAIH,MAAM,EAAE;MACRG,OAAO,GAAGhB,MAAM,CAACiB,MAAM,CAAEF,EAAE,IAAGA,EAAE,KAAKH,SAAS,CAAC,CAAA;AACnD,KAAC,MAAM;AACHI,MAAAA,OAAO,GAAG,CACN,GAAGhB,MAAM,EACTY,SAAS,CACZ,CAAA;AACL,KAAA;AACA,IAAA,IAAI,CAACV,IAAI,CAACgB,QAAQ,GAAGF,OAAO,CAAC,CAAA;IAC7B,IAAI,CAACG,oBAAoB,EAAE,CAAA;IAC3B,IAAI,CAACC,SAAS,GAAG,IAAI,CAAA;AACzB,GAAA;AAAC,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,mBAjBAC,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAkBP,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CA6CH,2pCAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;AAAAC,QAAAA,gBAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"field-checkbox-group.js","sources":["../../../src/components/validated-form/field-checkbox-group.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiCheckboxGroup from '@ember-eui/core/components/eui-checkbox-group';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { maybeUnwrapProxy } from '@ember-eui/core/utils/maybe-unwrap-proxy';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiCheckboxGroupSignature } from '@ember-eui/core/components/eui-checkbox-group';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldCheckboxGroupSignature {\n Element: EuiCheckboxGroupSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiCheckboxGroupSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n placeholder?: string;\n };\n Blocks: {\n label: EuiFormRowSignature['Blocks']['label'];\n helpText: EuiFormRowSignature['Blocks']['helpText'];\n };\n}\nexport default class ValidatedFormFieldCheckboxGroup extends ValidatedFormFieldBase<FieldCheckboxGroupSignature> {\n get value(): string[] {\n let value1 = maybeUnwrapProxy(this.args.value);\n return value1?.toArray?.() || value1;\n }\n get arrayToMap() {\n const currArr1 = this.value || [];\n return this.transformToMap(currArr1);\n }\n transformToMap(value1: string[] = []) {\n let valuesMap1 = value1.reduce((acc1, val1)=>{\n acc1[val1] = true;\n return acc1;\n }, {} as {\n [key: string]: boolean;\n });\n return valuesMap1;\n }\n @action\n //@ts-expect-error\n handleChange(optionId1: string) {\n const value1 = this.value || [];\n const found1 = value1.find((v1)=>v1 === optionId1);\n let newArr1 = [];\n if (found1) {\n newArr1 = value1.filter((v1)=>v1 !== optionId1);\n } else {\n newArr1 = [\n ...value1,\n optionId1\n ];\n }\n this.args.onChange?.(newArr1);\n this.notifyValidityChange();\n this.isTouched = true;\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiCheckboxGroup\n class={{@fieldClasses}}\n @formId={{@formId}}\n @valueKey={{@valueKey}}\n @labelKey={{@labelKey}}\n aria-label={{@ariaLabel}}\n @disabled={{@disabled}}\n @compressed={{@compressed}}\n @isInvalid={{this.isInvalidAndTouched}}\n @options={{this.options}}\n @idToSelectedMap={{this.arrayToMap}}\n @legend={{@legend}}\n @onChange={{this.handleChange}}\n autofocus={{@autofocus}}\n ...attributes\n />\n </:field>\n <:helpText>\n {{yield to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldCheckboxGroup","ValidatedFormFieldBase","value","value1","maybeUnwrapProxy","args","toArray","arrayToMap","currArr1","transformToMap","valuesMap1","reduce","acc1","val1","handleChange","optionId1","found1","find","v1","newArr1","filter","onChange","notifyValidityChange","isTouched","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiCheckboxGroup","strictMode"],"mappings":";;;;;;;;;;;;;;AA8Be,MAAMA,+BAA+B,SAASC,sBAAsB,CAA8B;EAC7G,IAAIC,KAAKA,GAAa;IAClB,IAAIC,MAAM,GAAGC,gBAAgB,CAAC,IAAI,CAACC,IAAI,CAACH,KAAK,CAAC,CAAA;AAC9C,IAAA,OAAOC,MAAM,EAAEG,OAAO,IAAI,IAAIH,MAAM,CAAA;AACxC,GAAA;EACA,IAAII,UAAUA,GAAG;AACb,IAAA,MAAMC,QAAQ,GAAG,IAAI,CAACN,KAAK,IAAI,EAAE,CAAA;AACjC,IAAA,OAAO,IAAI,CAACO,cAAc,CAACD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AAAAC,QAAAA,gBAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
@@ -25,7 +25,7 @@ class ValidatedFormFieldComboBox extends ValidatedFormFieldBase {
25
25
  n(this.prototype, "handleChange", [action]);
26
26
  }
27
27
  static {
28
- setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @selectedOptions}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiComboBox class={{@fieldClasses}} @onChange={{this.handleChange}} @dropdownClass={{@dropdownClass}} @placeholder={{@placeholder}} @options={{this.options}} @singleSelection={{@singleSelection}} @selectedOptions={{@selectedOptions}} @searchEnabled={{argOrDefault @searchEnabled true}} @placeholderComponent={{@placeholderComponent}} @searchMessageComponent={{@searchMessageComponent}} @loadingMessage={{@loadingMessage}} @beforeOptionsComponent={{@beforeOptionsComponent}} @afterOptionsComponent={{@afterOptionsComponent}} @searchField={{@searchField}} @searchMessage={{@searchMessage}} @search={{@search}} aria-label={{@ariaLabel}} form={{@formId}} @isInvalid={{this.isInvalidAndTouched}} @isClearable={{@isClearable}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @readOnly={{@readOnly}} @compressed={{@compressed}} @onCreateOption={{@onCreateOption}} @customOptionText={{@customOptionText}} @onBlur={{queue (fn this.setIsTouched true) (optional @onBlur)}} @onFocus={{@onFocus}} @onClose={{@onClose}} @onOpen={{@onOpen}} @isDisabled={{@isDisabled}} @renderInPlace={{@renderInPlace}} @extra={{@extra}} ...attributes as |opt index select|>\n {{yield opt index select}}\n </EuiComboBox>\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
28
+ setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @selectedOptions}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiComboBox class={{@fieldClasses}} @onChange={{this.handleChange}} @dropdownClass={{@dropdownClass}} @placeholder={{@placeholder}} @options={{this.options}} @singleSelection={{@singleSelection}} @selectedOptions={{@selectedOptions}} @searchEnabled={{argOrDefault @searchEnabled true}} @placeholderComponent={{@placeholderComponent}} @searchMessageComponent={{@searchMessageComponent}} @loadingMessage={{@loadingMessage}} @beforeOptionsComponent={{@beforeOptionsComponent}} @afterOptionsComponent={{@afterOptionsComponent}} @searchField={{@searchField}} @searchMessage={{@searchMessage}} @search={{@search}} aria-label={{@ariaLabel}} form={{@formId}} @isInvalid={{this.isInvalidAndTouched}} @isClearable={{@isClearable}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @readOnly={{@readOnly}} @compressed={{@compressed}} @onCreateOption={{@onCreateOption}} @customOptionText={{@customOptionText}} @onBlur={{queue (fn this.setIsTouched true) (optional @onBlur)}} @onFocus={{@onFocus}} @onClose={{@onClose}} @onOpen={{@onOpen}} @isDisabled={{@isDisabled}} @renderInPlace={{@renderInPlace}} @extra={{@extra}} ...attributes as |opt index select|>\n {{yield opt index select}}\n </EuiComboBox>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
29
29
  scope: () => ({
30
30
  argOrDefault,
31
31
  randomId,
@@ -1 +1 @@
1
- {"version":3,"file":"field-combo-box.js","sources":["../../../src/components/validated-form/field-combo-box.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiComboBox from '@ember-eui/core/components/eui-combo-box';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport optional from 'ember-composable-helpers/helpers/optional';\nimport queue from 'ember-composable-helpers/helpers/queue';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiComboBoxSignature } from '@ember-eui/core/components/eui-combo-box';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldComboBoxSignature {\n Element: EuiComboBoxSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiComboBoxSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n placeholder?: string;\n options?: EuiComboBoxSignature['Args']['options'];\n selectedOptions?: EuiComboBoxSignature['Args']['selectedOptions'];\n };\n Blocks: {\n label: EuiFormRowSignature['Blocks']['label'];\n default: EuiComboBoxSignature['Blocks']['default'];\n };\n}\nexport default class ValidatedFormFieldComboBox extends ValidatedFormFieldBase<FieldComboBoxSignature> {\n validationProperty = 'args.selectedOptions';\n @action\n //@ts-expect-error\n handleChange(options1: any[]) {\n this.args.onChange(options1);\n this.notifyValidityChange();\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @selectedOptions}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiComboBox\n class={{@fieldClasses}}\n @onChange={{this.handleChange}}\n @dropdownClass={{@dropdownClass}}\n @placeholder={{@placeholder}}\n @options={{this.options}}\n @singleSelection={{@singleSelection}}\n @selectedOptions={{@selectedOptions}}\n @searchEnabled={{argOrDefault @searchEnabled true}}\n @placeholderComponent={{@placeholderComponent}}\n @searchMessageComponent={{@searchMessageComponent}}\n @loadingMessage={{@loadingMessage}}\n @beforeOptionsComponent={{@beforeOptionsComponent}}\n @afterOptionsComponent={{@afterOptionsComponent}}\n @searchField={{@searchField}}\n @searchMessage={{@searchMessage}}\n @search={{@search}}\n aria-label={{@ariaLabel}}\n form={{@formId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @isClearable={{@isClearable}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @readOnly={{@readOnly}}\n @compressed={{@compressed}}\n @onCreateOption={{@onCreateOption}}\n @customOptionText={{@customOptionText}}\n @onBlur={{queue (fn this.setIsTouched true) (optional @onBlur)}}\n @onFocus={{@onFocus}}\n @onClose={{@onClose}}\n @onOpen={{@onOpen}}\n @isDisabled={{@isDisabled}}\n @renderInPlace={{@renderInPlace}}\n @extra={{@extra}}\n ...attributes\n as |opt index select|\n >\n {{yield opt index select}}\n </EuiComboBox>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldComboBox","ValidatedFormFieldBase","validationProperty","handleChange","options1","args","onChange","notifyValidityChange","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiComboBox","queue","fn","optional","strictMode"],"mappings":";;;;;;;;;;;;;;;;AAkCe,MAAMA,0BAA0B,SAASC,sBAAsB,CAAyB;AACnGC,EAAAA,kBAAkB,GAAG,sBAAsB,CAAA;AAE3C;EACAC,YAAYA,CAACC,QAAe,EAAE;AAC1B,IAAA,IAAI,CAACC,IAAI,CAACC,QAAQ,CAACF,QAAQ,CAAC,CAAA;IAC5B,IAAI,CAACG,oBAAoB,EAAE,CAAA;AAC/B,GAAA;AAAC,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,mBALAC,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAMP,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAmEH,g+DAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,WAAA;QAAAC,KAAA;QAAAC,EAAA;AAAAC,QAAAA,QAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"field-combo-box.js","sources":["../../../src/components/validated-form/field-combo-box.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiComboBox from '@ember-eui/core/components/eui-combo-box';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport optional from 'ember-composable-helpers/helpers/optional';\nimport queue from 'ember-composable-helpers/helpers/queue';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiComboBoxSignature } from '@ember-eui/core/components/eui-combo-box';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldComboBoxSignature {\n Element: EuiComboBoxSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiComboBoxSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n placeholder?: string;\n options?: EuiComboBoxSignature['Args']['options'];\n selectedOptions?: EuiComboBoxSignature['Args']['selectedOptions'];\n };\n Blocks: {\n label: EuiFormRowSignature['Blocks']['label'];\n helpText: EuiFormRowSignature['Blocks']['helpText'];\n default: EuiComboBoxSignature['Blocks']['default'];\n };\n}\nexport default class ValidatedFormFieldComboBox extends ValidatedFormFieldBase<FieldComboBoxSignature> {\n validationProperty = 'args.selectedOptions';\n @action\n //@ts-expect-error\n handleChange(options1: any[]) {\n this.args.onChange(options1);\n this.notifyValidityChange();\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @selectedOptions}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiComboBox\n class={{@fieldClasses}}\n @onChange={{this.handleChange}}\n @dropdownClass={{@dropdownClass}}\n @placeholder={{@placeholder}}\n @options={{this.options}}\n @singleSelection={{@singleSelection}}\n @selectedOptions={{@selectedOptions}}\n @searchEnabled={{argOrDefault @searchEnabled true}}\n @placeholderComponent={{@placeholderComponent}}\n @searchMessageComponent={{@searchMessageComponent}}\n @loadingMessage={{@loadingMessage}}\n @beforeOptionsComponent={{@beforeOptionsComponent}}\n @afterOptionsComponent={{@afterOptionsComponent}}\n @searchField={{@searchField}}\n @searchMessage={{@searchMessage}}\n @search={{@search}}\n aria-label={{@ariaLabel}}\n form={{@formId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @isClearable={{@isClearable}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @readOnly={{@readOnly}}\n @compressed={{@compressed}}\n @onCreateOption={{@onCreateOption}}\n @customOptionText={{@customOptionText}}\n @onBlur={{queue (fn this.setIsTouched true) (optional @onBlur)}}\n @onFocus={{@onFocus}}\n @onClose={{@onClose}}\n @onOpen={{@onOpen}}\n @isDisabled={{@isDisabled}}\n @renderInPlace={{@renderInPlace}}\n @extra={{@extra}}\n ...attributes\n as |opt index select|\n >\n {{yield opt index select}}\n </EuiComboBox>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldComboBox","ValidatedFormFieldBase","validationProperty","handleChange","options1","args","onChange","notifyValidityChange","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiComboBox","queue","fn","optional","strictMode"],"mappings":";;;;;;;;;;;;;;;;AAmCe,MAAMA,0BAA0B,SAASC,sBAAsB,CAAyB;AACnGC,EAAAA,kBAAkB,GAAG,sBAAsB,CAAA;AAE3C;EACAC,YAAYA,CAACC,QAAe,EAAE;AAC1B,IAAA,IAAI,CAACC,IAAI,CAACC,QAAQ,CAACF,QAAQ,CAAC,CAAA;IAC5B,IAAI,CAACG,oBAAoB,EAAE,CAAA;AAC/B,GAAA;AAAC,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,mBALAC,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAMP,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAuEH,6nEAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,WAAA;QAAAC,KAAA;QAAAC,EAAA;AAAAC,QAAAA,QAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
@@ -25,7 +25,7 @@ class ValidatedFormFieldRangeSlider extends ValidatedFormFieldBase {
25
25
  n(this.prototype, "handleChange", [action]);
26
26
  }
27
27
  static {
28
- setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiDualRange class={{@fieldClasses}} form={{@formId}} @value={{@value}} @fullWidth={{@fullWidth}} @isInvalid={{this.isInvalidAndTouched}} @levels={{@levels}} @showLabels={{@showLabels}} @showInput={{@showInput}} @tickInterval={{@tickInterval}} @ticks={{@ticks}} aria-label={{@ariaLabel}} @disabled={{@disabled}} @compressed={{@compressed}} @showRange={{@showRange}} @showTicks={{@showTicks}} @readOnly={{@readOnly}} @id={{theId}} @step={{@step}} @onChange={{this.handleChange}} @max={{@max}} @min={{@min}} @isPrependProvided={{has-block \"prepend\"}} @isAppendProvided={{has-block \"append\"}} @isFakeMinBlock={{not (has-block \"min\")}} @isFakeMaxBlock={{not (has-block \"max\")}} autofocus={{@autofocus}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}}>\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:min>\n {{yield to=\"min\"}}\n </:min>\n <:max>\n {{yield to=\"max\"}}\n </:max>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiDualRange>\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
28
+ setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiDualRange class={{@fieldClasses}} form={{@formId}} @value={{@value}} @fullWidth={{@fullWidth}} @isInvalid={{this.isInvalidAndTouched}} @levels={{@levels}} @showLabels={{@showLabels}} @showInput={{@showInput}} @tickInterval={{@tickInterval}} @ticks={{@ticks}} aria-label={{@ariaLabel}} @disabled={{@disabled}} @compressed={{@compressed}} @showRange={{@showRange}} @showTicks={{@showTicks}} @readOnly={{@readOnly}} @id={{theId}} @step={{@step}} @onChange={{this.handleChange}} @max={{@max}} @min={{@min}} @isPrependProvided={{has-block \"prepend\"}} @isAppendProvided={{has-block \"append\"}} @isFakeMinBlock={{not (has-block \"min\")}} @isFakeMaxBlock={{not (has-block \"max\")}} autofocus={{@autofocus}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}}>\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:min>\n {{yield to=\"min\"}}\n </:min>\n <:max>\n {{yield to=\"max\"}}\n </:max>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiDualRange>\n </:field>\n\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
29
29
  scope: () => ({
30
30
  argOrDefault,
31
31
  randomId,
@@ -1 +1 @@
1
- {"version":3,"file":"field-dual-range-slider.js","sources":["../../../src/components/validated-form/field-dual-range-slider.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiDualRange from '@ember-eui/core/components/eui-dual-range';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiDualRangeSignature, ValueMember } from '@ember-eui/core/components/eui-dual-range';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldDualRangeSliderSignature {\n Element: EuiDualRangeSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiDualRangeSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n disabled?: boolean;\n compressed?: boolean;\n hasFocus?: boolean;\n isLoading?: boolean;\n readOnly?: boolean;\n icon?: string;\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [];\n prepend: [...EuiDualRangeSignature['Blocks']['prepend']];\n min: [...EuiDualRangeSignature['Blocks']['min']];\n append: [...EuiDualRangeSignature['Blocks']['append']];\n max: [...EuiDualRangeSignature['Blocks']['max']];\n };\n}\nexport default class ValidatedFormFieldRangeSlider extends ValidatedFormFieldBase<FieldDualRangeSliderSignature> {\n @action\n //@ts-expect-error\n handleChange(e1: [ValueMember, ValueMember], _isValid1: boolean, _event1: Event) {\n // The received event for the dual range is an array with [min, max] as strings\n const value1 = [\n Number(e1[0]),\n Number(e1[1])\n ];\n this.args.onChange(value1);\n this.notifyValidityChange();\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiDualRange\n class={{@fieldClasses}}\n form={{@formId}}\n @value={{@value}}\n @fullWidth={{@fullWidth}}\n @isInvalid={{this.isInvalidAndTouched}}\n @levels={{@levels}}\n @showLabels={{@showLabels}}\n @showInput={{@showInput}}\n @tickInterval={{@tickInterval}}\n @ticks={{@ticks}}\n aria-label={{@ariaLabel}}\n @disabled={{@disabled}}\n @compressed={{@compressed}}\n @showRange={{@showRange}}\n @showTicks={{@showTicks}}\n @readOnly={{@readOnly}}\n @id={{theId}}\n @step={{@step}}\n @onChange={{this.handleChange}}\n @max={{@max}}\n @min={{@min}}\n @isPrependProvided={{has-block \"prepend\"}}\n @isAppendProvided={{has-block \"append\"}}\n @isFakeMinBlock={{not (has-block \"min\")}}\n @isFakeMaxBlock={{not (has-block \"max\")}}\n autofocus={{@autofocus}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n >\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:min>\n {{yield to=\"min\"}}\n </:min>\n <:max>\n {{yield to=\"max\"}}\n </:max>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiDualRange>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldRangeSlider","ValidatedFormFieldBase","handleChange","e1","_isValid1","_event1","value1","Number","args","onChange","notifyValidityChange","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiDualRange","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;;;AAuCe,MAAMA,6BAA6B,SAASC,sBAAsB,CAAgC;AAE7G;AACAC,EAAAA,YAAYA,CAACC,EAA8B,EAAEC,SAAkB,EAAEC,OAAc,EAAE;AAC7E;AACA,IAAA,MAAMC,MAAM,GAAG,CACXC,MAAM,CAACJ,EAAE,CAAC,CAAC,CAAC,CAAC,EACbI,MAAM,CAACJ,EAAE,CAAC,CAAC,CAAC,CAAC,CAChB,CAAA;AACD,IAAA,IAAI,CAACK,IAAI,CAACC,QAAQ,CAACH,MAAM,CAAC,CAAA;IAC1B,IAAI,CAACI,oBAAoB,EAAE,CAAA;AAC/B,GAAA;AAAC,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,mBAVAC,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAWP,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAwEH,u6DAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,YAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"field-dual-range-slider.js","sources":["../../../src/components/validated-form/field-dual-range-slider.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiDualRange from '@ember-eui/core/components/eui-dual-range';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiDualRangeSignature, ValueMember } from '@ember-eui/core/components/eui-dual-range';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldDualRangeSliderSignature {\n Element: EuiDualRangeSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiDualRangeSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n disabled?: boolean;\n compressed?: boolean;\n hasFocus?: boolean;\n isLoading?: boolean;\n readOnly?: boolean;\n icon?: string;\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n prepend: [...EuiDualRangeSignature['Blocks']['prepend']];\n min: [...EuiDualRangeSignature['Blocks']['min']];\n append: [...EuiDualRangeSignature['Blocks']['append']];\n max: [...EuiDualRangeSignature['Blocks']['max']];\n };\n}\nexport default class ValidatedFormFieldRangeSlider extends ValidatedFormFieldBase<FieldDualRangeSliderSignature> {\n @action\n //@ts-expect-error\n handleChange(e1: [ValueMember, ValueMember], _isValid1: boolean, _event1: Event) {\n // The received event for the dual range is an array with [min, max] as strings\n const value1 = [\n Number(e1[0]),\n Number(e1[1])\n ];\n this.args.onChange(value1);\n this.notifyValidityChange();\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiDualRange\n class={{@fieldClasses}}\n form={{@formId}}\n @value={{@value}}\n @fullWidth={{@fullWidth}}\n @isInvalid={{this.isInvalidAndTouched}}\n @levels={{@levels}}\n @showLabels={{@showLabels}}\n @showInput={{@showInput}}\n @tickInterval={{@tickInterval}}\n @ticks={{@ticks}}\n aria-label={{@ariaLabel}}\n @disabled={{@disabled}}\n @compressed={{@compressed}}\n @showRange={{@showRange}}\n @showTicks={{@showTicks}}\n @readOnly={{@readOnly}}\n @id={{theId}}\n @step={{@step}}\n @onChange={{this.handleChange}}\n @max={{@max}}\n @min={{@min}}\n @isPrependProvided={{has-block \"prepend\"}}\n @isAppendProvided={{has-block \"append\"}}\n @isFakeMinBlock={{not (has-block \"min\")}}\n @isFakeMaxBlock={{not (has-block \"max\")}}\n autofocus={{@autofocus}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n >\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:min>\n {{yield to=\"min\"}}\n </:min>\n <:max>\n {{yield to=\"max\"}}\n </:max>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiDualRange>\n </:field>\n\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldRangeSlider","ValidatedFormFieldBase","handleChange","e1","_isValid1","_event1","value1","Number","args","onChange","notifyValidityChange","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiDualRange","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;;;AAwCe,MAAMA,6BAA6B,SAASC,sBAAsB,CAAgC;AAE7G;AACAC,EAAAA,YAAYA,CAACC,EAA8B,EAAEC,SAAkB,EAAEC,OAAc,EAAE;AAC7E;AACA,IAAA,MAAMC,MAAM,GAAG,CACXC,MAAM,CAACJ,EAAE,CAAC,CAAC,CAAC,CAAC,EACbI,MAAM,CAACJ,EAAE,CAAC,CAAC,CAAC,CAAC,CAChB,CAAA;AACD,IAAA,IAAI,CAACK,IAAI,CAACC,QAAQ,CAACH,MAAM,CAAC,CAAA;IAC1B,IAAI,CAACI,oBAAoB,EAAE,CAAA;AAC/B,GAAA;AAAC,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,mBAVAC,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAWP,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CA6EH,skEAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,YAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
@@ -24,7 +24,7 @@ class ValidatedFormFieldMarkdownEditor extends ValidatedFormFieldBase {
24
24
  n(this.prototype, "handleChange", [action]);
25
25
  }
26
26
  static {
27
- setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label as |label|>\n {{yield label to=\"label\"}}\n </:label>\n <:field>\n {{#let (if @editorComponent (component (EnsureSafeComponentHelper @editorComponent)) (component EuiMarkdownEditor)) as |MarkdownEditor|}}\n {{!--@glint-expect-error--}}\n <MarkdownEditor class={{@fieldClasses}} form={{@formId}} aria-label={{@ariaLabel}} @value={{@value}} @isInvalid={{this.isInvalidAndTouched}} @disabled={{@disabled}} @editorId={{theId}} @onChange={{this.handleChange}} @ariaDescribedBy={{@ariaDescribedBy}} @ariaLabel={{@ariaLabel}} @ariaLabelledBy={{@ariaLabelledBy}} autofocus={{@autofocus}} placeholder={{@placeholder}} @onParse={{@onParse}} @parsingPluginList={{@parsingPluginList}} @uiPlugins={{@uiPlugins}} @height={{@height}} @maxHeight={{@maxHeight}} @autoExpandPreview={{@autoExpandPreview}} @initialViewMode={{@initialViewMode}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}} />\n {{/let}}\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
27
+ setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label as |label|>\n {{yield label to=\"label\"}}\n </:label>\n <:field>\n {{#let (if @editorComponent (component (EnsureSafeComponentHelper @editorComponent)) (component EuiMarkdownEditor)) as |MarkdownEditor|}}\n {{!--@glint-expect-error--}}\n <MarkdownEditor class={{@fieldClasses}} form={{@formId}} aria-label={{@ariaLabel}} @value={{@value}} @isInvalid={{this.isInvalidAndTouched}} @disabled={{@disabled}} @editorId={{theId}} @onChange={{this.handleChange}} @ariaDescribedBy={{@ariaDescribedBy}} @ariaLabel={{@ariaLabel}} @ariaLabelledBy={{@ariaLabelledBy}} autofocus={{@autofocus}} placeholder={{@placeholder}} @onParse={{@onParse}} @parsingPluginList={{@parsingPluginList}} @uiPlugins={{@uiPlugins}} @height={{@height}} @maxHeight={{@maxHeight}} @autoExpandPreview={{@autoExpandPreview}} @initialViewMode={{@initialViewMode}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}} />\n {{/let}}\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
28
28
  scope: () => ({
29
29
  argOrDefault,
30
30
  randomId,
@@ -1 +1 @@
1
- {"version":3,"file":"field-markdown-editor.js","sources":["../../../src/components/validated-form/field-markdown-editor.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiMarkdownEditor from '@ember-eui/core/components/eui-markdown-editor';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { EnsureSafeComponentHelper } from '@embroider/util';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiMarkdownEditorSignature } from '@ember-eui/core/components/eui-markdown-editor';\nimport type { ComponentLike } from '@glint/template';\nexport interface FieldMarkdownEditorSignature {\n Element: EuiMarkdownEditorSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiMarkdownEditorSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n placeholder?: string;\n editorComponent?: ComponentLike;\n };\n Blocks: {\n label: [...EuiFormRowSignature['Blocks']['label']];\n };\n}\nexport default class ValidatedFormFieldMarkdownEditor extends ValidatedFormFieldBase<FieldMarkdownEditorSignature> {\n @action\n //@ts-expect-error\n handleChange(str1: string) {\n this.args.onChange(str1);\n this.notifyValidityChange();\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label as |label|>\n {{yield label to=\"label\"}}\n </:label>\n <:field>\n {{#let\n (if\n @editorComponent\n (component (EnsureSafeComponentHelper @editorComponent))\n (component EuiMarkdownEditor)\n )\n as |MarkdownEditor|\n }}\n {{!@glint-expect-error}}\n <MarkdownEditor\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @value={{@value}}\n @isInvalid={{this.isInvalidAndTouched}}\n @disabled={{@disabled}}\n @editorId={{theId}}\n @onChange={{this.handleChange}}\n @ariaDescribedBy={{@ariaDescribedBy}}\n @ariaLabel={{@ariaLabel}}\n @ariaLabelledBy={{@ariaLabelledBy}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n @onParse={{@onParse}}\n @parsingPluginList={{@parsingPluginList}}\n @uiPlugins={{@uiPlugins}}\n @height={{@height}}\n @maxHeight={{@maxHeight}}\n @autoExpandPreview={{@autoExpandPreview}}\n @initialViewMode={{@initialViewMode}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n />\n {{/let}}\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldMarkdownEditor","ValidatedFormFieldBase","handleChange","str1","args","onChange","notifyValidityChange","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EnsureSafeComponentHelper","EuiMarkdownEditor","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;;;;AAiCe,MAAMA,gCAAgC,SAASC,sBAAsB,CAA+B;AAE/G;EACAC,YAAYA,CAACC,IAAY,EAAE;AACvB,IAAA,IAAI,CAACC,IAAI,CAACC,QAAQ,CAACF,IAAI,CAAC,CAAA;IACxB,IAAI,CAACG,oBAAoB,EAAE,CAAA;AAC/B,GAAA;AAAC,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,mBALAC,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAMP,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CA8DH,soDAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,yBAAA;QAAAC,iBAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"field-markdown-editor.js","sources":["../../../src/components/validated-form/field-markdown-editor.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiMarkdownEditor from '@ember-eui/core/components/eui-markdown-editor';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { EnsureSafeComponentHelper } from '@embroider/util';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiMarkdownEditorSignature } from '@ember-eui/core/components/eui-markdown-editor';\nimport type { ComponentLike } from '@glint/template';\nexport interface FieldMarkdownEditorSignature {\n Element: EuiMarkdownEditorSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiMarkdownEditorSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n placeholder?: string;\n editorComponent?: ComponentLike;\n };\n Blocks: {\n label: [...EuiFormRowSignature['Blocks']['label']];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n };\n}\nexport default class ValidatedFormFieldMarkdownEditor extends ValidatedFormFieldBase<FieldMarkdownEditorSignature> {\n @action\n //@ts-expect-error\n handleChange(str1: string) {\n this.args.onChange(str1);\n this.notifyValidityChange();\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label as |label|>\n {{yield label to=\"label\"}}\n </:label>\n <:field>\n {{#let\n (if\n @editorComponent\n (component (EnsureSafeComponentHelper @editorComponent))\n (component EuiMarkdownEditor)\n )\n as |MarkdownEditor|\n }}\n {{!@glint-expect-error}}\n <MarkdownEditor\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @value={{@value}}\n @isInvalid={{this.isInvalidAndTouched}}\n @disabled={{@disabled}}\n @editorId={{theId}}\n @onChange={{this.handleChange}}\n @ariaDescribedBy={{@ariaDescribedBy}}\n @ariaLabel={{@ariaLabel}}\n @ariaLabelledBy={{@ariaLabelledBy}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n @onParse={{@onParse}}\n @parsingPluginList={{@parsingPluginList}}\n @uiPlugins={{@uiPlugins}}\n @height={{@height}}\n @maxHeight={{@maxHeight}}\n @autoExpandPreview={{@autoExpandPreview}}\n @initialViewMode={{@initialViewMode}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n />\n {{/let}}\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldMarkdownEditor","ValidatedFormFieldBase","handleChange","str1","args","onChange","notifyValidityChange","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EnsureSafeComponentHelper","EuiMarkdownEditor","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;;;;AAkCe,MAAMA,gCAAgC,SAASC,sBAAsB,CAA+B;AAE/G;EACAC,YAAYA,CAACC,IAAY,EAAE;AACvB,IAAA,IAAI,CAACC,IAAI,CAACC,QAAQ,CAACF,IAAI,CAAC,CAAA;IACxB,IAAI,CAACG,oBAAoB,EAAE,CAAA;AAC/B,GAAA;AAAC,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,mBALAC,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAMP,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAkEH,myDAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,yBAAA;QAAAC,iBAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
@@ -13,7 +13,7 @@ import { setComponentTemplate } from '@ember/component';
13
13
 
14
14
  class ValidatedFormFieldNumber extends ValidatedFormFieldBase {
15
15
  static {
16
- setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiFieldNumber class={{@fieldClasses}} form={{@formId}} aria-label={{@ariaLabel}} @value={{@value}} @icon={{@icon}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @readOnly={{@readOnly}} @disabled={{@disabled}} @min={{@min}} @max={{@max}} @step={{@step}} @inputRef={{@inputRef}} @controlOnly={{@controlOnly}} @compressed={{@compressed}} @id={{theId}} @clear={{@clear}} @isPrependProvided={{has-block \"prepend\"}} @isAppendProvided={{has-block \"append\"}} autofocus={{@autofocus}} placeholder={{@placeholder}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}} {{on \"input\" this.handleChange}}>\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiFieldNumber>\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
16
+ setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiFieldNumber class={{@fieldClasses}} form={{@formId}} aria-label={{@ariaLabel}} @value={{@value}} @icon={{@icon}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @readOnly={{@readOnly}} @disabled={{@disabled}} @min={{@min}} @max={{@max}} @step={{@step}} @inputRef={{@inputRef}} @controlOnly={{@controlOnly}} @compressed={{@compressed}} @id={{theId}} @clear={{@clear}} @isPrependProvided={{has-block \"prepend\"}} @isAppendProvided={{has-block \"append\"}} autofocus={{@autofocus}} placeholder={{@placeholder}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}} {{on \"input\" this.handleChange}}>\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiFieldNumber>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
17
17
  scope: () => ({
18
18
  argOrDefault,
19
19
  randomId,
@@ -1 +1 @@
1
- {"version":3,"file":"field-number.js","sources":["../../../src/components/validated-form/field-number.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFieldNumber from '@ember-eui/core/components/eui-field-number';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFieldNumberSignature } from '@ember-eui/core/components/eui-field-number';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldNumberSignature {\n Element: EuiFieldNumberSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiFieldNumberSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n placeholder?: string;\n };\n Blocks: {\n label: [...EuiFormRowSignature['Blocks']['label']];\n prepend: [...EuiFieldNumberSignature['Blocks']['prepend']];\n append: [...EuiFieldNumberSignature['Blocks']['append']];\n };\n}\nexport default class ValidatedFormFieldNumber extends ValidatedFormFieldBase<FieldNumberSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiFieldNumber\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @value={{@value}}\n @icon={{@icon}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @readOnly={{@readOnly}}\n @disabled={{@disabled}}\n @min={{@min}}\n @max={{@max}}\n @step={{@step}}\n @inputRef={{@inputRef}}\n @controlOnly={{@controlOnly}}\n @compressed={{@compressed}}\n @id={{theId}}\n @clear={{@clear}}\n @isPrependProvided={{has-block \"prepend\"}}\n @isAppendProvided={{has-block \"append\"}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"input\" this.handleChange}}\n >\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiFieldNumber>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldNumber","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiFieldNumber","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AA+Be,MAAMA,wBAAwB,SAASC,sBAAsB,CAAuB;AAC/F,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CA+DH,2pDAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,cAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"field-number.js","sources":["../../../src/components/validated-form/field-number.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFieldNumber from '@ember-eui/core/components/eui-field-number';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFieldNumberSignature } from '@ember-eui/core/components/eui-field-number';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldNumberSignature {\n Element: EuiFieldNumberSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiFieldNumberSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n placeholder?: string;\n };\n Blocks: {\n label: [...EuiFormRowSignature['Blocks']['label']];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n prepend: [...EuiFieldNumberSignature['Blocks']['prepend']];\n append: [...EuiFieldNumberSignature['Blocks']['append']];\n };\n}\nexport default class ValidatedFormFieldNumber extends ValidatedFormFieldBase<FieldNumberSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiFieldNumber\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @value={{@value}}\n @icon={{@icon}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @readOnly={{@readOnly}}\n @disabled={{@disabled}}\n @min={{@min}}\n @max={{@max}}\n @step={{@step}}\n @inputRef={{@inputRef}}\n @controlOnly={{@controlOnly}}\n @compressed={{@compressed}}\n @id={{theId}}\n @clear={{@clear}}\n @isPrependProvided={{has-block \"prepend\"}}\n @isAppendProvided={{has-block \"append\"}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"input\" this.handleChange}}\n >\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiFieldNumber>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldNumber","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiFieldNumber","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AAgCe,MAAMA,wBAAwB,SAASC,sBAAsB,CAAuB;AAC/F,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAmEH,wzDAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,cAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
@@ -13,7 +13,7 @@ import { setComponentTemplate } from '@ember/component';
13
13
 
14
14
  class ValidatedFormFieldPassword extends ValidatedFormFieldBase {
15
15
  static {
16
- setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiFieldPassword class={{@fieldClasses}} form={{@formId}} aria-label={{@ariaLabel}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @compressed={{@compressed}} @inputRef={{@inputRef}} @value={{@value}} @type={{@type}} @id={{theId}} @disabled={{@disabled}} @isFakePrependBlock={{not (has-block \"prepend\")}} @isFakeAppendBlock={{not (has-block \"append\")}} autofocus={{@autofocus}} placeholder={{@placeholder}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}} {{on \"input\" this.handleChange}}>\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldPassword>\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
16
+ setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiFieldPassword class={{@fieldClasses}} form={{@formId}} aria-label={{@ariaLabel}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @compressed={{@compressed}} @inputRef={{@inputRef}} @value={{@value}} @type={{@type}} @id={{theId}} @disabled={{@disabled}} @isFakePrependBlock={{not (has-block \"prepend\")}} @isFakeAppendBlock={{not (has-block \"append\")}} autofocus={{@autofocus}} placeholder={{@placeholder}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}} {{on \"input\" this.handleChange}}>\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldPassword>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
17
17
  scope: () => ({
18
18
  argOrDefault,
19
19
  randomId,
@@ -1 +1 @@
1
- {"version":3,"file":"field-password.js","sources":["../../../src/components/validated-form/field-password.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFieldPassword from '@ember-eui/core/components/eui-field-password';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFieldPasswordSignature } from '@ember-eui/core/components/eui-field-password';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldPasswordSignature {\n Element: EuiFieldPasswordSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiFieldPasswordSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n placeholder?: string;\n };\n Blocks: {\n label: [...EuiFormRowSignature['Blocks']['label']];\n prepend: [...EuiFieldPasswordSignature['Blocks']['prepend']];\n append: [...EuiFieldPasswordSignature['Blocks']['append']];\n };\n}\nexport default class ValidatedFormFieldPassword extends ValidatedFormFieldBase<FieldPasswordSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiFieldPassword\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @compressed={{@compressed}}\n @inputRef={{@inputRef}}\n @value={{@value}}\n @type={{@type}}\n @id={{theId}}\n @disabled={{@disabled}}\n @isFakePrependBlock={{not (has-block \"prepend\")}}\n @isFakeAppendBlock={{not (has-block \"append\")}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"input\" this.handleChange}}\n >\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldPassword>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldPassword","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiFieldPassword","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AA+Be,MAAMA,0BAA0B,SAASC,sBAAsB,CAAyB;AACnG,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAwDH,ulDAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,gBAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"field-password.js","sources":["../../../src/components/validated-form/field-password.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFieldPassword from '@ember-eui/core/components/eui-field-password';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFieldPasswordSignature } from '@ember-eui/core/components/eui-field-password';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldPasswordSignature {\n Element: EuiFieldPasswordSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiFieldPasswordSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n placeholder?: string;\n };\n Blocks: {\n label: [...EuiFormRowSignature['Blocks']['label']];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n prepend: [...EuiFieldPasswordSignature['Blocks']['prepend']];\n append: [...EuiFieldPasswordSignature['Blocks']['append']];\n };\n}\nexport default class ValidatedFormFieldPassword extends ValidatedFormFieldBase<FieldPasswordSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiFieldPassword\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @compressed={{@compressed}}\n @inputRef={{@inputRef}}\n @value={{@value}}\n @type={{@type}}\n @id={{theId}}\n @disabled={{@disabled}}\n @isFakePrependBlock={{not (has-block \"prepend\")}}\n @isFakeAppendBlock={{not (has-block \"append\")}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"input\" this.handleChange}}\n >\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldPassword>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldPassword","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiFieldPassword","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AAgCe,MAAMA,0BAA0B,SAASC,sBAAsB,CAAyB;AACnG,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CA4DH,ovDAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,gBAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
@@ -45,7 +45,7 @@ class ValidatedFormFieldRadioGroup extends ValidatedFormFieldBase {
45
45
  n(this.prototype, "handleChange", [action]);
46
46
  }
47
47
  static {
48
- setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label as |label|>\n {{yield label to=\"label\"}}\n </:label>\n <:field>\n <EuiRadioGroup class={{@fieldClasses}} @formId={{@formId}} aria-label={{@ariaLabel}} @disabled={{@disabled}} @valueKey={{@valueKey}} @labelKey={{@labelKey}} @compressed={{@compressed}} @name={{@name}} @options={{this.options}} @idSelected={{this.value}} @legend={{@legend}} @onChange={{this.handleChange}} autofocus={{@autofocus}} ...attributes />\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
48
+ setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label as |label|>\n {{yield label to=\"label\"}}\n </:label>\n <:field>\n <EuiRadioGroup class={{@fieldClasses}} @formId={{@formId}} aria-label={{@ariaLabel}} @disabled={{@disabled}} @valueKey={{@valueKey}} @labelKey={{@labelKey}} @compressed={{@compressed}} @name={{@name}} @options={{this.options}} @idSelected={{this.value}} @legend={{@legend}} @onChange={{this.handleChange}} autofocus={{@autofocus}} ...attributes />\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
49
49
  scope: () => ({
50
50
  argOrDefault,
51
51
  randomId,
@@ -1 +1 @@
1
- {"version":3,"file":"field-radio-group.js","sources":["../../../src/components/validated-form/field-radio-group.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiRadioGroup from '@ember-eui/core/components/eui-radio-group';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { maybeUnwrapProxy } from '@ember-eui/core/utils/maybe-unwrap-proxy';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiRadioGroupSignature } from '@ember-eui/core/components/eui-radio-group';\nexport interface FieldRadioGroupSignature {\n Element: EuiRadioGroupSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiRadioGroupSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [...EuiFormRowSignature['Blocks']['label']];\n };\n}\nexport default class ValidatedFormFieldRadioGroup extends ValidatedFormFieldBase<FieldRadioGroupSignature> {\n get value() {\n let value1 = maybeUnwrapProxy(this.args.value);\n return value1?.toArray?.() || value1;\n }\n get arrayToMap() {\n const currArr1 = this.args.value || [];\n return this.transformToMap(currArr1);\n }\n transformToMap(value1 = []) {\n let valuesMap1 = value1.reduce((acc1, val1: string)=>{\n acc1[val1] = true;\n return acc1;\n }, {} as {\n [key: string]: boolean;\n });\n return valuesMap1;\n }\n @action\n //@ts-expect-error\n handleChange(optionId1: string) {\n let value1 = this.value || [];\n const found1 = value1.find((v1: string)=>v1 === optionId1);\n let newArr1 = [];\n if (found1) {\n newArr1 = value1.filter((v1: string)=>v1 !== optionId1);\n } else {\n newArr1 = [\n ...value1,\n optionId1\n ];\n }\n this.args.onChange?.(newArr1);\n this.isTouched = true;\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label as |label|>\n {{yield label to=\"label\"}}\n </:label>\n <:field>\n <EuiRadioGroup\n class={{@fieldClasses}}\n @formId={{@formId}}\n aria-label={{@ariaLabel}}\n @disabled={{@disabled}}\n @valueKey={{@valueKey}}\n @labelKey={{@labelKey}}\n @compressed={{@compressed}}\n @name={{@name}}\n @options={{this.options}}\n @idSelected={{this.value}}\n @legend={{@legend}}\n @onChange={{this.handleChange}}\n autofocus={{@autofocus}}\n ...attributes\n />\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldRadioGroup","ValidatedFormFieldBase","value","value1","maybeUnwrapProxy","args","toArray","arrayToMap","currArr1","transformToMap","valuesMap1","reduce","acc1","val1","handleChange","optionId1","found1","find","v1","newArr1","filter","onChange","isTouched","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiRadioGroup","strictMode"],"mappings":";;;;;;;;;;;;;;AA4Be,MAAMA,4BAA4B,SAASC,sBAAsB,CAA2B;EACvG,IAAIC,KAAKA,GAAG;IACR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,CAAA,CAAAC,IAAA,CAAAC,SAAA,mBAhBAC,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAiBP,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CA4CH,qoCAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;AAAAC,QAAAA,aAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"field-radio-group.js","sources":["../../../src/components/validated-form/field-radio-group.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiRadioGroup from '@ember-eui/core/components/eui-radio-group';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { maybeUnwrapProxy } from '@ember-eui/core/utils/maybe-unwrap-proxy';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiRadioGroupSignature } from '@ember-eui/core/components/eui-radio-group';\nexport interface FieldRadioGroupSignature {\n Element: EuiRadioGroupSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiRadioGroupSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [...EuiFormRowSignature['Blocks']['label']];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n };\n}\nexport default class ValidatedFormFieldRadioGroup extends ValidatedFormFieldBase<FieldRadioGroupSignature> {\n get value() {\n let value1 = maybeUnwrapProxy(this.args.value);\n return value1?.toArray?.() || value1;\n }\n get arrayToMap() {\n const currArr1 = this.args.value || [];\n return this.transformToMap(currArr1);\n }\n transformToMap(value1 = []) {\n let valuesMap1 = value1.reduce((acc1, val1: string)=>{\n acc1[val1] = true;\n return acc1;\n }, {} as {\n [key: string]: boolean;\n });\n return valuesMap1;\n }\n @action\n //@ts-expect-error\n handleChange(optionId1: string) {\n let value1 = this.value || [];\n const found1 = value1.find((v1: string)=>v1 === optionId1);\n let newArr1 = [];\n if (found1) {\n newArr1 = value1.filter((v1: string)=>v1 !== optionId1);\n } else {\n newArr1 = [\n ...value1,\n optionId1\n ];\n }\n this.args.onChange?.(newArr1);\n this.isTouched = true;\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label as |label|>\n {{yield label to=\"label\"}}\n </:label>\n <:field>\n <EuiRadioGroup\n class={{@fieldClasses}}\n @formId={{@formId}}\n aria-label={{@ariaLabel}}\n @disabled={{@disabled}}\n @valueKey={{@valueKey}}\n @labelKey={{@labelKey}}\n @compressed={{@compressed}}\n @name={{@name}}\n @options={{this.options}}\n @idSelected={{this.value}}\n @legend={{@legend}}\n @onChange={{this.handleChange}}\n autofocus={{@autofocus}}\n ...attributes\n />\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldRadioGroup","ValidatedFormFieldBase","value","value1","maybeUnwrapProxy","args","toArray","arrayToMap","currArr1","transformToMap","valuesMap1","reduce","acc1","val1","handleChange","optionId1","found1","find","v1","newArr1","filter","onChange","isTouched","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiRadioGroup","strictMode"],"mappings":";;;;;;;;;;;;;;AA6Be,MAAMA,4BAA4B,SAASC,sBAAsB,CAA2B;EACvG,IAAIC,KAAKA,GAAG;IACR,IAAIC,MAAM,GAAGC,gBAAgB,CAAC,IAAI,CAACC,IAAI,CAACH,KAAK,CAAC,CAAA;AAC9C,IAAA,OAAOC,MAAM,EAAEG,OAAO,IAAI,IAAIH,MAAM,CAAA;AACxC,GAAA;EACA,IAAII,UAAUA,GAAG;IACb,MAAMC,QAAQ,GAAG,IAAI,CAACH,IAAI,CAACH,KAAK,IAAI,EAAE,CAAA;AACtC,IAAA,OAAO,IAAI,CAACO,cAAc,CAACD,QAAQ,CAAC,CAAA;AACxC,GAAA;AACAC,EAAAA,cAAcA,CAACN,MAAM,GAAG,EAAE,EAAE;IACxB,IAAIO,UAAU,GAAGP,MAAM,CAACQ,MAAM,CAAC,CAACC,IAAI,EAAEC,IAAY,KAAG;AACjDD,MAAAA,IAAI,CAACC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,MAAA,OAAOD,IAAI,CAAA;KACd,EAAE,EAEF,CAAC,CAAA;AACF,IAAA,OAAOF,UAAU,CAAA;AACrB,GAAA;AAEA;EACAI,YAAYA,CAACC,SAAiB,EAAE;AAC5B,IAAA,IAAIZ,MAAM,GAAG,IAAI,CAACD,KAAK,IAAI,EAAE,CAAA;IAC7B,MAAMc,MAAM,GAAGb,MAAM,CAACc,IAAI,CAAEC,EAAU,IAAGA,EAAE,KAAKH,SAAS,CAAC,CAAA;IAC1D,IAAII,OAAO,GAAG,EAAE,CAAA;AAChB,IAAA,IAAIH,MAAM,EAAE;MACRG,OAAO,GAAGhB,MAAM,CAACiB,MAAM,CAAEF,EAAU,IAAGA,EAAE,KAAKH,SAAS,CAAC,CAAA;AAC3D,KAAC,MAAM;AACHI,MAAAA,OAAO,GAAG,CACN,GAAGhB,MAAM,EACTY,SAAS,CACZ,CAAA;AACL,KAAA;AACA,IAAA,IAAI,CAACV,IAAI,CAACgB,QAAQ,GAAGF,OAAO,CAAC,CAAA;IAC7B,IAAI,CAACG,SAAS,GAAG,IAAI,CAAA;AACzB,GAAA;AAAC,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,mBAhBAC,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAiBP,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAgDH,kyCAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;AAAAC,QAAAA,aAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
@@ -13,7 +13,7 @@ import { setComponentTemplate } from '@ember/component';
13
13
 
14
14
  class ValidatedFormFieldRangeSlider extends ValidatedFormFieldBase {
15
15
  static {
16
- setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiRange class={{@fieldClasses}} form={{@formId}} @compressed={{@compressed}} @readOnly={{@readOnly}} @fullWidth={{@fullWidth}} @id={{theId}} @levels={{@levels}} @step={{@step}} @showInput={{@showInput}} @showLabels={{@showLabels}} @showRange={{@showRange}} @showTicks={{@showTicks}} @showValue={{@showValue}} @disabled={{@disabled}} @ticks={{@ticks}} @tickInterval={{@tickInterval}} @valuePrepend={{@valuePrepend}} @valueAppend={{@valueAppend}} @onChange={{this.handleChange}} @value={{@value}} @max={{@max}} @isLoading={{@isLoading}} @min={{@min}} @isInvalid={{this.isInvalidAndTouched}} @isPrependProvided={{has-block \"prepend\"}} @isAppendProvided={{has-block \"append\"}} @isFakeMinBlock={{not (has-block \"min\")}} @isFakeMaxBlock={{not (has-block \"max\")}} @isFakeValueBlock={{not (has-block \"value\")}} @isFakeValuePrependBlock={{not (has-block \"valuePrepend\")}} @isFakeValueAppendBlock={{not (has-block \"valueAppend\")}} aria-label={{@ariaLabel}} autofocus={{@autofocus}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}}>\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:min as |min|>\n {{yield min to=\"min\"}}\n </:min>\n <:valuePrepend>\n {{yield to=\"valuePrepend\"}}\n </:valuePrepend>\n <:value>\n {{yield to=\"value\"}}\n </:value>\n <:valueAppend>\n {{yield to=\"valueAppend\"}}\n </:valueAppend>\n <:max as |max|>\n {{yield max to=\"max\"}}\n </:max>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiRange>\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
16
+ setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiRange class={{@fieldClasses}} form={{@formId}} @compressed={{@compressed}} @readOnly={{@readOnly}} @fullWidth={{@fullWidth}} @id={{theId}} @levels={{@levels}} @step={{@step}} @showInput={{@showInput}} @showLabels={{@showLabels}} @showRange={{@showRange}} @showTicks={{@showTicks}} @showValue={{@showValue}} @disabled={{@disabled}} @ticks={{@ticks}} @tickInterval={{@tickInterval}} @valuePrepend={{@valuePrepend}} @valueAppend={{@valueAppend}} @onChange={{this.handleChange}} @value={{@value}} @max={{@max}} @isLoading={{@isLoading}} @min={{@min}} @isInvalid={{this.isInvalidAndTouched}} @isPrependProvided={{has-block \"prepend\"}} @isAppendProvided={{has-block \"append\"}} @isFakeMinBlock={{not (has-block \"min\")}} @isFakeMaxBlock={{not (has-block \"max\")}} @isFakeValueBlock={{not (has-block \"value\")}} @isFakeValuePrependBlock={{not (has-block \"valuePrepend\")}} @isFakeValueAppendBlock={{not (has-block \"valueAppend\")}} aria-label={{@ariaLabel}} autofocus={{@autofocus}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}}>\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:min as |min|>\n {{yield min to=\"min\"}}\n </:min>\n <:valuePrepend>\n {{yield to=\"valuePrepend\"}}\n </:valuePrepend>\n <:value>\n {{yield to=\"value\"}}\n </:value>\n <:valueAppend>\n {{yield to=\"valueAppend\"}}\n </:valueAppend>\n <:max as |max|>\n {{yield max to=\"max\"}}\n </:max>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiRange>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}} \n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
17
17
  scope: () => ({
18
18
  argOrDefault,
19
19
  randomId,
@@ -1 +1 @@
1
- {"version":3,"file":"field-range-slider.js","sources":["../../../src/components/validated-form/field-range-slider.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiRange from '@ember-eui/core/components/eui-range';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiRangeSignature } from '@ember-eui/core/components/eui-range';\nexport interface FieldRangeSliderSignature {\n Element: EuiRangeSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiRangeSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [];\n prepend: [...EuiRangeSignature['Blocks']['prepend']];\n min: [...EuiRangeSignature['Blocks']['min']];\n valuePrepend: [...EuiRangeSignature['Blocks']['valuePrepend']];\n value: [...EuiRangeSignature['Blocks']['value']];\n valueAppend: [...EuiRangeSignature['Blocks']['valueAppend']];\n append: [...EuiRangeSignature['Blocks']['append']];\n max: [...EuiRangeSignature['Blocks']['max']];\n };\n}\nexport default class ValidatedFormFieldRangeSlider extends ValidatedFormFieldBase<FieldRangeSliderSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiRange\n class={{@fieldClasses}}\n form={{@formId}}\n @compressed={{@compressed}}\n @readOnly={{@readOnly}}\n @fullWidth={{@fullWidth}}\n @id={{theId}}\n @levels={{@levels}}\n @step={{@step}}\n @showInput={{@showInput}}\n @showLabels={{@showLabels}}\n @showRange={{@showRange}}\n @showTicks={{@showTicks}}\n @showValue={{@showValue}}\n @disabled={{@disabled}}\n @ticks={{@ticks}}\n @tickInterval={{@tickInterval}}\n @valuePrepend={{@valuePrepend}}\n @valueAppend={{@valueAppend}}\n @onChange={{this.handleChange}}\n @value={{@value}}\n @max={{@max}}\n @isLoading={{@isLoading}}\n @min={{@min}}\n @isInvalid={{this.isInvalidAndTouched}}\n @isPrependProvided={{has-block \"prepend\"}}\n @isAppendProvided={{has-block \"append\"}}\n @isFakeMinBlock={{not (has-block \"min\")}}\n @isFakeMaxBlock={{not (has-block \"max\")}}\n @isFakeValueBlock={{not (has-block \"value\")}}\n @isFakeValuePrependBlock={{not (has-block \"valuePrepend\")}}\n @isFakeValueAppendBlock={{not (has-block \"valueAppend\")}}\n aria-label={{@ariaLabel}}\n autofocus={{@autofocus}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n >\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:min as |min|>\n {{yield min to=\"min\"}}\n </:min>\n <:valuePrepend>\n {{yield to=\"valuePrepend\"}}\n </:valuePrepend>\n <:value>\n {{yield to=\"value\"}}\n </:value>\n <:valueAppend>\n {{yield to=\"valueAppend\"}}\n </:valueAppend>\n <:max as |max|>\n {{yield max to=\"max\"}}\n </:max>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiRange>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldRangeSlider","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiRange","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AAmCe,MAAMA,6BAA6B,SAASC,sBAAsB,CAA4B;AACzG,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAwFH,q/EAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,QAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"field-range-slider.js","sources":["../../../src/components/validated-form/field-range-slider.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiRange from '@ember-eui/core/components/eui-range';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiRangeSignature } from '@ember-eui/core/components/eui-range';\nexport interface FieldRangeSliderSignature {\n Element: EuiRangeSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiRangeSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n prepend: [...EuiRangeSignature['Blocks']['prepend']];\n min: [...EuiRangeSignature['Blocks']['min']];\n valuePrepend: [...EuiRangeSignature['Blocks']['valuePrepend']];\n value: [...EuiRangeSignature['Blocks']['value']];\n valueAppend: [...EuiRangeSignature['Blocks']['valueAppend']];\n append: [...EuiRangeSignature['Blocks']['append']];\n max: [...EuiRangeSignature['Blocks']['max']];\n };\n}\nexport default class ValidatedFormFieldRangeSlider extends ValidatedFormFieldBase<FieldRangeSliderSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiRange\n class={{@fieldClasses}}\n form={{@formId}}\n @compressed={{@compressed}}\n @readOnly={{@readOnly}}\n @fullWidth={{@fullWidth}}\n @id={{theId}}\n @levels={{@levels}}\n @step={{@step}}\n @showInput={{@showInput}}\n @showLabels={{@showLabels}}\n @showRange={{@showRange}}\n @showTicks={{@showTicks}}\n @showValue={{@showValue}}\n @disabled={{@disabled}}\n @ticks={{@ticks}}\n @tickInterval={{@tickInterval}}\n @valuePrepend={{@valuePrepend}}\n @valueAppend={{@valueAppend}}\n @onChange={{this.handleChange}}\n @value={{@value}}\n @max={{@max}}\n @isLoading={{@isLoading}}\n @min={{@min}}\n @isInvalid={{this.isInvalidAndTouched}}\n @isPrependProvided={{has-block \"prepend\"}}\n @isAppendProvided={{has-block \"append\"}}\n @isFakeMinBlock={{not (has-block \"min\")}}\n @isFakeMaxBlock={{not (has-block \"max\")}}\n @isFakeValueBlock={{not (has-block \"value\")}}\n @isFakeValuePrependBlock={{not (has-block \"valuePrepend\")}}\n @isFakeValueAppendBlock={{not (has-block \"valueAppend\")}}\n aria-label={{@ariaLabel}}\n autofocus={{@autofocus}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n >\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:min as |min|>\n {{yield min to=\"min\"}}\n </:min>\n <:valuePrepend>\n {{yield to=\"valuePrepend\"}}\n </:valuePrepend>\n <:value>\n {{yield to=\"value\"}}\n </:value>\n <:valueAppend>\n {{yield to=\"valueAppend\"}}\n </:valueAppend>\n <:max as |max|>\n {{yield max to=\"max\"}}\n </:max>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiRange>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}} \n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldRangeSlider","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiRange","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AAoCe,MAAMA,6BAA6B,SAASC,sBAAsB,CAA4B;AACzG,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CA4FH,mpFAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,QAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
@@ -13,7 +13,7 @@ import { setComponentTemplate } from '@ember/component';
13
13
 
14
14
  class ValidatedFormFieldSelect extends ValidatedFormFieldBase {
15
15
  static {
16
- setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiSelect aria-label={{@ariaLabel}} class={{@fieldClasses}} form={{@formId}} @options={{this.options}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @hasNoInitialSelection={{@hasNoInitialSelection}} @inputRef={{@inputRef}} @disabled={{@disabled}} @value={{@value}} @compressed={{@compressed}} @isFakePrependBlock={{not (has-block \"prepend\")}} @isFakeAppendBlock={{not (has-block \"append\")}} @id={{theId}} autofocus={{@autofocus}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}} {{on \"change\" this.handleChange}}>\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiSelect>\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
16
+ setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiSelect aria-label={{@ariaLabel}} class={{@fieldClasses}} form={{@formId}} @options={{this.options}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @hasNoInitialSelection={{@hasNoInitialSelection}} @inputRef={{@inputRef}} @disabled={{@disabled}} @value={{@value}} @compressed={{@compressed}} @isFakePrependBlock={{not (has-block \"prepend\")}} @isFakeAppendBlock={{not (has-block \"append\")}} @id={{theId}} autofocus={{@autofocus}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}} {{on \"change\" this.handleChange}}>\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiSelect>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
17
17
  scope: () => ({
18
18
  argOrDefault,
19
19
  randomId,
@@ -1 +1 @@
1
- {"version":3,"file":"field-select.js","sources":["../../../src/components/validated-form/field-select.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiSelect from '@ember-eui/core/components/eui-select';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiSelectSignature } from '@ember-eui/core/components/eui-select';\nexport interface FieldSelectSignature {\n Element: EuiSelectSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiSelectSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [];\n prepend: [...EuiSelectSignature['Blocks']['prepend']];\n append: [...EuiSelectSignature['Blocks']['append']];\n };\n}\nexport default class ValidatedFormFieldSelect extends ValidatedFormFieldBase<FieldSelectSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiSelect\n aria-label={{@ariaLabel}}\n class={{@fieldClasses}}\n form={{@formId}}\n @options={{this.options}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @hasNoInitialSelection={{@hasNoInitialSelection}}\n @inputRef={{@inputRef}}\n @disabled={{@disabled}}\n @value={{@value}}\n @compressed={{@compressed}}\n @isFakePrependBlock={{not (has-block \"prepend\")}}\n @isFakeAppendBlock={{not (has-block \"append\")}}\n @id={{theId}}\n autofocus={{@autofocus}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"change\" this.handleChange}}\n >\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiSelect>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldSelect","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiSelect","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AA8Be,MAAMA,wBAAwB,SAASC,sBAAsB,CAAuB;AAC/F,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAyDH,2mDAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"field-select.js","sources":["../../../src/components/validated-form/field-select.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiSelect from '@ember-eui/core/components/eui-select';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiSelectSignature } from '@ember-eui/core/components/eui-select';\nexport interface FieldSelectSignature {\n Element: EuiSelectSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiSelectSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n prepend: [...EuiSelectSignature['Blocks']['prepend']];\n append: [...EuiSelectSignature['Blocks']['append']];\n };\n}\nexport default class ValidatedFormFieldSelect extends ValidatedFormFieldBase<FieldSelectSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiSelect\n aria-label={{@ariaLabel}}\n class={{@fieldClasses}}\n form={{@formId}}\n @options={{this.options}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @hasNoInitialSelection={{@hasNoInitialSelection}}\n @inputRef={{@inputRef}}\n @disabled={{@disabled}}\n @value={{@value}}\n @compressed={{@compressed}}\n @isFakePrependBlock={{not (has-block \"prepend\")}}\n @isFakeAppendBlock={{not (has-block \"append\")}}\n @id={{theId}}\n autofocus={{@autofocus}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"change\" this.handleChange}}\n >\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiSelect>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldSelect","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiSelect","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AA+Be,MAAMA,wBAAwB,SAASC,sBAAsB,CAAuB;AAC/F,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CA6DH,wwDAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
@@ -24,7 +24,7 @@ class ValidatedFormFieldSwitch extends ValidatedFormFieldBase {
24
24
  n(this.prototype, "handleChange", [action]);
25
25
  }
26
26
  static {
27
- setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiSwitch class={{@fieldClasses}} form={{@formId}} aria-label={{@ariaLabel}} @id={{theId}} @showLabel={{@showLabel}} @label={{@switchLabel}} @checked={{@value}} @onChange={{this.handleChange}} @isFakeLabelBlock={{not (has-block \"switch-label\")}} @disabled={{@disabled}} @compressed={{@compressed}} @type={{@type}} {{on \"blur\" (fn this.setIsTouched true)}} ...attributes>\n <:label>\n {{yield to=\"switch-label\"}}\n </:label>\n </EuiSwitch>\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
27
+ setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiSwitch class={{@fieldClasses}} form={{@formId}} aria-label={{@ariaLabel}} @id={{theId}} @showLabel={{@showLabel}} @label={{@switchLabel}} @checked={{@value}} @onChange={{this.handleChange}} @isFakeLabelBlock={{not (has-block \"switch-label\")}} @disabled={{@disabled}} @compressed={{@compressed}} @type={{@type}} {{on \"blur\" (fn this.setIsTouched true)}} ...attributes>\n <:label>\n {{yield to=\"switch-label\"}}\n </:label>\n </EuiSwitch>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
28
28
  scope: () => ({
29
29
  argOrDefault,
30
30
  randomId,
@@ -1 +1 @@
1
- {"version":3,"file":"field-switch.js","sources":["../../../src/components/validated-form/field-switch.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiSwitch from '@ember-eui/core/components/eui-switch';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiSwitchSignature } from '@ember-eui/core/components/eui-switch';\nexport interface FieldSwitchSignature {\n Element: EuiSwitchSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiSwitchSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n switchLabel?: EuiSwitchSignature['Args']['label'];\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [];\n 'switch-label': [];\n };\n}\nexport default class ValidatedFormFieldSwitch extends ValidatedFormFieldBase<FieldSwitchSignature> {\n @action\n handleChange(e1: MouseEvent) {\n e1.preventDefault();\n const checked1 = (e1.target as HTMLInputElement).checked;\n this.args.onChange?.(checked1, e1);\n this.notifyValidityChange();\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiSwitch\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @id={{theId}}\n @showLabel={{@showLabel}}\n @label={{@switchLabel}}\n @checked={{@value}}\n @onChange={{this.handleChange}}\n @isFakeLabelBlock={{not (has-block \"switch-label\")}}\n @disabled={{@disabled}}\n @compressed={{@compressed}}\n @type={{@type}}\n {{on \"blur\" (fn this.setIsTouched true)}}\n ...attributes\n >\n <:label>\n {{yield to=\"switch-label\"}}\n </:label>\n </EuiSwitch>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldSwitch","ValidatedFormFieldBase","handleChange","e1","preventDefault","checked1","target","checked","args","onChange","notifyValidityChange","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiSwitch","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;;;AA+Be,MAAMA,wBAAwB,SAASC,sBAAsB,CAAuB;EAE/FC,YAAYA,CAACC,EAAc,EAAE;IACzBA,EAAE,CAACC,cAAc,EAAE,CAAA;AACnB,IAAA,MAAMC,QAAQ,GAAIF,EAAE,CAACG,MAAM,CAAsBC,OAAO,CAAA;IACxD,IAAI,CAACC,IAAI,CAACC,QAAQ,GAAGJ,QAAQ,EAAEF,EAAE,CAAC,CAAA;IAClC,IAAI,CAACO,oBAAoB,EAAE,CAAA;AAC/B,GAAA;AAAC,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,mBANAC,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAOP,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAgDH,kwCAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"field-switch.js","sources":["../../../src/components/validated-form/field-switch.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiSwitch from '@ember-eui/core/components/eui-switch';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiSwitchSignature } from '@ember-eui/core/components/eui-switch';\nexport interface FieldSwitchSignature {\n Element: EuiSwitchSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiSwitchSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n switchLabel?: EuiSwitchSignature['Args']['label'];\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [];\n helpText: EuiFormRowSignature['Blocks']['helpText'];\n 'switch-label': [];\n };\n}\nexport default class ValidatedFormFieldSwitch extends ValidatedFormFieldBase<FieldSwitchSignature> {\n @action\n handleChange(e1: MouseEvent) {\n e1.preventDefault();\n const checked1 = (e1.target as HTMLInputElement).checked;\n this.args.onChange?.(checked1, e1);\n this.notifyValidityChange();\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiSwitch\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @id={{theId}}\n @showLabel={{@showLabel}}\n @label={{@switchLabel}}\n @checked={{@value}}\n @onChange={{this.handleChange}}\n @isFakeLabelBlock={{not (has-block \"switch-label\")}}\n @disabled={{@disabled}}\n @compressed={{@compressed}}\n @type={{@type}}\n {{on \"blur\" (fn this.setIsTouched true)}}\n ...attributes\n >\n <:label>\n {{yield to=\"switch-label\"}}\n </:label>\n </EuiSwitch>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldSwitch","ValidatedFormFieldBase","handleChange","e1","preventDefault","checked1","target","checked","args","onChange","notifyValidityChange","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiSwitch","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;;;AAgCe,MAAMA,wBAAwB,SAASC,sBAAsB,CAAuB;EAE/FC,YAAYA,CAACC,EAAc,EAAE;IACzBA,EAAE,CAACC,cAAc,EAAE,CAAA;AACnB,IAAA,MAAMC,QAAQ,GAAIF,EAAE,CAACG,MAAM,CAAsBC,OAAO,CAAA;IACxD,IAAI,CAACC,IAAI,CAACC,QAAQ,GAAGJ,QAAQ,EAAEF,EAAE,CAAC,CAAA;IAClC,IAAI,CAACO,oBAAoB,EAAE,CAAA;AAC/B,GAAA;AAAC,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,mBANAC,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAOP,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAoDH,+5CAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
@@ -13,7 +13,7 @@ import { setComponentTemplate } from '@ember/component';
13
13
 
14
14
  class ValidatedFormFieldTextArea extends ValidatedFormFieldBase {
15
15
  static {
16
- setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiTextArea class={{@fieldClasses}} form={{@formId}} aria-label={{@ariaLabel}} @value={{@value}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @compressed={{@compressed}} @resize={{@resize}} @disabled={{@disabled}} @inputRef={{@inputRef}} @id={{theId}} @rows={{@rows}} autofocus={{@autofocus}} placeholder={{@placeholder}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}} {{on \"input\" this.handleChange}}>\n {{yield}}\n </EuiTextArea>\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
16
+ setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiTextArea class={{@fieldClasses}} form={{@formId}} aria-label={{@ariaLabel}} @value={{@value}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @compressed={{@compressed}} @resize={{@resize}} @disabled={{@disabled}} @inputRef={{@inputRef}} @id={{theId}} @rows={{@rows}} autofocus={{@autofocus}} placeholder={{@placeholder}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}} {{on \"input\" this.handleChange}}>\n {{yield}}\n </EuiTextArea>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
17
17
  scope: () => ({
18
18
  argOrDefault,
19
19
  randomId,
@@ -1 +1 @@
1
- {"version":3,"file":"field-text-area.js","sources":["../../../src/components/validated-form/field-text-area.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiTextArea from '@ember-eui/core/components/eui-text-area';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiTextAreaSignature } from '@ember-eui/core/components/eui-text-area';\nimport type { ComponentLike } from '@glint/template';\nexport interface FieldTextAreaSignature extends FieldBaseSignature {\n Element: EuiTextAreaSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiTextAreaSignature['Args'] & {\n formId?: string;\n ariaLabel?: string;\n rows?: number;\n resize?: 'vertical' | 'horizontal' | 'both' | 'none';\n rowClasses?: string;\n fieldClasses?: string;\n labelAppend?: ComponentLike;\n prepend?: ComponentLike;\n append?: ComponentLike;\n placeholder?: string;\n autofocus?: boolean;\n inputRef?: (element: HTMLTextAreaElement) => void;\n };\n Blocks: {\n label: [];\n default: [...EuiTextAreaSignature['Blocks']['default']];\n };\n}\nexport default class ValidatedFormFieldTextArea extends ValidatedFormFieldBase<FieldTextAreaSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiTextArea\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @value={{@value}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @compressed={{@compressed}}\n @resize={{@resize}}\n @disabled={{@disabled}}\n @inputRef={{@inputRef}}\n @id={{theId}}\n @rows={{@rows}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"input\" this.handleChange}}\n >\n {{yield}}\n </EuiTextArea>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldTextArea","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiTextArea","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AAoCe,MAAMA,0BAA0B,SAASC,sBAAsB,CAAyB;AACnG,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAiDH,+vCAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,WAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"field-text-area.js","sources":["../../../src/components/validated-form/field-text-area.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiTextArea from '@ember-eui/core/components/eui-text-area';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiTextAreaSignature } from '@ember-eui/core/components/eui-text-area';\nimport type { ComponentLike } from '@glint/template';\nexport interface FieldTextAreaSignature extends FieldBaseSignature {\n Element: EuiTextAreaSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiTextAreaSignature['Args'] & {\n formId?: string;\n ariaLabel?: string;\n rows?: number;\n resize?: 'vertical' | 'horizontal' | 'both' | 'none';\n rowClasses?: string;\n fieldClasses?: string;\n labelAppend?: ComponentLike;\n prepend?: ComponentLike;\n append?: ComponentLike;\n placeholder?: string;\n autofocus?: boolean;\n inputRef?: (element: HTMLTextAreaElement) => void;\n };\n Blocks: {\n label: [];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n default: [...EuiTextAreaSignature['Blocks']['default']];\n };\n}\nexport default class ValidatedFormFieldTextArea extends ValidatedFormFieldBase<FieldTextAreaSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiTextArea\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @value={{@value}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @compressed={{@compressed}}\n @resize={{@resize}}\n @disabled={{@disabled}}\n @inputRef={{@inputRef}}\n @id={{theId}}\n @rows={{@rows}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"input\" this.handleChange}}\n >\n {{yield}}\n </EuiTextArea>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldTextArea","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiTextArea","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AAqCe,MAAMA,0BAA0B,SAASC,sBAAsB,CAAyB;AACnG,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAqDH,45CAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,WAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
@@ -13,7 +13,7 @@ import { setComponentTemplate } from '@ember/component';
13
13
 
14
14
  class ValidatedFormFieldText extends ValidatedFormFieldBase {
15
15
  static {
16
- setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiFieldText class={{@fieldClasses}} aria-label={{@ariaLabel}} form={{@formId}} @value={{@value}} @icon={{@icon}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @disabled={{@disabled}} @readOnly={{@readOnly}} @inputRef={{@inputRef}} @controlOnly={{@controlOnly}} @compressed={{@compressed}} @clear={{@clear}} @id={{theId}} @isFakePrependBlock={{not (has-block \"prepend\")}} @isFakeAppendBlock={{not (has-block \"append\")}} autofocus={{@autofocus}} placeholder={{@placeholder}} {{on \"blur\" (fn this.setIsTouched true)}} {{on \"input\" this.handleChange}} ...attributes>\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldText>\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
16
+ setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiFieldText class={{@fieldClasses}} aria-label={{@ariaLabel}} form={{@formId}} @value={{@value}} @icon={{@icon}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @disabled={{@disabled}} @readOnly={{@readOnly}} @inputRef={{@inputRef}} @controlOnly={{@controlOnly}} @compressed={{@compressed}} @clear={{@clear}} @id={{theId}} @isFakePrependBlock={{not (has-block \"prepend\")}} @isFakeAppendBlock={{not (has-block \"append\")}} autofocus={{@autofocus}} placeholder={{@placeholder}} {{on \"blur\" (fn this.setIsTouched true)}} {{on \"input\" this.handleChange}} ...attributes>\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldText>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
17
17
  scope: () => ({
18
18
  argOrDefault,
19
19
  randomId,
@@ -1 +1 @@
1
- {"version":3,"file":"field-text.js","sources":["../../../src/components/validated-form/field-text.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFieldText from '@ember-eui/core/components/eui-field-text';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFieldTextSignature } from '@ember-eui/core/components/eui-field-text';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldTextSignature {\n Element: EuiFieldTextSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiFieldTextSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n };\n Blocks: {\n label: [];\n prepend: [...EuiFieldTextSignature['Blocks']['prepend']];\n append: [...EuiFieldTextSignature['Blocks']['append']];\n };\n}\nexport default class ValidatedFormFieldText extends ValidatedFormFieldBase<FieldTextSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiFieldText\n class={{@fieldClasses}}\n aria-label={{@ariaLabel}}\n form={{@formId}}\n @value={{@value}}\n @icon={{@icon}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @disabled={{@disabled}}\n @readOnly={{@readOnly}}\n @inputRef={{@inputRef}}\n @controlOnly={{@controlOnly}}\n @compressed={{@compressed}}\n @clear={{@clear}}\n @id={{theId}}\n @isFakePrependBlock={{not (has-block \"prepend\")}}\n @isFakeAppendBlock={{not (has-block \"append\")}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"input\" this.handleChange}}\n ...attributes\n >\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldText>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldText","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiFieldText","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AA6Be,MAAMA,sBAAsB,SAASC,sBAAsB,CAAqB;AAC3F,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CA2DH,upDAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,YAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"field-text.js","sources":["../../../src/components/validated-form/field-text.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFieldText from '@ember-eui/core/components/eui-field-text';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFieldTextSignature } from '@ember-eui/core/components/eui-field-text';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldTextSignature {\n Element: EuiFieldTextSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiFieldTextSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n };\n Blocks: {\n label: [];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n prepend: [...EuiFieldTextSignature['Blocks']['prepend']];\n append: [...EuiFieldTextSignature['Blocks']['append']];\n };\n}\nexport default class ValidatedFormFieldText extends ValidatedFormFieldBase<FieldTextSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiFieldText\n class={{@fieldClasses}}\n aria-label={{@ariaLabel}}\n form={{@formId}}\n @value={{@value}}\n @icon={{@icon}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @disabled={{@disabled}}\n @readOnly={{@readOnly}}\n @inputRef={{@inputRef}}\n @controlOnly={{@controlOnly}}\n @compressed={{@compressed}}\n @clear={{@clear}}\n @id={{theId}}\n @isFakePrependBlock={{not (has-block \"prepend\")}}\n @isFakeAppendBlock={{not (has-block \"append\")}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"input\" this.handleChange}}\n ...attributes\n >\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldText>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldText","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiFieldText","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AA8Be,MAAMA,sBAAsB,SAASC,sBAAsB,CAAqB;AAC3F,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CA+DH,ozDAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,YAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember-eui/validated-form",
3
- "version": "8.0.46",
3
+ "version": "8.0.47",
4
4
  "description": "The default blueprint for ember-cli addons.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -40,7 +40,7 @@
40
40
  "decorator-transforms": "^1.0.3"
41
41
  },
42
42
  "peerDependencies": {
43
- "@ember-eui/core": "^8.0.46",
43
+ "@ember-eui/core": "^8.0.47",
44
44
  "@glimmer/component": "^1.1.2",
45
45
  "@glimmer/tracking": "^1.1.2",
46
46
  "ember-source": "^3.28.0 || >=4.0.0"
@@ -101,7 +101,7 @@
101
101
  "rollup-plugin-ts": "^3.0.2",
102
102
  "typescript": "~5.0.3",
103
103
  "webpack": "^5.89.0",
104
- "@ember-eui/core": "8.0.46"
104
+ "@ember-eui/core": "8.0.47"
105
105
  },
106
106
  "engines": {
107
107
  "node": "12.* || 14.* || >= 16"