@thx/controls 16.3.10 → 16.6.1-alpha.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 +73 -16
- package/dist/esm/date/LocalDatePicker/LocalDatePicker.js.map +1 -1
- package/dist/esm/inputs/TableInput/LocalDateEditCell.js +4 -2
- package/dist/esm/inputs/TableInput/LocalDateEditCell.js.map +1 -1
- package/dist/esm/inputs/TableInput/TableInput.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/types/date/LocalDatePicker/LocalDatePicker.d.ts +3 -1
- package/dist/types/inputs/Scriptel/withScriptel.d.ts +1 -0
- package/dist/types/inputs/TableInput/CheckboxEditCell.d.ts +1 -0
- package/dist/types/inputs/TableInput/DropdownCell.d.ts +1 -0
- package/dist/types/inputs/TableInput/HoverCell.d.ts +1 -0
- package/dist/types/inputs/TableInput/LocalDateCell.d.ts +1 -0
- package/dist/types/inputs/TableInput/MoneyCell.d.ts +1 -0
- package/dist/types/inputs/TableInput/MoneyEditCell.d.ts +1 -0
- package/dist/types/inputs/TableInput/MoneySumFooter.d.ts +1 -0
- package/dist/types/inputs/TableInput/StringEditCell.d.ts +1 -0
- package/dist/types/inputs/TableInput/TableInput.d.ts +1 -0
- package/package.json +3 -3
- package/dist/stats.txt +0 -100
- package/dist/types/date/DatePicker/datepicker.stories.d.ts +0 -6
- package/dist/types/date/LocalDatePicker/localdatepicker.stories.d.ts +0 -8
- package/dist/types/date/LocalDatePicker/maskeddateinput.stories.d.ts +0 -12
- package/dist/types/date/LocalMonthSelect/localmonthselect.stories.d.ts +0 -6
- package/dist/types/date/LocalTimePicker/localtimepicker.stories.d.ts +0 -7
- package/dist/types/date/LocalTimePicker/maskedtimeinput.stories.d.ts +0 -7
- package/dist/types/date/MonthDayPicker/monthdaypicker.stories.d.ts +0 -7
- package/dist/types/date/MonthYearPicker/monthyearpicker.stories.d.ts +0 -8
- package/dist/types/date/YearSelect/yearselect.stories.d.ts +0 -7
- package/dist/types/form/TForm/addeditforms.stories.d.ts +0 -30
- package/dist/types/form/TForm/tform.stories.d.ts +0 -33
- package/dist/types/form/TMForm/TMForm.d.ts +0 -8
- package/dist/types/form/TMForm/errorMessages.d.ts +0 -5
- package/dist/types/form/TMForm/graphqlErrorTypes.d.ts +0 -50
- package/dist/types/inputs/CreditCardInput/creditcardinput.stories.d.ts +0 -5
- package/dist/types/inputs/MaskedInput/maskedinput.stories.d.ts +0 -6
- package/dist/types/inputs/PhoneInput/phoneinput.stories.d.ts +0 -5
- package/dist/types/inputs/RadioGroup/radiogroup.stories.d.ts +0 -16
- package/dist/types/inputs/ScriptelInput/scriptelnput.stories.d.ts +0 -5
- package/dist/types/inputs/SinInput/sininput.stories.d.ts +0 -5
- package/dist/types/inputs/TableInput/main.story.d.ts +0 -7
- package/dist/types/inputs/TableInput/tableinput.stories.d.ts +0 -6
- package/dist/types/inputs/TableInput/ts.story.d.ts +0 -0
- package/dist/types/inputs/TableInput/withHover.story.d.ts +0 -7
- package/dist/types/money/MoneyCurrencyInput/moneycurrencyinput.stories.d.ts +0 -5
- package/dist/types/money/MoneyInput/moneyinput.stories.d.ts +0 -6
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
2
|
import { toDate, toLocalDate } from '@thx/date';
|
|
3
3
|
import debug from 'debug';
|
|
4
|
+
import { Input, Icon } from 'semantic-ui-react';
|
|
4
5
|
import DatePicker from 'react-datepicker';
|
|
5
6
|
import '../DatePicker/styles.css.js';
|
|
6
7
|
import { MaskedDateInput } from './MaskedDateInput.js';
|
|
@@ -20,7 +21,7 @@ function LocalDatePicker(props) {
|
|
|
20
21
|
error,
|
|
21
22
|
fluid,
|
|
22
23
|
focus,
|
|
23
|
-
icon,
|
|
24
|
+
icon = true,
|
|
24
25
|
iconPosition,
|
|
25
26
|
inverted,
|
|
26
27
|
label,
|
|
@@ -29,19 +30,32 @@ function LocalDatePicker(props) {
|
|
|
29
30
|
size,
|
|
30
31
|
tabIndex,
|
|
31
32
|
transparent,
|
|
33
|
+
openOnFocus = false,
|
|
32
34
|
...rest
|
|
33
35
|
} = props;
|
|
34
|
-
const selected = value ? toDate(value) : null;
|
|
35
36
|
const inputProps = {
|
|
36
37
|
as,
|
|
37
38
|
action,
|
|
38
39
|
actionPosition,
|
|
39
|
-
className
|
|
40
|
+
className: `${className || ""} icon`,
|
|
40
41
|
error,
|
|
42
|
+
focus,
|
|
41
43
|
fluid,
|
|
44
|
+
inverted,
|
|
45
|
+
label,
|
|
46
|
+
labelPosition,
|
|
47
|
+
loading,
|
|
48
|
+
size,
|
|
49
|
+
tabIndex,
|
|
50
|
+
transparent
|
|
51
|
+
};
|
|
52
|
+
const maskedInputProps = {
|
|
53
|
+
as,
|
|
54
|
+
action,
|
|
55
|
+
actionPosition,
|
|
56
|
+
className,
|
|
57
|
+
error,
|
|
42
58
|
focus,
|
|
43
|
-
icon,
|
|
44
|
-
iconPosition,
|
|
45
59
|
inverted,
|
|
46
60
|
label,
|
|
47
61
|
labelPosition,
|
|
@@ -50,20 +64,63 @@ function LocalDatePicker(props) {
|
|
|
50
64
|
tabIndex,
|
|
51
65
|
transparent
|
|
52
66
|
};
|
|
67
|
+
const iconProps = {
|
|
68
|
+
className,
|
|
69
|
+
inverted,
|
|
70
|
+
loading,
|
|
71
|
+
size,
|
|
72
|
+
transparent,
|
|
73
|
+
iconPosition
|
|
74
|
+
};
|
|
75
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
76
|
+
const [selected, setSelected] = useState(value ? toDate(value) : null);
|
|
77
|
+
const handleDateChange = (date) => {
|
|
78
|
+
setSelected(date);
|
|
79
|
+
onChange && onChange(date ? toLocalDate(date) : null);
|
|
80
|
+
setIsOpen(false);
|
|
81
|
+
};
|
|
82
|
+
const handleInputChange = (e) => {
|
|
83
|
+
const inputValue = e.target.value;
|
|
84
|
+
const date = inputValue ? toDate(inputValue) : null;
|
|
85
|
+
setSelected(date);
|
|
86
|
+
onChange && onChange(date ? toLocalDate(date) : null);
|
|
87
|
+
};
|
|
88
|
+
const handleDatePickerBlur = (e) => {
|
|
89
|
+
setIsOpen(false);
|
|
90
|
+
onBlur && onBlur(e);
|
|
91
|
+
};
|
|
92
|
+
const toggleDatePicker = () => {
|
|
93
|
+
setIsOpen(!isOpen);
|
|
94
|
+
};
|
|
95
|
+
const handleOnKeyDown = (e) => {
|
|
96
|
+
e?.key === "Enter" && toggleDatePicker();
|
|
97
|
+
e?.key === "Escape" && setIsOpen(false);
|
|
98
|
+
};
|
|
53
99
|
return /* @__PURE__ */ React.createElement(DatePicker, {
|
|
54
100
|
...rest,
|
|
55
101
|
selected,
|
|
56
|
-
onChange:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
102
|
+
onChange: handleDateChange,
|
|
103
|
+
customInput: /* @__PURE__ */ React.createElement(Input, {
|
|
104
|
+
...inputProps
|
|
105
|
+
}, /* @__PURE__ */ React.createElement(MaskedDateInput, {
|
|
106
|
+
...maskedInputProps,
|
|
107
|
+
value: selected ? toDate(selected) : "",
|
|
108
|
+
onChange: handleInputChange,
|
|
109
|
+
onClick: ({ target }) => openOnFocus ? setIsOpen(!isOpen) : target.select(),
|
|
110
|
+
onKeyDown: handleOnKeyDown
|
|
111
|
+
}), icon && /* @__PURE__ */ React.createElement(Icon, {
|
|
112
|
+
...iconProps,
|
|
113
|
+
onClick: toggleDatePicker,
|
|
114
|
+
tabIndex: -1,
|
|
115
|
+
name: "calendar alternate",
|
|
116
|
+
link: true
|
|
117
|
+
})),
|
|
65
118
|
minDate: minDate ? toDate(minDate) : null,
|
|
66
|
-
maxDate: maxDate ? toDate(maxDate) : null
|
|
119
|
+
maxDate: maxDate ? toDate(maxDate) : null,
|
|
120
|
+
open: isOpen,
|
|
121
|
+
enableTabLoop: openOnFocus,
|
|
122
|
+
preventOpenOnFocus: openOnFocus,
|
|
123
|
+
onBlur: handleDatePickerBlur
|
|
67
124
|
});
|
|
68
125
|
}
|
|
69
126
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocalDatePicker.js","sources":["../../../../src/date/LocalDatePicker/LocalDatePicker.tsx"],"sourcesContent":["import type {LocalDate} from '@js-joda/core';\nimport {toDate, toLocalDate} from '@thx/date';\nimport debug from 'debug';\nimport type {ReactDatePickerProps} from 'react-datepicker';\nimport
|
|
1
|
+
{"version":3,"file":"LocalDatePicker.js","sources":["../../../../src/date/LocalDatePicker/LocalDatePicker.tsx"],"sourcesContent":["import type {LocalDate} from '@js-joda/core';\nimport {toDate, toLocalDate} from '@thx/date';\nimport debug from 'debug';\nimport {useState} from 'react';\nimport type {ReactDatePickerProps} from 'react-datepicker';\nimport {Icon, Input, InputProps} from 'semantic-ui-react';\nimport {DatePicker} from '../DatePicker/index';\nimport '../DatePicker/styles.css';\nimport {MaskedDateInput} from './MaskedDateInput';\n\nconst d = debug('thx.controls.date.LocalDatePicker');\n\ninterface ILocalDatePicker {\n\tvalue?: LocalDate | number | null;\n\tonChange?: (value: LocalDate | null) => void;\n\tonChangeRaw?: () => void;\n\tminDate?: LocalDate;\n\tmaxDate?: LocalDate;\n\ticon?: boolean;\n\topenOnFocus?: boolean;\n}\n\ntype InputPropsOmitted = Omit<InputProps, 'onChange'>;\ntype ReactDatePickerPropsOmitted = Omit<Omit<ReactDatePickerProps, 'value'>, 'onChange' | 'minDate' | 'maxDate'>;\nexport type LocalDatePickerProps = ILocalDatePicker & InputPropsOmitted & ReactDatePickerPropsOmitted;\n\nexport function LocalDatePicker(props: LocalDatePickerProps): JSX.Element {\n\tconst {\n\t\tminDate,\n\t\tmaxDate,\n\t\tvalue,\n\t\tonChange,\n\t\tonBlur,\n\t\tas,\n\t\taction,\n\t\tactionPosition,\n\t\tclassName,\n\t\terror,\n\t\tfluid,\n\t\tfocus,\n\t\ticon = true,\n\t\ticonPosition,\n\t\tinverted,\n\t\tlabel,\n\t\tlabelPosition,\n\t\tloading,\n\t\tsize,\n\t\ttabIndex,\n\t\ttransparent,\n\t\topenOnFocus = false,\n\t\t...rest\n\t} = props;\n\n\tconst inputProps = {\n\t\tas,\n\t\taction,\n\t\tactionPosition,\n\t\tclassName: `${className || ''} icon`,\n\t\terror,\n\t\tfocus,\n\t\tfluid,\n\t\tinverted,\n\t\tlabel,\n\t\tlabelPosition,\n\t\tloading,\n\t\tsize,\n\t\ttabIndex,\n\t\ttransparent,\n\t};\n\n\tconst maskedInputProps = {\n\t\tas,\n\t\taction,\n\t\tactionPosition,\n\t\tclassName,\n\t\terror,\n\t\tfocus,\n\t\tinverted,\n\t\tlabel,\n\t\tlabelPosition,\n\t\tloading,\n\t\tsize,\n\t\ttabIndex,\n\t\ttransparent,\n\t};\n\n\tconst iconProps = {\n\t\tclassName,\n\t\tinverted,\n\t\tloading,\n\t\tsize,\n\t\ttransparent,\n\t\ticonPosition,\n\t};\n\n\tconst [isOpen, setIsOpen] = useState(false);\n\tconst [selected, setSelected] = useState(value ? toDate(value) : null);\n\n\tconst handleDateChange = (date: Date) => {\n\t\tsetSelected(date);\n\t\tonChange && onChange(date ? toLocalDate(date) : null);\n\t\tsetIsOpen(false);\n\t};\n\n\tconst handleInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n\t\tconst inputValue = e.target.value;\n\t\tconst date = inputValue ? toDate(inputValue) : null;\n\t\tsetSelected(date);\n\t\tonChange && onChange(date ? toLocalDate(date) : null);\n\t};\n\n\tconst handleDatePickerBlur = (e: React.FocusEvent<HTMLInputElement>) => {\n\t\tsetIsOpen(false);\n\t\tonBlur && onBlur(e);\n\t};\n\n\tconst toggleDatePicker = () => {\n\t\tsetIsOpen(!isOpen);\n\t};\n\n\tconst handleOnKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => {\n\t\t// toggle on enter\n\t\te?.key === 'Enter' && toggleDatePicker();\n\t\t// hide on escape\n\t\te?.key === 'Escape' && setIsOpen(false);\n\t};\n\n\treturn (\n\t\t<DatePicker\n\t\t\t{...rest}\n\t\t\tselected={selected}\n\t\t\tonChange={handleDateChange}\n\t\t\tcustomInput={\n\t\t\t\t<Input {...inputProps}>\n\t\t\t\t\t<MaskedDateInput\n\t\t\t\t\t\t{...maskedInputProps}\n\t\t\t\t\t\tvalue={selected ? toDate(selected) : ''}\n\t\t\t\t\t\tonChange={handleInputChange}\n\t\t\t\t\t\tonClick={({target}: {target: HTMLInputElement}) => (openOnFocus ? setIsOpen(!isOpen) : target.select())}\n\t\t\t\t\t\tonKeyDown={handleOnKeyDown}\n\t\t\t\t\t/>\n\t\t\t\t\t{icon && <Icon {...iconProps} onClick={toggleDatePicker} tabIndex={-1} name=\"calendar alternate\" link />}\n\t\t\t\t</Input>\n\t\t\t}\n\t\t\tminDate={minDate ? toDate(minDate) : null}\n\t\t\tmaxDate={maxDate ? toDate(maxDate) : null}\n\t\t\topen={isOpen}\n\t\t\tenableTabLoop={openOnFocus}\n\t\t\tpreventOpenOnFocus={openOnFocus}\n\t\t\tonBlur={handleDatePickerBlur}\n\t\t/>\n\t);\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -9,7 +9,8 @@ function LocalDateEditCell() {
|
|
|
9
9
|
value: initialValue,
|
|
10
10
|
row: { index: rowIndex },
|
|
11
11
|
column: { id },
|
|
12
|
-
updateData
|
|
12
|
+
updateData,
|
|
13
|
+
hoverRow
|
|
13
14
|
} = props;
|
|
14
15
|
const [value, setValue] = useState(initialValue);
|
|
15
16
|
return /* @__PURE__ */ React.createElement(LocalDatePicker, {
|
|
@@ -22,7 +23,8 @@ function LocalDateEditCell() {
|
|
|
22
23
|
},
|
|
23
24
|
onBlur: () => {
|
|
24
25
|
updateData(rowIndex, id, value);
|
|
25
|
-
}
|
|
26
|
+
},
|
|
27
|
+
icon: hoverRow.toString() === rowIndex.toString()
|
|
26
28
|
});
|
|
27
29
|
};
|
|
28
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocalDateEditCell.js","sources":["../../../../src/inputs/TableInput/LocalDateEditCell.tsx"],"sourcesContent":["import type {LocalDate} from '@js-joda/core';\nimport debug from 'debug';\nimport {useState} from 'react';\nimport {LocalDatePicker} from '../../date/LocalDatePicker';\nimport type {TableCellProps} from './TableInput';\n\nconst d = debug('thx.controls.inputs.TableInput.LocalDateEditCell');\n\nexport function LocalDateEditCell<D extends Record<string, unknown>>() {\n\treturn function LocalDateEditCellFn(props: TableCellProps<D, LocalDate | null>) {\n\t\tconst {\n\t\t\tvalue: initialValue,\n\t\t\trow: {index: rowIndex},\n\t\t\tcolumn: {id},\n\t\t\tupdateData,\n\t\t} = props;\n\n\t\tconst [value, setValue] = useState(initialValue);\n\n\t\treturn (\n\t\t\t<LocalDatePicker\n\t\t\t\tfluid\n\t\t\t\ttransparent\n\t\t\t\tvalue={value}\n\t\t\t\tonChange={val => {\n\t\t\t\t\tsetValue(val);\n\t\t\t\t\tupdateData(rowIndex, id, val);\n\t\t\t\t}}\n\t\t\t\tonBlur={() => {\n\t\t\t\t\tupdateData(rowIndex, id, value);\n\t\t\t\t}}\n\t\t\t/>\n\t\t);\n\t};\n}\n"],"names":[],"mappings":";;;;AAMU,MAAM,kDAAkD,EAAA;AAEK,SAAA,iBAAA,GAAA;AACtE,EAAA,OAAO,6BAA6B,KAA4C,EAAA;AAC/E,IAAM,MAAA;AAAA,MACL,KAAO,EAAA,YAAA;AAAA,MACP,GAAA,EAAK,EAAC,KAAO,EAAA,QAAA,EAAA;AAAA,MACb,QAAQ,EAAC,EAAA,EAAA;AAAA,MACT,UAAA;AAAA,KACG,GAAA,KAAA,CAAA;AAEJ,IAAA,MAAM,CAAC,KAAA,EAAO,QAAY,CAAA,GAAA,QAAA,CAAS,YAAY,CAAA,CAAA;AAE/C,IAAA,uBACE,KAAA,CAAA,aAAA,CAAA,eAAA,EAAA;AAAA,MACA,KAAK,EAAA,IAAA;AAAA,MACL,WAAW,EAAA,IAAA;AAAA,MACX,KAAA;AAAA,MACA,UAAU,CAAO,GAAA,KAAA;AAChB,QAAA,QAAA,CAAS,GAAG,CAAA,CAAA;AACZ,QAAW,UAAA,CAAA,QAAA,EAAU,IAAI,GAAG,CAAA,CAAA;AAAA,OAC7B;AAAA,MACA,QAAQ,MAAM;AACb,QAAW,UAAA,CAAA,QAAA,EAAU,IAAI,KAAK,CAAA,CAAA;AAAA,OAC/B;AAAA,
|
|
1
|
+
{"version":3,"file":"LocalDateEditCell.js","sources":["../../../../src/inputs/TableInput/LocalDateEditCell.tsx"],"sourcesContent":["import type {LocalDate} from '@js-joda/core';\nimport debug from 'debug';\nimport {useState} from 'react';\nimport {LocalDatePicker} from '../../date/LocalDatePicker';\nimport type {TableCellProps} from './TableInput';\n\nconst d = debug('thx.controls.inputs.TableInput.LocalDateEditCell');\n\nexport function LocalDateEditCell<D extends Record<string, unknown>>() {\n\treturn function LocalDateEditCellFn(props: TableCellProps<D, LocalDate | null>) {\n\t\tconst {\n\t\t\tvalue: initialValue,\n\t\t\trow: {index: rowIndex},\n\t\t\tcolumn: {id},\n\t\t\tupdateData,\n\t\t\thoverRow,\n\t\t} = props;\n\n\t\tconst [value, setValue] = useState(initialValue);\n\n\t\treturn (\n\t\t\t<LocalDatePicker\n\t\t\t\tfluid\n\t\t\t\ttransparent\n\t\t\t\tvalue={value}\n\t\t\t\tonChange={val => {\n\t\t\t\t\tsetValue(val);\n\t\t\t\t\tupdateData(rowIndex, id, val);\n\t\t\t\t}}\n\t\t\t\tonBlur={() => {\n\t\t\t\t\tupdateData(rowIndex, id, value);\n\t\t\t\t}}\n\t\t\t\ticon={hoverRow.toString() === rowIndex.toString()}\n\t\t\t/>\n\t\t);\n\t};\n}\n"],"names":[],"mappings":";;;;AAMU,MAAM,kDAAkD,EAAA;AAEK,SAAA,iBAAA,GAAA;AACtE,EAAA,OAAO,6BAA6B,KAA4C,EAAA;AAC/E,IAAM,MAAA;AAAA,MACL,KAAO,EAAA,YAAA;AAAA,MACP,GAAA,EAAK,EAAC,KAAO,EAAA,QAAA,EAAA;AAAA,MACb,QAAQ,EAAC,EAAA,EAAA;AAAA,MACT,UAAA;AAAA,MACA,QAAA;AAAA,KACG,GAAA,KAAA,CAAA;AAEJ,IAAA,MAAM,CAAC,KAAA,EAAO,QAAY,CAAA,GAAA,QAAA,CAAS,YAAY,CAAA,CAAA;AAE/C,IAAA,uBACE,KAAA,CAAA,aAAA,CAAA,eAAA,EAAA;AAAA,MACA,KAAK,EAAA,IAAA;AAAA,MACL,WAAW,EAAA,IAAA;AAAA,MACX,KAAA;AAAA,MACA,UAAU,CAAO,GAAA,KAAA;AAChB,QAAA,QAAA,CAAS,GAAG,CAAA,CAAA;AACZ,QAAW,UAAA,CAAA,QAAA,EAAU,IAAI,GAAG,CAAA,CAAA;AAAA,OAC7B;AAAA,MACA,QAAQ,MAAM;AACb,QAAW,UAAA,CAAA,QAAA,EAAU,IAAI,KAAK,CAAA,CAAA;AAAA,OAC/B;AAAA,MACA,IAAM,EAAA,QAAA,CAAS,QAAS,EAAA,KAAM,SAAS,QAAS,EAAA;AAAA,KACjD,CAAA,CAAA;AAAA,GAEF,CAAA;AACD;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableInput.js","sources":["../../../../src/inputs/TableInput/TableInput.tsx"],"sourcesContent":["import debug from 'debug';\nimport {FieldArray, FieldArrayRenderProps} from 'formik';\nimport {useMemo, useState} from 'react';\nimport {\n\tCellPropGetter,\n\tCellProps,\n\tColumn,\n\tFooterGroupPropGetter,\n\tFooterPropGetter,\n\tHeaderGroupPropGetter,\n\tHeaderPropGetter,\n\tRowPropGetter,\n\tTableBodyPropGetter,\n\tuseTable,\n} from 'react-table';\nimport {Table, TableProps} from 'semantic-ui-react';\n\nconst d = debug('thx.controls.inputs.TableInput');\n\ntype DefaultTableType = Record<string, unknown>;\n\ninterface TableInputProps<A extends DefaultTableType> {\n\tname: string;\n\tvalues: A[];\n\tcolumns: Column<A>[];\n\tsetFieldValue: (field: string, value: any, shouldValidate?: boolean | undefined) => void;\n\tcreateRow: () => A;\n\ttableProps?: TableProps;\n\theaderRowProps?: HeaderGroupPropGetter<A>;\n\theaderCellProps?: HeaderPropGetter<A>;\n\tfooterRowProps?: FooterGroupPropGetter<A>;\n\tfooterCellProps?: FooterPropGetter<A>;\n\tbodyProps?: TableBodyPropGetter<A>;\n\trowProps?: RowPropGetter<A>;\n\tcellProps?: CellPropGetter<A>;\n}\n\ninterface TableInputTableProps<A extends DefaultTableType> extends TableInputProps<A> {\n\tarrayHelpers: FieldArrayRenderProps;\n}\n\nexport interface TableCellProps<D extends DefaultTableType, V = any> extends CellProps<D, V> {\n\tarrayHelpers: FieldArrayRenderProps;\n\taddRow: () => void;\n\tupdateData: (index: number, id: string, value: V) => void;\n}\n\nfunction TableInputTable<A extends DefaultTableType>(props: TableInputTableProps<A>) {\n\tconst {\n\t\tname,\n\t\tcolumns,\n\t\tvalues,\n\t\tarrayHelpers,\n\t\tsetFieldValue,\n\t\tcreateRow,\n\t\ttableProps,\n\t\theaderRowProps,\n\t\theaderCellProps,\n\t\tbodyProps,\n\t\trowProps,\n\t\tcellProps,\n\t\tfooterCellProps,\n\t\tfooterRowProps,\n\t} = props;\n\tconst cols = useMemo(() => columns, [columns]);\n\tconst vals = useMemo(() => values, [values]);\n\tconst [hoverRow, setHoverRow] = useState('');\n\n\t// React-Table hook\n\tconst {getTableProps, getTableBodyProps, headerGroups, prepareRow, rows, footerGroups} = useTable<A>({\n\t\tcolumns: cols,\n\t\tdata: vals,\n\t\t// @ts-ignore\n\t\tupdateData(rowIndex, columnId, value) {\n\t\t\tsetFieldValue(`${name}[${rowIndex}].${columnId}`, value);\n\t\t},\n\t\taddRow() {\n\t\t\tarrayHelpers.push(createRow());\n\t\t},\n\t\tarrayHelpers,\n\t});\n\n\t// @ts-ignore Check for the existence of a Footer that is not the default emptyRenderer()\n\tconst hasFooter = footerGroups.some(fg => fg.headers.some(fgh => fgh.Footer.name !== 'emptyRenderer'));\n\n\t// Build Footer if any footer renderers exist\n\tconst footer = hasFooter ? (\n\t\t<Table.Footer>\n\t\t\t{footerGroups.map(group => (\n\t\t\t\t// eslint-disable-next-line react/jsx-key\n\t\t\t\t<Table.Row {...{...group.getFooterGroupProps(), ...group.getFooterGroupProps(footerRowProps)}}>\n\t\t\t\t\t{group.headers.map(column => (\n\t\t\t\t\t\t// eslint-disable-next-line react/jsx-key\n\t\t\t\t\t\t<Table.HeaderCell {...{...column.getFooterProps(), ...column.getFooterProps(footerCellProps)}}>\n\t\t\t\t\t\t\t{column.render('Footer')}\n\t\t\t\t\t\t</Table.HeaderCell>\n\t\t\t\t\t))}\n\t\t\t\t</Table.Row>\n\t\t\t))}\n\t\t</Table.Footer>\n\t) : null;\n\n\treturn (\n\t\t<Table {...{...getTableProps(), ...getTableProps(tableProps)}}>\n\t\t\t<Table.Header>\n\t\t\t\t{headerGroups.map(headerGroup => (\n\t\t\t\t\t// eslint-disable-next-line react/jsx-key\n\t\t\t\t\t<Table.Row {...{...headerGroup.getHeaderGroupProps(), ...headerGroup.getHeaderGroupProps(headerRowProps)}}>\n\t\t\t\t\t\t{headerGroup.headers.map(column => (\n\t\t\t\t\t\t\t// eslint-disable-next-line react/jsx-key\n\t\t\t\t\t\t\t<Table.HeaderCell {...{...column.getHeaderProps(), ...column.getHeaderProps(headerCellProps)}}>\n\t\t\t\t\t\t\t\t{column.render('Header')}\n\t\t\t\t\t\t\t</Table.HeaderCell>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</Table.Row>\n\t\t\t\t))}\n\t\t\t</Table.Header>\n\t\t\t<Table.Body {...{...getTableBodyProps(), ...getTableBodyProps(bodyProps)}}>\n\t\t\t\t{rows.map(row => {\n\t\t\t\t\tprepareRow(row);\n\t\t\t\t\treturn (\n\t\t\t\t\t\t// eslint-disable-next-line react/jsx-key\n\t\t\t\t\t\t<Table.Row\n\t\t\t\t\t\t\t{...{...row.getRowProps(), ...row.getRowProps(rowProps)}}\n\t\t\t\t\t\t\tonMouseEnter={() => setHoverRow(row.id)}\n\t\t\t\t\t\t\tonMouseLeave={() => setHoverRow('')}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{row.cells.map(cell => (\n\t\t\t\t\t\t\t\t// eslint-disable-next-line react/jsx-key\n\t\t\t\t\t\t\t\t<Table.Cell {...{...cell.getCellProps(), ...cell.getCellProps(cellProps)}}>{cell.render('Cell', {hoverRow})}</Table.Cell>\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t</Table.Row>\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t</Table.Body>\n\t\t\t{footer}\n\t\t</Table>\n\t);\n}\n\n/**\n * Can be used in a TForm as a Table Input.\n * @param props\n * @constructor\n */\nexport function TableInput<A extends DefaultTableType>(props: TableInputProps<A>) {\n\treturn <FieldArray name={props.name} render={arrayHelpers => <TableInputTable arrayHelpers={arrayHelpers} {...props} />} />;\n}\n"],"names":[],"mappings":";;;;;;AAiBU,MAAM,gCAAgC,EAAA;
|
|
1
|
+
{"version":3,"file":"TableInput.js","sources":["../../../../src/inputs/TableInput/TableInput.tsx"],"sourcesContent":["import debug from 'debug';\nimport {FieldArray, FieldArrayRenderProps} from 'formik';\nimport {useMemo, useState} from 'react';\nimport {\n\tCellPropGetter,\n\tCellProps,\n\tColumn,\n\tFooterGroupPropGetter,\n\tFooterPropGetter,\n\tHeaderGroupPropGetter,\n\tHeaderPropGetter,\n\tRowPropGetter,\n\tTableBodyPropGetter,\n\tuseTable,\n} from 'react-table';\nimport {Table, TableProps} from 'semantic-ui-react';\n\nconst d = debug('thx.controls.inputs.TableInput');\n\ntype DefaultTableType = Record<string, unknown>;\n\ninterface TableInputProps<A extends DefaultTableType> {\n\tname: string;\n\tvalues: A[];\n\tcolumns: Column<A>[];\n\tsetFieldValue: (field: string, value: any, shouldValidate?: boolean | undefined) => void;\n\tcreateRow: () => A;\n\ttableProps?: TableProps;\n\theaderRowProps?: HeaderGroupPropGetter<A>;\n\theaderCellProps?: HeaderPropGetter<A>;\n\tfooterRowProps?: FooterGroupPropGetter<A>;\n\tfooterCellProps?: FooterPropGetter<A>;\n\tbodyProps?: TableBodyPropGetter<A>;\n\trowProps?: RowPropGetter<A>;\n\tcellProps?: CellPropGetter<A>;\n}\n\ninterface TableInputTableProps<A extends DefaultTableType> extends TableInputProps<A> {\n\tarrayHelpers: FieldArrayRenderProps;\n}\n\nexport interface TableCellProps<D extends DefaultTableType, V = any> extends CellProps<D, V> {\n\tarrayHelpers: FieldArrayRenderProps;\n\taddRow: () => void;\n\tupdateData: (index: number, id: string, value: V) => void;\n\thoverRow: string | number;\n}\n\nfunction TableInputTable<A extends DefaultTableType>(props: TableInputTableProps<A>) {\n\tconst {\n\t\tname,\n\t\tcolumns,\n\t\tvalues,\n\t\tarrayHelpers,\n\t\tsetFieldValue,\n\t\tcreateRow,\n\t\ttableProps,\n\t\theaderRowProps,\n\t\theaderCellProps,\n\t\tbodyProps,\n\t\trowProps,\n\t\tcellProps,\n\t\tfooterCellProps,\n\t\tfooterRowProps,\n\t} = props;\n\tconst cols = useMemo(() => columns, [columns]);\n\tconst vals = useMemo(() => values, [values]);\n\tconst [hoverRow, setHoverRow] = useState('');\n\n\t// React-Table hook\n\tconst {getTableProps, getTableBodyProps, headerGroups, prepareRow, rows, footerGroups} = useTable<A>({\n\t\tcolumns: cols,\n\t\tdata: vals,\n\t\t// @ts-ignore\n\t\tupdateData(rowIndex, columnId, value) {\n\t\t\tsetFieldValue(`${name}[${rowIndex}].${columnId}`, value);\n\t\t},\n\t\taddRow() {\n\t\t\tarrayHelpers.push(createRow());\n\t\t},\n\t\tarrayHelpers,\n\t});\n\n\t// @ts-ignore Check for the existence of a Footer that is not the default emptyRenderer()\n\tconst hasFooter = footerGroups.some(fg => fg.headers.some(fgh => fgh.Footer.name !== 'emptyRenderer'));\n\n\t// Build Footer if any footer renderers exist\n\tconst footer = hasFooter ? (\n\t\t<Table.Footer>\n\t\t\t{footerGroups.map(group => (\n\t\t\t\t// eslint-disable-next-line react/jsx-key\n\t\t\t\t<Table.Row {...{...group.getFooterGroupProps(), ...group.getFooterGroupProps(footerRowProps)}}>\n\t\t\t\t\t{group.headers.map(column => (\n\t\t\t\t\t\t// eslint-disable-next-line react/jsx-key\n\t\t\t\t\t\t<Table.HeaderCell {...{...column.getFooterProps(), ...column.getFooterProps(footerCellProps)}}>\n\t\t\t\t\t\t\t{column.render('Footer')}\n\t\t\t\t\t\t</Table.HeaderCell>\n\t\t\t\t\t))}\n\t\t\t\t</Table.Row>\n\t\t\t))}\n\t\t</Table.Footer>\n\t) : null;\n\n\treturn (\n\t\t<Table {...{...getTableProps(), ...getTableProps(tableProps)}}>\n\t\t\t<Table.Header>\n\t\t\t\t{headerGroups.map(headerGroup => (\n\t\t\t\t\t// eslint-disable-next-line react/jsx-key\n\t\t\t\t\t<Table.Row {...{...headerGroup.getHeaderGroupProps(), ...headerGroup.getHeaderGroupProps(headerRowProps)}}>\n\t\t\t\t\t\t{headerGroup.headers.map(column => (\n\t\t\t\t\t\t\t// eslint-disable-next-line react/jsx-key\n\t\t\t\t\t\t\t<Table.HeaderCell {...{...column.getHeaderProps(), ...column.getHeaderProps(headerCellProps)}}>\n\t\t\t\t\t\t\t\t{column.render('Header')}\n\t\t\t\t\t\t\t</Table.HeaderCell>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</Table.Row>\n\t\t\t\t))}\n\t\t\t</Table.Header>\n\t\t\t<Table.Body {...{...getTableBodyProps(), ...getTableBodyProps(bodyProps)}}>\n\t\t\t\t{rows.map(row => {\n\t\t\t\t\tprepareRow(row);\n\t\t\t\t\treturn (\n\t\t\t\t\t\t// eslint-disable-next-line react/jsx-key\n\t\t\t\t\t\t<Table.Row\n\t\t\t\t\t\t\t{...{...row.getRowProps(), ...row.getRowProps(rowProps)}}\n\t\t\t\t\t\t\tonMouseEnter={() => setHoverRow(row.id)}\n\t\t\t\t\t\t\tonMouseLeave={() => setHoverRow('')}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{row.cells.map(cell => (\n\t\t\t\t\t\t\t\t// eslint-disable-next-line react/jsx-key\n\t\t\t\t\t\t\t\t<Table.Cell {...{...cell.getCellProps(), ...cell.getCellProps(cellProps)}}>{cell.render('Cell', {hoverRow})}</Table.Cell>\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t</Table.Row>\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t</Table.Body>\n\t\t\t{footer}\n\t\t</Table>\n\t);\n}\n\n/**\n * Can be used in a TForm as a Table Input.\n * @param props\n * @constructor\n */\nexport function TableInput<A extends DefaultTableType>(props: TableInputProps<A>) {\n\treturn <FieldArray name={props.name} render={arrayHelpers => <TableInputTable arrayHelpers={arrayHelpers} {...props} />} />;\n}\n"],"names":[],"mappings":"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"}
|
package/dist/stats.html
CHANGED
|
@@ -2669,7 +2669,7 @@ var drawChart = (function (exports) {
|
|
|
2669
2669
|
</script>
|
|
2670
2670
|
<script>
|
|
2671
2671
|
/*<!--*/
|
|
2672
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src/index.ts","uid":"e22f-1"}]},{"name":"money/useMoneyInput.js","children":[{"name":"src/money/useMoneyInput.ts","uid":"e22f-3"}]},{"name":"step/useStep.js","children":[{"name":"src/step/useStep.ts","uid":"e22f-5"}]},{"name":"step/Step.js","children":[{"name":"src/step/Step.tsx","uid":"e22f-7"}]},{"name":"step/FormStep.js","children":[{"name":"src/step/FormStep.tsx","uid":"e22f-9"}]},{"name":"step/StepProvider.js","children":[{"name":"src/step/StepProvider.tsx","uid":"e22f-11"}]},{"name":"inputs/MaskedInput/useMaskedInput.js","children":[{"name":"src/inputs/MaskedInput/useMaskedInput.ts","uid":"e22f-13"}]},{"name":"inputs/TableInput/addRowOnTab.js","children":[{"name":"src/inputs/TableInput/addRowOnTab.ts","uid":"e22f-15"}]},{"name":"date/LocalMonthSelect/LocalMonthSelect.js","children":[{"name":"src/date/LocalMonthSelect/LocalMonthSelect.tsx","uid":"e22f-17"}]},{"name":"date/LocalTimePicker/LocalTimePicker.js","children":[{"name":"src/date/LocalTimePicker/LocalTimePicker.tsx","uid":"e22f-19"}]},{"name":"date/LocalDatePicker/LocalDatePicker.js","children":[{"name":"src/date/LocalDatePicker/LocalDatePicker.tsx","uid":"e22f-21"}]},{"name":"date/YearSelect/YearSelect.js","children":[{"name":"src/date/YearSelect/YearSelect.tsx","uid":"e22f-23"}]},{"name":"date/MonthYearPicker/MonthYearPicker.js","children":[{"name":"src/date/MonthYearPicker/MonthYearPicker.tsx","uid":"e22f-25"}]},{"name":"inputs/MaskedInput/MaskedInput.js","children":[{"name":"src/inputs/MaskedInput/MaskedInput.tsx","uid":"e22f-27"}]},{"name":"form/TForm/TForm.js","children":[{"name":"src/form/TForm/TForm.tsx","uid":"e22f-29"}]},{"name":"form/TForm/useTForm.js","children":[{"name":"src/form/TForm/useTForm.tsx","uid":"e22f-31"}]},{"name":"date/MonthDayPicker/MonthDayPicker.js","children":[{"name":"src/date/MonthDayPicker/MonthDayPicker.tsx","uid":"e22f-33"}]},{"name":"inputs/RadioGroup/RadioGroup.js","children":[{"name":"src/inputs/RadioGroup/RadioGroup.tsx","uid":"e22f-35"}]},{"name":"inputs/Scriptel/Scriptel.js","children":[{"name":"src/inputs/Scriptel/Scriptel.tsx","uid":"e22f-37"}]},{"name":"inputs/Scriptel/withScriptel.js","children":[{"name":"src/inputs/Scriptel/withScriptel.tsx","uid":"e22f-39"}]},{"name":"inputs/ScriptelInput/ScriptelInput.js","children":[{"name":"src/inputs/ScriptelInput/ScriptelInput.tsx","uid":"e22f-41"}]},{"name":"inputs/PhoneInput/PhoneInput.js","children":[{"name":"src/inputs/PhoneInput/PhoneInput.tsx","uid":"e22f-43"}]},{"name":"inputs/SinInput/SinInput.js","children":[{"name":"src/inputs/SinInput/SinInput.tsx","uid":"e22f-45"}]},{"name":"inputs/CreditCardInput/CreditCardInput.js","children":[{"name":"src/inputs/CreditCardInput/CreditCardInput.tsx","uid":"e22f-47"}]},{"name":"money/MoneyInput/MoneyInput.js","children":[{"name":"src/money/MoneyInput/MoneyInput.tsx","uid":"e22f-49"}]},{"name":"inputs/TableInput/TableInput.js","children":[{"name":"src/inputs/TableInput/TableInput.tsx","uid":"e22f-51"}]},{"name":"inputs/TableInput/MoneyCell.js","children":[{"name":"src/inputs/TableInput/MoneyCell.tsx","uid":"e22f-53"}]},{"name":"inputs/TableInput/MoneyEditCell.js","children":[{"name":"src/inputs/TableInput/MoneyEditCell.tsx","uid":"e22f-55"}]},{"name":"inputs/TableInput/LocalDateCell.js","children":[{"name":"src/inputs/TableInput/LocalDateCell.tsx","uid":"e22f-57"}]},{"name":"inputs/TableInput/CheckboxEditCell.js","children":[{"name":"src/inputs/TableInput/CheckboxEditCell.tsx","uid":"e22f-59"}]},{"name":"inputs/TableInput/LocalDateEditCell.js","children":[{"name":"src/inputs/TableInput/LocalDateEditCell.tsx","uid":"e22f-61"}]},{"name":"inputs/TableInput/MoneySumFooter.js","children":[{"name":"src/inputs/TableInput/MoneySumFooter.tsx","uid":"e22f-63"}]},{"name":"inputs/TableInput/StringEditCell.js","children":[{"name":"src/inputs/TableInput/StringEditCell.tsx","uid":"e22f-65"}]},{"name":"inputs/TableInput/DropdownCell.js","children":[{"name":"src/inputs/TableInput/DropdownCell.tsx","uid":"e22f-67"}]},{"name":"inputs/TableInput/HoverCell.js","children":[{"name":"src/inputs/TableInput/HoverCell.tsx","uid":"e22f-69"}]},{"name":"money/MoneyCurrencyInput/MoneyCurrencyInput.js","children":[{"name":"src/money/MoneyCurrencyInput/MoneyCurrencyInput.tsx","uid":"e22f-71"}]},{"name":"inputs/Scriptel/scriptel/enums.js","children":[{"name":"src/inputs/Scriptel/scriptel/enums.ts","uid":"e22f-73"}]},{"name":"step/stepContext.js","children":[{"name":"src/step/stepContext.ts","uid":"e22f-75"}]},{"name":"date/DatePicker/styles.css.js","children":[{"name":"src/date/DatePicker/styles.css","uid":"e22f-77"}]},{"name":"inputs/CreditCardInput/styles.css.js","children":[{"name":"src/inputs/CreditCardInput/styles.css","uid":"e22f-79"}]},{"name":"date/LocalTimePicker/MaskedTimeInput.js","children":[{"name":"src/date/LocalTimePicker/MaskedTimeInput.tsx","uid":"e22f-81"}]},{"name":"date/LocalDatePicker/MaskedDateInput.js","children":[{"name":"src/date/LocalDatePicker/MaskedDateInput.tsx","uid":"e22f-83"}]},{"name":"inputs/Scriptel/ScriptelContext.js","children":[{"name":"src/inputs/Scriptel/ScriptelContext.ts","uid":"e22f-85"}]},{"name":"inputs/CreditCardInput/CreditCardNumberInput.js","children":[{"name":"src/inputs/CreditCardInput/CreditCardNumberInput.tsx","uid":"e22f-87"}]},{"name":"inputs/Scriptel/scriptel/index.js","children":[{"name":"src/inputs/Scriptel/scriptel/index.ts","uid":"e22f-89"}]},{"name":"external/style-inject/dist/style-inject.es.js","children":[{"name":"home/mike/dev/thx/node_modules/style-inject/dist/style-inject.es.js","uid":"e22f-91"}]}],"isRoot":true},"nodeParts":{"e22f-1":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"e22f-0"},"e22f-3":{"renderedLength":2155,"gzipLength":770,"brotliLength":660,"mainUid":"e22f-2"},"e22f-5":{"renderedLength":113,"gzipLength":106,"brotliLength":82,"mainUid":"e22f-4"},"e22f-7":{"renderedLength":203,"gzipLength":157,"brotliLength":111,"mainUid":"e22f-6"},"e22f-9":{"renderedLength":440,"gzipLength":270,"brotliLength":214,"mainUid":"e22f-8"},"e22f-11":{"renderedLength":3529,"gzipLength":1021,"brotliLength":861,"mainUid":"e22f-10"},"e22f-13":{"renderedLength":1487,"gzipLength":502,"brotliLength":423,"mainUid":"e22f-12"},"e22f-15":{"renderedLength":312,"gzipLength":199,"brotliLength":173,"mainUid":"e22f-14"},"e22f-17":{"renderedLength":1135,"gzipLength":503,"brotliLength":415,"mainUid":"e22f-16"},"e22f-19":{"renderedLength":1205,"gzipLength":488,"brotliLength":402,"mainUid":"e22f-18"},"e22f-21":{"renderedLength":1096,"gzipLength":407,"brotliLength":339,"mainUid":"e22f-20"},"e22f-23":{"renderedLength":1553,"gzipLength":580,"brotliLength":461,"mainUid":"e22f-22"},"e22f-25":{"renderedLength":1229,"gzipLength":491,"brotliLength":424,"mainUid":"e22f-24"},"e22f-27":{"renderedLength":390,"gzipLength":237,"brotliLength":203,"mainUid":"e22f-26"},"e22f-29":{"renderedLength":600,"gzipLength":307,"brotliLength":267,"mainUid":"e22f-28"},"e22f-31":{"renderedLength":2930,"gzipLength":959,"brotliLength":816,"mainUid":"e22f-30"},"e22f-33":{"renderedLength":1965,"gzipLength":657,"brotliLength":544,"mainUid":"e22f-32"},"e22f-35":{"renderedLength":561,"gzipLength":301,"brotliLength":259,"mainUid":"e22f-34"},"e22f-37":{"renderedLength":1275,"gzipLength":476,"brotliLength":406,"mainUid":"e22f-36"},"e22f-39":{"renderedLength":275,"gzipLength":163,"brotliLength":130,"mainUid":"e22f-38"},"e22f-41":{"renderedLength":1963,"gzipLength":648,"brotliLength":547,"mainUid":"e22f-40"},"e22f-43":{"renderedLength":381,"gzipLength":248,"brotliLength":218,"mainUid":"e22f-42"},"e22f-45":{"renderedLength":1144,"gzipLength":530,"brotliLength":462,"mainUid":"e22f-44"},"e22f-47":{"renderedLength":2324,"gzipLength":586,"brotliLength":495,"mainUid":"e22f-46"},"e22f-49":{"renderedLength":778,"gzipLength":392,"brotliLength":329,"mainUid":"e22f-48"},"e22f-51":{"renderedLength":2788,"gzipLength":828,"brotliLength":734,"mainUid":"e22f-50"},"e22f-53":{"renderedLength":257,"gzipLength":187,"brotliLength":149,"mainUid":"e22f-52"},"e22f-55":{"renderedLength":620,"gzipLength":346,"brotliLength":310,"mainUid":"e22f-54"},"e22f-57":{"renderedLength":264,"gzipLength":191,"brotliLength":154,"mainUid":"e22f-56"},"e22f-59":{"renderedLength":746,"gzipLength":384,"brotliLength":333,"mainUid":"e22f-58"},"e22f-61":{"renderedLength":622,"gzipLength":322,"brotliLength":263,"mainUid":"e22f-60"},"e22f-63":{"renderedLength":414,"gzipLength":261,"brotliLength":219,"mainUid":"e22f-62"},"e22f-65":{"renderedLength":717,"gzipLength":369,"brotliLength":319,"mainUid":"e22f-64"},"e22f-67":{"renderedLength":493,"gzipLength":255,"brotliLength":211,"mainUid":"e22f-66"},"e22f-69":{"renderedLength":403,"gzipLength":245,"brotliLength":195,"mainUid":"e22f-68"},"e22f-71":{"renderedLength":1575,"gzipLength":642,"brotliLength":536,"mainUid":"e22f-70"},"e22f-73":{"renderedLength":937,"gzipLength":292,"brotliLength":231,"mainUid":"e22f-72"},"e22f-75":{"renderedLength":80,"gzipLength":90,"brotliLength":72,"mainUid":"e22f-74"},"e22f-77":{"renderedLength":538,"gzipLength":263,"brotliLength":211,"mainUid":"e22f-76"},"e22f-79":{"renderedLength":78,"gzipLength":92,"brotliLength":79,"mainUid":"e22f-78"},"e22f-81":{"renderedLength":446,"gzipLength":290,"brotliLength":241,"mainUid":"e22f-80"},"e22f-83":{"renderedLength":464,"gzipLength":299,"brotliLength":256,"mainUid":"e22f-82"},"e22f-85":{"renderedLength":46,"gzipLength":60,"brotliLength":45,"mainUid":"e22f-84"},"e22f-87":{"renderedLength":1713,"gzipLength":687,"brotliLength":585,"mainUid":"e22f-86"},"e22f-89":{"renderedLength":2530,"gzipLength":860,"brotliLength":739,"mainUid":"e22f-88"},"e22f-91":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"e22f-90"}},"nodeMetas":{"e22f-0":{"id":"/src/index.ts","moduleParts":{"index.js":"e22f-1"},"imported":[{"uid":"e22f-92"},{"uid":"e22f-93"},{"uid":"e22f-94"},{"uid":"e22f-95"},{"uid":"e22f-96"},{"uid":"e22f-97"},{"uid":"e22f-98"},{"uid":"e22f-99"},{"uid":"e22f-100"},{"uid":"e22f-101"},{"uid":"e22f-102"},{"uid":"e22f-103"},{"uid":"e22f-104"},{"uid":"e22f-105"},{"uid":"e22f-106"},{"uid":"e22f-2"},{"uid":"e22f-107"},{"uid":"e22f-108"},{"uid":"e22f-109"}],"importedBy":[],"isEntry":true},"e22f-2":{"id":"/src/money/useMoneyInput.ts","moduleParts":{"money/useMoneyInput.js":"e22f-3"},"imported":[{"uid":"e22f-110"},{"uid":"e22f-111"},{"uid":"e22f-112"},{"uid":"e22f-113"},{"uid":"e22f-114"}],"importedBy":[{"uid":"e22f-0"},{"uid":"e22f-48"},{"uid":"e22f-70"}]},"e22f-4":{"id":"/src/step/useStep.ts","moduleParts":{"step/useStep.js":"e22f-5"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-74"}],"importedBy":[{"uid":"e22f-109"},{"uid":"e22f-8"}]},"e22f-6":{"id":"/src/step/Step.tsx","moduleParts":{"step/Step.js":"e22f-7"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"}],"importedBy":[{"uid":"e22f-109"},{"uid":"e22f-10"}]},"e22f-8":{"id":"/src/step/FormStep.tsx","moduleParts":{"step/FormStep.js":"e22f-9"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-4"}],"importedBy":[{"uid":"e22f-109"},{"uid":"e22f-10"}]},"e22f-10":{"id":"/src/step/StepProvider.tsx","moduleParts":{"step/StepProvider.js":"e22f-11"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-127"},{"uid":"e22f-118"},{"uid":"e22f-8"},{"uid":"e22f-6"},{"uid":"e22f-74"}],"importedBy":[{"uid":"e22f-109"}]},"e22f-12":{"id":"/src/inputs/MaskedInput/useMaskedInput.ts","moduleParts":{"inputs/MaskedInput/useMaskedInput.js":"e22f-13"},"imported":[{"uid":"e22f-111"},{"uid":"e22f-112"},{"uid":"e22f-114"},{"uid":"e22f-122"}],"importedBy":[{"uid":"e22f-99"},{"uid":"e22f-26"},{"uid":"e22f-44"},{"uid":"e22f-86"}]},"e22f-14":{"id":"/src/inputs/TableInput/addRowOnTab.ts","moduleParts":{"inputs/TableInput/addRowOnTab.js":"e22f-15"},"imported":[],"importedBy":[{"uid":"e22f-106"},{"uid":"e22f-54"},{"uid":"e22f-58"},{"uid":"e22f-64"}]},"e22f-16":{"id":"/src/date/LocalMonthSelect/LocalMonthSelect.tsx","moduleParts":{"date/LocalMonthSelect/LocalMonthSelect.js":"e22f-17"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-117"},{"uid":"e22f-111"},{"uid":"e22f-118"}],"importedBy":[{"uid":"e22f-93"}]},"e22f-18":{"id":"/src/date/LocalTimePicker/LocalTimePicker.tsx","moduleParts":{"date/LocalTimePicker/LocalTimePicker.js":"e22f-19"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-117"},{"uid":"e22f-115"},{"uid":"e22f-111"},{"uid":"e22f-116"},{"uid":"e22f-80"}],"importedBy":[{"uid":"e22f-94"}]},"e22f-20":{"id":"/src/date/LocalDatePicker/LocalDatePicker.tsx","moduleParts":{"date/LocalDatePicker/LocalDatePicker.js":"e22f-21"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-115"},{"uid":"e22f-111"},{"uid":"e22f-116"},{"uid":"e22f-76"},{"uid":"e22f-82"}],"importedBy":[{"uid":"e22f-92"}]},"e22f-22":{"id":"/src/date/YearSelect/YearSelect.tsx","moduleParts":{"date/YearSelect/YearSelect.js":"e22f-23"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-118"}],"importedBy":[{"uid":"e22f-97"}]},"e22f-24":{"id":"/src/date/MonthYearPicker/MonthYearPicker.tsx","moduleParts":{"date/MonthYearPicker/MonthYearPicker.js":"e22f-25"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-117"},{"uid":"e22f-115"},{"uid":"e22f-111"},{"uid":"e22f-118"},{"uid":"e22f-116"}],"importedBy":[{"uid":"e22f-96"}]},"e22f-26":{"id":"/src/inputs/MaskedInput/MaskedInput.tsx","moduleParts":{"inputs/MaskedInput/MaskedInput.js":"e22f-27"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-118"},{"uid":"e22f-12"}],"importedBy":[{"uid":"e22f-99"}]},"e22f-28":{"id":"/src/form/TForm/TForm.tsx","moduleParts":{"form/TForm/TForm.js":"e22f-29"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-119"},{"uid":"e22f-30"}],"importedBy":[{"uid":"e22f-98"}]},"e22f-30":{"id":"/src/form/TForm/useTForm.tsx","moduleParts":{"form/TForm/useTForm.js":"e22f-31"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-120"},{"uid":"e22f-119"},{"uid":"e22f-121"},{"uid":"e22f-118"}],"importedBy":[{"uid":"e22f-98"},{"uid":"e22f-28"}]},"e22f-32":{"id":"/src/date/MonthDayPicker/MonthDayPicker.tsx","moduleParts":{"date/MonthDayPicker/MonthDayPicker.js":"e22f-33"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-115"},{"uid":"e22f-111"},{"uid":"e22f-118"},{"uid":"e22f-116"}],"importedBy":[{"uid":"e22f-95"}]},"e22f-34":{"id":"/src/inputs/RadioGroup/RadioGroup.tsx","moduleParts":{"inputs/RadioGroup/RadioGroup.js":"e22f-35"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-118"}],"importedBy":[{"uid":"e22f-100"}]},"e22f-36":{"id":"/src/inputs/Scriptel/Scriptel.tsx","moduleParts":{"inputs/Scriptel/Scriptel.js":"e22f-37"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-84"},{"uid":"e22f-88"}],"importedBy":[{"uid":"e22f-101"},{"uid":"e22f-38"}]},"e22f-38":{"id":"/src/inputs/Scriptel/withScriptel.tsx","moduleParts":{"inputs/Scriptel/withScriptel.js":"e22f-39"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-36"}],"importedBy":[{"uid":"e22f-101"}]},"e22f-40":{"id":"/src/inputs/ScriptelInput/ScriptelInput.tsx","moduleParts":{"inputs/ScriptelInput/ScriptelInput.js":"e22f-41"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-118"},{"uid":"e22f-84"}],"importedBy":[{"uid":"e22f-102"}]},"e22f-42":{"id":"/src/inputs/PhoneInput/PhoneInput.tsx","moduleParts":{"inputs/PhoneInput/PhoneInput.js":"e22f-43"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-99"}],"importedBy":[{"uid":"e22f-103"}]},"e22f-44":{"id":"/src/inputs/SinInput/SinInput.tsx","moduleParts":{"inputs/SinInput/SinInput.js":"e22f-45"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-118"},{"uid":"e22f-125"},{"uid":"e22f-12"}],"importedBy":[{"uid":"e22f-105"}]},"e22f-46":{"id":"/src/inputs/CreditCardInput/CreditCardInput.tsx","moduleParts":{"inputs/CreditCardInput/CreditCardInput.js":"e22f-47"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-115"},{"uid":"e22f-111"},{"uid":"e22f-123"},{"uid":"e22f-124"},{"uid":"e22f-118"},{"uid":"e22f-96"},{"uid":"e22f-86"},{"uid":"e22f-78"}],"importedBy":[{"uid":"e22f-104"}]},"e22f-48":{"id":"/src/money/MoneyInput/MoneyInput.tsx","moduleParts":{"money/MoneyInput/MoneyInput.js":"e22f-49"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-110"},{"uid":"e22f-111"},{"uid":"e22f-113"},{"uid":"e22f-118"},{"uid":"e22f-2"}],"importedBy":[{"uid":"e22f-107"}]},"e22f-50":{"id":"/src/inputs/TableInput/TableInput.tsx","moduleParts":{"inputs/TableInput/TableInput.js":"e22f-51"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-119"},{"uid":"e22f-126"},{"uid":"e22f-118"}],"importedBy":[{"uid":"e22f-106"}]},"e22f-52":{"id":"/src/inputs/TableInput/MoneyCell.tsx","moduleParts":{"inputs/TableInput/MoneyCell.js":"e22f-53"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-110"}],"importedBy":[{"uid":"e22f-106"}]},"e22f-54":{"id":"/src/inputs/TableInput/MoneyEditCell.tsx","moduleParts":{"inputs/TableInput/MoneyEditCell.js":"e22f-55"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-107"},{"uid":"e22f-14"}],"importedBy":[{"uid":"e22f-106"}]},"e22f-56":{"id":"/src/inputs/TableInput/LocalDateCell.tsx","moduleParts":{"inputs/TableInput/LocalDateCell.js":"e22f-57"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-115"}],"importedBy":[{"uid":"e22f-106"}]},"e22f-58":{"id":"/src/inputs/TableInput/CheckboxEditCell.tsx","moduleParts":{"inputs/TableInput/CheckboxEditCell.js":"e22f-59"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-118"},{"uid":"e22f-14"}],"importedBy":[{"uid":"e22f-106"}]},"e22f-60":{"id":"/src/inputs/TableInput/LocalDateEditCell.tsx","moduleParts":{"inputs/TableInput/LocalDateEditCell.js":"e22f-61"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-92"}],"importedBy":[{"uid":"e22f-106"}]},"e22f-62":{"id":"/src/inputs/TableInput/MoneySumFooter.tsx","moduleParts":{"inputs/TableInput/MoneySumFooter.js":"e22f-63"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-110"}],"importedBy":[{"uid":"e22f-106"}]},"e22f-64":{"id":"/src/inputs/TableInput/StringEditCell.tsx","moduleParts":{"inputs/TableInput/StringEditCell.js":"e22f-65"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-118"},{"uid":"e22f-14"}],"importedBy":[{"uid":"e22f-106"}]},"e22f-66":{"id":"/src/inputs/TableInput/DropdownCell.tsx","moduleParts":{"inputs/TableInput/DropdownCell.js":"e22f-67"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-118"}],"importedBy":[{"uid":"e22f-106"}]},"e22f-68":{"id":"/src/inputs/TableInput/HoverCell.tsx","moduleParts":{"inputs/TableInput/HoverCell.js":"e22f-69"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"}],"importedBy":[{"uid":"e22f-106"}]},"e22f-70":{"id":"/src/money/MoneyCurrencyInput/MoneyCurrencyInput.tsx","moduleParts":{"money/MoneyCurrencyInput/MoneyCurrencyInput.js":"e22f-71"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-110"},{"uid":"e22f-111"},{"uid":"e22f-113"},{"uid":"e22f-118"},{"uid":"e22f-2"}],"importedBy":[{"uid":"e22f-108"}]},"e22f-72":{"id":"/src/inputs/Scriptel/scriptel/enums.ts","moduleParts":{"inputs/Scriptel/scriptel/enums.js":"e22f-73"},"imported":[],"importedBy":[{"uid":"e22f-101"},{"uid":"e22f-88"}]},"e22f-74":{"id":"/src/step/stepContext.ts","moduleParts":{"step/stepContext.js":"e22f-75"},"imported":[{"uid":"e22f-114"}],"importedBy":[{"uid":"e22f-4"},{"uid":"e22f-10"}]},"e22f-76":{"id":"/src/date/DatePicker/styles.css","moduleParts":{"date/DatePicker/styles.css.js":"e22f-77"},"imported":[{"uid":"e22f-90"}],"importedBy":[{"uid":"e22f-20"},{"uid":"e22f-116"}]},"e22f-78":{"id":"/src/inputs/CreditCardInput/styles.css","moduleParts":{"inputs/CreditCardInput/styles.css.js":"e22f-79"},"imported":[{"uid":"e22f-90"}],"importedBy":[{"uid":"e22f-46"}]},"e22f-80":{"id":"/src/date/LocalTimePicker/MaskedTimeInput.tsx","moduleParts":{"date/LocalTimePicker/MaskedTimeInput.js":"e22f-81"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-99"}],"importedBy":[{"uid":"e22f-18"}]},"e22f-82":{"id":"/src/date/LocalDatePicker/MaskedDateInput.tsx","moduleParts":{"date/LocalDatePicker/MaskedDateInput.js":"e22f-83"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-111"},{"uid":"e22f-99"}],"importedBy":[{"uid":"e22f-20"}]},"e22f-84":{"id":"/src/inputs/Scriptel/ScriptelContext.ts","moduleParts":{"inputs/Scriptel/ScriptelContext.js":"e22f-85"},"imported":[{"uid":"e22f-114"}],"importedBy":[{"uid":"e22f-36"},{"uid":"e22f-40"}]},"e22f-86":{"id":"/src/inputs/CreditCardInput/CreditCardNumberInput.tsx","moduleParts":{"inputs/CreditCardInput/CreditCardNumberInput.js":"e22f-87"},"imported":[{"uid":"e22f-114"},{"uid":"e22f-130"},{"uid":"e22f-111"},{"uid":"e22f-131"},{"uid":"e22f-118"},{"uid":"e22f-12"}],"importedBy":[{"uid":"e22f-46"}]},"e22f-88":{"id":"/src/inputs/Scriptel/scriptel/index.ts","moduleParts":{"inputs/Scriptel/scriptel/index.js":"e22f-89"},"imported":[{"uid":"e22f-111"},{"uid":"e22f-129"},{"uid":"e22f-72"}],"importedBy":[{"uid":"e22f-36"}]},"e22f-90":{"id":"/home/mike/dev/thx/node_modules/style-inject/dist/style-inject.es.js","moduleParts":{"external/style-inject/dist/style-inject.es.js":"e22f-91"},"imported":[],"importedBy":[{"uid":"e22f-76"},{"uid":"e22f-78"}]},"e22f-92":{"id":"/src/date/LocalDatePicker/index.ts","moduleParts":{},"imported":[{"uid":"e22f-20"}],"importedBy":[{"uid":"e22f-0"},{"uid":"e22f-60"}]},"e22f-93":{"id":"/src/date/LocalMonthSelect/index.ts","moduleParts":{},"imported":[{"uid":"e22f-16"}],"importedBy":[{"uid":"e22f-0"}]},"e22f-94":{"id":"/src/date/LocalTimePicker/index.ts","moduleParts":{},"imported":[{"uid":"e22f-18"}],"importedBy":[{"uid":"e22f-0"}]},"e22f-95":{"id":"/src/date/MonthDayPicker/index.ts","moduleParts":{},"imported":[{"uid":"e22f-32"}],"importedBy":[{"uid":"e22f-0"}]},"e22f-96":{"id":"/src/date/MonthYearPicker/index.ts","moduleParts":{},"imported":[{"uid":"e22f-24"}],"importedBy":[{"uid":"e22f-0"},{"uid":"e22f-46"}]},"e22f-97":{"id":"/src/date/YearSelect/index.ts","moduleParts":{},"imported":[{"uid":"e22f-22"}],"importedBy":[{"uid":"e22f-0"}]},"e22f-98":{"id":"/src/form/TForm/index.ts","moduleParts":{},"imported":[{"uid":"e22f-28"},{"uid":"e22f-30"}],"importedBy":[{"uid":"e22f-0"}]},"e22f-99":{"id":"/src/inputs/MaskedInput/index.ts","moduleParts":{},"imported":[{"uid":"e22f-26"},{"uid":"e22f-12"}],"importedBy":[{"uid":"e22f-0"},{"uid":"e22f-42"},{"uid":"e22f-82"},{"uid":"e22f-80"}]},"e22f-100":{"id":"/src/inputs/RadioGroup/index.ts","moduleParts":{},"imported":[{"uid":"e22f-34"}],"importedBy":[{"uid":"e22f-0"}]},"e22f-101":{"id":"/src/inputs/Scriptel/index.ts","moduleParts":{},"imported":[{"uid":"e22f-36"},{"uid":"e22f-38"},{"uid":"e22f-72"}],"importedBy":[{"uid":"e22f-0"}]},"e22f-102":{"id":"/src/inputs/ScriptelInput/index.ts","moduleParts":{},"imported":[{"uid":"e22f-40"}],"importedBy":[{"uid":"e22f-0"}]},"e22f-103":{"id":"/src/inputs/PhoneInput/index.ts","moduleParts":{},"imported":[{"uid":"e22f-42"}],"importedBy":[{"uid":"e22f-0"}]},"e22f-104":{"id":"/src/inputs/CreditCardInput/index.ts","moduleParts":{},"imported":[{"uid":"e22f-46"}],"importedBy":[{"uid":"e22f-0"}]},"e22f-105":{"id":"/src/inputs/SinInput/index.ts","moduleParts":{},"imported":[{"uid":"e22f-44"}],"importedBy":[{"uid":"e22f-0"}]},"e22f-106":{"id":"/src/inputs/TableInput/index.ts","moduleParts":{},"imported":[{"uid":"e22f-50"},{"uid":"e22f-52"},{"uid":"e22f-54"},{"uid":"e22f-56"},{"uid":"e22f-58"},{"uid":"e22f-60"},{"uid":"e22f-62"},{"uid":"e22f-64"},{"uid":"e22f-66"},{"uid":"e22f-68"},{"uid":"e22f-14"}],"importedBy":[{"uid":"e22f-0"}]},"e22f-107":{"id":"/src/money/MoneyInput/index.ts","moduleParts":{},"imported":[{"uid":"e22f-48"}],"importedBy":[{"uid":"e22f-0"},{"uid":"e22f-54"}]},"e22f-108":{"id":"/src/money/MoneyCurrencyInput/index.ts","moduleParts":{},"imported":[{"uid":"e22f-70"}],"importedBy":[{"uid":"e22f-0"}]},"e22f-109":{"id":"/src/step/index.ts","moduleParts":{},"imported":[{"uid":"e22f-6"},{"uid":"e22f-4"},{"uid":"e22f-8"},{"uid":"e22f-10"}],"importedBy":[{"uid":"e22f-0"}]},"e22f-110":{"id":"@thx/money","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-2"},{"uid":"e22f-52"},{"uid":"e22f-62"},{"uid":"e22f-48"},{"uid":"e22f-70"}],"isExternal":true},"e22f-111":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-2"},{"uid":"e22f-20"},{"uid":"e22f-16"},{"uid":"e22f-18"},{"uid":"e22f-32"},{"uid":"e22f-24"},{"uid":"e22f-22"},{"uid":"e22f-28"},{"uid":"e22f-26"},{"uid":"e22f-12"},{"uid":"e22f-34"},{"uid":"e22f-36"},{"uid":"e22f-40"},{"uid":"e22f-42"},{"uid":"e22f-46"},{"uid":"e22f-44"},{"uid":"e22f-50"},{"uid":"e22f-54"},{"uid":"e22f-58"},{"uid":"e22f-60"},{"uid":"e22f-64"},{"uid":"e22f-68"},{"uid":"e22f-48"},{"uid":"e22f-70"},{"uid":"e22f-6"},{"uid":"e22f-8"},{"uid":"e22f-10"},{"uid":"e22f-82"},{"uid":"e22f-80"},{"uid":"e22f-88"},{"uid":"e22f-86"}],"isExternal":true},"e22f-112":{"id":"inputmask","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-2"},{"uid":"e22f-12"}],"isExternal":true},"e22f-113":{"id":"js-money","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-2"},{"uid":"e22f-48"},{"uid":"e22f-70"}],"isExternal":true},"e22f-114":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-2"},{"uid":"e22f-20"},{"uid":"e22f-16"},{"uid":"e22f-18"},{"uid":"e22f-32"},{"uid":"e22f-24"},{"uid":"e22f-22"},{"uid":"e22f-28"},{"uid":"e22f-30"},{"uid":"e22f-26"},{"uid":"e22f-12"},{"uid":"e22f-34"},{"uid":"e22f-36"},{"uid":"e22f-38"},{"uid":"e22f-40"},{"uid":"e22f-42"},{"uid":"e22f-46"},{"uid":"e22f-44"},{"uid":"e22f-50"},{"uid":"e22f-52"},{"uid":"e22f-54"},{"uid":"e22f-56"},{"uid":"e22f-58"},{"uid":"e22f-60"},{"uid":"e22f-62"},{"uid":"e22f-64"},{"uid":"e22f-66"},{"uid":"e22f-68"},{"uid":"e22f-48"},{"uid":"e22f-70"},{"uid":"e22f-6"},{"uid":"e22f-4"},{"uid":"e22f-8"},{"uid":"e22f-10"},{"uid":"e22f-82"},{"uid":"e22f-80"},{"uid":"e22f-84"},{"uid":"e22f-86"},{"uid":"e22f-74"}],"isExternal":true},"e22f-115":{"id":"@thx/date","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-20"},{"uid":"e22f-18"},{"uid":"e22f-32"},{"uid":"e22f-24"},{"uid":"e22f-46"},{"uid":"e22f-56"}],"isExternal":true},"e22f-116":{"id":"/src/date/DatePicker/index.ts","moduleParts":{},"imported":[{"uid":"e22f-128"},{"uid":"e22f-76"}],"importedBy":[{"uid":"e22f-20"},{"uid":"e22f-18"},{"uid":"e22f-32"},{"uid":"e22f-24"}]},"e22f-117":{"id":"@js-joda/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-16"},{"uid":"e22f-18"},{"uid":"e22f-24"}],"isExternal":true},"e22f-118":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-16"},{"uid":"e22f-32"},{"uid":"e22f-24"},{"uid":"e22f-22"},{"uid":"e22f-30"},{"uid":"e22f-26"},{"uid":"e22f-34"},{"uid":"e22f-40"},{"uid":"e22f-46"},{"uid":"e22f-44"},{"uid":"e22f-50"},{"uid":"e22f-58"},{"uid":"e22f-64"},{"uid":"e22f-66"},{"uid":"e22f-48"},{"uid":"e22f-70"},{"uid":"e22f-10"},{"uid":"e22f-86"}],"isExternal":true},"e22f-119":{"id":"formik","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-28"},{"uid":"e22f-30"},{"uid":"e22f-50"}],"isExternal":true},"e22f-120":{"id":"flat","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-30"}],"isExternal":true},"e22f-121":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-30"}],"isExternal":true},"e22f-122":{"id":"use-deep-compare-effect","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-12"}],"isExternal":true},"e22f-123":{"id":"react-credit-cards","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-46"}],"isExternal":true},"e22f-124":{"id":"react-credit-cards/es/styles-compiled.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-46"}],"isExternal":true},"e22f-125":{"id":"social-insurance-number","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-44"}],"isExternal":true},"e22f-126":{"id":"react-table","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-50"}],"isExternal":true},"e22f-127":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-10"}],"isExternal":true},"e22f-128":{"id":"react-datepicker","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-116"}],"isExternal":true},"e22f-129":{"id":"eventemitter3","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-88"}],"isExternal":true},"e22f-130":{"id":"credit-card-type","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-86"}],"isExternal":true},"e22f-131":{"id":"luhn","moduleParts":{},"imported":[],"importedBy":[{"uid":"e22f-86"}],"isExternal":true}},"env":{"rollup":"2.70.1"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
|
|
2672
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src/index.ts","uid":"8e08-1"}]},{"name":"money/useMoneyInput.js","children":[{"name":"src/money/useMoneyInput.ts","uid":"8e08-3"}]},{"name":"step/useStep.js","children":[{"name":"src/step/useStep.ts","uid":"8e08-5"}]},{"name":"step/Step.js","children":[{"name":"src/step/Step.tsx","uid":"8e08-7"}]},{"name":"step/FormStep.js","children":[{"name":"src/step/FormStep.tsx","uid":"8e08-9"}]},{"name":"step/StepProvider.js","children":[{"name":"src/step/StepProvider.tsx","uid":"8e08-11"}]},{"name":"inputs/MaskedInput/useMaskedInput.js","children":[{"name":"src/inputs/MaskedInput/useMaskedInput.ts","uid":"8e08-13"}]},{"name":"inputs/TableInput/addRowOnTab.js","children":[{"name":"src/inputs/TableInput/addRowOnTab.ts","uid":"8e08-15"}]},{"name":"date/LocalDatePicker/LocalDatePicker.js","children":[{"name":"src/date/LocalDatePicker/LocalDatePicker.tsx","uid":"8e08-17"}]},{"name":"date/LocalMonthSelect/LocalMonthSelect.js","children":[{"name":"src/date/LocalMonthSelect/LocalMonthSelect.tsx","uid":"8e08-19"}]},{"name":"date/LocalTimePicker/LocalTimePicker.js","children":[{"name":"src/date/LocalTimePicker/LocalTimePicker.tsx","uid":"8e08-21"}]},{"name":"date/MonthDayPicker/MonthDayPicker.js","children":[{"name":"src/date/MonthDayPicker/MonthDayPicker.tsx","uid":"8e08-23"}]},{"name":"date/MonthYearPicker/MonthYearPicker.js","children":[{"name":"src/date/MonthYearPicker/MonthYearPicker.tsx","uid":"8e08-25"}]},{"name":"date/YearSelect/YearSelect.js","children":[{"name":"src/date/YearSelect/YearSelect.tsx","uid":"8e08-27"}]},{"name":"form/TForm/TForm.js","children":[{"name":"src/form/TForm/TForm.tsx","uid":"8e08-29"}]},{"name":"form/TForm/useTForm.js","children":[{"name":"src/form/TForm/useTForm.tsx","uid":"8e08-31"}]},{"name":"inputs/MaskedInput/MaskedInput.js","children":[{"name":"src/inputs/MaskedInput/MaskedInput.tsx","uid":"8e08-33"}]},{"name":"inputs/RadioGroup/RadioGroup.js","children":[{"name":"src/inputs/RadioGroup/RadioGroup.tsx","uid":"8e08-35"}]},{"name":"inputs/Scriptel/Scriptel.js","children":[{"name":"src/inputs/Scriptel/Scriptel.tsx","uid":"8e08-37"}]},{"name":"inputs/Scriptel/withScriptel.js","children":[{"name":"src/inputs/Scriptel/withScriptel.tsx","uid":"8e08-39"}]},{"name":"inputs/ScriptelInput/ScriptelInput.js","children":[{"name":"src/inputs/ScriptelInput/ScriptelInput.tsx","uid":"8e08-41"}]},{"name":"inputs/PhoneInput/PhoneInput.js","children":[{"name":"src/inputs/PhoneInput/PhoneInput.tsx","uid":"8e08-43"}]},{"name":"inputs/CreditCardInput/CreditCardInput.js","children":[{"name":"src/inputs/CreditCardInput/CreditCardInput.tsx","uid":"8e08-45"}]},{"name":"inputs/SinInput/SinInput.js","children":[{"name":"src/inputs/SinInput/SinInput.tsx","uid":"8e08-47"}]},{"name":"inputs/TableInput/TableInput.js","children":[{"name":"src/inputs/TableInput/TableInput.tsx","uid":"8e08-49"}]},{"name":"inputs/TableInput/MoneyCell.js","children":[{"name":"src/inputs/TableInput/MoneyCell.tsx","uid":"8e08-51"}]},{"name":"inputs/TableInput/MoneyEditCell.js","children":[{"name":"src/inputs/TableInput/MoneyEditCell.tsx","uid":"8e08-53"}]},{"name":"inputs/TableInput/LocalDateCell.js","children":[{"name":"src/inputs/TableInput/LocalDateCell.tsx","uid":"8e08-55"}]},{"name":"inputs/TableInput/CheckboxEditCell.js","children":[{"name":"src/inputs/TableInput/CheckboxEditCell.tsx","uid":"8e08-57"}]},{"name":"inputs/TableInput/LocalDateEditCell.js","children":[{"name":"src/inputs/TableInput/LocalDateEditCell.tsx","uid":"8e08-59"}]},{"name":"inputs/TableInput/MoneySumFooter.js","children":[{"name":"src/inputs/TableInput/MoneySumFooter.tsx","uid":"8e08-61"}]},{"name":"inputs/TableInput/StringEditCell.js","children":[{"name":"src/inputs/TableInput/StringEditCell.tsx","uid":"8e08-63"}]},{"name":"inputs/TableInput/DropdownCell.js","children":[{"name":"src/inputs/TableInput/DropdownCell.tsx","uid":"8e08-65"}]},{"name":"inputs/TableInput/HoverCell.js","children":[{"name":"src/inputs/TableInput/HoverCell.tsx","uid":"8e08-67"}]},{"name":"money/MoneyInput/MoneyInput.js","children":[{"name":"src/money/MoneyInput/MoneyInput.tsx","uid":"8e08-69"}]},{"name":"money/MoneyCurrencyInput/MoneyCurrencyInput.js","children":[{"name":"src/money/MoneyCurrencyInput/MoneyCurrencyInput.tsx","uid":"8e08-71"}]},{"name":"inputs/Scriptel/scriptel/enums.js","children":[{"name":"src/inputs/Scriptel/scriptel/enums.ts","uid":"8e08-73"}]},{"name":"step/stepContext.js","children":[{"name":"src/step/stepContext.ts","uid":"8e08-75"}]},{"name":"inputs/CreditCardInput/styles.css.js","children":[{"name":"src/inputs/CreditCardInput/styles.css","uid":"8e08-77"}]},{"name":"date/DatePicker/styles.css.js","children":[{"name":"src/date/DatePicker/styles.css","uid":"8e08-79"}]},{"name":"inputs/Scriptel/ScriptelContext.js","children":[{"name":"src/inputs/Scriptel/ScriptelContext.ts","uid":"8e08-81"}]},{"name":"date/LocalDatePicker/MaskedDateInput.js","children":[{"name":"src/date/LocalDatePicker/MaskedDateInput.tsx","uid":"8e08-83"}]},{"name":"date/LocalTimePicker/MaskedTimeInput.js","children":[{"name":"src/date/LocalTimePicker/MaskedTimeInput.tsx","uid":"8e08-85"}]},{"name":"inputs/CreditCardInput/CreditCardNumberInput.js","children":[{"name":"src/inputs/CreditCardInput/CreditCardNumberInput.tsx","uid":"8e08-87"}]},{"name":"inputs/Scriptel/scriptel/index.js","children":[{"name":"src/inputs/Scriptel/scriptel/index.ts","uid":"8e08-89"}]},{"name":"external/style-inject/dist/style-inject.es.js","children":[{"name":"home/runner/work/thr-addons/thr-addons/node_modules/style-inject/dist/style-inject.es.js","uid":"8e08-91"}]}],"isRoot":true},"nodeParts":{"8e08-1":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"8e08-0"},"8e08-3":{"renderedLength":2155,"gzipLength":770,"brotliLength":660,"mainUid":"8e08-2"},"8e08-5":{"renderedLength":113,"gzipLength":106,"brotliLength":82,"mainUid":"8e08-4"},"8e08-7":{"renderedLength":203,"gzipLength":157,"brotliLength":111,"mainUid":"8e08-6"},"8e08-9":{"renderedLength":440,"gzipLength":270,"brotliLength":214,"mainUid":"8e08-8"},"8e08-11":{"renderedLength":3529,"gzipLength":1021,"brotliLength":861,"mainUid":"8e08-10"},"8e08-13":{"renderedLength":1487,"gzipLength":502,"brotliLength":423,"mainUid":"8e08-12"},"8e08-15":{"renderedLength":312,"gzipLength":199,"brotliLength":173,"mainUid":"8e08-14"},"8e08-17":{"renderedLength":2660,"gzipLength":800,"brotliLength":706,"mainUid":"8e08-16"},"8e08-19":{"renderedLength":1135,"gzipLength":503,"brotliLength":415,"mainUid":"8e08-18"},"8e08-21":{"renderedLength":1205,"gzipLength":488,"brotliLength":402,"mainUid":"8e08-20"},"8e08-23":{"renderedLength":1965,"gzipLength":657,"brotliLength":544,"mainUid":"8e08-22"},"8e08-25":{"renderedLength":1229,"gzipLength":491,"brotliLength":424,"mainUid":"8e08-24"},"8e08-27":{"renderedLength":1553,"gzipLength":580,"brotliLength":461,"mainUid":"8e08-26"},"8e08-29":{"renderedLength":600,"gzipLength":307,"brotliLength":267,"mainUid":"8e08-28"},"8e08-31":{"renderedLength":2930,"gzipLength":959,"brotliLength":816,"mainUid":"8e08-30"},"8e08-33":{"renderedLength":390,"gzipLength":237,"brotliLength":203,"mainUid":"8e08-32"},"8e08-35":{"renderedLength":561,"gzipLength":301,"brotliLength":259,"mainUid":"8e08-34"},"8e08-37":{"renderedLength":1275,"gzipLength":476,"brotliLength":406,"mainUid":"8e08-36"},"8e08-39":{"renderedLength":275,"gzipLength":163,"brotliLength":130,"mainUid":"8e08-38"},"8e08-41":{"renderedLength":1963,"gzipLength":648,"brotliLength":547,"mainUid":"8e08-40"},"8e08-43":{"renderedLength":381,"gzipLength":248,"brotliLength":218,"mainUid":"8e08-42"},"8e08-45":{"renderedLength":2324,"gzipLength":586,"brotliLength":495,"mainUid":"8e08-44"},"8e08-47":{"renderedLength":1144,"gzipLength":530,"brotliLength":462,"mainUid":"8e08-46"},"8e08-49":{"renderedLength":2788,"gzipLength":828,"brotliLength":734,"mainUid":"8e08-48"},"8e08-51":{"renderedLength":257,"gzipLength":187,"brotliLength":149,"mainUid":"8e08-50"},"8e08-53":{"renderedLength":620,"gzipLength":346,"brotliLength":310,"mainUid":"8e08-52"},"8e08-55":{"renderedLength":264,"gzipLength":191,"brotliLength":154,"mainUid":"8e08-54"},"8e08-57":{"renderedLength":746,"gzipLength":384,"brotliLength":333,"mainUid":"8e08-56"},"8e08-59":{"renderedLength":695,"gzipLength":350,"brotliLength":295,"mainUid":"8e08-58"},"8e08-61":{"renderedLength":414,"gzipLength":261,"brotliLength":219,"mainUid":"8e08-60"},"8e08-63":{"renderedLength":717,"gzipLength":369,"brotliLength":319,"mainUid":"8e08-62"},"8e08-65":{"renderedLength":493,"gzipLength":255,"brotliLength":211,"mainUid":"8e08-64"},"8e08-67":{"renderedLength":403,"gzipLength":245,"brotliLength":195,"mainUid":"8e08-66"},"8e08-69":{"renderedLength":778,"gzipLength":392,"brotliLength":329,"mainUid":"8e08-68"},"8e08-71":{"renderedLength":1575,"gzipLength":642,"brotliLength":536,"mainUid":"8e08-70"},"8e08-73":{"renderedLength":937,"gzipLength":292,"brotliLength":231,"mainUid":"8e08-72"},"8e08-75":{"renderedLength":80,"gzipLength":90,"brotliLength":72,"mainUid":"8e08-74"},"8e08-77":{"renderedLength":78,"gzipLength":92,"brotliLength":79,"mainUid":"8e08-76"},"8e08-79":{"renderedLength":538,"gzipLength":263,"brotliLength":211,"mainUid":"8e08-78"},"8e08-81":{"renderedLength":46,"gzipLength":60,"brotliLength":45,"mainUid":"8e08-80"},"8e08-83":{"renderedLength":464,"gzipLength":299,"brotliLength":256,"mainUid":"8e08-82"},"8e08-85":{"renderedLength":446,"gzipLength":290,"brotliLength":241,"mainUid":"8e08-84"},"8e08-87":{"renderedLength":1713,"gzipLength":687,"brotliLength":585,"mainUid":"8e08-86"},"8e08-89":{"renderedLength":2530,"gzipLength":860,"brotliLength":739,"mainUid":"8e08-88"},"8e08-91":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"8e08-90"}},"nodeMetas":{"8e08-0":{"id":"/src/index.ts","moduleParts":{"index.js":"8e08-1"},"imported":[{"uid":"8e08-92"},{"uid":"8e08-93"},{"uid":"8e08-94"},{"uid":"8e08-95"},{"uid":"8e08-96"},{"uid":"8e08-97"},{"uid":"8e08-98"},{"uid":"8e08-99"},{"uid":"8e08-100"},{"uid":"8e08-101"},{"uid":"8e08-102"},{"uid":"8e08-103"},{"uid":"8e08-104"},{"uid":"8e08-105"},{"uid":"8e08-106"},{"uid":"8e08-2"},{"uid":"8e08-107"},{"uid":"8e08-108"},{"uid":"8e08-109"}],"importedBy":[],"isEntry":true},"8e08-2":{"id":"/src/money/useMoneyInput.ts","moduleParts":{"money/useMoneyInput.js":"8e08-3"},"imported":[{"uid":"8e08-110"},{"uid":"8e08-111"},{"uid":"8e08-112"},{"uid":"8e08-113"},{"uid":"8e08-114"}],"importedBy":[{"uid":"8e08-0"},{"uid":"8e08-68"},{"uid":"8e08-70"}]},"8e08-4":{"id":"/src/step/useStep.ts","moduleParts":{"step/useStep.js":"8e08-5"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-74"}],"importedBy":[{"uid":"8e08-109"},{"uid":"8e08-8"}]},"8e08-6":{"id":"/src/step/Step.tsx","moduleParts":{"step/Step.js":"8e08-7"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"}],"importedBy":[{"uid":"8e08-109"},{"uid":"8e08-10"}]},"8e08-8":{"id":"/src/step/FormStep.tsx","moduleParts":{"step/FormStep.js":"8e08-9"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-4"}],"importedBy":[{"uid":"8e08-109"},{"uid":"8e08-10"}]},"8e08-10":{"id":"/src/step/StepProvider.tsx","moduleParts":{"step/StepProvider.js":"8e08-11"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-127"},{"uid":"8e08-116"},{"uid":"8e08-8"},{"uid":"8e08-6"},{"uid":"8e08-74"}],"importedBy":[{"uid":"8e08-109"}]},"8e08-12":{"id":"/src/inputs/MaskedInput/useMaskedInput.ts","moduleParts":{"inputs/MaskedInput/useMaskedInput.js":"8e08-13"},"imported":[{"uid":"8e08-111"},{"uid":"8e08-112"},{"uid":"8e08-114"},{"uid":"8e08-122"}],"importedBy":[{"uid":"8e08-99"},{"uid":"8e08-32"},{"uid":"8e08-46"},{"uid":"8e08-86"}]},"8e08-14":{"id":"/src/inputs/TableInput/addRowOnTab.ts","moduleParts":{"inputs/TableInput/addRowOnTab.js":"8e08-15"},"imported":[],"importedBy":[{"uid":"8e08-106"},{"uid":"8e08-52"},{"uid":"8e08-56"},{"uid":"8e08-62"}]},"8e08-16":{"id":"/src/date/LocalDatePicker/LocalDatePicker.tsx","moduleParts":{"date/LocalDatePicker/LocalDatePicker.js":"8e08-17"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-115"},{"uid":"8e08-111"},{"uid":"8e08-116"},{"uid":"8e08-117"},{"uid":"8e08-78"},{"uid":"8e08-82"}],"importedBy":[{"uid":"8e08-92"}]},"8e08-18":{"id":"/src/date/LocalMonthSelect/LocalMonthSelect.tsx","moduleParts":{"date/LocalMonthSelect/LocalMonthSelect.js":"8e08-19"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-118"},{"uid":"8e08-111"},{"uid":"8e08-116"}],"importedBy":[{"uid":"8e08-93"}]},"8e08-20":{"id":"/src/date/LocalTimePicker/LocalTimePicker.tsx","moduleParts":{"date/LocalTimePicker/LocalTimePicker.js":"8e08-21"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-118"},{"uid":"8e08-115"},{"uid":"8e08-111"},{"uid":"8e08-117"},{"uid":"8e08-84"}],"importedBy":[{"uid":"8e08-94"}]},"8e08-22":{"id":"/src/date/MonthDayPicker/MonthDayPicker.tsx","moduleParts":{"date/MonthDayPicker/MonthDayPicker.js":"8e08-23"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-115"},{"uid":"8e08-111"},{"uid":"8e08-116"},{"uid":"8e08-117"}],"importedBy":[{"uid":"8e08-95"}]},"8e08-24":{"id":"/src/date/MonthYearPicker/MonthYearPicker.tsx","moduleParts":{"date/MonthYearPicker/MonthYearPicker.js":"8e08-25"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-118"},{"uid":"8e08-115"},{"uid":"8e08-111"},{"uid":"8e08-116"},{"uid":"8e08-117"}],"importedBy":[{"uid":"8e08-96"}]},"8e08-26":{"id":"/src/date/YearSelect/YearSelect.tsx","moduleParts":{"date/YearSelect/YearSelect.js":"8e08-27"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-116"}],"importedBy":[{"uid":"8e08-97"}]},"8e08-28":{"id":"/src/form/TForm/TForm.tsx","moduleParts":{"form/TForm/TForm.js":"8e08-29"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-119"},{"uid":"8e08-30"}],"importedBy":[{"uid":"8e08-98"}]},"8e08-30":{"id":"/src/form/TForm/useTForm.tsx","moduleParts":{"form/TForm/useTForm.js":"8e08-31"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-120"},{"uid":"8e08-119"},{"uid":"8e08-121"},{"uid":"8e08-116"}],"importedBy":[{"uid":"8e08-98"},{"uid":"8e08-28"}]},"8e08-32":{"id":"/src/inputs/MaskedInput/MaskedInput.tsx","moduleParts":{"inputs/MaskedInput/MaskedInput.js":"8e08-33"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-116"},{"uid":"8e08-12"}],"importedBy":[{"uid":"8e08-99"}]},"8e08-34":{"id":"/src/inputs/RadioGroup/RadioGroup.tsx","moduleParts":{"inputs/RadioGroup/RadioGroup.js":"8e08-35"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-116"}],"importedBy":[{"uid":"8e08-100"}]},"8e08-36":{"id":"/src/inputs/Scriptel/Scriptel.tsx","moduleParts":{"inputs/Scriptel/Scriptel.js":"8e08-37"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-80"},{"uid":"8e08-88"}],"importedBy":[{"uid":"8e08-101"},{"uid":"8e08-38"}]},"8e08-38":{"id":"/src/inputs/Scriptel/withScriptel.tsx","moduleParts":{"inputs/Scriptel/withScriptel.js":"8e08-39"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-36"}],"importedBy":[{"uid":"8e08-101"}]},"8e08-40":{"id":"/src/inputs/ScriptelInput/ScriptelInput.tsx","moduleParts":{"inputs/ScriptelInput/ScriptelInput.js":"8e08-41"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-116"},{"uid":"8e08-80"}],"importedBy":[{"uid":"8e08-102"}]},"8e08-42":{"id":"/src/inputs/PhoneInput/PhoneInput.tsx","moduleParts":{"inputs/PhoneInput/PhoneInput.js":"8e08-43"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-99"}],"importedBy":[{"uid":"8e08-103"}]},"8e08-44":{"id":"/src/inputs/CreditCardInput/CreditCardInput.tsx","moduleParts":{"inputs/CreditCardInput/CreditCardInput.js":"8e08-45"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-115"},{"uid":"8e08-111"},{"uid":"8e08-123"},{"uid":"8e08-124"},{"uid":"8e08-116"},{"uid":"8e08-96"},{"uid":"8e08-86"},{"uid":"8e08-76"}],"importedBy":[{"uid":"8e08-104"}]},"8e08-46":{"id":"/src/inputs/SinInput/SinInput.tsx","moduleParts":{"inputs/SinInput/SinInput.js":"8e08-47"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-116"},{"uid":"8e08-125"},{"uid":"8e08-12"}],"importedBy":[{"uid":"8e08-105"}]},"8e08-48":{"id":"/src/inputs/TableInput/TableInput.tsx","moduleParts":{"inputs/TableInput/TableInput.js":"8e08-49"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-119"},{"uid":"8e08-126"},{"uid":"8e08-116"}],"importedBy":[{"uid":"8e08-106"}]},"8e08-50":{"id":"/src/inputs/TableInput/MoneyCell.tsx","moduleParts":{"inputs/TableInput/MoneyCell.js":"8e08-51"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-110"}],"importedBy":[{"uid":"8e08-106"}]},"8e08-52":{"id":"/src/inputs/TableInput/MoneyEditCell.tsx","moduleParts":{"inputs/TableInput/MoneyEditCell.js":"8e08-53"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-107"},{"uid":"8e08-14"}],"importedBy":[{"uid":"8e08-106"}]},"8e08-54":{"id":"/src/inputs/TableInput/LocalDateCell.tsx","moduleParts":{"inputs/TableInput/LocalDateCell.js":"8e08-55"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-115"}],"importedBy":[{"uid":"8e08-106"}]},"8e08-56":{"id":"/src/inputs/TableInput/CheckboxEditCell.tsx","moduleParts":{"inputs/TableInput/CheckboxEditCell.js":"8e08-57"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-116"},{"uid":"8e08-14"}],"importedBy":[{"uid":"8e08-106"}]},"8e08-58":{"id":"/src/inputs/TableInput/LocalDateEditCell.tsx","moduleParts":{"inputs/TableInput/LocalDateEditCell.js":"8e08-59"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-92"}],"importedBy":[{"uid":"8e08-106"}]},"8e08-60":{"id":"/src/inputs/TableInput/MoneySumFooter.tsx","moduleParts":{"inputs/TableInput/MoneySumFooter.js":"8e08-61"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-110"}],"importedBy":[{"uid":"8e08-106"}]},"8e08-62":{"id":"/src/inputs/TableInput/StringEditCell.tsx","moduleParts":{"inputs/TableInput/StringEditCell.js":"8e08-63"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-116"},{"uid":"8e08-14"}],"importedBy":[{"uid":"8e08-106"}]},"8e08-64":{"id":"/src/inputs/TableInput/DropdownCell.tsx","moduleParts":{"inputs/TableInput/DropdownCell.js":"8e08-65"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-116"}],"importedBy":[{"uid":"8e08-106"}]},"8e08-66":{"id":"/src/inputs/TableInput/HoverCell.tsx","moduleParts":{"inputs/TableInput/HoverCell.js":"8e08-67"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"}],"importedBy":[{"uid":"8e08-106"}]},"8e08-68":{"id":"/src/money/MoneyInput/MoneyInput.tsx","moduleParts":{"money/MoneyInput/MoneyInput.js":"8e08-69"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-110"},{"uid":"8e08-111"},{"uid":"8e08-113"},{"uid":"8e08-116"},{"uid":"8e08-2"}],"importedBy":[{"uid":"8e08-107"}]},"8e08-70":{"id":"/src/money/MoneyCurrencyInput/MoneyCurrencyInput.tsx","moduleParts":{"money/MoneyCurrencyInput/MoneyCurrencyInput.js":"8e08-71"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-110"},{"uid":"8e08-111"},{"uid":"8e08-113"},{"uid":"8e08-116"},{"uid":"8e08-2"}],"importedBy":[{"uid":"8e08-108"}]},"8e08-72":{"id":"/src/inputs/Scriptel/scriptel/enums.ts","moduleParts":{"inputs/Scriptel/scriptel/enums.js":"8e08-73"},"imported":[],"importedBy":[{"uid":"8e08-101"},{"uid":"8e08-88"}]},"8e08-74":{"id":"/src/step/stepContext.ts","moduleParts":{"step/stepContext.js":"8e08-75"},"imported":[{"uid":"8e08-114"}],"importedBy":[{"uid":"8e08-4"},{"uid":"8e08-10"}]},"8e08-76":{"id":"/src/inputs/CreditCardInput/styles.css","moduleParts":{"inputs/CreditCardInput/styles.css.js":"8e08-77"},"imported":[{"uid":"8e08-90"}],"importedBy":[{"uid":"8e08-44"}]},"8e08-78":{"id":"/src/date/DatePicker/styles.css","moduleParts":{"date/DatePicker/styles.css.js":"8e08-79"},"imported":[{"uid":"8e08-90"}],"importedBy":[{"uid":"8e08-16"},{"uid":"8e08-117"}]},"8e08-80":{"id":"/src/inputs/Scriptel/ScriptelContext.ts","moduleParts":{"inputs/Scriptel/ScriptelContext.js":"8e08-81"},"imported":[{"uid":"8e08-114"}],"importedBy":[{"uid":"8e08-36"},{"uid":"8e08-40"}]},"8e08-82":{"id":"/src/date/LocalDatePicker/MaskedDateInput.tsx","moduleParts":{"date/LocalDatePicker/MaskedDateInput.js":"8e08-83"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-99"}],"importedBy":[{"uid":"8e08-16"}]},"8e08-84":{"id":"/src/date/LocalTimePicker/MaskedTimeInput.tsx","moduleParts":{"date/LocalTimePicker/MaskedTimeInput.js":"8e08-85"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-111"},{"uid":"8e08-99"}],"importedBy":[{"uid":"8e08-20"}]},"8e08-86":{"id":"/src/inputs/CreditCardInput/CreditCardNumberInput.tsx","moduleParts":{"inputs/CreditCardInput/CreditCardNumberInput.js":"8e08-87"},"imported":[{"uid":"8e08-114"},{"uid":"8e08-130"},{"uid":"8e08-111"},{"uid":"8e08-131"},{"uid":"8e08-116"},{"uid":"8e08-12"}],"importedBy":[{"uid":"8e08-44"}]},"8e08-88":{"id":"/src/inputs/Scriptel/scriptel/index.ts","moduleParts":{"inputs/Scriptel/scriptel/index.js":"8e08-89"},"imported":[{"uid":"8e08-111"},{"uid":"8e08-129"},{"uid":"8e08-72"}],"importedBy":[{"uid":"8e08-36"}]},"8e08-90":{"id":"/home/runner/work/thr-addons/thr-addons/node_modules/style-inject/dist/style-inject.es.js","moduleParts":{"external/style-inject/dist/style-inject.es.js":"8e08-91"},"imported":[],"importedBy":[{"uid":"8e08-78"},{"uid":"8e08-76"}]},"8e08-92":{"id":"/src/date/LocalDatePicker/index.ts","moduleParts":{},"imported":[{"uid":"8e08-16"}],"importedBy":[{"uid":"8e08-0"},{"uid":"8e08-58"}]},"8e08-93":{"id":"/src/date/LocalMonthSelect/index.ts","moduleParts":{},"imported":[{"uid":"8e08-18"}],"importedBy":[{"uid":"8e08-0"}]},"8e08-94":{"id":"/src/date/LocalTimePicker/index.ts","moduleParts":{},"imported":[{"uid":"8e08-20"}],"importedBy":[{"uid":"8e08-0"}]},"8e08-95":{"id":"/src/date/MonthDayPicker/index.ts","moduleParts":{},"imported":[{"uid":"8e08-22"}],"importedBy":[{"uid":"8e08-0"}]},"8e08-96":{"id":"/src/date/MonthYearPicker/index.ts","moduleParts":{},"imported":[{"uid":"8e08-24"}],"importedBy":[{"uid":"8e08-0"},{"uid":"8e08-44"}]},"8e08-97":{"id":"/src/date/YearSelect/index.ts","moduleParts":{},"imported":[{"uid":"8e08-26"}],"importedBy":[{"uid":"8e08-0"}]},"8e08-98":{"id":"/src/form/TForm/index.ts","moduleParts":{},"imported":[{"uid":"8e08-28"},{"uid":"8e08-30"}],"importedBy":[{"uid":"8e08-0"}]},"8e08-99":{"id":"/src/inputs/MaskedInput/index.ts","moduleParts":{},"imported":[{"uid":"8e08-32"},{"uid":"8e08-12"}],"importedBy":[{"uid":"8e08-0"},{"uid":"8e08-42"},{"uid":"8e08-82"},{"uid":"8e08-84"}]},"8e08-100":{"id":"/src/inputs/RadioGroup/index.ts","moduleParts":{},"imported":[{"uid":"8e08-34"}],"importedBy":[{"uid":"8e08-0"}]},"8e08-101":{"id":"/src/inputs/Scriptel/index.ts","moduleParts":{},"imported":[{"uid":"8e08-36"},{"uid":"8e08-38"},{"uid":"8e08-72"}],"importedBy":[{"uid":"8e08-0"}]},"8e08-102":{"id":"/src/inputs/ScriptelInput/index.ts","moduleParts":{},"imported":[{"uid":"8e08-40"}],"importedBy":[{"uid":"8e08-0"}]},"8e08-103":{"id":"/src/inputs/PhoneInput/index.ts","moduleParts":{},"imported":[{"uid":"8e08-42"}],"importedBy":[{"uid":"8e08-0"}]},"8e08-104":{"id":"/src/inputs/CreditCardInput/index.ts","moduleParts":{},"imported":[{"uid":"8e08-44"}],"importedBy":[{"uid":"8e08-0"}]},"8e08-105":{"id":"/src/inputs/SinInput/index.ts","moduleParts":{},"imported":[{"uid":"8e08-46"}],"importedBy":[{"uid":"8e08-0"}]},"8e08-106":{"id":"/src/inputs/TableInput/index.ts","moduleParts":{},"imported":[{"uid":"8e08-48"},{"uid":"8e08-50"},{"uid":"8e08-52"},{"uid":"8e08-54"},{"uid":"8e08-56"},{"uid":"8e08-58"},{"uid":"8e08-60"},{"uid":"8e08-62"},{"uid":"8e08-64"},{"uid":"8e08-66"},{"uid":"8e08-14"}],"importedBy":[{"uid":"8e08-0"}]},"8e08-107":{"id":"/src/money/MoneyInput/index.ts","moduleParts":{},"imported":[{"uid":"8e08-68"}],"importedBy":[{"uid":"8e08-0"},{"uid":"8e08-52"}]},"8e08-108":{"id":"/src/money/MoneyCurrencyInput/index.ts","moduleParts":{},"imported":[{"uid":"8e08-70"}],"importedBy":[{"uid":"8e08-0"}]},"8e08-109":{"id":"/src/step/index.ts","moduleParts":{},"imported":[{"uid":"8e08-6"},{"uid":"8e08-4"},{"uid":"8e08-8"},{"uid":"8e08-10"}],"importedBy":[{"uid":"8e08-0"}]},"8e08-110":{"id":"@thx/money","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-2"},{"uid":"8e08-50"},{"uid":"8e08-60"},{"uid":"8e08-68"},{"uid":"8e08-70"}],"isExternal":true},"8e08-111":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-2"},{"uid":"8e08-16"},{"uid":"8e08-18"},{"uid":"8e08-20"},{"uid":"8e08-22"},{"uid":"8e08-24"},{"uid":"8e08-26"},{"uid":"8e08-28"},{"uid":"8e08-32"},{"uid":"8e08-12"},{"uid":"8e08-34"},{"uid":"8e08-36"},{"uid":"8e08-40"},{"uid":"8e08-42"},{"uid":"8e08-44"},{"uid":"8e08-46"},{"uid":"8e08-48"},{"uid":"8e08-52"},{"uid":"8e08-56"},{"uid":"8e08-58"},{"uid":"8e08-62"},{"uid":"8e08-66"},{"uid":"8e08-68"},{"uid":"8e08-70"},{"uid":"8e08-6"},{"uid":"8e08-8"},{"uid":"8e08-10"},{"uid":"8e08-82"},{"uid":"8e08-84"},{"uid":"8e08-88"},{"uid":"8e08-86"}],"isExternal":true},"8e08-112":{"id":"inputmask","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-2"},{"uid":"8e08-12"}],"isExternal":true},"8e08-113":{"id":"js-money","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-2"},{"uid":"8e08-68"},{"uid":"8e08-70"}],"isExternal":true},"8e08-114":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-2"},{"uid":"8e08-16"},{"uid":"8e08-18"},{"uid":"8e08-20"},{"uid":"8e08-22"},{"uid":"8e08-24"},{"uid":"8e08-26"},{"uid":"8e08-28"},{"uid":"8e08-30"},{"uid":"8e08-32"},{"uid":"8e08-12"},{"uid":"8e08-34"},{"uid":"8e08-36"},{"uid":"8e08-38"},{"uid":"8e08-40"},{"uid":"8e08-42"},{"uid":"8e08-44"},{"uid":"8e08-46"},{"uid":"8e08-48"},{"uid":"8e08-50"},{"uid":"8e08-52"},{"uid":"8e08-54"},{"uid":"8e08-56"},{"uid":"8e08-58"},{"uid":"8e08-60"},{"uid":"8e08-62"},{"uid":"8e08-64"},{"uid":"8e08-66"},{"uid":"8e08-68"},{"uid":"8e08-70"},{"uid":"8e08-6"},{"uid":"8e08-4"},{"uid":"8e08-8"},{"uid":"8e08-10"},{"uid":"8e08-82"},{"uid":"8e08-84"},{"uid":"8e08-80"},{"uid":"8e08-86"},{"uid":"8e08-74"}],"isExternal":true},"8e08-115":{"id":"@thx/date","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-16"},{"uid":"8e08-20"},{"uid":"8e08-22"},{"uid":"8e08-24"},{"uid":"8e08-44"},{"uid":"8e08-54"}],"isExternal":true},"8e08-116":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-16"},{"uid":"8e08-18"},{"uid":"8e08-22"},{"uid":"8e08-24"},{"uid":"8e08-26"},{"uid":"8e08-30"},{"uid":"8e08-32"},{"uid":"8e08-34"},{"uid":"8e08-40"},{"uid":"8e08-44"},{"uid":"8e08-46"},{"uid":"8e08-48"},{"uid":"8e08-56"},{"uid":"8e08-62"},{"uid":"8e08-64"},{"uid":"8e08-68"},{"uid":"8e08-70"},{"uid":"8e08-10"},{"uid":"8e08-86"}],"isExternal":true},"8e08-117":{"id":"/src/date/DatePicker/index.ts","moduleParts":{},"imported":[{"uid":"8e08-128"},{"uid":"8e08-78"}],"importedBy":[{"uid":"8e08-16"},{"uid":"8e08-20"},{"uid":"8e08-22"},{"uid":"8e08-24"}]},"8e08-118":{"id":"@js-joda/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-18"},{"uid":"8e08-20"},{"uid":"8e08-24"}],"isExternal":true},"8e08-119":{"id":"formik","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-28"},{"uid":"8e08-30"},{"uid":"8e08-48"}],"isExternal":true},"8e08-120":{"id":"flat","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-30"}],"isExternal":true},"8e08-121":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-30"}],"isExternal":true},"8e08-122":{"id":"use-deep-compare-effect","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-12"}],"isExternal":true},"8e08-123":{"id":"react-credit-cards","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-44"}],"isExternal":true},"8e08-124":{"id":"react-credit-cards/es/styles-compiled.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-44"}],"isExternal":true},"8e08-125":{"id":"social-insurance-number","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-46"}],"isExternal":true},"8e08-126":{"id":"react-table","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-48"}],"isExternal":true},"8e08-127":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-10"}],"isExternal":true},"8e08-128":{"id":"react-datepicker","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-117"}],"isExternal":true},"8e08-129":{"id":"eventemitter3","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-88"}],"isExternal":true},"8e08-130":{"id":"credit-card-type","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-86"}],"isExternal":true},"8e08-131":{"id":"luhn","moduleParts":{},"imported":[],"importedBy":[{"uid":"8e08-86"}],"isExternal":true}},"env":{"rollup":"2.70.1"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
|
|
2673
2673
|
|
|
2674
2674
|
const run = () => {
|
|
2675
2675
|
const width = window.innerWidth;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { LocalDate } from '@js-joda/core';
|
|
3
3
|
import type { ReactDatePickerProps } from 'react-datepicker';
|
|
4
|
-
import
|
|
4
|
+
import { InputProps } from 'semantic-ui-react';
|
|
5
5
|
import '../DatePicker/styles.css';
|
|
6
6
|
interface ILocalDatePicker {
|
|
7
7
|
value?: LocalDate | number | null;
|
|
@@ -9,6 +9,8 @@ interface ILocalDatePicker {
|
|
|
9
9
|
onChangeRaw?: () => void;
|
|
10
10
|
minDate?: LocalDate;
|
|
11
11
|
maxDate?: LocalDate;
|
|
12
|
+
icon?: boolean;
|
|
13
|
+
openOnFocus?: boolean;
|
|
12
14
|
}
|
|
13
15
|
declare type InputPropsOmitted = Omit<InputProps, 'onChange'>;
|
|
14
16
|
declare type ReactDatePickerPropsOmitted = Omit<Omit<ReactDatePickerProps, 'value'>, 'onChange' | 'minDate' | 'maxDate'>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { DropdownProps } from 'semantic-ui-react';
|
|
2
3
|
import type { TableCellProps } from './TableInput';
|
|
3
4
|
export declare function DropdownCell<D extends Record<string, unknown>>(dropdownProps: DropdownProps): (props: TableCellProps<D>) => JSX.Element;
|
|
@@ -22,6 +22,7 @@ export interface TableCellProps<D extends DefaultTableType, V = any> extends Cel
|
|
|
22
22
|
arrayHelpers: FieldArrayRenderProps;
|
|
23
23
|
addRow: () => void;
|
|
24
24
|
updateData: (index: number, id: string, value: V) => void;
|
|
25
|
+
hoverRow: string | number;
|
|
25
26
|
}
|
|
26
27
|
/**
|
|
27
28
|
* Can be used in a TForm as a Table Input.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thx/controls",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.6.1-alpha.0+f4dbe78",
|
|
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,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@js-joda/core": "^5.1.0",
|
|
34
|
-
"@thx/date": "^16.
|
|
34
|
+
"@thx/date": "^16.4.1",
|
|
35
35
|
"@thx/money": "^16.0.0",
|
|
36
36
|
"@thx/yup-types": "^16.0.0",
|
|
37
37
|
"@types/inputmask": "^5.0.3",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "f4dbe788f68c74f1afa1208be86b012d6c435270"
|
|
68
68
|
}
|
package/dist/stats.txt
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
-----------------------------
|
|
2
|
-
Rollup File Analysis
|
|
3
|
-
-----------------------------
|
|
4
|
-
bundle size: 45.41 KB
|
|
5
|
-
original size: 66.397 KB
|
|
6
|
-
code reduction: 31.61 %
|
|
7
|
-
module count: 46
|
|
8
|
-
|
|
9
|
-
/src/step/StepProvider.tsx
|
|
10
|
-
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 7.77 % (3.529 KB)
|
|
11
|
-
/src/form/TForm/useTForm.tsx
|
|
12
|
-
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.45 % (2.93 KB)
|
|
13
|
-
/src/inputs/TableInput/TableInput.tsx
|
|
14
|
-
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.14 % (2.788 KB)
|
|
15
|
-
/src/inputs/Scriptel/scriptel/index.ts
|
|
16
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.57 % (2.53 KB)
|
|
17
|
-
/src/inputs/CreditCardInput/CreditCardInput.tsx
|
|
18
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.12 % (2.324 KB)
|
|
19
|
-
/src/money/useMoneyInput.ts
|
|
20
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.75 % (2.155 KB)
|
|
21
|
-
/src/date/MonthDayPicker/MonthDayPicker.tsx
|
|
22
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.33 % (1.965 KB)
|
|
23
|
-
/src/inputs/ScriptelInput/ScriptelInput.tsx
|
|
24
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.32 % (1.963 KB)
|
|
25
|
-
/src/inputs/CreditCardInput/CreditCardNumberInput.tsx
|
|
26
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.77 % (1.713 KB)
|
|
27
|
-
/src/money/MoneyCurrencyInput/MoneyCurrencyInput.tsx
|
|
28
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.47 % (1.575 KB)
|
|
29
|
-
/src/date/YearSelect/YearSelect.tsx
|
|
30
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.42 % (1.553 KB)
|
|
31
|
-
/src/inputs/MaskedInput/useMaskedInput.ts
|
|
32
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.27 % (1.487 KB)
|
|
33
|
-
/src/inputs/Scriptel/Scriptel.tsx
|
|
34
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.81 % (1.275 KB)
|
|
35
|
-
/src/date/MonthYearPicker/MonthYearPicker.tsx
|
|
36
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.71 % (1.229 KB)
|
|
37
|
-
/src/date/LocalTimePicker/LocalTimePicker.tsx
|
|
38
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.65 % (1.205 KB)
|
|
39
|
-
/src/inputs/SinInput/SinInput.tsx
|
|
40
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.52 % (1.144 KB)
|
|
41
|
-
/src/date/LocalMonthSelect/LocalMonthSelect.tsx
|
|
42
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.5 % (1.135 KB)
|
|
43
|
-
/src/date/LocalDatePicker/LocalDatePicker.tsx
|
|
44
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.41 % (1.096 KB)
|
|
45
|
-
/src/inputs/Scriptel/scriptel/enums.ts
|
|
46
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.06 % (937 Bytes)
|
|
47
|
-
/src/money/MoneyInput/MoneyInput.tsx
|
|
48
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.71 % (778 Bytes)
|
|
49
|
-
/src/inputs/TableInput/CheckboxEditCell.tsx
|
|
50
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.64 % (746 Bytes)
|
|
51
|
-
/src/inputs/TableInput/StringEditCell.tsx
|
|
52
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.58 % (717 Bytes)
|
|
53
|
-
/home/mike/dev/thx/node_modules/style-inject/dist/style-inject.es.js
|
|
54
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.4 % (636 Bytes)
|
|
55
|
-
/src/inputs/TableInput/LocalDateEditCell.tsx
|
|
56
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.37 % (622 Bytes)
|
|
57
|
-
/src/inputs/TableInput/MoneyEditCell.tsx
|
|
58
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.37 % (620 Bytes)
|
|
59
|
-
/src/form/TForm/TForm.tsx
|
|
60
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.32 % (600 Bytes)
|
|
61
|
-
/src/inputs/RadioGroup/RadioGroup.tsx
|
|
62
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.24 % (561 Bytes)
|
|
63
|
-
/src/date/DatePicker/styles.css
|
|
64
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.18 % (538 Bytes)
|
|
65
|
-
/src/inputs/TableInput/DropdownCell.tsx
|
|
66
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.09 % (493 Bytes)
|
|
67
|
-
/src/date/LocalDatePicker/MaskedDateInput.tsx
|
|
68
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.02 % (464 Bytes)
|
|
69
|
-
/src/date/LocalTimePicker/MaskedTimeInput.tsx
|
|
70
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.98 % (446 Bytes)
|
|
71
|
-
/src/step/FormStep.tsx
|
|
72
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.97 % (440 Bytes)
|
|
73
|
-
/src/inputs/TableInput/MoneySumFooter.tsx
|
|
74
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.91 % (414 Bytes)
|
|
75
|
-
/src/inputs/TableInput/HoverCell.tsx
|
|
76
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.89 % (403 Bytes)
|
|
77
|
-
/src/inputs/MaskedInput/MaskedInput.tsx
|
|
78
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.86 % (390 Bytes)
|
|
79
|
-
/src/inputs/PhoneInput/PhoneInput.tsx
|
|
80
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.84 % (381 Bytes)
|
|
81
|
-
/src/inputs/TableInput/addRowOnTab.ts
|
|
82
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.69 % (312 Bytes)
|
|
83
|
-
/src/inputs/Scriptel/withScriptel.tsx
|
|
84
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.61 % (275 Bytes)
|
|
85
|
-
/src/inputs/TableInput/LocalDateCell.tsx
|
|
86
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.58 % (264 Bytes)
|
|
87
|
-
/src/inputs/TableInput/MoneyCell.tsx
|
|
88
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.57 % (257 Bytes)
|
|
89
|
-
/src/step/Step.tsx
|
|
90
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.45 % (203 Bytes)
|
|
91
|
-
/src/step/useStep.ts
|
|
92
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.25 % (113 Bytes)
|
|
93
|
-
/src/step/stepContext.ts
|
|
94
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.18 % (80 Bytes)
|
|
95
|
-
/src/inputs/CreditCardInput/styles.css
|
|
96
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.17 % (78 Bytes)
|
|
97
|
-
/src/inputs/Scriptel/ScriptelContext.ts
|
|
98
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.1 % (46 Bytes)
|
|
99
|
-
/src/index.ts
|
|
100
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0 % (0 Byte)
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import 'react-datepicker/dist/react-datepicker.css';
|
|
3
|
-
import { DatePicker } from './index';
|
|
4
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const Primary: ComponentStory<typeof DatePicker>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import 'react-datepicker/dist/react-datepicker.css';
|
|
3
|
-
import '../DatePicker/styles.css';
|
|
4
|
-
import { LocalDatePicker } from './LocalDatePicker';
|
|
5
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Main: ComponentStory<typeof LocalDatePicker>;
|
|
8
|
-
export declare const WithMinMaxDates: ComponentStory<typeof LocalDatePicker>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare function Main({ ...args }: {
|
|
6
|
-
[x: string]: any;
|
|
7
|
-
}): JSX.Element;
|
|
8
|
-
export declare namespace Main {
|
|
9
|
-
var args: {
|
|
10
|
-
value: string;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import '../DatePicker/styles.css';
|
|
3
|
-
import { LocalMonthSelect } from './LocalMonthSelect';
|
|
4
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const Main: ComponentStory<typeof LocalMonthSelect>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import 'react-datepicker/dist/react-datepicker.css';
|
|
3
|
-
import '../DatePicker/styles.css';
|
|
4
|
-
import { LocalTimePicker } from './LocalTimePicker';
|
|
5
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Main: ComponentStory<typeof LocalTimePicker>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
3
|
-
import 'react-datepicker/dist/react-datepicker.css';
|
|
4
|
-
import '../DatePicker/styles.css';
|
|
5
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Main: ComponentStory<import("react").ForwardRefExoticComponent<Pick<import("./MaskedTimeInput").MaskedTimeInputProps & Omit<import("../..").MaskedInputProps, "onChange">, string | number> & import("react").RefAttributes<unknown>>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import 'react-datepicker/dist/react-datepicker.css';
|
|
3
|
-
import '../DatePicker/styles.css';
|
|
4
|
-
import { MonthDayPicker } from './MonthDayPicker';
|
|
5
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Main: ComponentStory<typeof MonthDayPicker>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import 'react-datepicker/dist/react-datepicker.css';
|
|
3
|
-
import '../DatePicker/styles.css';
|
|
4
|
-
import { MonthYearPicker } from './MonthYearPicker';
|
|
5
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Main: ComponentStory<typeof MonthYearPicker>;
|
|
8
|
-
export declare const WithMinMaxDates: ComponentStory<typeof MonthYearPicker>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import { YearSelect } from './YearSelect';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: ComponentStory<typeof YearSelect>;
|
|
6
|
-
export declare const WithError: ComponentStory<typeof YearSelect>;
|
|
7
|
-
export declare const WithMinMaxYears: ComponentStory<typeof YearSelect>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
-
import type { TFormConfig } from './types';
|
|
4
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
5
|
-
export default _default;
|
|
6
|
-
interface LockedEditForm {
|
|
7
|
-
id: string;
|
|
8
|
-
version: number;
|
|
9
|
-
}
|
|
10
|
-
interface AddressFormType {
|
|
11
|
-
line1: string;
|
|
12
|
-
line2?: string;
|
|
13
|
-
}
|
|
14
|
-
declare type AddressEditFormType = AddressFormType & LockedEditForm;
|
|
15
|
-
export declare function AddressCreateForm(args: {
|
|
16
|
-
onSubmit: (value: any) => any;
|
|
17
|
-
}): JSX.Element;
|
|
18
|
-
export declare namespace AddressCreateForm {
|
|
19
|
-
var args: {
|
|
20
|
-
enableReinitialize: boolean;
|
|
21
|
-
loading: boolean;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export declare function AddressEditForm(args: TFormConfig<AddressEditFormType>): JSX.Element;
|
|
25
|
-
export declare namespace AddressEditForm {
|
|
26
|
-
var args: {
|
|
27
|
-
enableReinitialize: boolean;
|
|
28
|
-
loading: boolean;
|
|
29
|
-
};
|
|
30
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare function Main(args: any): JSX.Element;
|
|
6
|
-
export declare namespace Main {
|
|
7
|
-
var args: {
|
|
8
|
-
enableReinitialize: boolean;
|
|
9
|
-
loading: boolean;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export declare function WithError(args: any): JSX.Element;
|
|
13
|
-
export declare namespace WithError {
|
|
14
|
-
var args: {
|
|
15
|
-
error: undefined;
|
|
16
|
-
enableReinitialize: boolean;
|
|
17
|
-
loading: boolean;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export declare function UsingHooks(args: any): JSX.Element;
|
|
21
|
-
export declare namespace UsingHooks {
|
|
22
|
-
var args: {
|
|
23
|
-
enableReinitialize: boolean;
|
|
24
|
-
loading: boolean;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
export declare function OutsideSubmit(args: any): JSX.Element;
|
|
28
|
-
export declare namespace OutsideSubmit {
|
|
29
|
-
var args: {
|
|
30
|
-
enableReinitialize: boolean;
|
|
31
|
-
loading: boolean;
|
|
32
|
-
};
|
|
33
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { UseFormReturnType } from '@mantine/form/lib/use-form';
|
|
3
|
-
export interface TMFormProps<T> {
|
|
4
|
-
form: UseFormReturnType<T>;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
onSubmit?: (values: T, event: React.FormEvent) => void | Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
export declare function TMForm<T>(props: TMFormProps<T>): JSX.Element;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
interface SourceLocation {
|
|
2
|
-
readonly line: number;
|
|
3
|
-
readonly column: number;
|
|
4
|
-
}
|
|
5
|
-
interface Source {
|
|
6
|
-
body: string;
|
|
7
|
-
name: string;
|
|
8
|
-
locationOffset: Location;
|
|
9
|
-
}
|
|
10
|
-
interface GraphQLErrorExtensions {
|
|
11
|
-
[attributeName: string]: unknown;
|
|
12
|
-
}
|
|
13
|
-
interface GraphQLFormattedError {
|
|
14
|
-
readonly message: string;
|
|
15
|
-
readonly locations?: ReadonlyArray<SourceLocation>;
|
|
16
|
-
readonly path?: ReadonlyArray<string | number>;
|
|
17
|
-
readonly extensions?: {
|
|
18
|
-
[key: string]: unknown;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
declare type ServerParseError = Error & {
|
|
22
|
-
response: Response;
|
|
23
|
-
statusCode: number;
|
|
24
|
-
bodyText: string;
|
|
25
|
-
};
|
|
26
|
-
declare type ServerError = Error & {
|
|
27
|
-
response: Response;
|
|
28
|
-
result: Record<string, any>;
|
|
29
|
-
statusCode: number;
|
|
30
|
-
};
|
|
31
|
-
interface GraphQLError extends Error {
|
|
32
|
-
readonly locations?: ReadonlyArray<SourceLocation>;
|
|
33
|
-
readonly path?: ReadonlyArray<string | number>;
|
|
34
|
-
readonly nodes?: ReadonlyArray<any>;
|
|
35
|
-
readonly source?: Source;
|
|
36
|
-
readonly positions?: ReadonlyArray<number>;
|
|
37
|
-
readonly originalError?: Error;
|
|
38
|
-
readonly extensions: GraphQLErrorExtensions;
|
|
39
|
-
toString: () => string;
|
|
40
|
-
toJSON: () => GraphQLFormattedError;
|
|
41
|
-
}
|
|
42
|
-
export interface ApolloError extends Error {
|
|
43
|
-
message: string;
|
|
44
|
-
graphQLErrors: ReadonlyArray<GraphQLError>;
|
|
45
|
-
clientErrors: ReadonlyArray<Error>;
|
|
46
|
-
networkError: Error | ServerParseError | ServerError | null;
|
|
47
|
-
extraInfo: any;
|
|
48
|
-
}
|
|
49
|
-
export declare function isApolloError(error: Error): error is ApolloError;
|
|
50
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import { CreditCardInput } from './CreditCardInput';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: ComponentStory<typeof CreditCardInput>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import { MaskedInput } from './MaskedInput';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: ComponentStory<typeof MaskedInput>;
|
|
6
|
-
export declare const AutoUnmask: ComponentStory<typeof MaskedInput>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare function Main(args: any): JSX.Element;
|
|
6
|
-
export declare namespace Main {
|
|
7
|
-
var args: {
|
|
8
|
-
value: undefined;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export declare function WithoutRadioGroup(args: any): JSX.Element;
|
|
12
|
-
export declare namespace WithoutRadioGroup {
|
|
13
|
-
var args: {
|
|
14
|
-
value: undefined;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
File without changes
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import { MoneyCurrencyInput } from './MoneyCurrencyInput';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: ComponentStory<typeof MoneyCurrencyInput>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ComponentStory, Meta } from '@storybook/react';
|
|
2
|
-
import { MoneyInput } from './MoneyInput';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Main: ComponentStory<typeof MoneyInput>;
|
|
6
|
-
export declare const MoreDecimals: ComponentStory<typeof MoneyInput>;
|