enwawa-ui 3.3.2 → 3.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -2939,13 +2939,14 @@ const $3ed5a0a3731ecea5$export$cb882d0b442e51f4 = ({ title: title, bordered: bor
2939
2939
  /*#__PURE__*/ (0, $7UkB3$reactjsxruntime.jsx)((0, $2b29bb51cd53cc85$export$1fddf901dbdcd91a), {
2940
2940
  inputs: formStep.inputs
2941
2941
  }),
2942
- customButtons.length === 0 && /*#__PURE__*/ (0, $7UkB3$reactjsxruntime.jsxs)((0, $7UkB3$reactjsxruntime.Fragment), {
2942
+ customButtons.length === 0 && open && /*#__PURE__*/ (0, $7UkB3$reactjsxruntime.jsxs)((0, $7UkB3$reactjsxruntime.Fragment), {
2943
2943
  children: [
2944
2944
  /*#__PURE__*/ (0, $7UkB3$reactjsxruntime.jsx)((0, $ef3dc4e7877764bb$export$1d94b2e4607bd71d), {
2945
2945
  children: !formStep.hiddeSubmitButton && /*#__PURE__*/ (0, $7UkB3$reactjsxruntime.jsx)((0, $7664f9642917f3fc$export$477fa7efabf289d5), {
2946
2946
  $fullWidth: true,
2947
2947
  value: formStep.submitButtonText,
2948
2948
  danger: formStep.isSubmitButtonDanger,
2949
+ id: index + "-form-button-submit",
2949
2950
  htmlType: "submit",
2950
2951
  type: "primary",
2951
2952
  disabled: disabledButtons
@@ -2956,6 +2957,7 @@ const $3ed5a0a3731ecea5$export$cb882d0b442e51f4 = ({ title: title, bordered: bor
2956
2957
  $fullWidth: true,
2957
2958
  value: formStep.cancelButtonText,
2958
2959
  onClick: formStep.onCancelClick,
2960
+ id: index + "-form-button-cancel",
2959
2961
  type: "default",
2960
2962
  disabled: disabledButtons
2961
2963
  })
@@ -4175,6 +4177,7 @@ const $2b29bb51cd53cc85$export$1fddf901dbdcd91a = ({ inputs: inputs = [] })=>{
4175
4177
  });
4176
4178
  else if (input.component === "qr-code") return /*#__PURE__*/ (0, $7UkB3$reactjsxruntime.jsx)((0, $22e0e83f1bd4ceb8$export$b7f6e7479651ef3c), {
4177
4179
  size: input.size,
4180
+ id: input.qrCodeId,
4178
4181
  text: input.placeHolder ?? ""
4179
4182
  });
4180
4183
  else if (input.component === "select-table") return /*#__PURE__*/ (0, $7UkB3$reactjsxruntime.jsx)((0, $8b5be44b11d86ed9$export$ad81e4b7e9d87ea6), {
@@ -6497,8 +6500,9 @@ $parcel$export($22e0e83f1bd4ceb8$exports, "AtQrCode", () => $22e0e83f1bd4ceb8$ex
6497
6500
 
6498
6501
 
6499
6502
 
6500
- const $22e0e83f1bd4ceb8$export$b7f6e7479651ef3c = ({ text: text, size: size })=>/*#__PURE__*/ (0, $7UkB3$reactjsxruntime.jsx)((0, $7UkB3$antd.QRCode), {
6503
+ const $22e0e83f1bd4ceb8$export$b7f6e7479651ef3c = ({ text: text, id: id, size: size })=>/*#__PURE__*/ (0, $7UkB3$reactjsxruntime.jsx)((0, $7UkB3$antd.QRCode), {
6501
6504
  value: text,
6505
+ id: id ?? "qr-code",
6502
6506
  size: size
6503
6507
  });
6504
6508