@thx/controls 18.0.0 → 19.1.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/dist/esm/date/LocalDatePicker/LocalDatePicker.js.map +1 -1
- package/dist/esm/date/LocalDatePicker/MaskedDateInput.js.map +1 -1
- package/dist/esm/date/LocalMonthSelect/LocalMonthSelect.js.map +1 -1
- package/dist/esm/date/LocalTimePicker/LocalTimePicker.js.map +1 -1
- package/dist/esm/date/LocalTimePicker/MaskedTimeInput.js +15 -13
- package/dist/esm/date/LocalTimePicker/MaskedTimeInput.js.map +1 -1
- package/dist/esm/date/MonthDayPicker/MonthDayPicker.js.map +1 -1
- package/dist/esm/date/MonthYearPicker/MonthYearPicker.js.map +1 -1
- package/dist/esm/date/YearSelect/YearSelect.js.map +1 -1
- package/dist/esm/form/TForm/TForm.js.map +1 -1
- package/dist/esm/form/TForm/useTForm.js +9 -7
- package/dist/esm/form/TForm/useTForm.js.map +1 -1
- package/dist/esm/inputs/CreditCardInput/CreditCardInput.js.map +1 -1
- package/dist/esm/inputs/CreditCardInput/CreditCardNumberInput.js +8 -5
- package/dist/esm/inputs/CreditCardInput/CreditCardNumberInput.js.map +1 -1
- package/dist/esm/inputs/MaskedInput/MaskedInput.js +12 -8
- package/dist/esm/inputs/MaskedInput/MaskedInput.js.map +1 -1
- package/dist/esm/inputs/MaskedInput/useMaskedInput.js.map +1 -1
- package/dist/esm/inputs/PhoneInput/PhoneInput.js.map +1 -1
- package/dist/esm/inputs/RadioGroup/RadioGroup.js +11 -8
- package/dist/esm/inputs/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/esm/inputs/SinInput/SinInput.js +9 -6
- package/dist/esm/inputs/SinInput/SinInput.js.map +1 -1
- package/dist/esm/inputs/TableInput/CheckboxEditCell.js.map +1 -1
- package/dist/esm/inputs/TableInput/DropdownCell.js.map +1 -1
- package/dist/esm/inputs/TableInput/HoverCell.js.map +1 -1
- package/dist/esm/inputs/TableInput/LocalDateCell.js.map +1 -1
- package/dist/esm/inputs/TableInput/LocalDateEditCell.js.map +1 -1
- package/dist/esm/inputs/TableInput/LocalTimeEditCell.js.map +1 -1
- package/dist/esm/inputs/TableInput/MoneyCell.js.map +1 -1
- package/dist/esm/inputs/TableInput/MoneyEditCell.js.map +1 -1
- package/dist/esm/inputs/TableInput/MoneySumFooter.js.map +1 -1
- package/dist/esm/inputs/TableInput/NumberEditCell.js.map +1 -1
- package/dist/esm/inputs/TableInput/StringEditCell.js.map +1 -1
- package/dist/esm/inputs/TableInput/TableInput.js.map +1 -1
- package/dist/esm/inputs/TableInput/addRowOnTab.js.map +1 -1
- package/dist/esm/money/MoneyCurrencyInput/MoneyCurrencyInput.js +19 -13
- package/dist/esm/money/MoneyCurrencyInput/MoneyCurrencyInput.js.map +1 -1
- package/dist/esm/money/MoneyInput/MoneyInput.js +10 -7
- package/dist/esm/money/MoneyInput/MoneyInput.js.map +1 -1
- package/dist/esm/money/useMoneyInput.js +13 -10
- package/dist/esm/money/useMoneyInput.js.map +1 -1
- package/dist/esm/step/FormStep.js.map +1 -1
- package/dist/esm/step/Step.js.map +1 -1
- package/dist/esm/step/StepProvider.js.map +1 -1
- package/dist/esm/step/useStep.js.map +1 -1
- package/dist/stats.html +2612 -352
- package/dist/stats.txt +42 -42
- package/dist/types/date/LocalDatePicker/LocalDatePicker.d.ts +2 -1
- package/dist/types/date/LocalDatePicker/MaskedDateInput.d.ts +1 -1
- package/dist/types/date/LocalMonthSelect/LocalMonthSelect.d.ts +2 -1
- package/dist/types/date/LocalTimePicker/LocalTimePicker.d.ts +2 -1
- package/dist/types/date/LocalTimePicker/MaskedTimeInput.d.ts +1 -1
- package/dist/types/date/MonthDayPicker/MonthDayPicker.d.ts +2 -1
- package/dist/types/date/MonthYearPicker/MonthYearPicker.d.ts +2 -1
- package/dist/types/date/YearSelect/YearSelect.d.ts +1 -1
- package/dist/types/form/TForm/TForm.d.ts +1 -1
- package/dist/types/form/TForm/types.d.ts +2 -1
- package/dist/types/form/TForm/useTForm.d.ts +7 -7
- package/dist/types/inputs/CreditCardInput/CreditCardInput.d.ts +1 -1
- package/dist/types/inputs/CreditCardInput/CreditCardNumberInput.d.ts +1 -1
- package/dist/types/inputs/MaskedInput/MaskedInput.d.ts +1 -1
- package/dist/types/inputs/MaskedInput/useMaskedInput.d.ts +1 -1
- package/dist/types/inputs/PhoneInput/PhoneInput.d.ts +1 -1
- package/dist/types/inputs/RadioGroup/RadioGroup.d.ts +3 -2
- package/dist/types/inputs/SinInput/SinInput.d.ts +1 -1
- package/dist/types/inputs/TableInput/CheckboxEditCell.d.ts +1 -1
- package/dist/types/inputs/TableInput/DropdownCell.d.ts +1 -1
- package/dist/types/inputs/TableInput/HoverCell.d.ts +1 -1
- package/dist/types/inputs/TableInput/LocalDateCell.d.ts +1 -1
- package/dist/types/inputs/TableInput/LocalDateEditCell.d.ts +1 -1
- package/dist/types/inputs/TableInput/LocalTimeEditCell.d.ts +1 -1
- package/dist/types/inputs/TableInput/MoneyCell.d.ts +1 -1
- package/dist/types/inputs/TableInput/MoneyEditCell.d.ts +1 -1
- package/dist/types/inputs/TableInput/MoneySumFooter.d.ts +1 -1
- package/dist/types/inputs/TableInput/NumberEditCell.d.ts +1 -1
- package/dist/types/inputs/TableInput/StringEditCell.d.ts +1 -1
- package/dist/types/inputs/TableInput/TableInput.d.ts +1 -1
- package/dist/types/money/MoneyCurrencyInput/MoneyCurrencyInput.d.ts +1 -1
- package/dist/types/money/MoneyInput/MoneyInput.d.ts +1 -1
- package/dist/types/step/FormStep.d.ts +3 -2
- package/dist/types/step/Step.d.ts +3 -2
- package/dist/types/step/StepProvider.d.ts +3 -2
- package/package.json +7 -4
package/dist/stats.txt
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
-----------------------------
|
|
2
2
|
Rollup File Analysis
|
|
3
3
|
-----------------------------
|
|
4
|
-
bundle size: 43.
|
|
5
|
-
original size:
|
|
6
|
-
code reduction: 32.
|
|
4
|
+
bundle size: 43.558 KB
|
|
5
|
+
original size: 64.46 KB
|
|
6
|
+
code reduction: 32.43 %
|
|
7
7
|
module count: 42
|
|
8
8
|
|
|
9
9
|
/src/step/StepProvider.tsx
|
|
10
|
-
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 8.
|
|
10
|
+
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 8.1 % (3.529 KB)
|
|
11
11
|
/src/date/LocalDatePicker/LocalDatePicker.tsx
|
|
12
|
-
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 7.
|
|
12
|
+
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 7.26 % (3.161 KB)
|
|
13
13
|
/src/form/TForm/useTForm.tsx
|
|
14
|
-
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.
|
|
14
|
+
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.77 % (2.95 KB)
|
|
15
15
|
/src/inputs/TableInput/TableInput.tsx
|
|
16
|
-
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.
|
|
16
|
+
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.64 % (2.891 KB)
|
|
17
17
|
/src/inputs/CreditCardInput/CreditCardInput.tsx
|
|
18
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.
|
|
18
|
+
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.34 % (2.324 KB)
|
|
19
19
|
/src/money/useMoneyInput.ts
|
|
20
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
20
|
+
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.02 % (2.187 KB)
|
|
21
21
|
/src/date/MonthDayPicker/MonthDayPicker.tsx
|
|
22
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.
|
|
22
|
+
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.51 % (1.965 KB)
|
|
23
23
|
/src/inputs/CreditCardInput/CreditCardNumberInput.tsx
|
|
24
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.
|
|
24
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.98 % (1.733 KB)
|
|
25
25
|
/src/date/LocalTimePicker/LocalTimePicker.tsx
|
|
26
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.
|
|
26
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.73 % (1.624 KB)
|
|
27
27
|
/src/money/MoneyCurrencyInput/MoneyCurrencyInput.tsx
|
|
28
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.
|
|
28
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.72 % (1.621 KB)
|
|
29
29
|
/src/date/YearSelect/YearSelect.tsx
|
|
30
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.
|
|
30
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.57 % (1.553 KB)
|
|
31
31
|
/src/inputs/MaskedInput/useMaskedInput.ts
|
|
32
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.
|
|
32
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.41 % (1.487 KB)
|
|
33
33
|
/src/date/MonthYearPicker/MonthYearPicker.tsx
|
|
34
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.
|
|
34
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.82 % (1.229 KB)
|
|
35
35
|
/src/inputs/SinInput/SinInput.tsx
|
|
36
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.
|
|
36
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.68 % (1.166 KB)
|
|
37
37
|
/src/date/LocalMonthSelect/LocalMonthSelect.tsx
|
|
38
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.
|
|
38
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.61 % (1.135 KB)
|
|
39
39
|
/src/inputs/PhoneInput/PhoneInput.tsx
|
|
40
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.
|
|
40
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.08 % (908 Bytes)
|
|
41
41
|
/src/inputs/TableInput/MoneyEditCell.tsx
|
|
42
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.
|
|
43
|
-
/src/inputs/TableInput/NumberEditCell.tsx
|
|
44
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.81 % (782 Bytes)
|
|
42
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.88 % (820 Bytes)
|
|
45
43
|
/src/money/MoneyInput/MoneyInput.tsx
|
|
46
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.
|
|
44
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.84 % (802 Bytes)
|
|
45
|
+
/src/inputs/TableInput/NumberEditCell.tsx
|
|
46
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.8 % (782 Bytes)
|
|
47
47
|
/src/inputs/TableInput/StringEditCell.tsx
|
|
48
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.
|
|
48
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.65 % (717 Bytes)
|
|
49
49
|
/src/inputs/TableInput/CheckboxEditCell.tsx
|
|
50
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.
|
|
50
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.61 % (702 Bytes)
|
|
51
51
|
/src/inputs/TableInput/LocalDateEditCell.tsx
|
|
52
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.
|
|
52
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.6 % (695 Bytes)
|
|
53
|
+
/src/inputs/RadioGroup/RadioGroup.tsx
|
|
54
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.59 % (692 Bytes)
|
|
53
55
|
/home/artemis/GitHub/thr-addons/node_modules/style-inject/dist/style-inject.es.js
|
|
54
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.
|
|
56
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.46 % (636 Bytes)
|
|
55
57
|
/src/inputs/TableInput/LocalTimeEditCell.tsx
|
|
56
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.
|
|
58
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.43 % (622 Bytes)
|
|
57
59
|
/src/form/TForm/TForm.tsx
|
|
58
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.
|
|
59
|
-
/src/inputs/RadioGroup/RadioGroup.tsx
|
|
60
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.3 % (561 Bytes)
|
|
61
|
-
/src/date/DatePicker/styles.css
|
|
62
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.25 % (538 Bytes)
|
|
60
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.38 % (600 Bytes)
|
|
63
61
|
/src/inputs/MaskedInput/MaskedInput.tsx
|
|
64
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.
|
|
62
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.25 % (543 Bytes)
|
|
63
|
+
/src/date/DatePicker/styles.css
|
|
64
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.24 % (538 Bytes)
|
|
65
65
|
/src/inputs/TableInput/DropdownCell.tsx
|
|
66
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.
|
|
66
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.11 % (483 Bytes)
|
|
67
|
+
/src/date/LocalTimePicker/MaskedTimeInput.tsx
|
|
68
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.04 % (452 Bytes)
|
|
67
69
|
/src/step/FormStep.tsx
|
|
68
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.
|
|
70
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.01 % (440 Bytes)
|
|
69
71
|
/src/date/LocalDatePicker/MaskedDateInput.tsx
|
|
70
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.
|
|
71
|
-
/src/date/LocalTimePicker/MaskedTimeInput.tsx
|
|
72
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.98 % (424 Bytes)
|
|
72
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.98 % (426 Bytes)
|
|
73
73
|
/src/inputs/TableInput/MoneySumFooter.tsx
|
|
74
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.
|
|
74
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.95 % (414 Bytes)
|
|
75
75
|
/src/inputs/TableInput/HoverCell.tsx
|
|
76
76
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.93 % (403 Bytes)
|
|
77
77
|
/src/inputs/TableInput/addRowOnTab.ts
|
|
78
78
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.72 % (312 Bytes)
|
|
79
79
|
/src/inputs/TableInput/LocalDateCell.tsx
|
|
80
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.
|
|
80
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.65 % (285 Bytes)
|
|
81
81
|
/src/inputs/TableInput/MoneyCell.tsx
|
|
82
82
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.59 % (257 Bytes)
|
|
83
83
|
/src/step/Step.tsx
|
|
@@ -85,7 +85,7 @@ module count: 42
|
|
|
85
85
|
/src/step/useStep.ts
|
|
86
86
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.26 % (113 Bytes)
|
|
87
87
|
/src/step/stepContext.ts
|
|
88
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.
|
|
88
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.18 % (80 Bytes)
|
|
89
89
|
/src/inputs/CreditCardInput/styles.css
|
|
90
90
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.18 % (78 Bytes)
|
|
91
91
|
/src/index.ts
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { LocalDate } from '@js-joda/core';
|
|
2
|
+
import { type ReactElement } from 'react';
|
|
2
3
|
import type { ReactDatePickerProps } from 'react-datepicker';
|
|
3
4
|
import { type InputProps } from 'semantic-ui-react';
|
|
4
5
|
import '../DatePicker/styles.css';
|
|
@@ -16,5 +17,5 @@ interface ILocalDatePicker {
|
|
|
16
17
|
type InputPropsOmitted = Omit<InputProps, 'onChange'>;
|
|
17
18
|
type ReactDatePickerPropsOmitted = Omit<Omit<ReactDatePickerProps, 'value'>, 'onChange' | 'minDate' | 'maxDate' | 'icon'>;
|
|
18
19
|
export type LocalDatePickerProps = ILocalDatePicker & InputPropsOmitted & ReactDatePickerPropsOmitted;
|
|
19
|
-
export declare function LocalDatePicker(props: LocalDatePickerProps):
|
|
20
|
+
export declare function LocalDatePicker(props: LocalDatePickerProps): ReactElement;
|
|
20
21
|
export {};
|
|
@@ -10,4 +10,4 @@ export interface MaskedDateInputProps {
|
|
|
10
10
|
name?: string;
|
|
11
11
|
onChange?: (value: MaskedDateInputValue) => void;
|
|
12
12
|
}
|
|
13
|
-
export declare const MaskedDateInput: import("react").ForwardRefExoticComponent<
|
|
13
|
+
export declare const MaskedDateInput: import("react").ForwardRefExoticComponent<Omit<MaskedDateInputProps & Omit<MaskedInputProps, "onChange">, "ref"> & import("react").RefAttributes<MaskedInputRef>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LocalDate } from '@js-joda/core';
|
|
2
|
+
import { type ReactElement } from 'react';
|
|
2
3
|
import { type SelectProps } from 'semantic-ui-react';
|
|
3
4
|
interface ILocalMonthSelectProps {
|
|
4
5
|
onChange?: (value: LocalDate | null) => void;
|
|
@@ -7,5 +8,5 @@ interface ILocalMonthSelectProps {
|
|
|
7
8
|
handleBlur?: (event: any) => void;
|
|
8
9
|
}
|
|
9
10
|
export type LocalMonthSelectProps = ILocalMonthSelectProps & Omit<SelectProps, 'options'>;
|
|
10
|
-
export declare function LocalMonthSelect(props: LocalMonthSelectProps):
|
|
11
|
+
export declare function LocalMonthSelect(props: LocalMonthSelectProps): ReactElement;
|
|
11
12
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LocalTime } from '@js-joda/core';
|
|
2
|
+
import { type ReactElement } from 'react';
|
|
2
3
|
import type { ReactDatePickerProps } from 'react-datepicker';
|
|
3
4
|
import { type InputProps } from 'semantic-ui-react';
|
|
4
5
|
interface ILocalTimePicker {
|
|
@@ -9,5 +10,5 @@ interface ILocalTimePicker {
|
|
|
9
10
|
type InputPropsOmitted = Omit<InputProps, 'onChange'>;
|
|
10
11
|
type ReactDatePickerPropsOmitted = Omit<Omit<ReactDatePickerProps, 'value'>, 'onChange'>;
|
|
11
12
|
export type LocalTimePickerProps = ILocalTimePicker & InputPropsOmitted & ReactDatePickerPropsOmitted;
|
|
12
|
-
export declare function LocalTimePicker(props: LocalTimePickerProps):
|
|
13
|
+
export declare function LocalTimePicker(props: LocalTimePickerProps): ReactElement;
|
|
13
14
|
export {};
|
|
@@ -9,4 +9,4 @@ export interface MaskedTimeInputValue {
|
|
|
9
9
|
export interface MaskedTimeInputProps {
|
|
10
10
|
onChange?: (value: MaskedTimeInputValue) => void;
|
|
11
11
|
}
|
|
12
|
-
export declare const MaskedTimeInput: import("react").ForwardRefExoticComponent<
|
|
12
|
+
export declare const MaskedTimeInput: import("react").ForwardRefExoticComponent<Omit<MaskedTimeInputProps & Omit<MaskedInputProps, "onChange">, "ref"> & import("react").RefAttributes<MaskedInputRef>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { LocalDate } from '@js-joda/core';
|
|
2
|
+
import { type ReactElement } from 'react';
|
|
2
3
|
import type { ReactDatePickerProps } from 'react-datepicker';
|
|
3
4
|
import { type InputProps } from 'semantic-ui-react';
|
|
4
5
|
interface IMonthDayPickerProps {
|
|
@@ -9,5 +10,5 @@ interface IMonthDayPickerProps {
|
|
|
9
10
|
type InputPropsOmitted = Omit<InputProps, 'onChange'>;
|
|
10
11
|
type ReactDatePickerPropsOmitted = Omit<Omit<ReactDatePickerProps, 'value'>, 'onChange'>;
|
|
11
12
|
export type MonthDayPickerProps = IMonthDayPickerProps & InputPropsOmitted & ReactDatePickerPropsOmitted;
|
|
12
|
-
export declare function MonthDayPicker(props: MonthDayPickerProps):
|
|
13
|
+
export declare function MonthDayPicker(props: MonthDayPickerProps): ReactElement;
|
|
13
14
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LocalDate } from '@js-joda/core';
|
|
2
|
+
import { type ReactElement } from 'react';
|
|
2
3
|
import type { ReactDatePickerProps } from 'react-datepicker';
|
|
3
4
|
import { type InputProps } from 'semantic-ui-react';
|
|
4
5
|
interface IMonthYearPickerProps {
|
|
@@ -11,5 +12,5 @@ interface IMonthYearPickerProps {
|
|
|
11
12
|
type InputPropsOmitted = Omit<InputProps, 'onChange'>;
|
|
12
13
|
type ReactDatePickerPropsOmitted = Omit<Omit<ReactDatePickerProps, 'value' | 'minDate' | 'maxDate'>, 'onChange'>;
|
|
13
14
|
export type MonthYearPickerProps = IMonthYearPickerProps & InputPropsOmitted & ReactDatePickerPropsOmitted;
|
|
14
|
-
export declare function MonthYearPicker(props: MonthYearPickerProps):
|
|
15
|
+
export declare function MonthYearPicker(props: MonthYearPickerProps): ReactElement;
|
|
15
16
|
export {};
|
|
@@ -7,4 +7,4 @@ export interface YearSelectProps {
|
|
|
7
7
|
maxYear?: number;
|
|
8
8
|
error?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare function YearSelect(props: YearSelectProps & Omit<SegmentProps, 'onChange'>): JSX.Element;
|
|
10
|
+
export declare function YearSelect(props: YearSelectProps & Omit<SegmentProps, 'onChange'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type FormikValues } from 'formik';
|
|
2
2
|
import type { TFormConfig } from './types';
|
|
3
|
-
export declare function TForm<Values extends FormikValues = FormikValues>(props: TFormConfig<Values>): JSX.Element;
|
|
3
|
+
export declare function TForm<Values extends FormikValues = FormikValues>(props: TFormConfig<Values>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { FormikConfig, FormikProps } from 'formik';
|
|
2
|
+
import { type ReactElement } from 'react';
|
|
2
3
|
import type React from 'react';
|
|
3
4
|
export interface TFormProps<Values> extends FormikProps<Values> {
|
|
4
5
|
hasErrors: boolean;
|
|
@@ -8,7 +9,7 @@ export interface TFormProps<Values> extends FormikProps<Values> {
|
|
|
8
9
|
submitDisabled: boolean;
|
|
9
10
|
errorMarkedCleared: boolean;
|
|
10
11
|
formError: boolean;
|
|
11
|
-
renderWarnings: () =>
|
|
12
|
+
renderWarnings: () => ReactElement | null;
|
|
12
13
|
fieldError: (fieldName: keyof Values | string | number) => boolean;
|
|
13
14
|
handleSubmit: (e?: React.FormEvent<HTMLFormElement>) => void;
|
|
14
15
|
}
|
|
@@ -9,7 +9,7 @@ export declare function useTForm<Values extends FormikValues = FormikValues, Ini
|
|
|
9
9
|
submitDisabled: boolean;
|
|
10
10
|
errorMarkedCleared: boolean;
|
|
11
11
|
formError: boolean;
|
|
12
|
-
renderWarnings: () => JSX.Element | null;
|
|
12
|
+
renderWarnings: () => import("react/jsx-runtime").JSX.Element | null;
|
|
13
13
|
fieldError: (fieldName: keyof Values | string | number) => boolean;
|
|
14
14
|
handleSubmit: (e?: FormEvent<HTMLFormElement>) => void;
|
|
15
15
|
initialValues: Values;
|
|
@@ -17,7 +17,7 @@ export declare function useTForm<Values extends FormikValues = FormikValues, Ini
|
|
|
17
17
|
initialTouched: FormikTouched<unknown>;
|
|
18
18
|
initialStatus: any;
|
|
19
19
|
handleBlur: {
|
|
20
|
-
(e: React.FocusEvent<any>): void;
|
|
20
|
+
(e: React.FocusEvent<any, Element>): void;
|
|
21
21
|
<T = any>(fieldOrEvent: T): T extends string ? (e: any) => void : void;
|
|
22
22
|
};
|
|
23
23
|
handleChange: {
|
|
@@ -28,20 +28,20 @@ export declare function useTForm<Values extends FormikValues = FormikValues, Ini
|
|
|
28
28
|
resetForm: (nextState?: Partial<import("formik").FormikState<Values>> | undefined) => void;
|
|
29
29
|
setErrors: (errors: FormikErrors<Values>) => void;
|
|
30
30
|
setFormikState: (stateOrCb: import("formik").FormikState<Values> | ((state: import("formik").FormikState<Values>) => import("formik").FormikState<Values>)) => void;
|
|
31
|
-
setFieldTouched: (field: string, touched?: boolean, shouldValidate?: boolean
|
|
32
|
-
setFieldValue: (field: string, value: any, shouldValidate?: boolean
|
|
31
|
+
setFieldTouched: (field: string, touched?: boolean, shouldValidate?: boolean) => Promise<void> | Promise<FormikErrors<Values>>;
|
|
32
|
+
setFieldValue: (field: string, value: any, shouldValidate?: boolean) => Promise<void> | Promise<FormikErrors<Values>>;
|
|
33
33
|
setFieldError: (field: string, value: string | undefined) => void;
|
|
34
34
|
setStatus: (status: any) => void;
|
|
35
35
|
setSubmitting: (isSubmitting: boolean) => void;
|
|
36
|
-
setTouched: (touched: FormikTouched<Values>, shouldValidate?: boolean
|
|
37
|
-
setValues: (values: import("react").SetStateAction<Values>, shouldValidate?: boolean
|
|
36
|
+
setTouched: (touched: FormikTouched<Values>, shouldValidate?: boolean) => Promise<void> | Promise<FormikErrors<Values>>;
|
|
37
|
+
setValues: (values: import("react").SetStateAction<Values>, shouldValidate?: boolean) => Promise<void> | Promise<FormikErrors<Values>>;
|
|
38
38
|
submitForm: () => Promise<any>;
|
|
39
39
|
validateForm: (values?: Values | undefined) => Promise<FormikErrors<Values>>;
|
|
40
40
|
validateField: (name: string) => Promise<void> | Promise<string | undefined>;
|
|
41
41
|
dirty: boolean;
|
|
42
42
|
unregisterField: (name: string) => void;
|
|
43
43
|
registerField: (name: string, { validate }: any) => void;
|
|
44
|
-
getFieldProps: (nameOrOptions: any) => import("formik").FieldInputProps<any>;
|
|
44
|
+
getFieldProps: (nameOrOptions: string | import("formik").FieldConfig<any>) => import("formik").FieldInputProps<any>;
|
|
45
45
|
getFieldMeta: (name: string) => import("formik").FieldMetaProps<any>;
|
|
46
46
|
getFieldHelpers: (name: string) => import("formik").FieldHelperProps<any>;
|
|
47
47
|
validateOnBlur: boolean;
|
|
@@ -12,4 +12,4 @@ export type CreditCardInputProps = {
|
|
|
12
12
|
value?: CreditCardData;
|
|
13
13
|
onChange?: (data: CreditCardData) => void;
|
|
14
14
|
} & Pick<InputProps, 'disabled' | 'onBlur'>;
|
|
15
|
-
export declare function CreditCardInput(props: CreditCardInputProps): JSX.Element;
|
|
15
|
+
export declare function CreditCardInput(props: CreditCardInputProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,5 +3,5 @@ interface CreditCardNumberInputProps {
|
|
|
3
3
|
onChange?: (value: string | undefined) => void;
|
|
4
4
|
value?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function CreditCardNumberInput(props: CreditCardNumberInputProps & Omit<InputProps, 'onChange'>): JSX.Element;
|
|
6
|
+
export declare function CreditCardNumberInput(props: CreditCardNumberInputProps & Omit<InputProps, 'onChange'>): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -8,4 +8,4 @@ export type MaskedInputProps = {
|
|
|
8
8
|
name?: string;
|
|
9
9
|
onBlur?: (event: any) => void;
|
|
10
10
|
} & UseMaskedInputProps & Omit<InputProps, 'onChange'>;
|
|
11
|
-
export declare const MaskedInput: import("react").ForwardRefExoticComponent<
|
|
11
|
+
export declare const MaskedInput: import("react").ForwardRefExoticComponent<Omit<MaskedInputProps, "ref"> & import("react").RefAttributes<MaskedInputRef>>;
|
|
@@ -4,4 +4,4 @@ export interface UseMaskedInputProps {
|
|
|
4
4
|
mask?: Inputmask.Options;
|
|
5
5
|
onSet?: (value?: string) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare function useMaskedInput(props: UseMaskedInputProps): import("react").
|
|
7
|
+
export declare function useMaskedInput(props: UseMaskedInputProps): import("react").RefObject<HTMLInputElement | null>;
|
|
@@ -3,4 +3,4 @@ export interface PhoneInputProps {
|
|
|
3
3
|
extension?: boolean;
|
|
4
4
|
onChange?: (value?: string) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare function PhoneInput(props: PhoneInputProps & Omit<MaskedInputProps, 'mask' | 'onChange'>): JSX.Element;
|
|
6
|
+
export declare function PhoneInput(props: PhoneInputProps & Omit<MaskedInputProps, 'mask' | 'onChange'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
1
2
|
import { type FormGroupProps } from 'semantic-ui-react';
|
|
2
3
|
export interface RadioGroupProps {
|
|
3
|
-
children?:
|
|
4
|
+
children?: ReactElement[] | ReactElement;
|
|
4
5
|
onChange?: (value?: string | number) => void;
|
|
5
6
|
value?: string | number;
|
|
6
7
|
}
|
|
7
|
-
export declare function RadioGroup(props: RadioGroupProps & Omit<FormGroupProps, 'children'>): JSX.Element;
|
|
8
|
+
export declare function RadioGroup(props: RadioGroupProps & Omit<FormGroupProps, 'children'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,4 +3,4 @@ export interface SinInputProps extends Omit<MaskedInputProps, 'mask'> {
|
|
|
3
3
|
value?: string;
|
|
4
4
|
onChange(value?: string): void;
|
|
5
5
|
}
|
|
6
|
-
export declare function SinInput(props: SinInputProps): JSX.Element;
|
|
6
|
+
export declare function SinInput(props: SinInputProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,5 +7,5 @@ interface CheckboxEditCellOptions<D extends Record<string, unknown>> {
|
|
|
7
7
|
/** If function is present, and returns true, will add a new row if tab is pressed on the last row */
|
|
8
8
|
addRowOnTabIf?: AddRowOnTabIf<D, boolean>;
|
|
9
9
|
}
|
|
10
|
-
export declare function CheckboxEditCell<D extends Record<string, unknown>>(options?: CheckboxEditCellOptions<D>): (props: TableCellProps<D, boolean>) => JSX.Element;
|
|
10
|
+
export declare function CheckboxEditCell<D extends Record<string, unknown>>(options?: CheckboxEditCellOptions<D>): (props: TableCellProps<D, boolean>) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { DropdownProps } from 'semantic-ui-react';
|
|
2
2
|
import type { TableCellProps } from './TableInput';
|
|
3
|
-
export declare function DropdownCell<D extends Record<string, unknown>>(dropdownProps: DropdownProps): (props: TableCellProps<D>) => JSX.Element;
|
|
3
|
+
export declare function DropdownCell<D extends Record<string, unknown>>(dropdownProps: DropdownProps): (props: TableCellProps<D>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,5 +2,5 @@ import type { CellProps, Renderer } from 'react-table';
|
|
|
2
2
|
interface HoverCellOptions<D extends Record<string, unknown>> {
|
|
3
3
|
Action: Renderer<CellProps<D>>;
|
|
4
4
|
}
|
|
5
|
-
export declare function HoverCell<D extends Record<string, unknown>>(options: HoverCellOptions<D>): (props: CellProps<D>) => JSX.Element | null;
|
|
5
|
+
export declare function HoverCell<D extends Record<string, unknown>>(options: HoverCellOptions<D>): (props: CellProps<D>) => import("react/jsx-runtime").JSX.Element | null;
|
|
6
6
|
export {};
|
|
@@ -6,5 +6,5 @@ interface LocalDateCellOptions<D extends Record<string, unknown>> {
|
|
|
6
6
|
overrideValue?: (props: CellProps<D, LocalDate>) => LocalDate;
|
|
7
7
|
dateFormat?: FormatDateParams;
|
|
8
8
|
}
|
|
9
|
-
export declare function LocalDateCell<D extends Record<string, unknown>>(options?: LocalDateCellOptions<D>): (props: CellProps<D, LocalDate>) => JSX.Element;
|
|
9
|
+
export declare function LocalDateCell<D extends Record<string, unknown>>(options?: LocalDateCellOptions<D>): (props: CellProps<D, LocalDate>) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { LocalDate } from '@js-joda/core';
|
|
2
2
|
import type { TableCellProps } from './TableInput';
|
|
3
|
-
export declare function LocalDateEditCell<D extends Record<string, unknown>>(): (props: TableCellProps<D, LocalDate | null>) => JSX.Element;
|
|
3
|
+
export declare function LocalDateEditCell<D extends Record<string, unknown>>(): (props: TableCellProps<D, LocalDate | null>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { LocalTime } from '@js-joda/core';
|
|
2
2
|
import type { TableCellProps } from './TableInput';
|
|
3
|
-
export declare function LocalTimeEditCell<D extends Record<string, unknown>>(): (props: TableCellProps<D, LocalTime | null>) => JSX.Element;
|
|
3
|
+
export declare function LocalTimeEditCell<D extends Record<string, unknown>>(): (props: TableCellProps<D, LocalTime | null>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,5 +4,5 @@ interface MoneyCellOptions<D extends Record<string, unknown>> {
|
|
|
4
4
|
/** If provided, this function will override the Money value displayed */
|
|
5
5
|
overrideValue?: (props: CellProps<D, Money>) => Money;
|
|
6
6
|
}
|
|
7
|
-
export declare function MoneyCell<D extends Record<string, unknown>>(options?: MoneyCellOptions<D>): (props: CellProps<D, Money>) => JSX.Element;
|
|
7
|
+
export declare function MoneyCell<D extends Record<string, unknown>>(options?: MoneyCellOptions<D>): (props: CellProps<D, Money>) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -6,5 +6,5 @@ interface MoneyEditCellOptions<D extends Record<string, unknown>> {
|
|
|
6
6
|
addRowOnTabIf?: AddRowOnTabIf<D, Money | undefined>;
|
|
7
7
|
tabIndex?: number;
|
|
8
8
|
}
|
|
9
|
-
export declare function MoneyEditCell<D extends Record<string, unknown>>(moneyEditCellProps?: MoneyEditCellOptions<D>): (props: TableCellProps<D, Money | undefined>) => JSX.Element;
|
|
9
|
+
export declare function MoneyEditCell<D extends Record<string, unknown>>(moneyEditCellProps?: MoneyEditCellOptions<D>): (props: TableCellProps<D, Money | undefined>) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -2,5 +2,5 @@ import type { IdType, TableInstance } from 'react-table';
|
|
|
2
2
|
interface MoneySumFooterOptions<A extends Record<string, unknown>> {
|
|
3
3
|
id: IdType<A>;
|
|
4
4
|
}
|
|
5
|
-
export declare function MoneySumFooter<A extends Record<string, unknown>>(options: MoneySumFooterOptions<A>): (info: TableInstance<A>) => JSX.Element;
|
|
5
|
+
export declare function MoneySumFooter<A extends Record<string, unknown>>(options: MoneySumFooterOptions<A>): (info: TableInstance<A>) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -7,5 +7,5 @@ interface NumberEditCellOptions<D extends Record<number, unknown>> {
|
|
|
7
7
|
/** If function is present, and returns true, will add a new row if tab is pressed on the last row */
|
|
8
8
|
addRowOnTabIf?: AddRowOnTabIf<D, number>;
|
|
9
9
|
}
|
|
10
|
-
export declare function NumberEditCell<D extends Record<number, unknown>>(options?: NumberEditCellOptions<D>): (props: TableCellProps<D, number>) => JSX.Element;
|
|
10
|
+
export declare function NumberEditCell<D extends Record<number, unknown>>(options?: NumberEditCellOptions<D>): (props: TableCellProps<D, number>) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -7,5 +7,5 @@ interface StringEditCellOptions<D extends Record<string, unknown>> {
|
|
|
7
7
|
/** If function is present, and returns true, will add a new row if tab is pressed on the last row */
|
|
8
8
|
addRowOnTabIf?: AddRowOnTabIf<D, string>;
|
|
9
9
|
}
|
|
10
|
-
export declare function StringEditCell<D extends Record<string, unknown>>(options?: StringEditCellOptions<D>): (props: TableCellProps<D, string>) => JSX.Element;
|
|
10
|
+
export declare function StringEditCell<D extends Record<string, unknown>>(options?: StringEditCellOptions<D>): (props: TableCellProps<D, string>) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -28,5 +28,5 @@ export interface TableCellProps<D extends DefaultTableType, V = any> extends Cel
|
|
|
28
28
|
* @param props
|
|
29
29
|
* @constructor
|
|
30
30
|
*/
|
|
31
|
-
export declare function TableInput<A extends DefaultTableType>(props: TableInputProps<A>): JSX.Element;
|
|
31
|
+
export declare function TableInput<A extends DefaultTableType>(props: TableInputProps<A>): import("react/jsx-runtime").JSX.Element;
|
|
32
32
|
export {};
|
|
@@ -7,4 +7,4 @@ export interface MoneyCurrencyInputProps extends MoneyInputProps {
|
|
|
7
7
|
text: string;
|
|
8
8
|
}[];
|
|
9
9
|
}
|
|
10
|
-
export declare function MoneyCurrencyInput(props: MoneyCurrencyInputProps & Omit<InputProps, 'onChange'>): JSX.Element;
|
|
10
|
+
export declare function MoneyCurrencyInput(props: MoneyCurrencyInputProps & Omit<InputProps, 'onChange'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export interface MoneyInputProps {
|
|
|
11
11
|
locked?: boolean;
|
|
12
12
|
wholeNumber?: boolean;
|
|
13
13
|
}
|
|
14
|
-
export declare function MoneyInput(props: MoneyInputProps & Omit<InputProps, 'onChange'>): JSX.Element;
|
|
14
|
+
export declare function MoneyInput(props: MoneyInputProps & Omit<InputProps, 'onChange'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
1
2
|
interface FormStepProps {
|
|
2
|
-
children:
|
|
3
|
+
children: ReactElement<any>;
|
|
3
4
|
title?: string;
|
|
4
5
|
stepKey: string;
|
|
5
6
|
hidden?: boolean | ((state: any, step: number) => boolean);
|
|
6
7
|
}
|
|
7
|
-
export declare function FormStep(props: FormStepProps): JSX.Element;
|
|
8
|
+
export declare function FormStep(props: FormStepProps): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
1
2
|
interface StepProps {
|
|
2
|
-
children?:
|
|
3
|
+
children?: ReactElement | ReactElement[];
|
|
3
4
|
title?: string;
|
|
4
5
|
step?: number;
|
|
5
6
|
hidden?: boolean | ((state: any, step: number) => boolean);
|
|
6
7
|
}
|
|
7
|
-
export declare function Step(props: StepProps): JSX.Element;
|
|
8
|
+
export declare function Step(props: StepProps): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
1
2
|
interface StepProviderProps {
|
|
2
|
-
children: (
|
|
3
|
+
children: (ReactElement<any> | null | false)[];
|
|
3
4
|
onSubmit: (values: any) => void;
|
|
4
5
|
values?: any;
|
|
5
6
|
warnOnReroute?: boolean;
|
|
6
7
|
vertical?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare function StepProvider(props: StepProviderProps): JSX.Element;
|
|
9
|
+
export declare function StepProvider(props: StepProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thx/controls",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.1.0",
|
|
4
4
|
"description": "A collection of components designed with SemanticUI.",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/thr-consulting/thr-addons/issues"
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@js-joda/core": "^5.6.5",
|
|
34
|
-
"@thx/date": "^
|
|
35
|
-
"@thx/money": "^
|
|
34
|
+
"@thx/date": "^19.1.0",
|
|
35
|
+
"@thx/money": "^19.1.0",
|
|
36
36
|
"@types/inputmask": "^5.0.7",
|
|
37
37
|
"@types/react-datepicker": "^6.0.1",
|
|
38
38
|
"credit-card-type": "^9.1.0",
|
|
@@ -49,6 +49,9 @@
|
|
|
49
49
|
"social-insurance-number": "^0.2.2",
|
|
50
50
|
"use-deep-compare-effect": "1.4.0"
|
|
51
51
|
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@thx/rollup-config-thx": "^19.0.0"
|
|
54
|
+
},
|
|
52
55
|
"peerDependencies": {
|
|
53
56
|
"react": "17.x",
|
|
54
57
|
"react-dom": "17.x",
|
|
@@ -62,5 +65,5 @@
|
|
|
62
65
|
"publishConfig": {
|
|
63
66
|
"access": "public"
|
|
64
67
|
},
|
|
65
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "4356a4ac35418332f845a65e0f0bf8c490f3d9cb"
|
|
66
69
|
}
|