@transferwise/components 46.5.0 → 46.6.0
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/build/i18n/th.json +3 -3
- package/build/index.esm.js +67 -123
- package/build/index.esm.js.map +1 -1
- package/build/index.js +68 -124
- package/build/index.js.map +1 -1
- package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts +1 -1
- package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +1 -1
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +2 -2
- package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +1 -1
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts +5 -1
- package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +1 -1
- package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts +1 -1
- package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +1 -1
- package/build/types/index.d.ts +2 -0
- package/build/types/index.d.ts.map +1 -1
- package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts +7 -11
- package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +1 -1
- package/build/types/inputWithDisplayFormat/index.d.ts +2 -1
- package/build/types/inputWithDisplayFormat/index.d.ts.map +1 -1
- package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts +7 -11
- package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +1 -1
- package/build/types/textareaWithDisplayFormat/index.d.ts +2 -1
- package/build/types/textareaWithDisplayFormat/index.d.ts.map +1 -1
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts +55 -83
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -1
- package/build/types/withDisplayFormat/index.d.ts +2 -1
- package/build/types/withDisplayFormat/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/common/textFormat/formatWithPattern/{formatWithPattern.js → formatWithPattern.ts} +8 -4
- package/src/common/textFormat/getCursorPositionAfterKeystroke/{getCursorPositionAfterKeystroke.js → getCursorPositionAfterKeystroke.ts} +8 -8
- package/src/common/textFormat/getSymbolsInPatternWithPosition/{getSymbolsInPatternWithPosition.js → getSymbolsInPatternWithPosition.ts} +7 -2
- package/src/common/textFormat/unformatWithPattern/{unformatWithPattern.js → unformatWithPattern.ts} +3 -2
- package/src/i18n/th.json +3 -3
- package/src/index.ts +2 -0
- package/src/inputWithDisplayFormat/InputWithDisplayFormat.tsx +10 -0
- package/src/inputWithDisplayFormat/index.ts +2 -0
- package/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.spec.js +3 -1
- package/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.story.tsx +32 -0
- package/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.tsx +13 -0
- package/src/textareaWithDisplayFormat/index.ts +2 -0
- package/src/withDisplayFormat/WithDisplayFormat.spec.js +1 -1
- package/src/withDisplayFormat/{WithDisplayFormat.js → WithDisplayFormat.tsx} +127 -107
- package/src/withDisplayFormat/index.ts +2 -0
- package/src/inputWithDisplayFormat/InputWithDisplayFormat.js +0 -14
- package/src/inputWithDisplayFormat/index.js +0 -1
- package/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.js +0 -14
- package/src/textareaWithDisplayFormat/index.js +0 -1
- package/src/withDisplayFormat/index.js +0 -1
package/build/i18n/th.json
CHANGED
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
"neptune.DateInput.year.label": "ปี",
|
|
10
10
|
"neptune.DateInput.year.placeholder": "YYYY",
|
|
11
11
|
"neptune.DateLookup.day": "วัน",
|
|
12
|
-
"neptune.DateLookup.goTo20YearView": "
|
|
12
|
+
"neptune.DateLookup.goTo20YearView": "ไปที่มุมมอง 20 ปี",
|
|
13
13
|
"neptune.DateLookup.month": "เดือน",
|
|
14
14
|
"neptune.DateLookup.next": "ถัดไป",
|
|
15
15
|
"neptune.DateLookup.previous": "ก่อนหน้า",
|
|
16
16
|
"neptune.DateLookup.selected": "เลือกแล้ว",
|
|
17
17
|
"neptune.DateLookup.twentyYears": "20 ปี",
|
|
18
18
|
"neptune.DateLookup.year": "ปี",
|
|
19
|
-
"neptune.FlowNavigation.back": "
|
|
19
|
+
"neptune.FlowNavigation.back": "กลับไปที่ขั้นก่อนหน้า",
|
|
20
20
|
"neptune.Info.ariaLabel": "ข้อมูลเพิ่มเติม",
|
|
21
|
-
"neptune.Link.opensInNewTab": "(
|
|
21
|
+
"neptune.Link.opensInNewTab": "(เปิดในแท็บใหม่)",
|
|
22
22
|
"neptune.MoneyInput.Select.placeholder": "เลือกตัวเลือก...",
|
|
23
23
|
"neptune.Select.searchPlaceholder": "ค้นหา...",
|
|
24
24
|
"neptune.SelectInput.noResultsFound": "ไม่พบผลลัพธ์",
|
package/build/index.esm.js
CHANGED
|
@@ -7263,10 +7263,13 @@ const formatWithPattern = (value, pattern) => {
|
|
|
7263
7263
|
let patternSymbol = [];
|
|
7264
7264
|
// valueArray.length increments during the cycle cause we are adding new elements.
|
|
7265
7265
|
for (let index = 0; index < valueArray.length; index += 1) {
|
|
7266
|
-
patternSymbol = patternWithSymbolsPosition.filter(
|
|
7266
|
+
patternSymbol = patternWithSymbolsPosition.filter(pattern => pattern.index === index);
|
|
7267
7267
|
// Add pattern's symbol at n position
|
|
7268
7268
|
if (patternSymbol.length === 1) {
|
|
7269
|
-
|
|
7269
|
+
const last = patternSymbol.pop();
|
|
7270
|
+
if (last) {
|
|
7271
|
+
valueArray.splice(index, 0, last.symbol);
|
|
7272
|
+
}
|
|
7270
7273
|
}
|
|
7271
7274
|
}
|
|
7272
7275
|
return valueArray.join('');
|
|
@@ -7312,7 +7315,7 @@ const countConsecutiveSymbols = (selectionStart, applicablePattern, direction) =
|
|
|
7312
7315
|
return groupSize;
|
|
7313
7316
|
};
|
|
7314
7317
|
|
|
7315
|
-
const
|
|
7318
|
+
const getCursorPositionAfterActionStroke = (action, selectionStart, selectionEnd, pattern, pastedLength) => {
|
|
7316
7319
|
let cursorPosition = selectionStart;
|
|
7317
7320
|
switch (action) {
|
|
7318
7321
|
case 'Backspace':
|
|
@@ -7334,36 +7337,36 @@ const getCursorPositionAfteractionstroke = (action, selectionStart, selectionEnd
|
|
|
7334
7337
|
}
|
|
7335
7338
|
return cursorPosition;
|
|
7336
7339
|
};
|
|
7337
|
-
var getCursorPositionAfterKeystroke =
|
|
7340
|
+
var getCursorPositionAfterKeystroke = getCursorPositionAfterActionStroke;
|
|
7338
7341
|
|
|
7339
7342
|
class WithDisplayFormat extends Component {
|
|
7343
|
+
static defaultProps = {
|
|
7344
|
+
autoComplete: 'off',
|
|
7345
|
+
displayPattern: '',
|
|
7346
|
+
value: ''
|
|
7347
|
+
};
|
|
7340
7348
|
constructor(props) {
|
|
7341
7349
|
super(props);
|
|
7342
|
-
const
|
|
7343
|
-
value,
|
|
7344
|
-
displayPattern
|
|
7345
|
-
} = props;
|
|
7346
|
-
const unformattedValue = unformatWithPattern$1(value, displayPattern);
|
|
7350
|
+
const unformattedValue = unformatWithPattern$1(props.value ?? '', props.displayPattern);
|
|
7347
7351
|
this.state = {
|
|
7348
|
-
value: formatWithPattern$1(unformattedValue, displayPattern),
|
|
7352
|
+
value: formatWithPattern$1(unformattedValue, props.displayPattern),
|
|
7349
7353
|
historyNavigator: new HistoryNavigator$1(),
|
|
7350
7354
|
prevDisplayPattern: props.displayPattern,
|
|
7351
|
-
triggerType:
|
|
7352
|
-
triggerEvent: null
|
|
7355
|
+
triggerType: 'Initial',
|
|
7356
|
+
triggerEvent: null,
|
|
7357
|
+
selectionStart: 0,
|
|
7358
|
+
selectionEnd: 0,
|
|
7359
|
+
pastedLength: 0
|
|
7353
7360
|
};
|
|
7354
7361
|
}
|
|
7355
|
-
static getDerivedStateFromProps(
|
|
7356
|
-
|
|
7357
|
-
|
|
7358
|
-
|
|
7359
|
-
|
|
7360
|
-
|
|
7361
|
-
|
|
7362
|
-
if (
|
|
7363
|
-
const {
|
|
7364
|
-
value,
|
|
7365
|
-
historyNavigator
|
|
7366
|
-
} = previousState;
|
|
7362
|
+
static getDerivedStateFromProps({
|
|
7363
|
+
displayPattern
|
|
7364
|
+
}, {
|
|
7365
|
+
prevDisplayPattern = displayPattern,
|
|
7366
|
+
value,
|
|
7367
|
+
historyNavigator
|
|
7368
|
+
}) {
|
|
7369
|
+
if (prevDisplayPattern !== displayPattern) {
|
|
7367
7370
|
const unFormattedValue = unformatWithPattern$1(value, prevDisplayPattern);
|
|
7368
7371
|
historyNavigator.reset();
|
|
7369
7372
|
return {
|
|
@@ -7385,29 +7388,31 @@ class WithDisplayFormat extends Component {
|
|
|
7385
7388
|
const {
|
|
7386
7389
|
displayPattern
|
|
7387
7390
|
} = this.props;
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
if (unformattedValue.length <= unformatWithPattern$1(value, displayPattern).length) {
|
|
7391
|
+
if (triggerEvent) {
|
|
7392
|
+
const charCode = String.fromCharCode(triggerEvent.which).toLowerCase();
|
|
7393
|
+
if (triggerType === 'Paste' || triggerType === 'Cut') {
|
|
7394
|
+
return triggerType;
|
|
7395
|
+
}
|
|
7396
|
+
if ((triggerEvent.ctrlKey || triggerEvent.metaKey) && charCode === 'z') {
|
|
7397
|
+
return triggerEvent.shiftKey ? 'Redo' : 'Undo';
|
|
7398
|
+
}
|
|
7399
|
+
// Detect mouse event redo
|
|
7400
|
+
if (triggerEvent.ctrlKey && charCode === 'd') {
|
|
7401
|
+
return 'Delete';
|
|
7402
|
+
}
|
|
7403
|
+
// Android Fix.
|
|
7404
|
+
if (typeof triggerEvent.key === 'undefined' && unformattedValue.length <= unformatWithPattern$1(value, displayPattern).length) {
|
|
7403
7405
|
return 'Backspace';
|
|
7404
7406
|
}
|
|
7407
|
+
return triggerEvent.key;
|
|
7408
|
+
} else {
|
|
7409
|
+
// triggerEvent can be null only in case of "autofilling" (via password manager extension or browser build-in one) events
|
|
7410
|
+
return 'Paste';
|
|
7405
7411
|
}
|
|
7406
|
-
return triggerEvent.key;
|
|
7407
7412
|
};
|
|
7408
7413
|
resetEvent = () => {
|
|
7409
7414
|
this.setState({
|
|
7410
|
-
triggerType:
|
|
7415
|
+
triggerType: 'Initial',
|
|
7411
7416
|
triggerEvent: null,
|
|
7412
7417
|
pastedLength: 0
|
|
7413
7418
|
});
|
|
@@ -7424,14 +7429,13 @@ class WithDisplayFormat extends Component {
|
|
|
7424
7429
|
const {
|
|
7425
7430
|
selectionStart,
|
|
7426
7431
|
selectionEnd
|
|
7427
|
-
} = event.
|
|
7432
|
+
} = event.currentTarget;
|
|
7428
7433
|
const {
|
|
7429
7434
|
historyNavigator
|
|
7430
7435
|
} = this.state;
|
|
7431
7436
|
const {
|
|
7432
7437
|
displayPattern
|
|
7433
7438
|
} = this.props;
|
|
7434
|
-
|
|
7435
7439
|
// Unfortunately Undo and Redo don't trigger OnChange event so we need to handle some value logic here.
|
|
7436
7440
|
let newFormattedValue = '';
|
|
7437
7441
|
if (this.detectUndoRedo(event) === 'Undo') {
|
|
@@ -7450,8 +7454,8 @@ class WithDisplayFormat extends Component {
|
|
|
7450
7454
|
this.setState({
|
|
7451
7455
|
triggerEvent: event,
|
|
7452
7456
|
triggerType: 'KeyDown',
|
|
7453
|
-
selectionStart,
|
|
7454
|
-
selectionEnd
|
|
7457
|
+
selectionStart: selectionStart ?? 0,
|
|
7458
|
+
selectionEnd: selectionEnd ?? 0
|
|
7455
7459
|
});
|
|
7456
7460
|
}
|
|
7457
7461
|
};
|
|
@@ -7480,7 +7484,6 @@ class WithDisplayFormat extends Component {
|
|
|
7480
7484
|
handleOnChange = event => {
|
|
7481
7485
|
const {
|
|
7482
7486
|
historyNavigator,
|
|
7483
|
-
triggerEvent,
|
|
7484
7487
|
triggerType
|
|
7485
7488
|
} = this.state;
|
|
7486
7489
|
const {
|
|
@@ -7491,9 +7494,7 @@ class WithDisplayFormat extends Component {
|
|
|
7491
7494
|
value
|
|
7492
7495
|
} = event.target;
|
|
7493
7496
|
let unformattedValue = unformatWithPattern$1(value, displayPattern);
|
|
7494
|
-
const action =
|
|
7495
|
-
// triggerEvent can be null only in case of "autofilling" (via password manager extension or browser build-in one) events
|
|
7496
|
-
'Paste' : this.getUserAction(unformattedValue);
|
|
7497
|
+
const action = this.getUserAction(unformattedValue);
|
|
7497
7498
|
if (!this.isKeyAllowed(action) || triggerType === 'Undo' || triggerType === 'Redo') {
|
|
7498
7499
|
return;
|
|
7499
7500
|
}
|
|
@@ -7503,19 +7504,18 @@ class WithDisplayFormat extends Component {
|
|
|
7503
7504
|
const newFormattedValue = formatWithPattern$1(unformattedValue, displayPattern);
|
|
7504
7505
|
historyNavigator.add(unformattedValue);
|
|
7505
7506
|
this.handleCursorPositioning(action);
|
|
7506
|
-
const broadcastValue = unformatWithPattern$1(newFormattedValue, displayPattern);
|
|
7507
7507
|
this.setState({
|
|
7508
7508
|
value: newFormattedValue
|
|
7509
|
-
},
|
|
7509
|
+
}, () => {
|
|
7510
|
+
this.resetEvent();
|
|
7511
|
+
if (onChange) {
|
|
7512
|
+
const broadcastValue = unformatWithPattern$1(newFormattedValue, displayPattern);
|
|
7513
|
+
onChange(broadcastValue);
|
|
7514
|
+
}
|
|
7515
|
+
});
|
|
7510
7516
|
};
|
|
7511
7517
|
handleOnBlur = event => {
|
|
7512
|
-
|
|
7513
|
-
displayPattern,
|
|
7514
|
-
onBlur
|
|
7515
|
-
} = this.props;
|
|
7516
|
-
if (onBlur) {
|
|
7517
|
-
onBlur(unformatWithPattern$1(event.target.value, displayPattern));
|
|
7518
|
-
}
|
|
7518
|
+
this.props.onBlur?.(unformatWithPattern$1(event.target.value, this.props.displayPattern));
|
|
7519
7519
|
};
|
|
7520
7520
|
handleOnFocus = event => {
|
|
7521
7521
|
const {
|
|
@@ -7564,7 +7564,7 @@ class WithDisplayFormat extends Component {
|
|
|
7564
7564
|
const cursorPosition = getCursorPositionAfterKeystroke(action, selectionStart, selectionEnd, displayPattern, pastedLength);
|
|
7565
7565
|
setTimeout(() => {
|
|
7566
7566
|
if (triggerEvent) {
|
|
7567
|
-
triggerEvent.
|
|
7567
|
+
triggerEvent.currentTarget.setSelectionRange(cursorPosition, cursorPosition);
|
|
7568
7568
|
}
|
|
7569
7569
|
this.setState({
|
|
7570
7570
|
selectionStart: cursorPosition,
|
|
@@ -7574,7 +7574,6 @@ class WithDisplayFormat extends Component {
|
|
|
7574
7574
|
};
|
|
7575
7575
|
render() {
|
|
7576
7576
|
const {
|
|
7577
|
-
type,
|
|
7578
7577
|
inputMode,
|
|
7579
7578
|
className,
|
|
7580
7579
|
id,
|
|
@@ -7591,7 +7590,6 @@ class WithDisplayFormat extends Component {
|
|
|
7591
7590
|
value
|
|
7592
7591
|
} = this.state;
|
|
7593
7592
|
const renderProps = {
|
|
7594
|
-
type,
|
|
7595
7593
|
inputMode,
|
|
7596
7594
|
className,
|
|
7597
7595
|
id,
|
|
@@ -7614,62 +7612,13 @@ class WithDisplayFormat extends Component {
|
|
|
7614
7612
|
return this.props.render(renderProps);
|
|
7615
7613
|
}
|
|
7616
7614
|
}
|
|
7617
|
-
WithDisplayFormat.propTypes = {
|
|
7618
|
-
/**
|
|
7619
|
-
* autocomplete hides our form help so we need to disable it when help text
|
|
7620
|
-
* is present. Chrome ignores autocomplete=off, the only way to disable it is
|
|
7621
|
-
* to provide an 'invalid' value, for which 'disabled' serves.
|
|
7622
|
-
*/
|
|
7623
|
-
autoComplete: PropTypes.oneOf(['on', 'off', 'disabled']),
|
|
7624
|
-
className: PropTypes.string,
|
|
7625
|
-
disabled: PropTypes.bool,
|
|
7626
|
-
id: PropTypes.string,
|
|
7627
|
-
maxLength: PropTypes.number,
|
|
7628
|
-
minLength: PropTypes.number,
|
|
7629
|
-
name: PropTypes.string,
|
|
7630
|
-
onFocus: PropTypes.func,
|
|
7631
|
-
onBlur: PropTypes.func,
|
|
7632
|
-
onChange: PropTypes.func.isRequired,
|
|
7633
|
-
placeholder: PropTypes.string,
|
|
7634
|
-
readOnly: PropTypes.bool,
|
|
7635
|
-
render: PropTypes.func.isRequired,
|
|
7636
|
-
required: PropTypes.bool,
|
|
7637
|
-
displayPattern: PropTypes.string,
|
|
7638
|
-
type: PropTypes.string,
|
|
7639
|
-
inputMode: PropTypes.string,
|
|
7640
|
-
value: PropTypes.string
|
|
7641
|
-
};
|
|
7642
|
-
WithDisplayFormat.defaultProps = {
|
|
7643
|
-
autoComplete: 'off',
|
|
7644
|
-
className: null,
|
|
7645
|
-
disabled: false,
|
|
7646
|
-
id: null,
|
|
7647
|
-
maxLength: null,
|
|
7648
|
-
minLength: null,
|
|
7649
|
-
name: null,
|
|
7650
|
-
placeholder: null,
|
|
7651
|
-
readOnly: false,
|
|
7652
|
-
required: false,
|
|
7653
|
-
displayPattern: '',
|
|
7654
|
-
type: 'text',
|
|
7655
|
-
inputMode: null,
|
|
7656
|
-
value: '',
|
|
7657
|
-
onFocus: null,
|
|
7658
|
-
onBlur: null
|
|
7659
|
-
};
|
|
7660
|
-
var WithDisplayFormat$1 = WithDisplayFormat;
|
|
7661
7615
|
|
|
7662
|
-
const InputWithDisplayFormat = props => /*#__PURE__*/jsx(WithDisplayFormat
|
|
7616
|
+
const InputWithDisplayFormat = props => /*#__PURE__*/jsx(WithDisplayFormat, {
|
|
7663
7617
|
...props,
|
|
7664
|
-
render: renderProps => /*#__PURE__*/jsx(
|
|
7618
|
+
render: renderProps => /*#__PURE__*/jsx(Input, {
|
|
7665
7619
|
...renderProps
|
|
7666
7620
|
})
|
|
7667
7621
|
});
|
|
7668
|
-
InputWithDisplayFormat.propTypes = {
|
|
7669
|
-
displayPattern: PropTypes.string.isRequired,
|
|
7670
|
-
onChange: PropTypes.func.isRequired
|
|
7671
|
-
};
|
|
7672
|
-
var InputWithDisplayFormat$1 = InputWithDisplayFormat;
|
|
7673
7622
|
|
|
7674
7623
|
const InstructionsList = ({
|
|
7675
7624
|
dos,
|
|
@@ -12346,17 +12295,12 @@ Tabs.defaultProps = {
|
|
|
12346
12295
|
};
|
|
12347
12296
|
var Tabs$1 = Tabs;
|
|
12348
12297
|
|
|
12349
|
-
const TextareaWithDisplayFormat = props => /*#__PURE__*/jsx(WithDisplayFormat
|
|
12298
|
+
const TextareaWithDisplayFormat = props => /*#__PURE__*/jsx(WithDisplayFormat, {
|
|
12350
12299
|
...props,
|
|
12351
|
-
render: renderProps => /*#__PURE__*/jsx(
|
|
12300
|
+
render: renderProps => /*#__PURE__*/jsx(TextArea, {
|
|
12352
12301
|
...renderProps
|
|
12353
12302
|
})
|
|
12354
12303
|
});
|
|
12355
|
-
TextareaWithDisplayFormat.propTypes = {
|
|
12356
|
-
displayPattern: PropTypes.string.isRequired,
|
|
12357
|
-
onChange: PropTypes.func.isRequired
|
|
12358
|
-
};
|
|
12359
|
-
var TextareaWithDisplayFormat$1 = TextareaWithDisplayFormat;
|
|
12360
12304
|
|
|
12361
12305
|
/* eslint-disable jsx-a11y/no-autofocus */
|
|
12362
12306
|
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
@@ -15358,16 +15302,16 @@ var th = {
|
|
|
15358
15302
|
"neptune.DateInput.year.label": "ปี",
|
|
15359
15303
|
"neptune.DateInput.year.placeholder": "YYYY",
|
|
15360
15304
|
"neptune.DateLookup.day": "วัน",
|
|
15361
|
-
"neptune.DateLookup.goTo20YearView": "
|
|
15305
|
+
"neptune.DateLookup.goTo20YearView": "ไปที่มุมมอง 20 ปี",
|
|
15362
15306
|
"neptune.DateLookup.month": "เดือน",
|
|
15363
15307
|
"neptune.DateLookup.next": "ถัดไป",
|
|
15364
15308
|
"neptune.DateLookup.previous": "ก่อนหน้า",
|
|
15365
15309
|
"neptune.DateLookup.selected": "เลือกแล้ว",
|
|
15366
15310
|
"neptune.DateLookup.twentyYears": "20 ปี",
|
|
15367
15311
|
"neptune.DateLookup.year": "ปี",
|
|
15368
|
-
"neptune.FlowNavigation.back": "
|
|
15312
|
+
"neptune.FlowNavigation.back": "กลับไปที่ขั้นก่อนหน้า",
|
|
15369
15313
|
"neptune.Info.ariaLabel": "ข้อมูลเพิ่มเติม",
|
|
15370
|
-
"neptune.Link.opensInNewTab": "(
|
|
15314
|
+
"neptune.Link.opensInNewTab": "(เปิดในแท็บใหม่)",
|
|
15371
15315
|
"neptune.MoneyInput.Select.placeholder": "เลือกตัวเลือก...",
|
|
15372
15316
|
"neptune.Select.searchPlaceholder": "ค้นหา...",
|
|
15373
15317
|
"neptune.SelectInput.noResultsFound": "ไม่พบผลลัพธ์",
|
|
@@ -15653,5 +15597,5 @@ const translations = {
|
|
|
15653
15597
|
'zh-HK': zhHK
|
|
15654
15598
|
};
|
|
15655
15599
|
|
|
15656
|
-
export { Accordion, ActionButton, ActionOption, Alert$1 as Alert, ArrowPosition as AlertArrowPosition, Avatar, AvatarType, AvatarWrapper, Badge, Card as BaseCard, Body, BottomSheet$2 as BottomSheet, Breakpoint, Button, Card$2 as Card, Checkbox$1 as Checkbox, CheckboxButton$1 as CheckboxButton, CheckboxOption, Chevron, Chip, Chips, CircularButton$1 as CircularButton, ControlType, CriticalCommsBanner, DEFAULT_LANG, DEFAULT_LOCALE, DateInput$1 as DateInput, DateLookup$1 as DateLookup, DateMode, Decision$1 as Decision, Presentation as DecisionPresentation, Type as DecisionType, DefinitionList$1 as DefinitionList, Dimmer$1 as Dimmer, Direction, DirectionProvider, Display, Drawer$1 as Drawer, DropFade, DynamicFieldDefinitionList$1 as DynamicFieldDefinitionList, Emphasis, FileType, FlowNavigation, Header, Image, Info, InfoPresentation, InlineAlert, Input, InputGroup, InputWithDisplayFormat
|
|
15600
|
+
export { Accordion, ActionButton, ActionOption, Alert$1 as Alert, ArrowPosition as AlertArrowPosition, Avatar, AvatarType, AvatarWrapper, Badge, Card as BaseCard, Body, BottomSheet$2 as BottomSheet, Breakpoint, Button, Card$2 as Card, Checkbox$1 as Checkbox, CheckboxButton$1 as CheckboxButton, CheckboxOption, Chevron, Chip, Chips, CircularButton$1 as CircularButton, ControlType, CriticalCommsBanner, DEFAULT_LANG, DEFAULT_LOCALE, DateInput$1 as DateInput, DateLookup$1 as DateLookup, DateMode, Decision$1 as Decision, Presentation as DecisionPresentation, Type as DecisionType, DefinitionList$1 as DefinitionList, Dimmer$1 as Dimmer, Direction, DirectionProvider, Display, Drawer$1 as Drawer, DropFade, DynamicFieldDefinitionList$1 as DynamicFieldDefinitionList, Emphasis, FileType, FlowNavigation, Header, Image, Info, InfoPresentation, InlineAlert, Input, InputGroup, InputWithDisplayFormat, InstructionsList$1 as InstructionsList, LanguageProvider, Layout$1 as Layout, Link, ListItem$1 as ListItem, Loader$1 as Loader, Logo$1 as Logo, LogoType, Markdown$1 as Markdown, MarkdownNodeType, Modal, Money$1 as Money, MoneyInput$1 as MoneyInput, MonthFormat, NavigationOption, NavigationOptionList$1 as NavigationOptionsList, Nudge, Option$2 as Option, OverlayHeader$1 as OverlayHeader, PhoneNumberInput$1 as PhoneNumberInput, Popover$2 as Popover, Position, Priority, ProcessIndicator$1 as ProcessIndicator, ProfileType, Progress, ProgressBar, PromoCard$1 as PromoCard, PromoCard$1 as PromoCardGroup, Provider$1 as Provider, RTL_LANGUAGES, Radio$1 as Radio, RadioGroup$1 as RadioGroup, RadioOption$1 as RadioOption, SUPPORTED_LANGUAGES, Scroll, SearchInput, Section, Select, SelectInput, SelectInputOptionContent, SelectInputTriggerButton, Sentiment, Size, SlidingPanel$1 as SlidingPanel, SnackbarConsumer, SnackbarContext, SnackbarPortal, SnackbarProvider$1 as SnackbarProvider, Status, StatusIcon, Stepper, Sticky$1 as Sticky, Summary, Switch, SwitchOption, Tabs$1 as Tabs, TextArea, TextareaWithDisplayFormat, Theme, Title, Tooltip$1 as Tooltip, Type$1 as Type, Typeahead, Typography, Upload$1 as Upload, UploadInput, UploadStep, Variant, Width, adjustLocale, getCountryFromLocale, getDirectionFromLocale, getLangFromLocale, isBrowser, isServerSide, translations, useDirection, useLayout, useScreenSize, useSnackbar };
|
|
15657
15601
|
//# sourceMappingURL=index.esm.js.map
|