@bryntum/core-react-thin 7.3.0 → 7.3.1

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 (137) hide show
  1. package/lib/BryntumBooleanCombo.d.ts +2 -1
  2. package/lib/BryntumBooleanCombo.js +1 -0
  3. package/lib/BryntumBooleanCombo.js.map +1 -1
  4. package/lib/BryntumButton.d.ts +3 -3
  5. package/lib/BryntumButtonGroup.d.ts +1 -1
  6. package/lib/BryntumChatPanel.d.ts +3 -3
  7. package/lib/BryntumCheckbox.d.ts +3 -2
  8. package/lib/BryntumCheckbox.js +1 -0
  9. package/lib/BryntumCheckbox.js.map +1 -1
  10. package/lib/BryntumCheckboxGroup.d.ts +3 -3
  11. package/lib/BryntumChipView.d.ts +2 -2
  12. package/lib/BryntumCodeEditor.d.ts +3 -3
  13. package/lib/BryntumColorField.d.ts +2 -1
  14. package/lib/BryntumColorField.js +1 -0
  15. package/lib/BryntumColorField.js.map +1 -1
  16. package/lib/BryntumCombo.d.ts +2 -1
  17. package/lib/BryntumCombo.js +1 -0
  18. package/lib/BryntumCombo.js.map +1 -1
  19. package/lib/BryntumContainer.d.ts +1 -1
  20. package/lib/BryntumDateField.d.ts +2 -1
  21. package/lib/BryntumDateField.js +1 -0
  22. package/lib/BryntumDateField.js.map +1 -1
  23. package/lib/BryntumDatePicker.d.ts +3 -3
  24. package/lib/BryntumDateRangeField.d.ts +2 -1
  25. package/lib/BryntumDateRangeField.js +1 -0
  26. package/lib/BryntumDateRangeField.js.map +1 -1
  27. package/lib/BryntumDateTimeField.d.ts +2 -1
  28. package/lib/BryntumDateTimeField.js +1 -0
  29. package/lib/BryntumDateTimeField.js.map +1 -1
  30. package/lib/BryntumDemoCodeEditor.d.ts +3 -3
  31. package/lib/BryntumDisplayField.d.ts +2 -1
  32. package/lib/BryntumDisplayField.js +1 -0
  33. package/lib/BryntumDisplayField.js.map +1 -1
  34. package/lib/BryntumDurationField.d.ts +2 -1
  35. package/lib/BryntumDurationField.js +1 -0
  36. package/lib/BryntumDurationField.js.map +1 -1
  37. package/lib/BryntumEditor.d.ts +5 -5
  38. package/lib/BryntumFieldFilterPicker.d.ts +1 -1
  39. package/lib/BryntumFieldFilterPickerGroup.d.ts +2 -2
  40. package/lib/BryntumFieldSet.d.ts +3 -3
  41. package/lib/BryntumFileField.d.ts +2 -1
  42. package/lib/BryntumFileField.js +1 -0
  43. package/lib/BryntumFileField.js.map +1 -1
  44. package/lib/BryntumFilePicker.d.ts +1 -1
  45. package/lib/BryntumFilterField.d.ts +2 -1
  46. package/lib/BryntumFilterField.js +1 -0
  47. package/lib/BryntumFilterField.js.map +1 -1
  48. package/lib/BryntumHint.d.ts +3 -3
  49. package/lib/BryntumLabel.d.ts +1 -1
  50. package/lib/BryntumList.d.ts +2 -2
  51. package/lib/BryntumMenu.d.ts +3 -3
  52. package/lib/BryntumMonthPicker.d.ts +3 -3
  53. package/lib/BryntumNumberField.d.ts +2 -1
  54. package/lib/BryntumNumberField.js +1 -0
  55. package/lib/BryntumNumberField.js.map +1 -1
  56. package/lib/BryntumPagingToolbar.d.ts +2 -2
  57. package/lib/BryntumPanel.d.ts +3 -3
  58. package/lib/BryntumPasswordField.d.ts +2 -1
  59. package/lib/BryntumPasswordField.js +1 -0
  60. package/lib/BryntumPasswordField.js.map +1 -1
  61. package/lib/BryntumProgressBar.d.ts +1 -1
  62. package/lib/BryntumRadio.d.ts +3 -2
  63. package/lib/BryntumRadio.js +1 -0
  64. package/lib/BryntumRadio.js.map +1 -1
  65. package/lib/BryntumRadioGroup.d.ts +3 -3
  66. package/lib/BryntumSlideToggle.d.ts +3 -2
  67. package/lib/BryntumSlideToggle.js +1 -0
  68. package/lib/BryntumSlideToggle.js.map +1 -1
  69. package/lib/BryntumSlider.d.ts +1 -1
  70. package/lib/BryntumSplitter.d.ts +1 -1
  71. package/lib/BryntumTabPanel.d.ts +4 -4
  72. package/lib/BryntumTextAreaField.d.ts +2 -1
  73. package/lib/BryntumTextAreaField.js +1 -0
  74. package/lib/BryntumTextAreaField.js.map +1 -1
  75. package/lib/BryntumTextAreaPickerField.d.ts +2 -1
  76. package/lib/BryntumTextAreaPickerField.js +1 -0
  77. package/lib/BryntumTextAreaPickerField.js.map +1 -1
  78. package/lib/BryntumTextField.d.ts +2 -1
  79. package/lib/BryntumTextField.js +1 -0
  80. package/lib/BryntumTextField.js.map +1 -1
  81. package/lib/BryntumTimeField.d.ts +2 -1
  82. package/lib/BryntumTimeField.js +1 -0
  83. package/lib/BryntumTimeField.js.map +1 -1
  84. package/lib/BryntumTimePicker.d.ts +1 -1
  85. package/lib/BryntumToolbar.d.ts +2 -2
  86. package/lib/BryntumWidget.d.ts +1 -1
  87. package/lib/BryntumYearPicker.d.ts +3 -3
  88. package/package.json +1 -1
  89. package/src/BryntumBooleanCombo.tsx +11 -1
  90. package/src/BryntumButton.tsx +3 -3
  91. package/src/BryntumButtonGroup.tsx +1 -1
  92. package/src/BryntumChatPanel.tsx +3 -3
  93. package/src/BryntumCheckbox.tsx +12 -2
  94. package/src/BryntumCheckboxGroup.tsx +3 -3
  95. package/src/BryntumChipView.tsx +2 -2
  96. package/src/BryntumCodeEditor.tsx +3 -3
  97. package/src/BryntumColorField.tsx +11 -1
  98. package/src/BryntumCombo.tsx +11 -1
  99. package/src/BryntumContainer.tsx +1 -1
  100. package/src/BryntumDateField.tsx +11 -1
  101. package/src/BryntumDatePicker.tsx +3 -3
  102. package/src/BryntumDateRangeField.tsx +11 -1
  103. package/src/BryntumDateTimeField.tsx +11 -1
  104. package/src/BryntumDemoCodeEditor.tsx +3 -3
  105. package/src/BryntumDisplayField.tsx +11 -1
  106. package/src/BryntumDurationField.tsx +11 -1
  107. package/src/BryntumEditor.tsx +5 -5
  108. package/src/BryntumFieldFilterPicker.tsx +1 -1
  109. package/src/BryntumFieldFilterPickerGroup.tsx +2 -2
  110. package/src/BryntumFieldSet.tsx +3 -3
  111. package/src/BryntumFileField.tsx +11 -1
  112. package/src/BryntumFilePicker.tsx +1 -1
  113. package/src/BryntumFilterField.tsx +11 -1
  114. package/src/BryntumHint.tsx +3 -3
  115. package/src/BryntumLabel.tsx +1 -1
  116. package/src/BryntumList.tsx +2 -2
  117. package/src/BryntumMenu.tsx +3 -3
  118. package/src/BryntumMonthPicker.tsx +3 -3
  119. package/src/BryntumNumberField.tsx +11 -1
  120. package/src/BryntumPagingToolbar.tsx +2 -2
  121. package/src/BryntumPanel.tsx +3 -3
  122. package/src/BryntumPasswordField.tsx +11 -1
  123. package/src/BryntumProgressBar.tsx +1 -1
  124. package/src/BryntumRadio.tsx +12 -2
  125. package/src/BryntumRadioGroup.tsx +3 -3
  126. package/src/BryntumSlideToggle.tsx +12 -2
  127. package/src/BryntumSlider.tsx +1 -1
  128. package/src/BryntumSplitter.tsx +1 -1
  129. package/src/BryntumTabPanel.tsx +4 -4
  130. package/src/BryntumTextAreaField.tsx +11 -1
  131. package/src/BryntumTextAreaPickerField.tsx +11 -1
  132. package/src/BryntumTextField.tsx +11 -1
  133. package/src/BryntumTimeField.tsx +11 -1
  134. package/src/BryntumTimePicker.tsx +1 -1
  135. package/src/BryntumToolbar.tsx +2 -2
  136. package/src/BryntumWidget.tsx +1 -1
  137. package/src/BryntumYearPicker.tsx +3 -3
@@ -33,6 +33,7 @@ BryntumTextField.configNames = [
33
33
  'autoSelect',
34
34
  'bubbleEvents',
35
35
  'centered',
36
+ 'checkValidity',
36
37
  'clearable',
37
38
  'color',
38
39
  'config',
@@ -1 +1 @@
1
- {"version":3,"file":"BryntumTextField.js","sourceRoot":"","sources":["../src/BryntumTextField.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAA0L,SAAS,EAAwD,MAAM,oBAAoB,CAAC;AAE7R,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAsuB/F,MAAM,OAAO,gBAAiB,SAAQ,KAAK,CAAC,SAAgC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f,MAAM;IACN,YAAY;IACZ,uBAAuB;IACvB,kBAAkB;IAClB,gBAAgB;IAChB,QAAQ;IACR,MAAM;IACN,aAAa;IACb,cAAc;IACd,eAAe;IACf,yBAAyB;IACzB,gBAAgB;IAChB,YAAY;IACZ,KAAK;IACL,UAAU;IACV,WAAW;IACX,OAAO;IACP,MAAM;IACN,IAAI;IACJ,iBAAiB;IACjB,QAAQ;CACX,CAAC;AAEK,oCAAmB,GAAG;IACzB,WAAW;IACX,UAAU;IACV,OAAO;IACP,iBAAiB;IACjB,6BAA6B;IAC7B,KAAK;IACL,QAAQ;IACR,SAAS;IACT,UAAU;IACV,UAAU;IACV,WAAW;IACX,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,IAAI;IACJ,cAAc;IACd,aAAa;IACb,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,WAAW;IACX,kBAAkB;IAClB,UAAU;IACV,WAAW;IACX,UAAU;IACV,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,YAAY;IACZ,UAAU;IACV,SAAS;IACT,WAAW;IACX,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,SAAS;IACT,YAAY;IACZ,aAAa;IACb,UAAU;IACV,QAAQ;IACR,WAAW;IACX,aAAa;IACb,UAAU;IACV,WAAW;IACX,UAAU;IACV,KAAK;IACL,uBAAuB;IACvB,MAAM;IACN,SAAS;IACT,UAAU;IACV,OAAO;IACP,OAAO;IACP,GAAG;IACH,GAAG;CACN,CAAC;AAEK,8BAAa,GAAG;IACnB,SAAS;IACT,SAAS;IACT,MAAM;IACN,OAAO;IACP,QAAQ;IACR,YAAY;CACf,CAAC"}
1
+ {"version":3,"file":"BryntumTextField.js","sourceRoot":"","sources":["../src/BryntumTextField.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAA0L,SAAS,EAAwD,MAAM,oBAAoB,CAAC;AAE7R,OAAO,EA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e;IACf,QAAQ;IACR,YAAY;IACZ,WAAW;IACX,aAAa;IACb,aAAa;IACb,uBAAuB;IACvB,cAAc;IACd,QAAQ;IACR,WAAW;IACX,WAAW;IACX,eAAe;IACf,MAAM;IACN,YAAY;IACZ,uBAAuB;IACvB,kBAAkB;IAClB,gBAAgB;IAChB,QAAQ;IACR,MAAM;IACN,aAAa;IACb,cAAc;IACd,eAAe;IACf,yBAAyB;IACzB,gBAAgB;IAChB,YAAY;IACZ,KAAK;IACL,UAAU;IACV,WAAW;IACX,OAAO;IACP,MAAM;IACN,IAAI;IACJ,iBAAiB;IACjB,QAAQ;CACX,CAAC;AAEK,oCAAmB,GAAG;IACzB,WAAW;IACX,UAAU;IACV,OAAO;IACP,iBAAiB;IACjB,6BAA6B;IAC7B,KAAK;IACL,QAAQ;IACR,SAAS;IACT,UAAU;IACV,UAAU;IACV,WAAW;IACX,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,IAAI;IACJ,cAAc;IACd,aAAa;IACb,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,WAAW;IACX,kBAAkB;IAClB,UAAU;IACV,WAAW;IACX,UAAU;IACV,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,YAAY;IACZ,UAAU;IACV,SAAS;IACT,WAAW;IACX,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,SAAS;IACT,YAAY;IACZ,aAAa;IACb,UAAU;IACV,QAAQ;IACR,WAAW;IACX,aAAa;IACb,UAAU;IACV,WAAW;IACX,UAAU;IACV,KAAK;IACL,uBAAuB;IACvB,MAAM;IACN,SAAS;IACT,UAAU;IACV,OAAO;IACP,OAAO;IACP,GAAG;IACH,GAAG;CACN,CAAC;AAEK,8BAAa,GAAG;IACnB,SAAS;IACT,SAAS;IACT,MAAM;IACN,OAAO;IACP,QAAQ;IACR,YAAY;CACf,CAAC"}
@@ -17,6 +17,7 @@ export declare type BryntumTimeFieldProps = {
17
17
  callOnFunctions?: boolean;
18
18
  catchEventHandlerExceptions?: boolean;
19
19
  centered?: boolean;
20
+ checkValidity?: ((field: Field) => void) | string;
20
21
  clearable?: boolean | FieldTriggerConfig;
21
22
  cls?: string | object;
22
23
  color?: Color;
@@ -141,7 +142,7 @@ export declare type BryntumTimeFieldProps = {
141
142
  }) => void) | string;
142
143
  onBeforeHide?: ((event: {
143
144
  source: Widget;
144
- }) => Promise<boolean> | boolean | void) | string;
145
+ }) => boolean | void) | string;
145
146
  onBeforeShow?: ((event: {
146
147
  source: Widget | any;
147
148
  }) => Promise<boolean> | boolean | void) | string;
@@ -34,6 +34,7 @@ BryntumTimeField.configNames = [
34
34
  'autoSelect',
35
35
  'bubbleEvents',
36
36
  'centered',
37
+ 'checkValidity',
37
38
  'clearable',
38
39
  'color',
39
40
  'config',
@@ -1 +1 @@
1
- {"version":3,"file":"BryntumTimeField.js","sourceRoot":"","sources":["../src/BryntumTimeField.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAqN,SAAS,EAAwD,MAAM,oBAAoB,CAAC;AAExT,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AA0xB/F,MAAM,OAAO,gBAAiB,SAAQ,KAAK,CAAC,SAAgC;IAA5E;;QAMI,yBAAoB,GAAG,oBAAoB,CAAC;IA2LhD,CAAC;IA5BG,iBAAiB;QACb,IAAI,CAAC,QAAQ,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;IAED,oBAAoB;;QAEhB,MAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,OAAO,kDAAI,CAAC;IAC/B,CAAC;IASD,qBAAqB,CAAC,SAA0C,EAAE,SAAuB;QACrF,OAAO,qBAAqB,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;IAC7D,CAAC;IAED,MAAM;QAEF,MAAM,SAAS,GAAG,8BAA8B,CAA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;IACL,QAAQ;IACR,SAAS;IACT,UAAU;IACV,UAAU;IACV,WAAW;IACX,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,IAAI;IACJ,cAAc;IACd,aAAa;IACb,UAAU;IACV,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,KAAK;IACL,WAAW;IACX,kBAAkB;IAClB,UAAU;IACV,KAAK;IACL,WAAW;IACX,UAAU;IACV,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,YAAY;IACZ,UAAU;IACV,SAAS;IACT,WAAW;IACX,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,SAAS;IACT,YAAY;IACZ,aAAa;IACb,UAAU;IACV,QAAQ;IACR,WAAW;IACX,SAAS;IACT,aAAa;IACb,UAAU;IACV,WAAW;IACX,UAAU;IACV,KAAK;IACL,uBAAuB;IACvB,MAAM;IACN,MAAM;IACN,SAAS;IACT,UAAU;IACV,OAAO;IACP,OAAO;IACP,GAAG;IACH,GAAG;CACN,CAAC;AAEK,8BAAa,GAAG;IACnB,SAAS;IACT,SAAS;IACT,MAAM;IACN,OAAO;IACP,QAAQ;IACR,YAAY;CACf,CAAC"}
1
+ {"version":3,"file":"BryntumTimeField.js","sourceRoot":"","sources":["../src/BryntumTimeField.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAqN,SAAS,EAAwD,MAAM,oBAAoB,CAAC;AAExT,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAmyB/F,MAAM,OAAO,gBAAiB,SAAQ,KAAK,CAAC,SAAgC;IAA5E;;QAMI,yBAAoB,GAAG,oBAAoB,CAAC;IA4LhD,CAAC;IA5BG,iBAAiB;QACb,IAAI,CAAC,QAAQ,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;IAED,oBAAoB;;QAEhB,M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IACf,yBAAyB;IACzB,gBAAgB;IAChB,YAAY;IACZ,cAAc;IACd,KAAK;IACL,UAAU;IACV,WAAW;IACX,OAAO;IACP,MAAM;IACN,IAAI;IACJ,iBAAiB;IACjB,QAAQ;CACX,CAAC;AAEK,oCAAmB,GAAG;IACzB,WAAW;IACX,UAAU;IACV,OAAO;IACP,iBAAiB;IACjB,6BAA6B;IAC7B,KAAK;IACL,QAAQ;IACR,SAAS;IACT,UAAU;IACV,UAAU;IACV,WAAW;IACX,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,IAAI;IACJ,cAAc;IACd,aAAa;IACb,UAAU;IACV,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,KAAK;IACL,WAAW;IACX,kBAAkB;IAClB,UAAU;IACV,KAAK;IACL,WAAW;IACX,UAAU;IACV,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,YAAY;IACZ,UAAU;IACV,SAAS;IACT,WAAW;IACX,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,SAAS;IACT,YAAY;IACZ,aAAa;IACb,UAAU;IACV,QAAQ;IACR,WAAW;IACX,SAAS;IACT,aAAa;IACb,UAAU;IACV,WAAW;IACX,UAAU;IACV,KAAK;IACL,uBAAuB;IACvB,MAAM;IACN,MAAM;IACN,SAAS;IACT,UAAU;IACV,OAAO;IACP,OAAO;IACP,GAAG;IACH,GAAG;CACN,CAAC;AAEK,8BAAa,GAAG;IACnB,SAAS;IACT,SAAS;IACT,MAAM;IACN,OAAO;IACP,QAAQ;IACR,YAAY;CACf,CAAC"}
@@ -106,7 +106,7 @@ export declare type BryntumTimePickerProps = {
106
106
  }) => void) | string;
107
107
  onBeforeHide?: ((event: {
108
108
  source: Widget;
109
- }) => Promise<boolean> | boolean | void) | string;
109
+ }) => boolean | void) | string;
110
110
  onBeforeSetRecord?: ((event: {
111
111
  source: Container;
112
112
  record: Model;
@@ -110,12 +110,12 @@ export declare type BryntumToolbarProps = {
110
110
  }) => void) | string;
111
111
  onBeforeHide?: ((event: {
112
112
  source: Widget;
113
- }) => Promise<boolean> | boolean | void) | string;
113
+ }) => boolean | void) | string;
114
114
  onBeforeItemDragStart?: ((event: {
115
115
  source: Toolbar;
116
116
  item: Widget;
117
117
  domEvent: Event;
118
- }) => Promise<boolean> | boolean | void) | string;
118
+ }) => boolean | void) | string;
119
119
  onBeforeSetRecord?: ((event: {
120
120
  source: Container;
121
121
  record: Model;
@@ -83,7 +83,7 @@ export declare type BryntumWidgetProps = {
83
83
  }) => void) | string;
84
84
  onBeforeHide?: ((event: {
85
85
  source: Widget;
86
- }) => Promise<boolean> | boolean | void) | string;
86
+ }) => boolean | void) | string;
87
87
  onBeforeShow?: ((event: {
88
88
  source: Widget | any;
89
89
  }) => Promise<boolean> | boolean | void) | string;
@@ -133,7 +133,7 @@ export declare type BryntumYearPickerProps = {
133
133
  }) => void) | string;
134
134
  onBeforeHide?: ((event: {
135
135
  source: Widget;
136
- }) => Promise<boolean> | boolean | void) | string;
136
+ }) => boolean | void) | string;
137
137
  onBeforeSetRecord?: ((event: {
138
138
  source: Container;
139
139
  record: Model;
@@ -143,10 +143,10 @@ export declare type BryntumYearPickerProps = {
143
143
  }) => Promise<boolean> | boolean | void) | string;
144
144
  onBeforeStateApply?: ((event: {
145
145
  state: any;
146
- }) => Promise<boolean> | boolean | void) | string;
146
+ }) => boolean | void) | string;
147
147
  onBeforeStateSave?: ((event: {
148
148
  state: any;
149
- }) => Promise<boolean> | boolean | void) | string;
149
+ }) => boolean | void) | string;
150
150
  onCatchAll?: ((event: {
151
151
  [key: string]: any;
152
152
  type: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bryntum/core-react-thin",
3
- "version": "7.3.0",
3
+ "version": "7.3.1",
4
4
  "description": "React wrappers for Bryntum Core JavaScript component",
5
5
  "keywords": [
6
6
  "bryntum",
@@ -96,6 +96,15 @@ export type BryntumBooleanComboProps = {
96
96
  * Set to `true` to centre the Widget in browser viewport space.
97
97
  */
98
98
  centered? : boolean
99
+ /**
100
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
101
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
102
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
103
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/BooleanCombo#config-checkValidity)
104
+ * @param {Core.widget.Field} field The field being validated
105
+ * @returns {void}
106
+ */
107
+ checkValidity? : ((field: Field) => void)|string
99
108
  /**
100
109
  * A config object to configure the [ChipView](https://bryntum.com/products/core/docs/api/Core/widget/ChipView) to display the
101
110
  * selected value set when [multiSelect](https://bryntum.com/products/core/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
@@ -814,7 +823,7 @@ export type BryntumBooleanComboProps = {
814
823
  * @param {object} event Event object
815
824
  * @param {Core.widget.Widget} event.source The widget being hidden.
816
825
  */
817
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
826
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
818
827
  /**
819
828
  * Triggered before a widget is shown. Return `false` to prevent the action.
820
829
  * @param {object} event Event object
@@ -975,6 +984,7 @@ export class BryntumBooleanCombo extends React.Component<BryntumBooleanComboProp
975
984
  'cacheLastResult',
976
985
  'caseSensitive',
977
986
  'centered',
987
+ 'checkValidity',
978
988
  'chipView',
979
989
  'clearable',
980
990
  'clearTextOnPickerHide',
@@ -528,7 +528,7 @@ export type BryntumButtonProps = {
528
528
  * @param {object} event Event object
529
529
  * @param {Core.widget.Widget} event.source The widget being hidden.
530
530
  */
531
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
531
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
532
532
  /**
533
533
  * Triggered before a widget is shown. Return `false` to prevent the action.
534
534
  * @param {object} event Event object
@@ -543,7 +543,7 @@ export type BryntumButtonProps = {
543
543
  * @param {boolean} event.userAction `true` if the toggle was triggered by a user action (click), `false` if it was triggered programmatically.
544
544
  * @param {Event} event.domEvent The original DOM event that triggered the action, if any. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
545
545
  */
546
- onBeforeShowMenu? : ((event: { source: Button, menu: Menu, userAction: boolean, domEvent: Event }) => Promise<boolean>|boolean|void)|string
546
+ onBeforeShowMenu? : ((event: { source: Button, menu: Menu, userAction: boolean, domEvent: Event }) => boolean|void)|string
547
547
  /**
548
548
  * Fires before the button is toggled (the [pressed](https://bryntum.com/products/core/docs/api/Core/widget/Button#property-pressed) state is changed). If the button is part of
549
549
  * a [toggleGroup](https://bryntum.com/products/core/docs/api/Core/widget/Button#config-toggleGroup) and you need to process the pressed button only, consider using
@@ -555,7 +555,7 @@ export type BryntumButtonProps = {
555
555
  * @param {boolean} event.userAction `true` if the toggle was triggered by a user action (click), `false` if it was triggered programmatically.
556
556
  * @param {Event} event.domEvent The original DOM event that triggered the action, if any. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
557
557
  */
558
- onBeforeToggle? : ((event: { source: Button, pressed: boolean, userAction: boolean, domEvent: Event }) => Promise<boolean>|boolean|void)|string
558
+ onBeforeToggle? : ((event: { source: Button, pressed: boolean, userAction: boolean, domEvent: Event }) => boolean|void)|string
559
559
  /**
560
560
  * Fires when any other event is fired from the object.
561
561
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Button#event-catchAll)
@@ -553,7 +553,7 @@ export type BryntumButtonGroupProps = {
553
553
  * @param {object} event Event object
554
554
  * @param {Core.widget.Widget} event.source The widget being hidden.
555
555
  */
556
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
556
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
557
557
  /**
558
558
  * Fired before this container will load record values into its child fields. This is useful if you
559
559
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -682,7 +682,7 @@ export type BryntumChatPanelProps = {
682
682
  * @param {object} event Event object
683
683
  * @param {Core.widget.Widget} event.source The widget being hidden.
684
684
  */
685
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
685
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
686
686
  /**
687
687
  * Fired before this container will load record values into its child fields. This is useful if you
688
688
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -702,13 +702,13 @@ export type BryntumChatPanelProps = {
702
702
  * @param {object} event Event object
703
703
  * @param {any} event.state State object config
704
704
  */
705
- onBeforeStateApply? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
705
+ onBeforeStateApply? : ((event: { state: any }) => boolean|void)|string
706
706
  /**
707
707
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
708
708
  * @param {object} event Event object
709
709
  * @param {any} event.state State object config
710
710
  */
711
- onBeforeStateSave? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
711
+ onBeforeStateSave? : ((event: { state: any }) => boolean|void)|string
712
712
  /**
713
713
  * Fired when the chat bubble tool icon is clicked.
714
714
  * @param {object} event Event object
@@ -100,6 +100,15 @@ export type BryntumCheckboxProps = {
100
100
  * A value of `undefined` will cause this widget not to include its value when checked.
101
101
  */
102
102
  checkedValue? : any
103
+ /**
104
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
105
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
106
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
107
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Checkbox#config-checkValidity)
108
+ * @param {Core.widget.Field} field The field being validated
109
+ * @returns {void}
110
+ */
111
+ checkValidity? : ((field: Field) => void)|string
103
112
  /**
104
113
  * Custom CSS classes to add to element.
105
114
  * May be specified as a space separated string, or as an object in which property names
@@ -610,7 +619,7 @@ export type BryntumCheckboxProps = {
610
619
  * @param {boolean} event.valid True if this field is in a valid state.
611
620
  * @param {Event} event.event The triggering DOM event if any
612
621
  */
613
- onBeforeChange? : ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) => Promise<boolean>|boolean|void)|string
622
+ onBeforeChange? : ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) => boolean|void)|string
614
623
  /**
615
624
  * Fires before an object is destroyed.
616
625
  * @param {object} event Event object
@@ -622,7 +631,7 @@ export type BryntumCheckboxProps = {
622
631
  * @param {object} event Event object
623
632
  * @param {Core.widget.Widget} event.source The widget being hidden.
624
633
  */
625
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
634
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
626
635
  /**
627
636
  * Triggered before a widget is shown. Return `false` to prevent the action.
628
637
  * @param {object} event Event object
@@ -779,6 +788,7 @@ export class BryntumCheckbox extends React.Component<BryntumCheckboxProps> {
779
788
  'bubbleEvents',
780
789
  'centered',
781
790
  'checkedValue',
791
+ 'checkValidity',
782
792
  'color',
783
793
  'config',
784
794
  'constrainTo',
@@ -693,7 +693,7 @@ export type BryntumCheckboxGroupProps = {
693
693
  * @param {object} event Event object
694
694
  * @param {Core.widget.Widget} event.source The widget being hidden.
695
695
  */
696
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
696
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
697
697
  /**
698
698
  * Fired before this container will load record values into its child fields. This is useful if you
699
699
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -713,13 +713,13 @@ export type BryntumCheckboxGroupProps = {
713
713
  * @param {object} event Event object
714
714
  * @param {any} event.state State object config
715
715
  */
716
- onBeforeStateApply? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
716
+ onBeforeStateApply? : ((event: { state: any }) => boolean|void)|string
717
717
  /**
718
718
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
719
719
  * @param {object} event Event object
720
720
  * @param {any} event.state State object config
721
721
  */
722
- onBeforeStateSave? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
722
+ onBeforeStateSave? : ((event: { state: any }) => boolean|void)|string
723
723
  /**
724
724
  * Fires when any other event is fired from the object.
725
725
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CheckboxGroup#event-catchAll)
@@ -553,7 +553,7 @@ export type BryntumChipViewProps = {
553
553
  * @param {object} event Event object
554
554
  * @param {Core.widget.Widget} event.source The widget being hidden.
555
555
  */
556
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
556
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
557
557
  /**
558
558
  * User going to activate an item in the list either by pointer or keyboard.
559
559
  * The active record, list item index, and the triggering event are passed.
@@ -565,7 +565,7 @@ export type BryntumChipViewProps = {
565
565
  * @param {number} event.index List item index
566
566
  * @param {Event} event.event Triggering event
567
567
  */
568
- onBeforeItem? : ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) => Promise<boolean>|boolean|void)|string
568
+ onBeforeItem? : ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) => boolean|void)|string
569
569
  /**
570
570
  * Triggered before a widget is shown. Return `false` to prevent the action.
571
571
  * @param {object} event Event object
@@ -663,7 +663,7 @@ export type BryntumCodeEditorProps = {
663
663
  * @param {object} event Event object
664
664
  * @param {Core.widget.Widget} event.source The widget being hidden.
665
665
  */
666
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
666
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
667
667
  /**
668
668
  * Fired before this container will load record values into its child fields. This is useful if you
669
669
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -683,13 +683,13 @@ export type BryntumCodeEditorProps = {
683
683
  * @param {object} event Event object
684
684
  * @param {any} event.state State object config
685
685
  */
686
- onBeforeStateApply? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
686
+ onBeforeStateApply? : ((event: { state: any }) => boolean|void)|string
687
687
  /**
688
688
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
689
689
  * @param {object} event Event object
690
690
  * @param {any} event.state State object config
691
691
  */
692
- onBeforeStateSave? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
692
+ onBeforeStateSave? : ((event: { state: any }) => boolean|void)|string
693
693
  /**
694
694
  * Fires when any other event is fired from the object.
695
695
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CodeEditor#event-catchAll)
@@ -91,6 +91,15 @@ export type BryntumColorFieldProps = {
91
91
  * Set to `true` to centre the Widget in browser viewport space.
92
92
  */
93
93
  centered? : boolean
94
+ /**
95
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
96
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
97
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
98
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ColorField#config-checkValidity)
99
+ * @param {Core.widget.Field} field The field being validated
100
+ * @returns {void}
101
+ */
102
+ checkValidity? : ((field: Field) => void)|string
94
103
  /**
95
104
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
96
105
  * in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
@@ -623,7 +632,7 @@ export type BryntumColorFieldProps = {
623
632
  * @param {object} event Event object
624
633
  * @param {Core.widget.Widget} event.source The widget being hidden.
625
634
  */
626
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
635
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
627
636
  /**
628
637
  * Triggered before a widget is shown. Return `false` to prevent the action.
629
638
  * @param {object} event Event object
@@ -772,6 +781,7 @@ export class BryntumColorField extends React.Component<BryntumColorFieldProps> {
772
781
  'autoSelect',
773
782
  'bubbleEvents',
774
783
  'centered',
784
+ 'checkValidity',
775
785
  'clearable',
776
786
  'config',
777
787
  'constrainTo',
@@ -96,6 +96,15 @@ export type BryntumComboProps = {
96
96
  * Set to `true` to centre the Widget in browser viewport space.
97
97
  */
98
98
  centered? : boolean
99
+ /**
100
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
101
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
102
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
103
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-checkValidity)
104
+ * @param {Core.widget.Field} field The field being validated
105
+ * @returns {void}
106
+ */
107
+ checkValidity? : ((field: Field) => void)|string
99
108
  /**
100
109
  * A config object to configure the [ChipView](https://bryntum.com/products/core/docs/api/Core/widget/ChipView) to display the
101
110
  * selected value set when [multiSelect](https://bryntum.com/products/core/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
@@ -799,7 +808,7 @@ export type BryntumComboProps = {
799
808
  * @param {object} event Event object
800
809
  * @param {Core.widget.Widget} event.source The widget being hidden.
801
810
  */
802
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
811
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
803
812
  /**
804
813
  * Triggered before a widget is shown. Return `false` to prevent the action.
805
814
  * @param {object} event Event object
@@ -960,6 +969,7 @@ export class BryntumCombo extends React.Component<BryntumComboProps> {
960
969
  'cacheLastResult',
961
970
  'caseSensitive',
962
971
  'centered',
972
+ 'checkValidity',
963
973
  'chipView',
964
974
  'clearable',
965
975
  'clearTextOnPickerHide',
@@ -533,7 +533,7 @@ export type BryntumContainerProps = {
533
533
  * @param {object} event Event object
534
534
  * @param {Core.widget.Widget} event.source The widget being hidden.
535
535
  */
536
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
536
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
537
537
  /**
538
538
  * Fired before this container will load record values into its child fields. This is useful if you
539
539
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -87,6 +87,15 @@ export type BryntumDateFieldProps = {
87
87
  * Set to `true` to centre the Widget in browser viewport space.
88
88
  */
89
89
  centered? : boolean
90
+ /**
91
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
92
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
93
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
94
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-checkValidity)
95
+ * @param {Core.widget.Field} field The field being validated
96
+ * @returns {void}
97
+ */
98
+ checkValidity? : ((field: Field) => void)|string
90
99
  /**
91
100
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
92
101
  * in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
@@ -684,7 +693,7 @@ export type BryntumDateFieldProps = {
684
693
  * @param {object} event Event object
685
694
  * @param {Core.widget.Widget} event.source The widget being hidden.
686
695
  */
687
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
696
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
688
697
  /**
689
698
  * Triggered before a widget is shown. Return `false` to prevent the action.
690
699
  * @param {object} event Event object
@@ -833,6 +842,7 @@ export class BryntumDateField extends React.Component<BryntumDateFieldProps> {
833
842
  'autoSelect',
834
843
  'bubbleEvents',
835
844
  'centered',
845
+ 'checkValidity',
836
846
  'clearable',
837
847
  'color',
838
848
  'config',
@@ -840,7 +840,7 @@ export type BryntumDatePickerProps = {
840
840
  * @param {object} event Event object
841
841
  * @param {Core.widget.Widget} event.source The widget being hidden.
842
842
  */
843
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
843
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
844
844
  /**
845
845
  * Fires before this CalendarPanel refreshes in response to changes in its month.
846
846
  * @param {object} event Event object
@@ -866,13 +866,13 @@ export type BryntumDatePickerProps = {
866
866
  * @param {object} event Event object
867
867
  * @param {any} event.state State object config
868
868
  */
869
- onBeforeStateApply? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
869
+ onBeforeStateApply? : ((event: { state: any }) => boolean|void)|string
870
870
  /**
871
871
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
872
872
  * @param {object} event Event object
873
873
  * @param {any} event.state State object config
874
874
  */
875
- onBeforeStateSave? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
875
+ onBeforeStateSave? : ((event: { state: any }) => boolean|void)|string
876
876
  /**
877
877
  * Fires when any other event is fired from the object.
878
878
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#event-catchAll)
@@ -87,6 +87,15 @@ export type BryntumDateRangeFieldProps = {
87
87
  * Set to `true` to centre the Widget in browser viewport space.
88
88
  */
89
89
  centered? : boolean
90
+ /**
91
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
92
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
93
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
94
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-checkValidity)
95
+ * @param {Core.widget.Field} field The field being validated
96
+ * @returns {void}
97
+ */
98
+ checkValidity? : ((field: Field) => void)|string
90
99
  /**
91
100
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
92
101
  * in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
@@ -672,7 +681,7 @@ export type BryntumDateRangeFieldProps = {
672
681
  * @param {object} event Event object
673
682
  * @param {Core.widget.Widget} event.source The widget being hidden.
674
683
  */
675
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
684
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
676
685
  /**
677
686
  * Triggered before a widget is shown. Return `false` to prevent the action.
678
687
  * @param {object} event Event object
@@ -821,6 +830,7 @@ export class BryntumDateRangeField extends React.Component<BryntumDateRangeField
821
830
  'autoSelect',
822
831
  'bubbleEvents',
823
832
  'centered',
833
+ 'checkValidity',
824
834
  'clearable',
825
835
  'color',
826
836
  'config',
@@ -78,6 +78,15 @@ export type BryntumDateTimeFieldProps = {
78
78
  * Set to `true` to centre the Widget in browser viewport space.
79
79
  */
80
80
  centered? : boolean
81
+ /**
82
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
83
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
84
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
85
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-checkValidity)
86
+ * @param {Core.widget.Field} field The field being validated
87
+ * @returns {void}
88
+ */
89
+ checkValidity? : ((field: Field) => void)|string
81
90
  /**
82
91
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
83
92
  * in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
@@ -581,7 +590,7 @@ export type BryntumDateTimeFieldProps = {
581
590
  * @param {object} event Event object
582
591
  * @param {Core.widget.Widget} event.source The widget being hidden.
583
592
  */
584
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
593
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
585
594
  /**
586
595
  * Triggered before a widget is shown. Return `false` to prevent the action.
587
596
  * @param {object} event Event object
@@ -728,6 +737,7 @@ export class BryntumDateTimeField extends React.Component<BryntumDateTimeFieldPr
728
737
  'autoSelect',
729
738
  'bubbleEvents',
730
739
  'centered',
740
+ 'checkValidity',
731
741
  'clearable',
732
742
  'color',
733
743
  'config',
@@ -676,7 +676,7 @@ export type BryntumDemoCodeEditorProps = {
676
676
  * @param {object} event Event object
677
677
  * @param {Core.widget.Widget} event.source The widget being hidden.
678
678
  */
679
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
679
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
680
680
  /**
681
681
  * Fired before this container will load record values into its child fields. This is useful if you
682
682
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -696,13 +696,13 @@ export type BryntumDemoCodeEditorProps = {
696
696
  * @param {object} event Event object
697
697
  * @param {any} event.state State object config
698
698
  */
699
- onBeforeStateApply? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
699
+ onBeforeStateApply? : ((event: { state: any }) => boolean|void)|string
700
700
  /**
701
701
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
702
702
  * @param {object} event Event object
703
703
  * @param {any} event.state State object config
704
704
  */
705
- onBeforeStateSave? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
705
+ onBeforeStateSave? : ((event: { state: any }) => boolean|void)|string
706
706
  /**
707
707
  * Fires when any other event is fired from the object.
708
708
  * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#event-catchAll)
@@ -83,6 +83,15 @@ export type BryntumDisplayFieldProps = {
83
83
  * Set to `true` to centre the Widget in browser viewport space.
84
84
  */
85
85
  centered? : boolean
86
+ /**
87
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
88
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
89
+ * evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
90
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-checkValidity)
91
+ * @param {Core.widget.Field} field The field being validated
92
+ * @returns {void}
93
+ */
94
+ checkValidity? : ((field: Field) => void)|string
86
95
  /**
87
96
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
88
97
  * in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
@@ -612,7 +621,7 @@ export type BryntumDisplayFieldProps = {
612
621
  * @param {object} event Event object
613
622
  * @param {Core.widget.Widget} event.source The widget being hidden.
614
623
  */
615
- onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
624
+ onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
616
625
  /**
617
626
  * Triggered before a widget is shown. Return `false` to prevent the action.
618
627
  * @param {object} event Event object
@@ -760,6 +769,7 @@ export class BryntumDisplayField extends React.Component<BryntumDisplayFieldProp
760
769
  'autoSelect',
761
770
  'bubbleEvents',
762
771
  'centered',
772
+ 'checkValidity',
763
773
  'clearable',
764
774
  'color',
765
775
  'config',