sapo-components-ui-rn 1.0.74 → 1.0.75

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/dist/index.esm.js CHANGED
@@ -5252,7 +5252,13 @@ var TextInputFlat = function (_a) {
5252
5252
  var _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.editable, editable = _c === void 0 ? true : _c, label = _a.label, _d = _a.error, error = _d === void 0 ? false : _d, customSelectionColor = _a.selectionColor, cursorColor = _a.cursorColor, underlineColor = _a.underlineColor; _a.underlineStyle; var activeUnderlineColor = _a.activeUnderlineColor, textColor = _a.textColor, dense = _a.dense, style = _a.style, theme = _a.theme, _e = _a.render, render = _e === void 0 ? function (props) { return React$3.createElement(TextInput$1, __assign({}, props)); } : _e, _f = _a.multiline, multiline = _f === void 0 ? false : _f, parentState = _a.parentState, innerRef = _a.innerRef, onFocus = _a.onFocus; _a.forceFocus; var onBlur = _a.onBlur, onChangeText = _a.onChangeText, onLayoutAnimatedText = _a.onLayoutAnimatedText, onLabelTextLayout = _a.onLabelTextLayout; _a.onLeftAffixLayoutChange; _a.onRightAffixLayoutChange; var onInputLayout = _a.onInputLayout, left = _a.left, right = _a.right, prefix = _a.prefix, suffix = _a.suffix, placeholderTextColor = _a.placeholderTextColor, clearButton = _a.clearButton, contentStyle = _a.contentStyle, scaledLabel = _a.scaledLabel, outlineStyle = _a.outlineStyle, outlineColor = _a.outlineColor, value = _a.value, textError = _a.textError, required = _a.required, rest = __rest(_a, ["disabled", "editable", "label", "error", "selectionColor", "cursorColor", "underlineColor", "underlineStyle", "activeUnderlineColor", "textColor", "dense", "style", "theme", "render", "multiline", "parentState", "innerRef", "onFocus", "forceFocus", "onBlur", "onChangeText", "onLayoutAnimatedText", "onLabelTextLayout", "onLeftAffixLayoutChange", "onRightAffixLayoutChange", "onInputLayout", "left", "right", "prefix", "suffix", "placeholderTextColor", "clearButton", "contentStyle", "scaledLabel", "outlineStyle", "outlineColor", "value", "textError", "required"]);
5253
5253
  var _g = React$3.useState(value || ""), inputValue = _g[0], setInputValue = _g[1];
5254
5254
  React$3.useEffect(function () {
5255
- setInputValue(value || "");
5255
+ if (value === undefined) {
5256
+ setInputValue("");
5257
+ onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText("");
5258
+ }
5259
+ else {
5260
+ setInputValue(value || "");
5261
+ }
5256
5262
  }, [value]);
5257
5263
  var handleChangeText = function (text) {
5258
5264
  setInputValue(text);
@@ -5572,7 +5578,13 @@ var TextInputDefault = function (_a) {
5572
5578
  }), inputTextColor = _o.inputTextColor, activeColor = _o.activeColor, selectionColor = _o.selectionColor;
5573
5579
  var _p = React$3.useState(value || ""), inputValue = _p[0], setInputValue = _p[1];
5574
5580
  React$3.useEffect(function () {
5575
- setInputValue(value || "");
5581
+ if (value === undefined) {
5582
+ setInputValue("");
5583
+ onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText("");
5584
+ }
5585
+ else {
5586
+ setInputValue(value || "");
5587
+ }
5576
5588
  }, [value]);
5577
5589
  var handleChangeText = function (text) {
5578
5590
  setInputValue(text);
@@ -5840,52 +5852,52 @@ var containerStyles = StyleSheet.create({
5840
5852
  },
5841
5853
  //MARK: text size
5842
5854
  text10: {
5843
- fontSize: 10 + (Platform.OS === "android" ? 1 : 2),
5844
- lineHeight: 12 + (Platform.OS === "android" ? 2 : 4),
5855
+ fontSize: 10,
5856
+ lineHeight: 12,
5845
5857
  },
5846
5858
  text12: {
5847
- fontSize: 12 + (Platform.OS === "android" ? 1 : 2),
5848
- lineHeight: 16 + (Platform.OS === "android" ? 2 : 4),
5859
+ fontSize: 12,
5860
+ lineHeight: 16,
5849
5861
  },
5850
5862
  text14: {
5851
- fontSize: 14 + (Platform.OS === "android" ? 1 : 2),
5852
- lineHeight: 20 + (Platform.OS === "android" ? 2 : 4),
5863
+ fontSize: 14,
5864
+ lineHeight: 20,
5853
5865
  },
5854
5866
  text16: {
5855
- fontSize: 16 + (Platform.OS === "android" ? 1 : 2),
5856
- lineHeight: 24 + (Platform.OS === "android" ? 2 : 4),
5867
+ fontSize: 16,
5868
+ lineHeight: 24,
5857
5869
  },
5858
5870
  text18: {
5859
- fontSize: 18 + (Platform.OS === "android" ? 1 : 2),
5860
- lineHeight: 28 + (Platform.OS === "android" ? 1 : 2),
5871
+ fontSize: 18,
5872
+ lineHeight: 28,
5861
5873
  },
5862
5874
  text20: {
5863
- fontSize: 20 + (Platform.OS === "android" ? 1 : 2),
5864
- lineHeight: 28 + (Platform.OS === "android" ? 1 : 2),
5875
+ fontSize: 20,
5876
+ lineHeight: 28,
5865
5877
  },
5866
5878
  text22: {
5867
- fontSize: 22 + (Platform.OS === "android" ? 1 : 2),
5868
- lineHeight: 30 + (Platform.OS === "android" ? 1 : 2),
5879
+ fontSize: 22,
5880
+ lineHeight: 30,
5869
5881
  },
5870
5882
  text24: {
5871
- fontSize: 24 + (Platform.OS === "android" ? 1 : 2),
5872
- lineHeight: 32 + (Platform.OS === "android" ? 1 : 2),
5883
+ fontSize: 24,
5884
+ lineHeight: 32,
5873
5885
  },
5874
5886
  text26: {
5875
- fontSize: 26 + (Platform.OS === "android" ? 1 : 2),
5876
- lineHeight: 34 + (Platform.OS === "android" ? 1 : 2),
5887
+ fontSize: 26,
5888
+ lineHeight: 34,
5877
5889
  },
5878
5890
  text28: {
5879
- fontSize: 28 + (Platform.OS === "android" ? 1 : 2),
5880
- lineHeight: 36 + (Platform.OS === "android" ? 1 : 2),
5891
+ fontSize: 28,
5892
+ lineHeight: 36,
5881
5893
  },
5882
5894
  text30: {
5883
- fontSize: 30 + (Platform.OS === "android" ? 1 : 2),
5884
- lineHeight: 38 + (Platform.OS === "android" ? 1 : 2),
5895
+ fontSize: 30,
5896
+ lineHeight: 38,
5885
5897
  },
5886
5898
  text32: {
5887
- fontSize: 32 + (Platform.OS === "android" ? 1 : 2),
5888
- lineHeight: 40 + (Platform.OS === "android" ? 1 : 2),
5899
+ fontSize: 32,
5900
+ lineHeight: 40,
5889
5901
  },
5890
5902
  //MARK:fonts
5891
5903
  textRegular: {
@@ -5908,12 +5920,13 @@ var containerStyles = StyleSheet.create({
5908
5920
 
5909
5921
  function formatNumberInput$1(value, formatDecimal) {
5910
5922
  if (!value)
5911
- return "0";
5923
+ return "";
5924
+ if (value === "")
5925
+ return "";
5912
5926
  // Xử lý số âm
5913
5927
  var isNegative = value.startsWith("-");
5914
5928
  var _a = value.replace(/[^0-9.]/g, "").split("."), intPart = _a[0], decimalPart = _a[1];
5915
5929
  // Format phần nguyên
5916
- intPart = intPart.replace(/^0+(?=\d)/, ""); // Loại bỏ số 0 đầu nếu có
5917
5930
  intPart = intPart.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
5918
5931
  // Giới hạn phần thập phân 3 số
5919
5932
  if (decimalPart)
@@ -5926,7 +5939,7 @@ function formatNumberInput$1(value, formatDecimal) {
5926
5939
  return result;
5927
5940
  }
5928
5941
  var TextInputNumber = function (_a) {
5929
- var style = _a.style, _b = _a.value, value = _b === void 0 ? "" : _b, _c = _a.label, label = _c === void 0 ? "" : _c, _d = _a.textError, textError = _d === void 0 ? "" : _d, left = _a.left, right = _a.right, onChangeText = _a.onChangeText, _e = _a.disabled, disabled = _e === void 0 ? false : _e; _a.theme; var _f = _a.prefix, prefix = _f === void 0 ? "" : _f, _g = _a.suffix, suffix = _g === void 0 ? "" : _g, _h = _a.clearButton, clearButton = _h === void 0 ? false : _h, _j = _a.maxValue, maxValue = _j === void 0 ? 999999999 : _j, _k = _a.minValue, minValue = _k === void 0 ? 0 : _k, _l = _a.type, type = _l === void 0 ? "integer" : _l, _m = _a.formatDecimal, formatDecimal = _m === void 0 ? 3 : _m, _o = _a.required, required = _o === void 0 ? false : _o, props = __rest(_a, ["style", "value", "label", "textError", "left", "right", "onChangeText", "disabled", "theme", "prefix", "suffix", "clearButton", "maxValue", "minValue", "type", "formatDecimal", "required"]);
5942
+ var style = _a.style, _b = _a.value, value = _b === void 0 ? "" : _b, _c = _a.label, label = _c === void 0 ? "" : _c, _d = _a.textError, textError = _d === void 0 ? "" : _d, left = _a.left, right = _a.right, onChangeText = _a.onChangeText, _e = _a.disabled, disabled = _e === void 0 ? false : _e; _a.theme; var _f = _a.prefix, prefix = _f === void 0 ? "" : _f, _g = _a.suffix, suffix = _g === void 0 ? "" : _g, _h = _a.clearButton, clearButton = _h === void 0 ? false : _h, _j = _a.maxValue, maxValue = _j === void 0 ? 999999999999 : _j, _k = _a.minValue, minValue = _k === void 0 ? 0 : _k, _l = _a.type, type = _l === void 0 ? "integer" : _l, _m = _a.formatDecimal, formatDecimal = _m === void 0 ? 3 : _m, _o = _a.required, required = _o === void 0 ? false : _o, props = __rest(_a, ["style", "value", "label", "textError", "left", "right", "onChangeText", "disabled", "theme", "prefix", "suffix", "clearButton", "maxValue", "minValue", "type", "formatDecimal", "required"]);
5930
5943
  var theme = useInternalTheme();
5931
5944
  var colors = theme.colors;
5932
5945
  var _p = useState(false), isShowModalKeyboard = _p[0], setIsShowModalKeyboard = _p[1];
@@ -5964,11 +5977,21 @@ var TextInputNumber = function (_a) {
5964
5977
  if (key === "del") {
5965
5978
  setInputValue(function (prev) { return prev.slice(0, -1); });
5966
5979
  }
5980
+ else if (key === "000") {
5981
+ if (type === "integer" && inputValue.length > 0) {
5982
+ setInputValue(function (prev) { return prev + "000"; });
5983
+ setIsFirstInput(false);
5984
+ }
5985
+ }
5967
5986
  else if (key === ".") {
5968
- if (type === "float" &&
5969
- !inputValue.includes(".") &&
5970
- inputValue.length > 0) {
5971
- setInputValue(function (prev) { return prev + key; });
5987
+ if (!inputValue.includes(".")) {
5988
+ // Nếu inputValue"0" hoặc rỗng, giữ lại số 0 và thêm dấu "."
5989
+ if (inputValue === "0" || inputValue === "") {
5990
+ setInputValue("0.");
5991
+ }
5992
+ else {
5993
+ setInputValue(function (prev) { return prev + key; });
5994
+ }
5972
5995
  setIsFirstInput(false);
5973
5996
  }
5974
5997
  }
@@ -5978,7 +6001,7 @@ var TextInputNumber = function (_a) {
5978
6001
  setIsFirstInput(false);
5979
6002
  }
5980
6003
  else {
5981
- var newInputValue = inputValue === "0" ? key : inputValue + key;
6004
+ var newInputValue = inputValue + key;
5982
6005
  var newValue = Number(newInputValue);
5983
6006
  var maxValueNumber = Number(maxValue);
5984
6007
  if (!isNaN(newValue) &&
@@ -5986,7 +6009,7 @@ var TextInputNumber = function (_a) {
5986
6009
  newValue <= maxValueNumber) {
5987
6010
  if (inputValue.includes(".")) {
5988
6011
  var _a = inputValue.split("."), intPart = _a[0], _b = _a[1], decimalPart = _b === void 0 ? "" : _b;
5989
- if (intPart.length < 10 && decimalPart.length === 0) {
6012
+ if (intPart.length < 12 && decimalPart.length === 0) {
5990
6013
  setInputValue(function (prev) { return prev + key; });
5991
6014
  }
5992
6015
  else if (decimalPart.length < 3) {
@@ -5994,8 +6017,8 @@ var TextInputNumber = function (_a) {
5994
6017
  }
5995
6018
  }
5996
6019
  else {
5997
- if (inputValue.length < 10) {
5998
- setInputValue(function (prev) { return (prev === "0" ? key : prev + key); });
6020
+ if (inputValue.length < 12) {
6021
+ setInputValue(function (prev) { return prev + key; });
5999
6022
  }
6000
6023
  }
6001
6024
  }
@@ -6003,7 +6026,7 @@ var TextInputNumber = function (_a) {
6003
6026
  }
6004
6027
  };
6005
6028
  var handleClear = function () {
6006
- setInputValue("0");
6029
+ setInputValue("");
6007
6030
  };
6008
6031
  var handleClearInput = function () {
6009
6032
  setInputValue("");
@@ -6020,13 +6043,14 @@ var TextInputNumber = function (_a) {
6020
6043
  setIsShowModalKeyboard(false);
6021
6044
  };
6022
6045
  var checkValueEmpty = function () {
6023
- if (value.toString() === "") {
6046
+ if (value === undefined || value === null || value.toString() === "") {
6024
6047
  return true;
6025
6048
  }
6026
6049
  return false;
6027
6050
  };
6051
+ console.log(value, "value");
6028
6052
  var checkLabelEmpty = function () {
6029
- if (label.toString() === "") {
6053
+ if (label === undefined || label === null || label.toString() === "") {
6030
6054
  return true;
6031
6055
  }
6032
6056
  return false;
@@ -6110,14 +6134,21 @@ var TextInputNumber = function (_a) {
6110
6134
  ["1", "2", "3"],
6111
6135
  ["4", "5", "6"],
6112
6136
  ["7", "8", "9"],
6113
- [".", "0", "del"],
6137
+ [type === "integer" ? "000" : ".", "0", "del"],
6114
6138
  ].map(function (row, rowIndex) { return (React__default.createElement(View, { key: rowIndex, style: styles$b.keyboardRow }, row.map(function (key) { return (React__default.createElement(TouchableOpacity, { activeOpacity: 0.8, key: key, style: [
6115
6139
  styles$b.keyButton,
6116
- key === "." && type === "integer" && styles$b.disabledKey,
6117
- ], onPress: function () { return handleKeyPress(key); }, disabled: key === "." && type === "integer" }, key === "del" ? (React__default.createElement(Icon$1, { name: "IconDelNumber", type: "Svg", size: 24 })) : (React__default.createElement(Text$1, { style: [
6140
+ key === "000" && type === "float" && styles$b.disabledKey,
6141
+ key === "." &&
6142
+ inputValue.includes(".") &&
6143
+ styles$b.disabledKey,
6144
+ ], onPress: function () { return handleKeyPress(key); }, disabled: (key === "000" && type === "float") ||
6145
+ (key === "." && inputValue.includes(".")) }, key === "del" ? (React__default.createElement(Icon$1, { name: "IconDelNumber", type: "Svg", size: 24 })) : (React__default.createElement(Text$1, { style: [
6118
6146
  styles$b.keyText,
6147
+ key === "000" &&
6148
+ type === "float" &&
6149
+ styles$b.disabledKeyText,
6119
6150
  key === "." &&
6120
- type === "integer" &&
6151
+ inputValue.includes(".") &&
6121
6152
  styles$b.disabledKeyText,
6122
6153
  ] }, key)))); }))); })),
6123
6154
  React__default.createElement(View, { style: styles$b.actionRow },
@@ -6507,7 +6538,7 @@ var Button = function (_a) {
6507
6538
  }
6508
6539
  };
6509
6540
  return (React__default.createElement(View, { row: !full },
6510
- React__default.createElement(ScaleButton$1, __assign({ activeOpacity: 0.8, onPress: onPress }, props, { disabled: disabled || false }),
6541
+ React__default.createElement(ScaleButton$1, __assign({ activeOpacity: 0.8, onPress: onPress }, props, { disabled: disabled || isLoading }),
6511
6542
  React__default.createElement(View, { style: [
6512
6543
  styles$a.button,
6513
6544
  {
@@ -6520,7 +6551,8 @@ var Button = function (_a) {
6520
6551
  backgroundColor && { backgroundColor: backgroundColor },
6521
6552
  renderButtonStyle(),
6522
6553
  buttonSize === "small" && styles$a.small,
6523
- disabled && [
6554
+ disabled &&
6555
+ !isLoading && [
6524
6556
  styles$a.disabled,
6525
6557
  {
6526
6558
  borderColor: colors.borderPrimaryDisabled,
@@ -7298,7 +7330,7 @@ var formatNumberInput = function (value, formatDecimal) {
7298
7330
  return result;
7299
7331
  };
7300
7332
  var NumberKeyboard = function (_a) {
7301
- var _b = _a.value, value = _b === void 0 ? "" : _b, _c = _a.label, label = _c === void 0 ? "" : _c, onChangeText = _a.onChangeText, _d = _a.maxValue, maxValue = _d === void 0 ? 999999999 : _d, _e = _a.type, type = _e === void 0 ? "integer" : _e, _f = _a.formatDecimal, formatDecimal = _f === void 0 ? 3 : _f, visible = _a.visible, onClose = _a.onClose;
7333
+ var _b = _a.value, value = _b === void 0 ? "" : _b, _c = _a.label, label = _c === void 0 ? "" : _c, onChangeText = _a.onChangeText, _d = _a.maxValue, maxValue = _d === void 0 ? 999999999999 : _d, _e = _a.type, type = _e === void 0 ? "integer" : _e, _f = _a.formatDecimal, formatDecimal = _f === void 0 ? 3 : _f, visible = _a.visible, onClose = _a.onClose;
7302
7334
  var theme = useInternalTheme();
7303
7335
  var colors = theme.colors;
7304
7336
  var _g = useState((value === null || value === void 0 ? void 0 : value.toString()) || ""), inputValue = _g[0], setInputValue = _g[1];
@@ -7315,11 +7347,22 @@ var NumberKeyboard = function (_a) {
7315
7347
  setIsFirstInput(false);
7316
7348
  return;
7317
7349
  }
7350
+ if (key === "000") {
7351
+ if (type === "integer" && inputValue.length > 0) {
7352
+ setInputValue(function (prev) { return prev + "000"; });
7353
+ setIsFirstInput(false);
7354
+ }
7355
+ return;
7356
+ }
7318
7357
  if (key === ".") {
7319
- if (type === "float" &&
7320
- !inputValue.includes(".") &&
7321
- inputValue.length > 0) {
7322
- setInputValue(function (prev) { return prev + key; });
7358
+ if (type === "float" && !inputValue.includes(".")) {
7359
+ // Nếu inputValue"0" hoặc rỗng, giữ lại số 0 và thêm dấu "."
7360
+ if (inputValue === "0" || inputValue === "") {
7361
+ setInputValue("0.");
7362
+ }
7363
+ else {
7364
+ setInputValue(function (prev) { return prev + key; });
7365
+ }
7323
7366
  setIsFirstInput(false);
7324
7367
  }
7325
7368
  return;
@@ -7329,7 +7372,7 @@ var NumberKeyboard = function (_a) {
7329
7372
  setIsFirstInput(false);
7330
7373
  return;
7331
7374
  }
7332
- var newInputValue = inputValue === "0" ? key : inputValue + key;
7375
+ var newInputValue = inputValue + key;
7333
7376
  var newValue = Number(newInputValue);
7334
7377
  var maxValueNumber = Number(maxValue);
7335
7378
  if (!isNaN(newValue) &&
@@ -7337,7 +7380,7 @@ var NumberKeyboard = function (_a) {
7337
7380
  newValue <= maxValueNumber) {
7338
7381
  if (inputValue.includes(".")) {
7339
7382
  var _a = inputValue.split("."), intPart = _a[0], _b = _a[1], decimalPart = _b === void 0 ? "" : _b;
7340
- if (intPart.length < 10 && decimalPart.length === 0) {
7383
+ if (intPart.length < 12 && decimalPart.length === 0) {
7341
7384
  setInputValue(function (prev) { return prev + key; });
7342
7385
  }
7343
7386
  else if (decimalPart.length < formatDecimal) {
@@ -7345,8 +7388,8 @@ var NumberKeyboard = function (_a) {
7345
7388
  }
7346
7389
  }
7347
7390
  else {
7348
- if (inputValue.length < 10) {
7349
- setInputValue(function (prev) { return (prev === "0" ? key : prev + key); });
7391
+ if (inputValue.length < 12) {
7392
+ setInputValue(function (prev) { return prev + key; });
7350
7393
  }
7351
7394
  }
7352
7395
  }
@@ -7367,13 +7410,6 @@ var NumberKeyboard = function (_a) {
7367
7410
  onClose();
7368
7411
  setIsFirstInput(true);
7369
7412
  }, [onClose]);
7370
- var renderKeyboardRow = useCallback(function (row) { return (React__default.createElement(View, { key: row.join(""), style: styles.keyboardRow }, row.map(function (key) { return (React__default.createElement(TouchableOpacity, { activeOpacity: 0.8, key: key, style: [
7371
- styles.keyButton,
7372
- key === "." && type === "integer" && styles.disabledKey,
7373
- ], onPress: function () { return handleKeyPress(key); }, disabled: key === "." && type === "integer" }, key === "del" ? (React__default.createElement(Icon$1, { name: "IconDelNumber", type: "Svg", size: 24 })) : (React__default.createElement(Text$1, { style: [
7374
- styles.keyText,
7375
- key === "." && type === "integer" && styles.disabledKeyText,
7376
- ] }, key)))); }))); }, [handleKeyPress, type]);
7377
7413
  return (React__default.createElement(Modal, { visible: visible, transparent: true, animationType: "fade", onRequestClose: handleClose },
7378
7414
  React__default.createElement(TouchableOpacity, { style: styles.modalOverlay, activeOpacity: 1, onPress: handleClose },
7379
7415
  React__default.createElement(View, { onPress: function () { }, activeOpacity: 1, backgroundColor: colors.surfacePrimaryDefault, style: styles.modalContent },
@@ -7387,8 +7423,23 @@ var NumberKeyboard = function (_a) {
7387
7423
  ["1", "2", "3"],
7388
7424
  ["4", "5", "6"],
7389
7425
  ["7", "8", "9"],
7390
- [".", "0", "del"],
7391
- ].map(renderKeyboardRow)),
7426
+ [type === "integer" ? "000" : ".", "0", "del"],
7427
+ ].map(function (row, rowIndex) { return (React__default.createElement(View, { key: rowIndex, style: styles.keyboardRow }, row.map(function (key) { return (React__default.createElement(TouchableOpacity, { activeOpacity: 0.8, key: key, style: [
7428
+ styles.keyButton,
7429
+ key === "000" && type === "float" && styles.disabledKey,
7430
+ key === "." &&
7431
+ inputValue.includes(".") &&
7432
+ styles.disabledKey,
7433
+ ], onPress: function () { return handleKeyPress(key); }, disabled: (key === "000" && type === "float") ||
7434
+ (key === "." && inputValue.includes(".")) }, key === "del" ? (React__default.createElement(Icon$1, { name: "IconDelNumber", type: "Svg", size: 24 })) : (React__default.createElement(Text$1, { style: [
7435
+ styles.keyText,
7436
+ key === "000" &&
7437
+ type === "float" &&
7438
+ styles.disabledKeyText,
7439
+ key === "." &&
7440
+ inputValue.includes(".") &&
7441
+ styles.disabledKeyText,
7442
+ ] }, key)))); }))); })),
7392
7443
  React__default.createElement(View, { style: styles.actionRow },
7393
7444
  React__default.createElement(TouchableOpacity, { activeOpacity: 0.8, style: styles.actionButton, onPress: handleClose },
7394
7445
  React__default.createElement(Text$1, { style: styles.actionText }, "\u0110\u00F3ng")),