iglooform 2.4.15 → 2.4.19

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.
@@ -14,7 +14,7 @@
14
14
  "Click to sort descending": "點擊排序降序",
15
15
  "Close Result Panel": "關閉結果面板",
16
16
  "Continue": "繼續",
17
- "Credit card must be {typeNames} or {finalName}": "信用卡必須是{typenames}或{finalname}",
17
+ "Credit card must be {typeNames} or {finalName}": "信用卡必須是{typeNames}或{finalName}",
18
18
  "Custom": "習慣",
19
19
  "Customize Columns": "自定義列",
20
20
  "Data Importing Queue": "數據導入隊列",
@@ -27,7 +27,7 @@
27
27
  "Filter": "篩選",
28
28
  "I declare that the statements I have described above are true. I further declare that the loss occured was accidental, without planning or consensus with other parties.": "我聲明我上面描述的陳述是真的。我進一步宣布發生損失是偶然的,沒有規劃或與其他方的共識。",
29
29
  "Import": "導入",
30
- "It is recommended to select no more than {colMax} metrics to ensure the default visibility of each column input.": "建議選擇不超過{Colmax}指標以確保每個列輸入的默認可見性。",
30
+ "It is recommended to select no more than {colMax} metrics to ensure the default visibility of each column input.": "建議選擇不超過{colMax}指標以確保每個列輸入的默認可見性。",
31
31
  "Last 7 Days": "過去7天",
32
32
  "Last Day": "過去1天",
33
33
  "Last Month": "上個月",
@@ -46,7 +46,7 @@
46
46
  "Previous": "以前的",
47
47
  "Processing": "處理中",
48
48
  "Processing progress cannot be updated at the moment. Don’t worry! All your file data are still in progress.": "此刻無法更新處理進度。別擔心!您的所有文件數據仍在進行中。",
49
- "Quantity of files should be less than {limit}": "文件的數量應小於{限制}",
49
+ "Quantity of files should be less than {limit}": "文件的數量應小於{limit}",
50
50
  "Reject": "拒絕",
51
51
  "Remove": "消除",
52
52
  "Resend OTP": "重新發送OTP.",
@@ -66,11 +66,11 @@
66
66
  "Yes, Close": "是的,關閉",
67
67
  "browse": "瀏覽",
68
68
  "or": "或者",
69
- "{beginIndex}-{endIndex} of {total}": "{beginIndex} - {endindex} 從 {total}",
70
- "{canInputNum} characters left": "{caninputnum}剩餘字符",
71
- "{canInputNum} characters over": "{caninputnum}超出字符",
69
+ "{beginIndex}-{endIndex} of {total}": "{beginIndex} - {endIndex} 從 {total}",
70
+ "{canInputNum} characters left": "{canInputNum}剩餘字符",
71
+ "{canInputNum} characters over": "{canInputNum}超出字符",
72
72
  "{count} files attached.": "{count}附加文件。",
73
- "{currentStep} of {allSteps}": "{AllSteps}{CurrentStep}",
74
- "{doneNumber} files imported.": "{DoneNumber}導入的文件。",
75
- "{processingNumber} files in progress...": "{ProcessingNumber}正在進行的文件。。。"
73
+ "{currentStep} of {allSteps}": "{currentStep} / {allSteps}",
74
+ "{doneNumber} files imported.": "{doneNumber}導入的文件。",
75
+ "{processingNumber} files in progress...": "{processingNumber}正在進行的文件。。。"
76
76
  }
@@ -16,6 +16,7 @@ export interface Props extends IglooComponentProps {
16
16
  className?: any;
17
17
  id?: string;
18
18
  bizKey?: string;
19
+ capture?: boolean;
19
20
  }
20
21
  export declare type Sample = {
21
22
  src: string;
@@ -123,7 +123,9 @@ var UploadPhoto = function UploadPhoto(props) {
123
123
  setFieldError = props.setFieldError,
124
124
  className = props.className,
125
125
  id = props.id,
126
- validateField = props.validateField;
126
+ validateField = props.validateField,
127
+ _props$capture = props.capture,
128
+ capture = _props$capture === void 0 ? true : _props$capture;
127
129
 
128
130
  var _useContext2 = useContext(LocaleContext),
129
131
  formatMessage = _useContext2.formatMessage;
@@ -708,7 +710,7 @@ var UploadPhoto = function UploadPhoto(props) {
708
710
  accept: "image/*,video/*,application/pdf",
709
711
  value: [],
710
712
  multiple: true,
711
- capture: true
713
+ capture: capture
712
714
  }, void 0), _jsxs(_Space, {
713
715
  className: "".concat(prefix, "-content"),
714
716
  size: [16, 16],
@@ -14,7 +14,7 @@
14
14
  "Click to sort descending": "點擊排序降序",
15
15
  "Close Result Panel": "關閉結果面板",
16
16
  "Continue": "繼續",
17
- "Credit card must be {typeNames} or {finalName}": "信用卡必須是{typenames}或{finalname}",
17
+ "Credit card must be {typeNames} or {finalName}": "信用卡必須是{typeNames}或{finalName}",
18
18
  "Custom": "習慣",
19
19
  "Customize Columns": "自定義列",
20
20
  "Data Importing Queue": "數據導入隊列",
@@ -27,7 +27,7 @@
27
27
  "Filter": "篩選",
28
28
  "I declare that the statements I have described above are true. I further declare that the loss occured was accidental, without planning or consensus with other parties.": "我聲明我上面描述的陳述是真的。我進一步宣布發生損失是偶然的,沒有規劃或與其他方的共識。",
29
29
  "Import": "導入",
30
- "It is recommended to select no more than {colMax} metrics to ensure the default visibility of each column input.": "建議選擇不超過{Colmax}指標以確保每個列輸入的默認可見性。",
30
+ "It is recommended to select no more than {colMax} metrics to ensure the default visibility of each column input.": "建議選擇不超過{colMax}指標以確保每個列輸入的默認可見性。",
31
31
  "Last 7 Days": "過去7天",
32
32
  "Last Day": "過去1天",
33
33
  "Last Month": "上個月",
@@ -46,7 +46,7 @@
46
46
  "Previous": "以前的",
47
47
  "Processing": "處理中",
48
48
  "Processing progress cannot be updated at the moment. Don’t worry! All your file data are still in progress.": "此刻無法更新處理進度。別擔心!您的所有文件數據仍在進行中。",
49
- "Quantity of files should be less than {limit}": "文件的數量應小於{限制}",
49
+ "Quantity of files should be less than {limit}": "文件的數量應小於{limit}",
50
50
  "Reject": "拒絕",
51
51
  "Remove": "消除",
52
52
  "Resend OTP": "重新發送OTP.",
@@ -66,11 +66,11 @@
66
66
  "Yes, Close": "是的,關閉",
67
67
  "browse": "瀏覽",
68
68
  "or": "或者",
69
- "{beginIndex}-{endIndex} of {total}": "{beginIndex} - {endindex} 從 {total}",
70
- "{canInputNum} characters left": "{caninputnum}剩餘字符",
71
- "{canInputNum} characters over": "{caninputnum}超出字符",
69
+ "{beginIndex}-{endIndex} of {total}": "{beginIndex} - {endIndex} 從 {total}",
70
+ "{canInputNum} characters left": "{canInputNum}剩餘字符",
71
+ "{canInputNum} characters over": "{canInputNum}超出字符",
72
72
  "{count} files attached.": "{count}附加文件。",
73
- "{currentStep} of {allSteps}": "{AllSteps}{CurrentStep}",
74
- "{doneNumber} files imported.": "{DoneNumber}導入的文件。",
75
- "{processingNumber} files in progress...": "{ProcessingNumber}正在進行的文件。。。"
73
+ "{currentStep} of {allSteps}": "{currentStep} / {allSteps}",
74
+ "{doneNumber} files imported.": "{doneNumber}導入的文件。",
75
+ "{processingNumber} files in progress...": "{processingNumber}正在進行的文件。。。"
76
76
  }
@@ -16,6 +16,7 @@ export interface Props extends IglooComponentProps {
16
16
  className?: any;
17
17
  id?: string;
18
18
  bizKey?: string;
19
+ capture?: boolean;
19
20
  }
20
21
  export declare type Sample = {
21
22
  src: string;
@@ -156,7 +156,9 @@ var UploadPhoto = function UploadPhoto(props) {
156
156
  setFieldError = props.setFieldError,
157
157
  className = props.className,
158
158
  id = props.id,
159
- validateField = props.validateField;
159
+ validateField = props.validateField,
160
+ _props$capture = props.capture,
161
+ capture = _props$capture === void 0 ? true : _props$capture;
160
162
 
161
163
  var _useContext2 = (0, _react.useContext)(_locale.LocaleContext),
162
164
  formatMessage = _useContext2.formatMessage;
@@ -742,7 +744,7 @@ var UploadPhoto = function UploadPhoto(props) {
742
744
  accept: "image/*,video/*,application/pdf",
743
745
  value: [],
744
746
  multiple: true,
745
- capture: true
747
+ capture: capture
746
748
  }, void 0), (0, _jsxRuntime.jsxs)(_space.default, {
747
749
  className: "".concat(prefix, "-content"),
748
750
  size: [16, 16],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iglooform",
3
- "version": "2.4.15",
3
+ "version": "2.4.19",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "build-dev": "dumi build",