@thx/controls 17.0.2-alpha.5 → 17.0.2-alpha.7
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/LocalTimePicker/LocalTimePicker.js +24 -13
- package/dist/esm/date/LocalTimePicker/LocalTimePicker.js.map +1 -1
- package/dist/esm/date/LocalTimePicker/MaskedTimeInput.js +7 -6
- package/dist/esm/date/LocalTimePicker/MaskedTimeInput.js.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/inputs/TableInput/LocalTimeEditCell.js +1 -1
- package/dist/esm/inputs/TableInput/LocalTimeEditCell.js.map +1 -1
- package/dist/esm/inputs/TableInput/NumberEditCell.js +34 -0
- package/dist/esm/inputs/TableInput/NumberEditCell.js.map +1 -0
- package/dist/stats.html +1 -1
- package/dist/types/date/LocalTimePicker/MaskedTimeInput.d.ts +3 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/inputs/TableInput/NumberEditCell.d.ts +12 -0
- package/dist/types/inputs/TableInput/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -17,12 +17,9 @@ function LocalTimePicker(props) {
|
|
|
17
17
|
action,
|
|
18
18
|
actionPosition,
|
|
19
19
|
className,
|
|
20
|
-
disabled,
|
|
21
20
|
error,
|
|
22
21
|
fluid,
|
|
23
22
|
focus,
|
|
24
|
-
icon,
|
|
25
|
-
iconPosition,
|
|
26
23
|
inverted,
|
|
27
24
|
label,
|
|
28
25
|
labelPosition,
|
|
@@ -30,24 +27,33 @@ function LocalTimePicker(props) {
|
|
|
30
27
|
size,
|
|
31
28
|
tabIndex,
|
|
32
29
|
transparent,
|
|
30
|
+
startFocused,
|
|
31
|
+
startSelected,
|
|
33
32
|
...rest
|
|
34
33
|
} = props;
|
|
35
|
-
let selected;
|
|
36
|
-
if (typeof value === "number")
|
|
37
|
-
selected = toDate(LocalTime.ofSecondOfDay(value));
|
|
38
|
-
else
|
|
39
|
-
selected = value ? toDate(value) : null;
|
|
40
34
|
const inputProps = {
|
|
41
35
|
as,
|
|
42
36
|
action,
|
|
43
37
|
actionPosition,
|
|
44
|
-
className
|
|
45
|
-
disabled,
|
|
38
|
+
className: `${className || ""} icon`,
|
|
46
39
|
error,
|
|
40
|
+
focus,
|
|
47
41
|
fluid,
|
|
42
|
+
inverted,
|
|
43
|
+
label,
|
|
44
|
+
labelPosition,
|
|
45
|
+
loading,
|
|
46
|
+
size,
|
|
47
|
+
tabIndex,
|
|
48
|
+
transparent
|
|
49
|
+
};
|
|
50
|
+
const maskedInputProps = {
|
|
51
|
+
as,
|
|
52
|
+
action,
|
|
53
|
+
actionPosition,
|
|
54
|
+
className,
|
|
55
|
+
error,
|
|
48
56
|
focus,
|
|
49
|
-
icon,
|
|
50
|
-
iconPosition,
|
|
51
57
|
inverted,
|
|
52
58
|
label,
|
|
53
59
|
labelPosition,
|
|
@@ -56,6 +62,11 @@ function LocalTimePicker(props) {
|
|
|
56
62
|
tabIndex,
|
|
57
63
|
transparent
|
|
58
64
|
};
|
|
65
|
+
let selected;
|
|
66
|
+
if (typeof value === "number")
|
|
67
|
+
selected = toDate(LocalTime.ofSecondOfDay(value));
|
|
68
|
+
else
|
|
69
|
+
selected = value ? toDate(value) : null;
|
|
59
70
|
const handleDatePickerBlur = (e) => {
|
|
60
71
|
onBlur && onBlur(e);
|
|
61
72
|
};
|
|
@@ -74,7 +85,7 @@ function LocalTimePicker(props) {
|
|
|
74
85
|
customInput: /* @__PURE__ */ React.createElement(Input, {
|
|
75
86
|
...inputProps
|
|
76
87
|
}, /* @__PURE__ */ React.createElement(MaskedTimeInput, {
|
|
77
|
-
...
|
|
88
|
+
...maskedInputProps,
|
|
78
89
|
onBlur: handleDatePickerBlur
|
|
79
90
|
})),
|
|
80
91
|
onBlur: handleDatePickerBlur
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocalTimePicker.js","sources":["../../../../src/date/LocalTimePicker/LocalTimePicker.tsx"],"sourcesContent":["import {LocalTime} from '@js-joda/core';\nimport {toDate, toLocalTime} from '@thx/date';\nimport debug from 'debug';\nimport type {ReactDatePickerProps} from 'react-datepicker';\nimport {Input, type InputProps} from 'semantic-ui-react';\nimport {DatePicker} from '../DatePicker/index';\nimport {MaskedTimeInput} from './MaskedTimeInput';\n\nconst d = debug('thx.controls.date.LocalTimePicker');\n\ninterface ILocalTimePicker {\n\tvalue?: LocalTime | number | null;\n\tonChange?: (value: LocalTime | null) => void;\n\tonChangeRaw?: () => void;\n}\n\ntype InputPropsOmitted = Omit<InputProps, 'onChange'>;\ntype ReactDatePickerPropsOmitted = Omit<Omit<ReactDatePickerProps, 'value'>, 'onChange'>;\nexport type LocalTimePickerProps = ILocalTimePicker & InputPropsOmitted & ReactDatePickerPropsOmitted;\n\nexport function LocalTimePicker(props: LocalTimePickerProps): JSX.Element {\n\tconst {\n\t\tvalue,\n\t\tonChange,\n\t\tonBlur,\n\t\tas,\n\t\taction,\n\t\tactionPosition,\n\t\tclassName,\n\t\
|
|
1
|
+
{"version":3,"file":"LocalTimePicker.js","sources":["../../../../src/date/LocalTimePicker/LocalTimePicker.tsx"],"sourcesContent":["import {LocalTime} from '@js-joda/core';\nimport {toDate, toLocalTime} from '@thx/date';\nimport debug from 'debug';\nimport type {ReactDatePickerProps} from 'react-datepicker';\nimport {Input, type InputProps} from 'semantic-ui-react';\nimport {DatePicker} from '../DatePicker/index';\nimport {MaskedTimeInput} from './MaskedTimeInput';\n\nconst d = debug('thx.controls.date.LocalTimePicker');\n\ninterface ILocalTimePicker {\n\tvalue?: LocalTime | number | null;\n\tonChange?: (value: LocalTime | null) => void;\n\tonChangeRaw?: () => void;\n}\n\ntype InputPropsOmitted = Omit<InputProps, 'onChange'>;\ntype ReactDatePickerPropsOmitted = Omit<Omit<ReactDatePickerProps, 'value'>, 'onChange'>;\nexport type LocalTimePickerProps = ILocalTimePicker & InputPropsOmitted & ReactDatePickerPropsOmitted;\n\nexport function LocalTimePicker(props: LocalTimePickerProps): JSX.Element {\n\tconst {\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\tinverted,\n\t\tlabel,\n\t\tlabelPosition,\n\t\tloading,\n\t\tsize,\n\t\ttabIndex,\n\t\ttransparent,\n\t\tstartFocused,\n\t\tstartSelected,\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\tlet selected;\n\tif (typeof value === 'number') selected = toDate(LocalTime.ofSecondOfDay(value));\n\telse selected = value ? toDate(value) : null;\n\n\tconst handleDatePickerBlur = (e: React.FocusEvent<HTMLInputElement>) => {\n\t\tonBlur && onBlur(e);\n\t};\n\n\treturn (\n\t\t<DatePicker\n\t\t\t{...rest}\n\t\t\tselected={selected}\n\t\t\tonChange={date => {\n\t\t\t\tif (onChange) onChange(date ? toLocalTime(date) : null);\n\t\t\t}}\n\t\t\tshowTimeSelect\n\t\t\tshowTimeSelectOnly\n\t\t\ttimeIntervals={15}\n\t\t\ttimeCaption=\"Time\"\n\t\t\tdateFormat=\"hh:mm aa\"\n\t\t\tcustomInput={\n\t\t\t\t<Input {...inputProps}>\n\t\t\t\t\t<MaskedTimeInput {...maskedInputProps} onBlur={handleDatePickerBlur} />\n\t\t\t\t</Input>\n\t\t\t}\n\t\t\tonBlur={handleDatePickerBlur}\n\t\t/>\n\t);\n}\n"],"names":[],"mappings":";;;;;;;;;AAQU,MAAM,mCAAmC,EAAA;AAY5C,SAAA,eAAA,CAAyB,KAA0C,EAAA;AACzE,EAAM,MAAA;AAAA,IACL,KAAA;AAAA,IACA,QAAA;AAAA,IACA,MAAA;AAAA,IACA,EAAA;AAAA,IACA,MAAA;AAAA,IACA,cAAA;AAAA,IACA,SAAA;AAAA,IACA,KAAA;AAAA,IACA,KAAA;AAAA,IACA,KAAA;AAAA,IACA,QAAA;AAAA,IACA,KAAA;AAAA,IACA,aAAA;AAAA,IACA,OAAA;AAAA,IACA,IAAA;AAAA,IACA,QAAA;AAAA,IACA,WAAA;AAAA,IACA,YAAA;AAAA,IACA,aAAA;AAAA,IACG,GAAA,IAAA;AAAA,GACA,GAAA,KAAA,CAAA;AAEJ,EAAA,MAAM,UAAa,GAAA;AAAA,IAClB,EAAA;AAAA,IACA,MAAA;AAAA,IACA,cAAA;AAAA,IACA,SAAA,EAAW,GAAG,SAAa,IAAA,EAAA,CAAA,KAAA,CAAA;AAAA,IAC3B,KAAA;AAAA,IACA,KAAA;AAAA,IACA,KAAA;AAAA,IACA,QAAA;AAAA,IACA,KAAA;AAAA,IACA,aAAA;AAAA,IACA,OAAA;AAAA,IACA,IAAA;AAAA,IACA,QAAA;AAAA,IACA,WAAA;AAAA,GACD,CAAA;AAEA,EAAA,MAAM,gBAAmB,GAAA;AAAA,IACxB,EAAA;AAAA,IACA,MAAA;AAAA,IACA,cAAA;AAAA,IACA,SAAA;AAAA,IACA,KAAA;AAAA,IACA,KAAA;AAAA,IACA,QAAA;AAAA,IACA,KAAA;AAAA,IACA,aAAA;AAAA,IACA,OAAA;AAAA,IACA,IAAA;AAAA,IACA,QAAA;AAAA,IACA,WAAA;AAAA,GACD,CAAA;AAEA,EAAI,IAAA,QAAA,CAAA;AACJ,EAAA,IAAI,OAAO,KAAU,KAAA,QAAA;AAAU,IAAA,QAAA,GAAW,MAAO,CAAA,SAAA,CAAU,aAAc,CAAA,KAAK,CAAC,CAAA,CAAA;AAAA;AAC1E,IAAW,QAAA,GAAA,KAAA,GAAQ,MAAO,CAAA,KAAK,CAAI,GAAA,IAAA,CAAA;AAExC,EAAM,MAAA,oBAAA,GAAuB,CAAC,CAA0C,KAAA;AACvE,IAAA,MAAA,IAAU,OAAO,CAAC,CAAA,CAAA;AAAA,GACnB,CAAA;AAEA,EAAA,uBACE,KAAA,CAAA,aAAA,CAAA,UAAA,EAAA;AAAA,IACI,GAAA,IAAA;AAAA,IACJ,QAAA;AAAA,IACA,UAAU,CAAQ,IAAA,KAAA;AACjB,MAAI,IAAA,QAAA;AAAU,QAAA,QAAA,CAAS,IAAO,GAAA,WAAA,CAAY,IAAI,CAAA,GAAI,IAAI,CAAA,CAAA;AAAA,KACvD;AAAA,IACA,cAAc,EAAA,IAAA;AAAA,IACd,kBAAkB,EAAA,IAAA;AAAA,IAClB,aAAe,EAAA,EAAA;AAAA,IACf,WAAY,EAAA,MAAA;AAAA,IACZ,UAAW,EAAA,UAAA;AAAA,IACX,6BACE,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAAA,MAAU,GAAA,UAAA;AAAA,KAAA,kBACT,KAAA,CAAA,aAAA,CAAA,eAAA,EAAA;AAAA,MAAoB,GAAA,gBAAA;AAAA,MAAkB,MAAQ,EAAA,oBAAA;AAAA,KAAsB,CACtE,CAAA;AAAA,IAED,MAAQ,EAAA,oBAAA;AAAA,GACT,CAAA,CAAA;AAEF;;;;"}
|
|
@@ -4,18 +4,19 @@ import { MaskedInput } from '../../inputs/MaskedInput/MaskedInput.js';
|
|
|
4
4
|
import '../../inputs/MaskedInput/useMaskedInput.js';
|
|
5
5
|
|
|
6
6
|
debug("thx.controls.date.LocalTimePicker.MaskedTimeInput");
|
|
7
|
-
|
|
8
|
-
const { onChange, ...rest } = props;
|
|
7
|
+
const MaskedTimeInput = forwardRef((props, ref) => {
|
|
8
|
+
const { onChange, name, ...rest } = props;
|
|
9
9
|
return /* @__PURE__ */ React.createElement(MaskedInput, {
|
|
10
|
+
...rest,
|
|
11
|
+
ref,
|
|
12
|
+
name,
|
|
10
13
|
mask: { alias: "datetime", inputFormat: "hh:MM TT" },
|
|
11
14
|
onChange: (value) => {
|
|
12
15
|
if (onChange)
|
|
13
16
|
onChange({ target: { value: value || "" } });
|
|
14
|
-
}
|
|
15
|
-
...rest
|
|
17
|
+
}
|
|
16
18
|
});
|
|
17
|
-
}
|
|
18
|
-
const MaskedTimeInput = forwardRef(MaskedTimeInputInner);
|
|
19
|
+
});
|
|
19
20
|
|
|
20
21
|
export { MaskedTimeInput };
|
|
21
22
|
//# sourceMappingURL=MaskedTimeInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaskedTimeInput.js","sources":["../../../../src/date/LocalTimePicker/MaskedTimeInput.tsx"],"sourcesContent":["import debug from 'debug';\nimport {forwardRef} from 'react';\nimport {MaskedInput, MaskedInputProps} from '../../inputs/MaskedInput';\n\nconst d = debug('thx.controls.date.LocalTimePicker.MaskedTimeInput');\n\nexport interface MaskedTimeInputValue {\n\ttarget: {\n\t\tvalue: string;\n\t};\n}\n\nexport interface MaskedTimeInputProps {\n\tonChange?: (value: MaskedTimeInputValue) => void;\n}\n\
|
|
1
|
+
{"version":3,"file":"MaskedTimeInput.js","sources":["../../../../src/date/LocalTimePicker/MaskedTimeInput.tsx"],"sourcesContent":["import debug from 'debug';\nimport {forwardRef} from 'react';\nimport {MaskedInput, MaskedInputProps} from '../../inputs/MaskedInput';\nimport type {MaskedInputRef} from '../../inputs/MaskedInput/MaskedInput';\n\nconst d = debug('thx.controls.date.LocalTimePicker.MaskedTimeInput');\n\nexport type MaskedTimeInputRef = MaskedInputRef;\n\nexport interface MaskedTimeInputValue {\n\ttarget: {\n\t\tvalue: string;\n\t};\n}\n\nexport interface MaskedTimeInputProps {\n\tonChange?: (value: MaskedTimeInputValue) => void;\n}\n\nexport const MaskedTimeInput = forwardRef<MaskedTimeInputRef, MaskedTimeInputProps & Omit<MaskedInputProps, 'onChange'>>(\n\t(props: MaskedTimeInputProps & Omit<MaskedInputProps, 'onChange'>, ref: any) => {\n\t\tconst {onChange, name, ...rest} = props;\n\n\t\treturn (\n\t\t\t<MaskedInput\n\t\t\t\t{...rest}\n\t\t\t\tref={ref}\n\t\t\t\tname={name}\n\t\t\t\tmask={{alias: 'datetime', inputFormat: 'hh:MM TT'}}\n\t\t\t\tonChange={(value: string) => {\n\t\t\t\t\tif (onChange) onChange({target: {value: value || ''}});\n\t\t\t\t}}\n\t\t\t/>\n\t\t);\n\t},\n);\n"],"names":[],"mappings":";;;;;AAKU,MAAM,mDAAmD,EAAA;AAc5D,MAAM,eAAkB,GAAA,UAAA,CAC9B,CAAC,KAAA,EAAkE,GAAa,KAAA;AAC/E,EAAM,MAAA,EAAC,QAAU,EAAA,IAAA,EAAA,GAAS,IAAQ,EAAA,GAAA,KAAA,CAAA;AAElC,EAAA,uBACE,KAAA,CAAA,aAAA,CAAA,WAAA,EAAA;AAAA,IACI,GAAA,IAAA;AAAA,IACJ,GAAA;AAAA,IACA,IAAA;AAAA,IACA,IAAM,EAAA,EAAC,KAAO,EAAA,UAAA,EAAY,aAAa,UAAU,EAAA;AAAA,IACjD,QAAA,EAAU,CAAC,KAAkB,KAAA;AAC5B,MAAI,IAAA,QAAA;AAAU,QAAA,QAAA,CAAS,EAAC,MAAQ,EAAA,EAAC,OAAO,KAAS,IAAA,EAAA,IAAI,CAAA,CAAA;AAAA,KACtD;AAAA,GACD,CAAA,CAAA;AAEF,CACD;;;;"}
|
package/dist/esm/index.js
CHANGED
|
@@ -23,6 +23,7 @@ export { CheckboxEditCell } from './inputs/TableInput/CheckboxEditCell.js';
|
|
|
23
23
|
export { LocalDateEditCell } from './inputs/TableInput/LocalDateEditCell.js';
|
|
24
24
|
export { LocalTimeEditCell } from './inputs/TableInput/LocalTimeEditCell.js';
|
|
25
25
|
export { MoneySumFooter } from './inputs/TableInput/MoneySumFooter.js';
|
|
26
|
+
export { NumberEditCell } from './inputs/TableInput/NumberEditCell.js';
|
|
26
27
|
export { StringEditCell } from './inputs/TableInput/StringEditCell.js';
|
|
27
28
|
export { DropdownCell } from './inputs/TableInput/DropdownCell.js';
|
|
28
29
|
export { HoverCell } from './inputs/TableInput/HoverCell.js';
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
|
|
|
2
2
|
import debug from 'debug';
|
|
3
3
|
import { LocalTimePicker } from '../../date/LocalTimePicker/LocalTimePicker.js';
|
|
4
4
|
|
|
5
|
-
debug("thx.controls.inputs.TableInput.
|
|
5
|
+
debug("thx.controls.inputs.TableInput.LocalTimeEditCell");
|
|
6
6
|
function LocalTimeEditCell() {
|
|
7
7
|
return function LocalTimeEditCellFn(props) {
|
|
8
8
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocalTimeEditCell.js","sources":["../../../../src/inputs/TableInput/LocalTimeEditCell.tsx"],"sourcesContent":["import type {LocalTime} from '@js-joda/core';\nimport debug from 'debug';\nimport {useState} from 'react';\nimport
|
|
1
|
+
{"version":3,"file":"LocalTimeEditCell.js","sources":["../../../../src/inputs/TableInput/LocalTimeEditCell.tsx"],"sourcesContent":["import type {LocalTime} from '@js-joda/core';\nimport debug from 'debug';\nimport {useState} from 'react';\nimport {LocalTimePicker} from '../../date/LocalTimePicker';\nimport type {TableCellProps} from './TableInput';\n\nconst d = debug('thx.controls.inputs.TableInput.LocalTimeEditCell');\n\nexport function LocalTimeEditCell<D extends Record<string, unknown>>() {\n\treturn function LocalTimeEditCellFn(props: TableCellProps<D, LocalTime | 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<LocalTimePicker\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,KACD,CAAA,CAAA;AAAA,GAEF,CAAA;AACD;;;;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import debug from 'debug';
|
|
3
|
+
import { Input } from 'semantic-ui-react';
|
|
4
|
+
import { addRowOnTab } from './addRowOnTab.js';
|
|
5
|
+
|
|
6
|
+
debug("thx.controls.inputs.TableInput.NumberEditCell");
|
|
7
|
+
function NumberEditCell(options) {
|
|
8
|
+
const { inputProps, addRowOnTabIf } = options || {};
|
|
9
|
+
return function NumberEditCellFn(props) {
|
|
10
|
+
const {
|
|
11
|
+
value: initialValue,
|
|
12
|
+
row: { index },
|
|
13
|
+
column: { id },
|
|
14
|
+
updateData
|
|
15
|
+
} = props;
|
|
16
|
+
const [value, setValue] = useState(initialValue);
|
|
17
|
+
return /* @__PURE__ */ React.createElement(Input, {
|
|
18
|
+
fluid: true,
|
|
19
|
+
transparent: true,
|
|
20
|
+
...inputProps,
|
|
21
|
+
value,
|
|
22
|
+
onChange: (ev, v) => {
|
|
23
|
+
setValue(v.value ? parseFloat(v.value) : 0);
|
|
24
|
+
},
|
|
25
|
+
onBlur: () => {
|
|
26
|
+
updateData(index, id, value);
|
|
27
|
+
},
|
|
28
|
+
onKeyDown: (event) => addRowOnTab(event, value, props, addRowOnTabIf)
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { NumberEditCell };
|
|
34
|
+
//# sourceMappingURL=NumberEditCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberEditCell.js","sources":["../../../../src/inputs/TableInput/NumberEditCell.tsx"],"sourcesContent":["import debug from 'debug';\nimport {useState} from 'react';\nimport {Input, InputProps} from 'semantic-ui-react';\nimport type {TableCellProps} from './TableInput';\nimport type {AddRowOnTabIf} from './addRowOnTab';\nimport {addRowOnTab} from './addRowOnTab';\n\nconst d = debug('thx.controls.inputs.TableInput.NumberEditCell');\n\ninterface NumberEditCellOptions<D extends Record<number, unknown>> {\n\t/** Override SemanticUI Input props */\n\tinputProps?: InputProps;\n\t/** If function is present, and returns true, will add a new row if tab is pressed on the last row */\n\taddRowOnTabIf?: AddRowOnTabIf<D, number>;\n}\n\nexport function NumberEditCell<D extends Record<number, unknown>>(options?: NumberEditCellOptions<D>) {\n\tconst {inputProps, addRowOnTabIf} = options || {};\n\n\treturn function NumberEditCellFn(props: TableCellProps<D, number>) {\n\t\tconst {\n\t\t\tvalue: initialValue,\n\t\t\trow: {index},\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<Input\n\t\t\t\tfluid\n\t\t\t\ttransparent\n\t\t\t\t{...inputProps}\n\t\t\t\tvalue={value}\n\t\t\t\tonChange={(ev, v) => {\n\t\t\t\t\tsetValue(v.value ? parseFloat(v.value) : 0);\n\t\t\t\t}}\n\t\t\t\tonBlur={() => {\n\t\t\t\t\tupdateData(index, id, value);\n\t\t\t\t}}\n\t\t\t\tonKeyDown={(event: KeyboardEvent) => addRowOnTab(event, value, props, addRowOnTabIf)}\n\t\t\t/>\n\t\t);\n\t};\n}\n"],"names":[],"mappings":";;;;;AAOU,MAAM,+CAA+C,EAAA;AASxD,SAAA,cAAA,CAA2D,OAAoC,EAAA;AACrG,EAAA,MAAM,EAAC,UAAA,EAAY,aAAiB,EAAA,GAAA,OAAA,IAAW,EAAC,CAAA;AAEhD,EAAA,OAAO,0BAA0B,KAAkC,EAAA;AAClE,IAAM,MAAA;AAAA,MACL,KAAO,EAAA,YAAA;AAAA,MACP,KAAK,EAAC,KAAA,EAAA;AAAA,MACN,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,KAAA,EAAA;AAAA,MACA,KAAK,EAAA,IAAA;AAAA,MACL,WAAW,EAAA,IAAA;AAAA,MACP,GAAA,UAAA;AAAA,MACJ,KAAA;AAAA,MACA,QAAA,EAAU,CAAC,EAAA,EAAI,CAAM,KAAA;AACpB,QAAA,QAAA,CAAS,EAAE,KAAQ,GAAA,UAAA,CAAW,CAAE,CAAA,KAAK,IAAI,CAAC,CAAA,CAAA;AAAA,OAC3C;AAAA,MACA,QAAQ,MAAM;AACb,QAAW,UAAA,CAAA,KAAA,EAAO,IAAI,KAAK,CAAA,CAAA;AAAA,OAC5B;AAAA,MACA,WAAW,CAAC,KAAA,KAAyB,YAAY,KAAO,EAAA,KAAA,EAAO,OAAO,aAAa,CAAA;AAAA,KACpF,CAAA,CAAA;AAAA,GAEF,CAAA;AACD;;;;"}
|
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":"c6fa-1"}]},{"name":"step/useStep.js","children":[{"name":"src/step/useStep.ts","uid":"c6fa-3"}]},{"name":"step/Step.js","children":[{"name":"src/step/Step.tsx","uid":"c6fa-5"}]},{"name":"step/StepProvider.js","children":[{"name":"src/step/StepProvider.tsx","uid":"c6fa-7"}]},{"name":"step/FormStep.js","children":[{"name":"src/step/FormStep.tsx","uid":"c6fa-9"}]},{"name":"inputs/MaskedInput/useMaskedInput.js","children":[{"name":"src/inputs/MaskedInput/useMaskedInput.ts","uid":"c6fa-11"}]},{"name":"date/LocalDatePicker/LocalDatePicker.js","children":[{"name":"src/date/LocalDatePicker/LocalDatePicker.tsx","uid":"c6fa-13"}]},{"name":"date/LocalMonthSelect/LocalMonthSelect.js","children":[{"name":"src/date/LocalMonthSelect/LocalMonthSelect.tsx","uid":"c6fa-15"}]},{"name":"date/LocalTimePicker/LocalTimePicker.js","children":[{"name":"src/date/LocalTimePicker/LocalTimePicker.tsx","uid":"c6fa-17"}]},{"name":"date/MonthDayPicker/MonthDayPicker.js","children":[{"name":"src/date/MonthDayPicker/MonthDayPicker.tsx","uid":"c6fa-19"}]},{"name":"date/MonthYearPicker/MonthYearPicker.js","children":[{"name":"src/date/MonthYearPicker/MonthYearPicker.tsx","uid":"c6fa-21"}]},{"name":"date/YearSelect/YearSelect.js","children":[{"name":"src/date/YearSelect/YearSelect.tsx","uid":"c6fa-23"}]},{"name":"form/TForm/TForm.js","children":[{"name":"src/form/TForm/TForm.tsx","uid":"c6fa-25"}]},{"name":"inputs/TableInput/addRowOnTab.js","children":[{"name":"src/inputs/TableInput/addRowOnTab.ts","uid":"c6fa-27"}]},{"name":"form/TForm/useTForm.js","children":[{"name":"src/form/TForm/useTForm.tsx","uid":"c6fa-29"}]},{"name":"inputs/MaskedInput/MaskedInput.js","children":[{"name":"src/inputs/MaskedInput/MaskedInput.tsx","uid":"c6fa-31"}]},{"name":"inputs/RadioGroup/RadioGroup.js","children":[{"name":"src/inputs/RadioGroup/RadioGroup.tsx","uid":"c6fa-33"}]},{"name":"inputs/Scriptel/Scriptel.js","children":[{"name":"src/inputs/Scriptel/Scriptel.tsx","uid":"c6fa-35"}]},{"name":"inputs/Scriptel/withScriptel.js","children":[{"name":"src/inputs/Scriptel/withScriptel.tsx","uid":"c6fa-37"}]},{"name":"inputs/ScriptelInput/ScriptelInput.js","children":[{"name":"src/inputs/ScriptelInput/ScriptelInput.tsx","uid":"c6fa-39"}]},{"name":"inputs/CreditCardInput/CreditCardInput.js","children":[{"name":"src/inputs/CreditCardInput/CreditCardInput.tsx","uid":"c6fa-41"}]},{"name":"inputs/PhoneInput/PhoneInput.js","children":[{"name":"src/inputs/PhoneInput/PhoneInput.tsx","uid":"c6fa-43"}]},{"name":"money/MoneyCurrencyInput/MoneyCurrencyInput.js","children":[{"name":"src/money/MoneyCurrencyInput/MoneyCurrencyInput.tsx","uid":"c6fa-45"}]},{"name":"inputs/TableInput/TableInput.js","children":[{"name":"src/inputs/TableInput/TableInput.tsx","uid":"c6fa-47"}]},{"name":"inputs/SinInput/SinInput.js","children":[{"name":"src/inputs/SinInput/SinInput.tsx","uid":"c6fa-49"}]},{"name":"inputs/TableInput/MoneyCell.js","children":[{"name":"src/inputs/TableInput/MoneyCell.tsx","uid":"c6fa-51"}]},{"name":"inputs/TableInput/MoneyEditCell.js","children":[{"name":"src/inputs/TableInput/MoneyEditCell.tsx","uid":"c6fa-53"}]},{"name":"inputs/TableInput/LocalDateCell.js","children":[{"name":"src/inputs/TableInput/LocalDateCell.tsx","uid":"c6fa-55"}]},{"name":"inputs/TableInput/CheckboxEditCell.js","children":[{"name":"src/inputs/TableInput/CheckboxEditCell.tsx","uid":"c6fa-57"}]},{"name":"inputs/TableInput/LocalDateEditCell.js","children":[{"name":"src/inputs/TableInput/LocalDateEditCell.tsx","uid":"c6fa-59"}]},{"name":"inputs/TableInput/LocalTimeEditCell.js","children":[{"name":"src/inputs/TableInput/LocalTimeEditCell.tsx","uid":"c6fa-61"}]},{"name":"inputs/TableInput/MoneySumFooter.js","children":[{"name":"src/inputs/TableInput/MoneySumFooter.tsx","uid":"c6fa-63"}]},{"name":"inputs/TableInput/StringEditCell.js","children":[{"name":"src/inputs/TableInput/StringEditCell.tsx","uid":"c6fa-65"}]},{"name":"inputs/TableInput/DropdownCell.js","children":[{"name":"src/inputs/TableInput/DropdownCell.tsx","uid":"c6fa-67"}]},{"name":"inputs/TableInput/HoverCell.js","children":[{"name":"src/inputs/TableInput/HoverCell.tsx","uid":"c6fa-69"}]},{"name":"money/MoneyInput/MoneyInput.js","children":[{"name":"src/money/MoneyInput/MoneyInput.tsx","uid":"c6fa-71"}]},{"name":"inputs/Scriptel/scriptel/enums.js","children":[{"name":"src/inputs/Scriptel/scriptel/enums.ts","uid":"c6fa-73"}]},{"name":"step/stepContext.js","children":[{"name":"src/step/stepContext.ts","uid":"c6fa-75"}]},{"name":"money/useMoneyInput.js","children":[{"name":"src/money/useMoneyInput.ts","uid":"c6fa-77"}]},{"name":"date/DatePicker/styles.css.js","children":[{"name":"src/date/DatePicker/styles.css","uid":"c6fa-79"}]},{"name":"inputs/CreditCardInput/styles.css.js","children":[{"name":"src/inputs/CreditCardInput/styles.css","uid":"c6fa-81"}]},{"name":"date/LocalDatePicker/MaskedDateInput.js","children":[{"name":"src/date/LocalDatePicker/MaskedDateInput.tsx","uid":"c6fa-83"}]},{"name":"inputs/Scriptel/ScriptelContext.js","children":[{"name":"src/inputs/Scriptel/ScriptelContext.ts","uid":"c6fa-85"}]},{"name":"date/LocalTimePicker/MaskedTimeInput.js","children":[{"name":"src/date/LocalTimePicker/MaskedTimeInput.tsx","uid":"c6fa-87"}]},{"name":"inputs/CreditCardInput/CreditCardNumberInput.js","children":[{"name":"src/inputs/CreditCardInput/CreditCardNumberInput.tsx","uid":"c6fa-89"}]},{"name":"inputs/Scriptel/scriptel/index.js","children":[{"name":"src/inputs/Scriptel/scriptel/index.ts","uid":"c6fa-91"}]},{"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":"c6fa-93"}]}],"isRoot":true},"nodeParts":{"c6fa-1":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"c6fa-0"},"c6fa-3":{"renderedLength":113,"gzipLength":107,"brotliLength":82,"mainUid":"c6fa-2"},"c6fa-5":{"renderedLength":203,"gzipLength":155,"brotliLength":111,"mainUid":"c6fa-4"},"c6fa-7":{"renderedLength":3529,"gzipLength":1015,"brotliLength":861,"mainUid":"c6fa-6"},"c6fa-9":{"renderedLength":440,"gzipLength":270,"brotliLength":214,"mainUid":"c6fa-8"},"c6fa-11":{"renderedLength":1487,"gzipLength":501,"brotliLength":423,"mainUid":"c6fa-10"},"c6fa-13":{"renderedLength":3161,"gzipLength":952,"brotliLength":853,"mainUid":"c6fa-12"},"c6fa-15":{"renderedLength":1135,"gzipLength":505,"brotliLength":415,"mainUid":"c6fa-14"},"c6fa-17":{"renderedLength":1430,"gzipLength":541,"brotliLength":444,"mainUid":"c6fa-16"},"c6fa-19":{"renderedLength":1965,"gzipLength":655,"brotliLength":544,"mainUid":"c6fa-18"},"c6fa-21":{"renderedLength":1229,"gzipLength":496,"brotliLength":424,"mainUid":"c6fa-20"},"c6fa-23":{"renderedLength":1553,"gzipLength":579,"brotliLength":461,"mainUid":"c6fa-22"},"c6fa-25":{"renderedLength":600,"gzipLength":308,"brotliLength":267,"mainUid":"c6fa-24"},"c6fa-27":{"renderedLength":312,"gzipLength":199,"brotliLength":173,"mainUid":"c6fa-26"},"c6fa-29":{"renderedLength":2930,"gzipLength":953,"brotliLength":816,"mainUid":"c6fa-28"},"c6fa-31":{"renderedLength":513,"gzipLength":301,"brotliLength":257,"mainUid":"c6fa-30"},"c6fa-33":{"renderedLength":561,"gzipLength":301,"brotliLength":259,"mainUid":"c6fa-32"},"c6fa-35":{"renderedLength":1275,"gzipLength":474,"brotliLength":406,"mainUid":"c6fa-34"},"c6fa-37":{"renderedLength":275,"gzipLength":163,"brotliLength":130,"mainUid":"c6fa-36"},"c6fa-39":{"renderedLength":1963,"gzipLength":647,"brotliLength":547,"mainUid":"c6fa-38"},"c6fa-41":{"renderedLength":2324,"gzipLength":584,"brotliLength":495,"mainUid":"c6fa-40"},"c6fa-43":{"renderedLength":908,"gzipLength":382,"brotliLength":319,"mainUid":"c6fa-42"},"c6fa-45":{"renderedLength":1575,"gzipLength":640,"brotliLength":536,"mainUid":"c6fa-44"},"c6fa-47":{"renderedLength":2821,"gzipLength":840,"brotliLength":752,"mainUid":"c6fa-46"},"c6fa-49":{"renderedLength":1144,"gzipLength":532,"brotliLength":462,"mainUid":"c6fa-48"},"c6fa-51":{"renderedLength":257,"gzipLength":185,"brotliLength":149,"mainUid":"c6fa-50"},"c6fa-53":{"renderedLength":708,"gzipLength":366,"brotliLength":313,"mainUid":"c6fa-52"},"c6fa-55":{"renderedLength":264,"gzipLength":190,"brotliLength":154,"mainUid":"c6fa-54"},"c6fa-57":{"renderedLength":702,"gzipLength":369,"brotliLength":330,"mainUid":"c6fa-56"},"c6fa-59":{"renderedLength":695,"gzipLength":349,"brotliLength":295,"mainUid":"c6fa-58"},"c6fa-61":{"renderedLength":622,"gzipLength":325,"brotliLength":266,"mainUid":"c6fa-60"},"c6fa-63":{"renderedLength":414,"gzipLength":259,"brotliLength":219,"mainUid":"c6fa-62"},"c6fa-65":{"renderedLength":717,"gzipLength":372,"brotliLength":319,"mainUid":"c6fa-64"},"c6fa-67":{"renderedLength":493,"gzipLength":255,"brotliLength":211,"mainUid":"c6fa-66"},"c6fa-69":{"renderedLength":403,"gzipLength":244,"brotliLength":195,"mainUid":"c6fa-68"},"c6fa-71":{"renderedLength":778,"gzipLength":391,"brotliLength":329,"mainUid":"c6fa-70"},"c6fa-73":{"renderedLength":937,"gzipLength":292,"brotliLength":231,"mainUid":"c6fa-72"},"c6fa-75":{"renderedLength":80,"gzipLength":92,"brotliLength":72,"mainUid":"c6fa-74"},"c6fa-77":{"renderedLength":2155,"gzipLength":764,"brotliLength":660,"mainUid":"c6fa-76"},"c6fa-79":{"renderedLength":538,"gzipLength":261,"brotliLength":211,"mainUid":"c6fa-78"},"c6fa-81":{"renderedLength":78,"gzipLength":92,"brotliLength":79,"mainUid":"c6fa-80"},"c6fa-83":{"renderedLength":426,"gzipLength":286,"brotliLength":244,"mainUid":"c6fa-82"},"c6fa-85":{"renderedLength":46,"gzipLength":60,"brotliLength":45,"mainUid":"c6fa-84"},"c6fa-87":{"renderedLength":446,"gzipLength":290,"brotliLength":241,"mainUid":"c6fa-86"},"c6fa-89":{"renderedLength":1713,"gzipLength":689,"brotliLength":585,"mainUid":"c6fa-88"},"c6fa-91":{"renderedLength":2530,"gzipLength":860,"brotliLength":739,"mainUid":"c6fa-90"},"c6fa-93":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"c6fa-92"}},"nodeMetas":{"c6fa-0":{"id":"/src/index.ts","moduleParts":{"index.js":"c6fa-1"},"imported":[{"uid":"c6fa-94"},{"uid":"c6fa-95"},{"uid":"c6fa-96"},{"uid":"c6fa-97"},{"uid":"c6fa-98"},{"uid":"c6fa-99"},{"uid":"c6fa-100"},{"uid":"c6fa-101"},{"uid":"c6fa-102"},{"uid":"c6fa-103"},{"uid":"c6fa-104"},{"uid":"c6fa-105"},{"uid":"c6fa-106"},{"uid":"c6fa-107"},{"uid":"c6fa-108"},{"uid":"c6fa-109"},{"uid":"c6fa-110"},{"uid":"c6fa-111"}],"importedBy":[],"isEntry":true},"c6fa-2":{"id":"/src/step/useStep.ts","moduleParts":{"step/useStep.js":"c6fa-3"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-74"}],"importedBy":[{"uid":"c6fa-111"},{"uid":"c6fa-8"}]},"c6fa-4":{"id":"/src/step/Step.tsx","moduleParts":{"step/Step.js":"c6fa-5"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"}],"importedBy":[{"uid":"c6fa-111"},{"uid":"c6fa-6"}]},"c6fa-6":{"id":"/src/step/StepProvider.tsx","moduleParts":{"step/StepProvider.js":"c6fa-7"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-129"},{"uid":"c6fa-115"},{"uid":"c6fa-8"},{"uid":"c6fa-4"},{"uid":"c6fa-74"}],"importedBy":[{"uid":"c6fa-111"}]},"c6fa-8":{"id":"/src/step/FormStep.tsx","moduleParts":{"step/FormStep.js":"c6fa-9"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-2"}],"importedBy":[{"uid":"c6fa-111"},{"uid":"c6fa-6"}]},"c6fa-10":{"id":"/src/inputs/MaskedInput/useMaskedInput.ts","moduleParts":{"inputs/MaskedInput/useMaskedInput.js":"c6fa-11"},"imported":[{"uid":"c6fa-114"},{"uid":"c6fa-121"},{"uid":"c6fa-112"},{"uid":"c6fa-122"}],"importedBy":[{"uid":"c6fa-101"},{"uid":"c6fa-30"},{"uid":"c6fa-48"},{"uid":"c6fa-88"}]},"c6fa-12":{"id":"/src/date/LocalDatePicker/LocalDatePicker.tsx","moduleParts":{"date/LocalDatePicker/LocalDatePicker.js":"c6fa-13"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-113"},{"uid":"c6fa-114"},{"uid":"c6fa-115"},{"uid":"c6fa-116"},{"uid":"c6fa-78"},{"uid":"c6fa-82"}],"importedBy":[{"uid":"c6fa-94"}]},"c6fa-14":{"id":"/src/date/LocalMonthSelect/LocalMonthSelect.tsx","moduleParts":{"date/LocalMonthSelect/LocalMonthSelect.js":"c6fa-15"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-117"},{"uid":"c6fa-114"},{"uid":"c6fa-115"}],"importedBy":[{"uid":"c6fa-95"}]},"c6fa-16":{"id":"/src/date/LocalTimePicker/LocalTimePicker.tsx","moduleParts":{"date/LocalTimePicker/LocalTimePicker.js":"c6fa-17"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-117"},{"uid":"c6fa-113"},{"uid":"c6fa-114"},{"uid":"c6fa-115"},{"uid":"c6fa-116"},{"uid":"c6fa-86"}],"importedBy":[{"uid":"c6fa-96"}]},"c6fa-18":{"id":"/src/date/MonthDayPicker/MonthDayPicker.tsx","moduleParts":{"date/MonthDayPicker/MonthDayPicker.js":"c6fa-19"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-113"},{"uid":"c6fa-114"},{"uid":"c6fa-115"},{"uid":"c6fa-116"}],"importedBy":[{"uid":"c6fa-97"}]},"c6fa-20":{"id":"/src/date/MonthYearPicker/MonthYearPicker.tsx","moduleParts":{"date/MonthYearPicker/MonthYearPicker.js":"c6fa-21"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-117"},{"uid":"c6fa-113"},{"uid":"c6fa-114"},{"uid":"c6fa-115"},{"uid":"c6fa-116"}],"importedBy":[{"uid":"c6fa-98"}]},"c6fa-22":{"id":"/src/date/YearSelect/YearSelect.tsx","moduleParts":{"date/YearSelect/YearSelect.js":"c6fa-23"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-115"}],"importedBy":[{"uid":"c6fa-99"}]},"c6fa-24":{"id":"/src/form/TForm/TForm.tsx","moduleParts":{"form/TForm/TForm.js":"c6fa-25"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-118"},{"uid":"c6fa-28"}],"importedBy":[{"uid":"c6fa-100"}]},"c6fa-26":{"id":"/src/inputs/TableInput/addRowOnTab.ts","moduleParts":{"inputs/TableInput/addRowOnTab.js":"c6fa-27"},"imported":[],"importedBy":[{"uid":"c6fa-108"},{"uid":"c6fa-52"},{"uid":"c6fa-56"},{"uid":"c6fa-64"}]},"c6fa-28":{"id":"/src/form/TForm/useTForm.tsx","moduleParts":{"form/TForm/useTForm.js":"c6fa-29"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-119"},{"uid":"c6fa-118"},{"uid":"c6fa-120"},{"uid":"c6fa-115"}],"importedBy":[{"uid":"c6fa-100"},{"uid":"c6fa-24"}]},"c6fa-30":{"id":"/src/inputs/MaskedInput/MaskedInput.tsx","moduleParts":{"inputs/MaskedInput/MaskedInput.js":"c6fa-31"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-10"}],"importedBy":[{"uid":"c6fa-101"}]},"c6fa-32":{"id":"/src/inputs/RadioGroup/RadioGroup.tsx","moduleParts":{"inputs/RadioGroup/RadioGroup.js":"c6fa-33"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-115"}],"importedBy":[{"uid":"c6fa-102"}]},"c6fa-34":{"id":"/src/inputs/Scriptel/Scriptel.tsx","moduleParts":{"inputs/Scriptel/Scriptel.js":"c6fa-35"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-84"},{"uid":"c6fa-90"}],"importedBy":[{"uid":"c6fa-103"},{"uid":"c6fa-36"}]},"c6fa-36":{"id":"/src/inputs/Scriptel/withScriptel.tsx","moduleParts":{"inputs/Scriptel/withScriptel.js":"c6fa-37"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-34"}],"importedBy":[{"uid":"c6fa-103"}]},"c6fa-38":{"id":"/src/inputs/ScriptelInput/ScriptelInput.tsx","moduleParts":{"inputs/ScriptelInput/ScriptelInput.js":"c6fa-39"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-115"},{"uid":"c6fa-84"}],"importedBy":[{"uid":"c6fa-104"}]},"c6fa-40":{"id":"/src/inputs/CreditCardInput/CreditCardInput.tsx","moduleParts":{"inputs/CreditCardInput/CreditCardInput.js":"c6fa-41"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-113"},{"uid":"c6fa-114"},{"uid":"c6fa-123"},{"uid":"c6fa-124"},{"uid":"c6fa-115"},{"uid":"c6fa-98"},{"uid":"c6fa-88"},{"uid":"c6fa-80"}],"importedBy":[{"uid":"c6fa-106"}]},"c6fa-42":{"id":"/src/inputs/PhoneInput/PhoneInput.tsx","moduleParts":{"inputs/PhoneInput/PhoneInput.js":"c6fa-43"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-115"},{"uid":"c6fa-101"}],"importedBy":[{"uid":"c6fa-105"}]},"c6fa-44":{"id":"/src/money/MoneyCurrencyInput/MoneyCurrencyInput.tsx","moduleParts":{"money/MoneyCurrencyInput/MoneyCurrencyInput.js":"c6fa-45"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-127"},{"uid":"c6fa-114"},{"uid":"c6fa-128"},{"uid":"c6fa-115"},{"uid":"c6fa-76"}],"importedBy":[{"uid":"c6fa-110"}]},"c6fa-46":{"id":"/src/inputs/TableInput/TableInput.tsx","moduleParts":{"inputs/TableInput/TableInput.js":"c6fa-47"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-118"},{"uid":"c6fa-126"},{"uid":"c6fa-115"}],"importedBy":[{"uid":"c6fa-108"}]},"c6fa-48":{"id":"/src/inputs/SinInput/SinInput.tsx","moduleParts":{"inputs/SinInput/SinInput.js":"c6fa-49"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-115"},{"uid":"c6fa-125"},{"uid":"c6fa-10"}],"importedBy":[{"uid":"c6fa-107"}]},"c6fa-50":{"id":"/src/inputs/TableInput/MoneyCell.tsx","moduleParts":{"inputs/TableInput/MoneyCell.js":"c6fa-51"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-127"}],"importedBy":[{"uid":"c6fa-108"}]},"c6fa-52":{"id":"/src/inputs/TableInput/MoneyEditCell.tsx","moduleParts":{"inputs/TableInput/MoneyEditCell.js":"c6fa-53"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-109"},{"uid":"c6fa-26"}],"importedBy":[{"uid":"c6fa-108"}]},"c6fa-54":{"id":"/src/inputs/TableInput/LocalDateCell.tsx","moduleParts":{"inputs/TableInput/LocalDateCell.js":"c6fa-55"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-113"}],"importedBy":[{"uid":"c6fa-108"}]},"c6fa-56":{"id":"/src/inputs/TableInput/CheckboxEditCell.tsx","moduleParts":{"inputs/TableInput/CheckboxEditCell.js":"c6fa-57"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-115"},{"uid":"c6fa-26"}],"importedBy":[{"uid":"c6fa-108"}]},"c6fa-58":{"id":"/src/inputs/TableInput/LocalDateEditCell.tsx","moduleParts":{"inputs/TableInput/LocalDateEditCell.js":"c6fa-59"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-94"}],"importedBy":[{"uid":"c6fa-108"}]},"c6fa-60":{"id":"/src/inputs/TableInput/LocalTimeEditCell.tsx","moduleParts":{"inputs/TableInput/LocalTimeEditCell.js":"c6fa-61"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-96"}],"importedBy":[{"uid":"c6fa-108"}]},"c6fa-62":{"id":"/src/inputs/TableInput/MoneySumFooter.tsx","moduleParts":{"inputs/TableInput/MoneySumFooter.js":"c6fa-63"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-127"}],"importedBy":[{"uid":"c6fa-108"}]},"c6fa-64":{"id":"/src/inputs/TableInput/StringEditCell.tsx","moduleParts":{"inputs/TableInput/StringEditCell.js":"c6fa-65"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-115"},{"uid":"c6fa-26"}],"importedBy":[{"uid":"c6fa-108"}]},"c6fa-66":{"id":"/src/inputs/TableInput/DropdownCell.tsx","moduleParts":{"inputs/TableInput/DropdownCell.js":"c6fa-67"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-115"}],"importedBy":[{"uid":"c6fa-108"}]},"c6fa-68":{"id":"/src/inputs/TableInput/HoverCell.tsx","moduleParts":{"inputs/TableInput/HoverCell.js":"c6fa-69"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"}],"importedBy":[{"uid":"c6fa-108"}]},"c6fa-70":{"id":"/src/money/MoneyInput/MoneyInput.tsx","moduleParts":{"money/MoneyInput/MoneyInput.js":"c6fa-71"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-127"},{"uid":"c6fa-114"},{"uid":"c6fa-128"},{"uid":"c6fa-115"},{"uid":"c6fa-76"}],"importedBy":[{"uid":"c6fa-109"}]},"c6fa-72":{"id":"/src/inputs/Scriptel/scriptel/enums.ts","moduleParts":{"inputs/Scriptel/scriptel/enums.js":"c6fa-73"},"imported":[],"importedBy":[{"uid":"c6fa-103"},{"uid":"c6fa-90"}]},"c6fa-74":{"id":"/src/step/stepContext.ts","moduleParts":{"step/stepContext.js":"c6fa-75"},"imported":[{"uid":"c6fa-112"}],"importedBy":[{"uid":"c6fa-2"},{"uid":"c6fa-6"}]},"c6fa-76":{"id":"/src/money/useMoneyInput.ts","moduleParts":{"money/useMoneyInput.js":"c6fa-77"},"imported":[{"uid":"c6fa-127"},{"uid":"c6fa-114"},{"uid":"c6fa-121"},{"uid":"c6fa-128"},{"uid":"c6fa-112"}],"importedBy":[{"uid":"c6fa-70"},{"uid":"c6fa-44"}]},"c6fa-78":{"id":"/src/date/DatePicker/styles.css","moduleParts":{"date/DatePicker/styles.css.js":"c6fa-79"},"imported":[{"uid":"c6fa-92"}],"importedBy":[{"uid":"c6fa-12"},{"uid":"c6fa-116"}]},"c6fa-80":{"id":"/src/inputs/CreditCardInput/styles.css","moduleParts":{"inputs/CreditCardInput/styles.css.js":"c6fa-81"},"imported":[{"uid":"c6fa-92"}],"importedBy":[{"uid":"c6fa-40"}]},"c6fa-82":{"id":"/src/date/LocalDatePicker/MaskedDateInput.tsx","moduleParts":{"date/LocalDatePicker/MaskedDateInput.js":"c6fa-83"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-101"}],"importedBy":[{"uid":"c6fa-12"}]},"c6fa-84":{"id":"/src/inputs/Scriptel/ScriptelContext.ts","moduleParts":{"inputs/Scriptel/ScriptelContext.js":"c6fa-85"},"imported":[{"uid":"c6fa-112"}],"importedBy":[{"uid":"c6fa-34"},{"uid":"c6fa-38"}]},"c6fa-86":{"id":"/src/date/LocalTimePicker/MaskedTimeInput.tsx","moduleParts":{"date/LocalTimePicker/MaskedTimeInput.js":"c6fa-87"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-114"},{"uid":"c6fa-101"}],"importedBy":[{"uid":"c6fa-16"}]},"c6fa-88":{"id":"/src/inputs/CreditCardInput/CreditCardNumberInput.tsx","moduleParts":{"inputs/CreditCardInput/CreditCardNumberInput.js":"c6fa-89"},"imported":[{"uid":"c6fa-112"},{"uid":"c6fa-132"},{"uid":"c6fa-114"},{"uid":"c6fa-133"},{"uid":"c6fa-115"},{"uid":"c6fa-10"}],"importedBy":[{"uid":"c6fa-40"}]},"c6fa-90":{"id":"/src/inputs/Scriptel/scriptel/index.ts","moduleParts":{"inputs/Scriptel/scriptel/index.js":"c6fa-91"},"imported":[{"uid":"c6fa-114"},{"uid":"c6fa-131"},{"uid":"c6fa-72"}],"importedBy":[{"uid":"c6fa-34"}]},"c6fa-92":{"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":"c6fa-93"},"imported":[],"importedBy":[{"uid":"c6fa-78"},{"uid":"c6fa-80"}]},"c6fa-94":{"id":"/src/date/LocalDatePicker/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-12"}],"importedBy":[{"uid":"c6fa-0"},{"uid":"c6fa-58"}]},"c6fa-95":{"id":"/src/date/LocalMonthSelect/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-14"}],"importedBy":[{"uid":"c6fa-0"}]},"c6fa-96":{"id":"/src/date/LocalTimePicker/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-16"}],"importedBy":[{"uid":"c6fa-0"},{"uid":"c6fa-60"}]},"c6fa-97":{"id":"/src/date/MonthDayPicker/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-18"}],"importedBy":[{"uid":"c6fa-0"}]},"c6fa-98":{"id":"/src/date/MonthYearPicker/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-20"}],"importedBy":[{"uid":"c6fa-0"},{"uid":"c6fa-40"}]},"c6fa-99":{"id":"/src/date/YearSelect/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-22"}],"importedBy":[{"uid":"c6fa-0"}]},"c6fa-100":{"id":"/src/form/TForm/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-24"},{"uid":"c6fa-28"}],"importedBy":[{"uid":"c6fa-0"}]},"c6fa-101":{"id":"/src/inputs/MaskedInput/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-30"},{"uid":"c6fa-10"}],"importedBy":[{"uid":"c6fa-0"},{"uid":"c6fa-42"},{"uid":"c6fa-82"},{"uid":"c6fa-86"}]},"c6fa-102":{"id":"/src/inputs/RadioGroup/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-32"}],"importedBy":[{"uid":"c6fa-0"}]},"c6fa-103":{"id":"/src/inputs/Scriptel/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-34"},{"uid":"c6fa-36"},{"uid":"c6fa-72"}],"importedBy":[{"uid":"c6fa-0"}]},"c6fa-104":{"id":"/src/inputs/ScriptelInput/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-38"}],"importedBy":[{"uid":"c6fa-0"}]},"c6fa-105":{"id":"/src/inputs/PhoneInput/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-42"}],"importedBy":[{"uid":"c6fa-0"}]},"c6fa-106":{"id":"/src/inputs/CreditCardInput/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-40"}],"importedBy":[{"uid":"c6fa-0"}]},"c6fa-107":{"id":"/src/inputs/SinInput/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-48"}],"importedBy":[{"uid":"c6fa-0"}]},"c6fa-108":{"id":"/src/inputs/TableInput/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-46"},{"uid":"c6fa-50"},{"uid":"c6fa-52"},{"uid":"c6fa-54"},{"uid":"c6fa-56"},{"uid":"c6fa-58"},{"uid":"c6fa-60"},{"uid":"c6fa-62"},{"uid":"c6fa-64"},{"uid":"c6fa-66"},{"uid":"c6fa-68"},{"uid":"c6fa-26"}],"importedBy":[{"uid":"c6fa-0"}]},"c6fa-109":{"id":"/src/money/MoneyInput/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-70"}],"importedBy":[{"uid":"c6fa-0"},{"uid":"c6fa-52"}]},"c6fa-110":{"id":"/src/money/MoneyCurrencyInput/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-44"}],"importedBy":[{"uid":"c6fa-0"}]},"c6fa-111":{"id":"/src/step/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-4"},{"uid":"c6fa-2"},{"uid":"c6fa-8"},{"uid":"c6fa-6"}],"importedBy":[{"uid":"c6fa-0"}]},"c6fa-112":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-12"},{"uid":"c6fa-14"},{"uid":"c6fa-16"},{"uid":"c6fa-18"},{"uid":"c6fa-20"},{"uid":"c6fa-22"},{"uid":"c6fa-24"},{"uid":"c6fa-28"},{"uid":"c6fa-30"},{"uid":"c6fa-10"},{"uid":"c6fa-32"},{"uid":"c6fa-34"},{"uid":"c6fa-36"},{"uid":"c6fa-38"},{"uid":"c6fa-42"},{"uid":"c6fa-40"},{"uid":"c6fa-48"},{"uid":"c6fa-46"},{"uid":"c6fa-50"},{"uid":"c6fa-52"},{"uid":"c6fa-54"},{"uid":"c6fa-56"},{"uid":"c6fa-58"},{"uid":"c6fa-60"},{"uid":"c6fa-62"},{"uid":"c6fa-64"},{"uid":"c6fa-66"},{"uid":"c6fa-68"},{"uid":"c6fa-70"},{"uid":"c6fa-44"},{"uid":"c6fa-4"},{"uid":"c6fa-2"},{"uid":"c6fa-8"},{"uid":"c6fa-6"},{"uid":"c6fa-82"},{"uid":"c6fa-86"},{"uid":"c6fa-84"},{"uid":"c6fa-88"},{"uid":"c6fa-76"},{"uid":"c6fa-74"}],"isExternal":true},"c6fa-113":{"id":"@thx/date","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-12"},{"uid":"c6fa-16"},{"uid":"c6fa-18"},{"uid":"c6fa-20"},{"uid":"c6fa-40"},{"uid":"c6fa-54"}],"isExternal":true},"c6fa-114":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-12"},{"uid":"c6fa-14"},{"uid":"c6fa-16"},{"uid":"c6fa-18"},{"uid":"c6fa-20"},{"uid":"c6fa-22"},{"uid":"c6fa-24"},{"uid":"c6fa-30"},{"uid":"c6fa-10"},{"uid":"c6fa-32"},{"uid":"c6fa-34"},{"uid":"c6fa-38"},{"uid":"c6fa-42"},{"uid":"c6fa-40"},{"uid":"c6fa-48"},{"uid":"c6fa-46"},{"uid":"c6fa-52"},{"uid":"c6fa-56"},{"uid":"c6fa-58"},{"uid":"c6fa-60"},{"uid":"c6fa-64"},{"uid":"c6fa-68"},{"uid":"c6fa-70"},{"uid":"c6fa-44"},{"uid":"c6fa-4"},{"uid":"c6fa-8"},{"uid":"c6fa-6"},{"uid":"c6fa-82"},{"uid":"c6fa-86"},{"uid":"c6fa-90"},{"uid":"c6fa-88"},{"uid":"c6fa-76"}],"isExternal":true},"c6fa-115":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-12"},{"uid":"c6fa-14"},{"uid":"c6fa-16"},{"uid":"c6fa-18"},{"uid":"c6fa-20"},{"uid":"c6fa-22"},{"uid":"c6fa-28"},{"uid":"c6fa-32"},{"uid":"c6fa-38"},{"uid":"c6fa-42"},{"uid":"c6fa-40"},{"uid":"c6fa-48"},{"uid":"c6fa-46"},{"uid":"c6fa-56"},{"uid":"c6fa-64"},{"uid":"c6fa-66"},{"uid":"c6fa-70"},{"uid":"c6fa-44"},{"uid":"c6fa-6"},{"uid":"c6fa-88"}],"isExternal":true},"c6fa-116":{"id":"/src/date/DatePicker/index.ts","moduleParts":{},"imported":[{"uid":"c6fa-130"},{"uid":"c6fa-78"}],"importedBy":[{"uid":"c6fa-12"},{"uid":"c6fa-16"},{"uid":"c6fa-18"},{"uid":"c6fa-20"}]},"c6fa-117":{"id":"@js-joda/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-14"},{"uid":"c6fa-16"},{"uid":"c6fa-20"}],"isExternal":true},"c6fa-118":{"id":"formik","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-24"},{"uid":"c6fa-28"},{"uid":"c6fa-46"}],"isExternal":true},"c6fa-119":{"id":"flat","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-28"}],"isExternal":true},"c6fa-120":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-28"}],"isExternal":true},"c6fa-121":{"id":"inputmask","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-10"},{"uid":"c6fa-76"}],"isExternal":true},"c6fa-122":{"id":"use-deep-compare-effect","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-10"}],"isExternal":true},"c6fa-123":{"id":"react-credit-cards","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-40"}],"isExternal":true},"c6fa-124":{"id":"react-credit-cards/es/styles-compiled.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-40"}],"isExternal":true},"c6fa-125":{"id":"social-insurance-number","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-48"}],"isExternal":true},"c6fa-126":{"id":"react-table","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-46"}],"isExternal":true},"c6fa-127":{"id":"@thx/money","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-50"},{"uid":"c6fa-62"},{"uid":"c6fa-70"},{"uid":"c6fa-44"},{"uid":"c6fa-76"}],"isExternal":true},"c6fa-128":{"id":"js-money","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-70"},{"uid":"c6fa-44"},{"uid":"c6fa-76"}],"isExternal":true},"c6fa-129":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-6"}],"isExternal":true},"c6fa-130":{"id":"react-datepicker","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-116"}],"isExternal":true},"c6fa-131":{"id":"eventemitter3","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-90"}],"isExternal":true},"c6fa-132":{"id":"credit-card-type","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-88"}],"isExternal":true},"c6fa-133":{"id":"luhn","moduleParts":{},"imported":[],"importedBy":[{"uid":"c6fa-88"}],"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":"2b63-1"}]},{"name":"step/useStep.js","children":[{"name":"src/step/useStep.ts","uid":"2b63-3"}]},{"name":"step/Step.js","children":[{"name":"src/step/Step.tsx","uid":"2b63-5"}]},{"name":"step/FormStep.js","children":[{"name":"src/step/FormStep.tsx","uid":"2b63-7"}]},{"name":"step/StepProvider.js","children":[{"name":"src/step/StepProvider.tsx","uid":"2b63-9"}]},{"name":"inputs/MaskedInput/useMaskedInput.js","children":[{"name":"src/inputs/MaskedInput/useMaskedInput.ts","uid":"2b63-11"}]},{"name":"date/LocalDatePicker/LocalDatePicker.js","children":[{"name":"src/date/LocalDatePicker/LocalDatePicker.tsx","uid":"2b63-13"}]},{"name":"date/LocalMonthSelect/LocalMonthSelect.js","children":[{"name":"src/date/LocalMonthSelect/LocalMonthSelect.tsx","uid":"2b63-15"}]},{"name":"date/MonthYearPicker/MonthYearPicker.js","children":[{"name":"src/date/MonthYearPicker/MonthYearPicker.tsx","uid":"2b63-17"}]},{"name":"date/LocalTimePicker/LocalTimePicker.js","children":[{"name":"src/date/LocalTimePicker/LocalTimePicker.tsx","uid":"2b63-19"}]},{"name":"date/MonthDayPicker/MonthDayPicker.js","children":[{"name":"src/date/MonthDayPicker/MonthDayPicker.tsx","uid":"2b63-21"}]},{"name":"date/YearSelect/YearSelect.js","children":[{"name":"src/date/YearSelect/YearSelect.tsx","uid":"2b63-23"}]},{"name":"form/TForm/TForm.js","children":[{"name":"src/form/TForm/TForm.tsx","uid":"2b63-25"}]},{"name":"form/TForm/useTForm.js","children":[{"name":"src/form/TForm/useTForm.tsx","uid":"2b63-27"}]},{"name":"inputs/MaskedInput/MaskedInput.js","children":[{"name":"src/inputs/MaskedInput/MaskedInput.tsx","uid":"2b63-29"}]},{"name":"inputs/RadioGroup/RadioGroup.js","children":[{"name":"src/inputs/RadioGroup/RadioGroup.tsx","uid":"2b63-31"}]},{"name":"inputs/Scriptel/Scriptel.js","children":[{"name":"src/inputs/Scriptel/Scriptel.tsx","uid":"2b63-33"}]},{"name":"inputs/Scriptel/withScriptel.js","children":[{"name":"src/inputs/Scriptel/withScriptel.tsx","uid":"2b63-35"}]},{"name":"inputs/PhoneInput/PhoneInput.js","children":[{"name":"src/inputs/PhoneInput/PhoneInput.tsx","uid":"2b63-37"}]},{"name":"inputs/TableInput/addRowOnTab.js","children":[{"name":"src/inputs/TableInput/addRowOnTab.ts","uid":"2b63-39"}]},{"name":"inputs/ScriptelInput/ScriptelInput.js","children":[{"name":"src/inputs/ScriptelInput/ScriptelInput.tsx","uid":"2b63-41"}]},{"name":"money/MoneyInput/MoneyInput.js","children":[{"name":"src/money/MoneyInput/MoneyInput.tsx","uid":"2b63-43"}]},{"name":"inputs/CreditCardInput/CreditCardInput.js","children":[{"name":"src/inputs/CreditCardInput/CreditCardInput.tsx","uid":"2b63-45"}]},{"name":"money/MoneyCurrencyInput/MoneyCurrencyInput.js","children":[{"name":"src/money/MoneyCurrencyInput/MoneyCurrencyInput.tsx","uid":"2b63-47"}]},{"name":"inputs/TableInput/TableInput.js","children":[{"name":"src/inputs/TableInput/TableInput.tsx","uid":"2b63-49"}]},{"name":"inputs/TableInput/MoneyCell.js","children":[{"name":"src/inputs/TableInput/MoneyCell.tsx","uid":"2b63-51"}]},{"name":"inputs/TableInput/MoneyEditCell.js","children":[{"name":"src/inputs/TableInput/MoneyEditCell.tsx","uid":"2b63-53"}]},{"name":"inputs/TableInput/LocalDateCell.js","children":[{"name":"src/inputs/TableInput/LocalDateCell.tsx","uid":"2b63-55"}]},{"name":"inputs/TableInput/CheckboxEditCell.js","children":[{"name":"src/inputs/TableInput/CheckboxEditCell.tsx","uid":"2b63-57"}]},{"name":"inputs/TableInput/LocalDateEditCell.js","children":[{"name":"src/inputs/TableInput/LocalDateEditCell.tsx","uid":"2b63-59"}]},{"name":"inputs/TableInput/LocalTimeEditCell.js","children":[{"name":"src/inputs/TableInput/LocalTimeEditCell.tsx","uid":"2b63-61"}]},{"name":"inputs/TableInput/MoneySumFooter.js","children":[{"name":"src/inputs/TableInput/MoneySumFooter.tsx","uid":"2b63-63"}]},{"name":"inputs/TableInput/NumberEditCell.js","children":[{"name":"src/inputs/TableInput/NumberEditCell.tsx","uid":"2b63-65"}]},{"name":"inputs/TableInput/StringEditCell.js","children":[{"name":"src/inputs/TableInput/StringEditCell.tsx","uid":"2b63-67"}]},{"name":"inputs/TableInput/DropdownCell.js","children":[{"name":"src/inputs/TableInput/DropdownCell.tsx","uid":"2b63-69"}]},{"name":"inputs/TableInput/HoverCell.js","children":[{"name":"src/inputs/TableInput/HoverCell.tsx","uid":"2b63-71"}]},{"name":"inputs/SinInput/SinInput.js","children":[{"name":"src/inputs/SinInput/SinInput.tsx","uid":"2b63-73"}]},{"name":"inputs/Scriptel/scriptel/enums.js","children":[{"name":"src/inputs/Scriptel/scriptel/enums.ts","uid":"2b63-75"}]},{"name":"step/stepContext.js","children":[{"name":"src/step/stepContext.ts","uid":"2b63-77"}]},{"name":"date/DatePicker/styles.css.js","children":[{"name":"src/date/DatePicker/styles.css","uid":"2b63-79"}]},{"name":"money/useMoneyInput.js","children":[{"name":"src/money/useMoneyInput.ts","uid":"2b63-81"}]},{"name":"inputs/Scriptel/ScriptelContext.js","children":[{"name":"src/inputs/Scriptel/ScriptelContext.ts","uid":"2b63-83"}]},{"name":"date/LocalDatePicker/MaskedDateInput.js","children":[{"name":"src/date/LocalDatePicker/MaskedDateInput.tsx","uid":"2b63-85"}]},{"name":"inputs/CreditCardInput/styles.css.js","children":[{"name":"src/inputs/CreditCardInput/styles.css","uid":"2b63-87"}]},{"name":"date/LocalTimePicker/MaskedTimeInput.js","children":[{"name":"src/date/LocalTimePicker/MaskedTimeInput.tsx","uid":"2b63-89"}]},{"name":"inputs/CreditCardInput/CreditCardNumberInput.js","children":[{"name":"src/inputs/CreditCardInput/CreditCardNumberInput.tsx","uid":"2b63-91"}]},{"name":"inputs/Scriptel/scriptel/index.js","children":[{"name":"src/inputs/Scriptel/scriptel/index.ts","uid":"2b63-93"}]},{"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":"2b63-95"}]}],"isRoot":true},"nodeParts":{"2b63-1":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"2b63-0"},"2b63-3":{"renderedLength":113,"gzipLength":107,"brotliLength":82,"mainUid":"2b63-2"},"2b63-5":{"renderedLength":203,"gzipLength":155,"brotliLength":111,"mainUid":"2b63-4"},"2b63-7":{"renderedLength":440,"gzipLength":270,"brotliLength":214,"mainUid":"2b63-6"},"2b63-9":{"renderedLength":3529,"gzipLength":1015,"brotliLength":861,"mainUid":"2b63-8"},"2b63-11":{"renderedLength":1487,"gzipLength":501,"brotliLength":423,"mainUid":"2b63-10"},"2b63-13":{"renderedLength":3161,"gzipLength":952,"brotliLength":853,"mainUid":"2b63-12"},"2b63-15":{"renderedLength":1135,"gzipLength":505,"brotliLength":415,"mainUid":"2b63-14"},"2b63-17":{"renderedLength":1229,"gzipLength":496,"brotliLength":424,"mainUid":"2b63-16"},"2b63-19":{"renderedLength":1624,"gzipLength":580,"brotliLength":482,"mainUid":"2b63-18"},"2b63-21":{"renderedLength":1965,"gzipLength":655,"brotliLength":544,"mainUid":"2b63-20"},"2b63-23":{"renderedLength":1553,"gzipLength":579,"brotliLength":461,"mainUid":"2b63-22"},"2b63-25":{"renderedLength":600,"gzipLength":308,"brotliLength":267,"mainUid":"2b63-24"},"2b63-27":{"renderedLength":2930,"gzipLength":953,"brotliLength":816,"mainUid":"2b63-26"},"2b63-29":{"renderedLength":513,"gzipLength":301,"brotliLength":257,"mainUid":"2b63-28"},"2b63-31":{"renderedLength":561,"gzipLength":301,"brotliLength":259,"mainUid":"2b63-30"},"2b63-33":{"renderedLength":1275,"gzipLength":474,"brotliLength":406,"mainUid":"2b63-32"},"2b63-35":{"renderedLength":275,"gzipLength":163,"brotliLength":130,"mainUid":"2b63-34"},"2b63-37":{"renderedLength":908,"gzipLength":382,"brotliLength":319,"mainUid":"2b63-36"},"2b63-39":{"renderedLength":312,"gzipLength":199,"brotliLength":173,"mainUid":"2b63-38"},"2b63-41":{"renderedLength":1963,"gzipLength":647,"brotliLength":547,"mainUid":"2b63-40"},"2b63-43":{"renderedLength":778,"gzipLength":391,"brotliLength":329,"mainUid":"2b63-42"},"2b63-45":{"renderedLength":2324,"gzipLength":584,"brotliLength":495,"mainUid":"2b63-44"},"2b63-47":{"renderedLength":1575,"gzipLength":640,"brotliLength":536,"mainUid":"2b63-46"},"2b63-49":{"renderedLength":2821,"gzipLength":840,"brotliLength":752,"mainUid":"2b63-48"},"2b63-51":{"renderedLength":257,"gzipLength":185,"brotliLength":149,"mainUid":"2b63-50"},"2b63-53":{"renderedLength":708,"gzipLength":366,"brotliLength":313,"mainUid":"2b63-52"},"2b63-55":{"renderedLength":264,"gzipLength":190,"brotliLength":154,"mainUid":"2b63-54"},"2b63-57":{"renderedLength":702,"gzipLength":369,"brotliLength":330,"mainUid":"2b63-56"},"2b63-59":{"renderedLength":695,"gzipLength":349,"brotliLength":295,"mainUid":"2b63-58"},"2b63-61":{"renderedLength":622,"gzipLength":322,"brotliLength":269,"mainUid":"2b63-60"},"2b63-63":{"renderedLength":414,"gzipLength":259,"brotliLength":219,"mainUid":"2b63-62"},"2b63-65":{"renderedLength":743,"gzipLength":389,"brotliLength":332,"mainUid":"2b63-64"},"2b63-67":{"renderedLength":717,"gzipLength":372,"brotliLength":319,"mainUid":"2b63-66"},"2b63-69":{"renderedLength":493,"gzipLength":255,"brotliLength":211,"mainUid":"2b63-68"},"2b63-71":{"renderedLength":403,"gzipLength":244,"brotliLength":195,"mainUid":"2b63-70"},"2b63-73":{"renderedLength":1144,"gzipLength":532,"brotliLength":462,"mainUid":"2b63-72"},"2b63-75":{"renderedLength":937,"gzipLength":292,"brotliLength":231,"mainUid":"2b63-74"},"2b63-77":{"renderedLength":80,"gzipLength":92,"brotliLength":72,"mainUid":"2b63-76"},"2b63-79":{"renderedLength":538,"gzipLength":261,"brotliLength":211,"mainUid":"2b63-78"},"2b63-81":{"renderedLength":2155,"gzipLength":764,"brotliLength":660,"mainUid":"2b63-80"},"2b63-83":{"renderedLength":46,"gzipLength":60,"brotliLength":45,"mainUid":"2b63-82"},"2b63-85":{"renderedLength":426,"gzipLength":286,"brotliLength":244,"mainUid":"2b63-84"},"2b63-87":{"renderedLength":78,"gzipLength":92,"brotliLength":79,"mainUid":"2b63-86"},"2b63-89":{"renderedLength":424,"gzipLength":285,"brotliLength":257,"mainUid":"2b63-88"},"2b63-91":{"renderedLength":1713,"gzipLength":689,"brotliLength":585,"mainUid":"2b63-90"},"2b63-93":{"renderedLength":2530,"gzipLength":860,"brotliLength":739,"mainUid":"2b63-92"},"2b63-95":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"2b63-94"}},"nodeMetas":{"2b63-0":{"id":"/src/index.ts","moduleParts":{"index.js":"2b63-1"},"imported":[{"uid":"2b63-96"},{"uid":"2b63-97"},{"uid":"2b63-98"},{"uid":"2b63-99"},{"uid":"2b63-100"},{"uid":"2b63-101"},{"uid":"2b63-102"},{"uid":"2b63-103"},{"uid":"2b63-104"},{"uid":"2b63-105"},{"uid":"2b63-106"},{"uid":"2b63-107"},{"uid":"2b63-108"},{"uid":"2b63-109"},{"uid":"2b63-110"},{"uid":"2b63-111"},{"uid":"2b63-112"},{"uid":"2b63-113"}],"importedBy":[],"isEntry":true},"2b63-2":{"id":"/src/step/useStep.ts","moduleParts":{"step/useStep.js":"2b63-3"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-76"}],"importedBy":[{"uid":"2b63-113"},{"uid":"2b63-6"}]},"2b63-4":{"id":"/src/step/Step.tsx","moduleParts":{"step/Step.js":"2b63-5"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"}],"importedBy":[{"uid":"2b63-113"},{"uid":"2b63-8"}]},"2b63-6":{"id":"/src/step/FormStep.tsx","moduleParts":{"step/FormStep.js":"2b63-7"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-2"}],"importedBy":[{"uid":"2b63-113"},{"uid":"2b63-8"}]},"2b63-8":{"id":"/src/step/StepProvider.tsx","moduleParts":{"step/StepProvider.js":"2b63-9"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-131"},{"uid":"2b63-117"},{"uid":"2b63-6"},{"uid":"2b63-4"},{"uid":"2b63-76"}],"importedBy":[{"uid":"2b63-113"}]},"2b63-10":{"id":"/src/inputs/MaskedInput/useMaskedInput.ts","moduleParts":{"inputs/MaskedInput/useMaskedInput.js":"2b63-11"},"imported":[{"uid":"2b63-116"},{"uid":"2b63-123"},{"uid":"2b63-114"},{"uid":"2b63-124"}],"importedBy":[{"uid":"2b63-103"},{"uid":"2b63-28"},{"uid":"2b63-72"},{"uid":"2b63-90"}]},"2b63-12":{"id":"/src/date/LocalDatePicker/LocalDatePicker.tsx","moduleParts":{"date/LocalDatePicker/LocalDatePicker.js":"2b63-13"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-115"},{"uid":"2b63-116"},{"uid":"2b63-117"},{"uid":"2b63-118"},{"uid":"2b63-78"},{"uid":"2b63-84"}],"importedBy":[{"uid":"2b63-96"}]},"2b63-14":{"id":"/src/date/LocalMonthSelect/LocalMonthSelect.tsx","moduleParts":{"date/LocalMonthSelect/LocalMonthSelect.js":"2b63-15"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-119"},{"uid":"2b63-116"},{"uid":"2b63-117"}],"importedBy":[{"uid":"2b63-97"}]},"2b63-16":{"id":"/src/date/MonthYearPicker/MonthYearPicker.tsx","moduleParts":{"date/MonthYearPicker/MonthYearPicker.js":"2b63-17"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-119"},{"uid":"2b63-115"},{"uid":"2b63-116"},{"uid":"2b63-117"},{"uid":"2b63-118"}],"importedBy":[{"uid":"2b63-100"}]},"2b63-18":{"id":"/src/date/LocalTimePicker/LocalTimePicker.tsx","moduleParts":{"date/LocalTimePicker/LocalTimePicker.js":"2b63-19"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-119"},{"uid":"2b63-115"},{"uid":"2b63-116"},{"uid":"2b63-117"},{"uid":"2b63-118"},{"uid":"2b63-88"}],"importedBy":[{"uid":"2b63-98"}]},"2b63-20":{"id":"/src/date/MonthDayPicker/MonthDayPicker.tsx","moduleParts":{"date/MonthDayPicker/MonthDayPicker.js":"2b63-21"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-115"},{"uid":"2b63-116"},{"uid":"2b63-117"},{"uid":"2b63-118"}],"importedBy":[{"uid":"2b63-99"}]},"2b63-22":{"id":"/src/date/YearSelect/YearSelect.tsx","moduleParts":{"date/YearSelect/YearSelect.js":"2b63-23"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-117"}],"importedBy":[{"uid":"2b63-101"}]},"2b63-24":{"id":"/src/form/TForm/TForm.tsx","moduleParts":{"form/TForm/TForm.js":"2b63-25"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-120"},{"uid":"2b63-26"}],"importedBy":[{"uid":"2b63-102"}]},"2b63-26":{"id":"/src/form/TForm/useTForm.tsx","moduleParts":{"form/TForm/useTForm.js":"2b63-27"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-121"},{"uid":"2b63-120"},{"uid":"2b63-122"},{"uid":"2b63-117"}],"importedBy":[{"uid":"2b63-102"},{"uid":"2b63-24"}]},"2b63-28":{"id":"/src/inputs/MaskedInput/MaskedInput.tsx","moduleParts":{"inputs/MaskedInput/MaskedInput.js":"2b63-29"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-10"}],"importedBy":[{"uid":"2b63-103"}]},"2b63-30":{"id":"/src/inputs/RadioGroup/RadioGroup.tsx","moduleParts":{"inputs/RadioGroup/RadioGroup.js":"2b63-31"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-117"}],"importedBy":[{"uid":"2b63-104"}]},"2b63-32":{"id":"/src/inputs/Scriptel/Scriptel.tsx","moduleParts":{"inputs/Scriptel/Scriptel.js":"2b63-33"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-82"},{"uid":"2b63-92"}],"importedBy":[{"uid":"2b63-105"},{"uid":"2b63-34"}]},"2b63-34":{"id":"/src/inputs/Scriptel/withScriptel.tsx","moduleParts":{"inputs/Scriptel/withScriptel.js":"2b63-35"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-32"}],"importedBy":[{"uid":"2b63-105"}]},"2b63-36":{"id":"/src/inputs/PhoneInput/PhoneInput.tsx","moduleParts":{"inputs/PhoneInput/PhoneInput.js":"2b63-37"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-117"},{"uid":"2b63-103"}],"importedBy":[{"uid":"2b63-107"}]},"2b63-38":{"id":"/src/inputs/TableInput/addRowOnTab.ts","moduleParts":{"inputs/TableInput/addRowOnTab.js":"2b63-39"},"imported":[],"importedBy":[{"uid":"2b63-110"},{"uid":"2b63-52"},{"uid":"2b63-56"},{"uid":"2b63-64"},{"uid":"2b63-66"}]},"2b63-40":{"id":"/src/inputs/ScriptelInput/ScriptelInput.tsx","moduleParts":{"inputs/ScriptelInput/ScriptelInput.js":"2b63-41"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-117"},{"uid":"2b63-82"}],"importedBy":[{"uid":"2b63-106"}]},"2b63-42":{"id":"/src/money/MoneyInput/MoneyInput.tsx","moduleParts":{"money/MoneyInput/MoneyInput.js":"2b63-43"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-129"},{"uid":"2b63-116"},{"uid":"2b63-130"},{"uid":"2b63-117"},{"uid":"2b63-80"}],"importedBy":[{"uid":"2b63-111"}]},"2b63-44":{"id":"/src/inputs/CreditCardInput/CreditCardInput.tsx","moduleParts":{"inputs/CreditCardInput/CreditCardInput.js":"2b63-45"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-115"},{"uid":"2b63-116"},{"uid":"2b63-125"},{"uid":"2b63-126"},{"uid":"2b63-117"},{"uid":"2b63-100"},{"uid":"2b63-90"},{"uid":"2b63-86"}],"importedBy":[{"uid":"2b63-108"}]},"2b63-46":{"id":"/src/money/MoneyCurrencyInput/MoneyCurrencyInput.tsx","moduleParts":{"money/MoneyCurrencyInput/MoneyCurrencyInput.js":"2b63-47"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-129"},{"uid":"2b63-116"},{"uid":"2b63-130"},{"uid":"2b63-117"},{"uid":"2b63-80"}],"importedBy":[{"uid":"2b63-112"}]},"2b63-48":{"id":"/src/inputs/TableInput/TableInput.tsx","moduleParts":{"inputs/TableInput/TableInput.js":"2b63-49"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-120"},{"uid":"2b63-128"},{"uid":"2b63-117"}],"importedBy":[{"uid":"2b63-110"}]},"2b63-50":{"id":"/src/inputs/TableInput/MoneyCell.tsx","moduleParts":{"inputs/TableInput/MoneyCell.js":"2b63-51"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-129"}],"importedBy":[{"uid":"2b63-110"}]},"2b63-52":{"id":"/src/inputs/TableInput/MoneyEditCell.tsx","moduleParts":{"inputs/TableInput/MoneyEditCell.js":"2b63-53"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-111"},{"uid":"2b63-38"}],"importedBy":[{"uid":"2b63-110"}]},"2b63-54":{"id":"/src/inputs/TableInput/LocalDateCell.tsx","moduleParts":{"inputs/TableInput/LocalDateCell.js":"2b63-55"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-115"}],"importedBy":[{"uid":"2b63-110"}]},"2b63-56":{"id":"/src/inputs/TableInput/CheckboxEditCell.tsx","moduleParts":{"inputs/TableInput/CheckboxEditCell.js":"2b63-57"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-117"},{"uid":"2b63-38"}],"importedBy":[{"uid":"2b63-110"}]},"2b63-58":{"id":"/src/inputs/TableInput/LocalDateEditCell.tsx","moduleParts":{"inputs/TableInput/LocalDateEditCell.js":"2b63-59"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-96"}],"importedBy":[{"uid":"2b63-110"}]},"2b63-60":{"id":"/src/inputs/TableInput/LocalTimeEditCell.tsx","moduleParts":{"inputs/TableInput/LocalTimeEditCell.js":"2b63-61"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-98"}],"importedBy":[{"uid":"2b63-110"}]},"2b63-62":{"id":"/src/inputs/TableInput/MoneySumFooter.tsx","moduleParts":{"inputs/TableInput/MoneySumFooter.js":"2b63-63"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-129"}],"importedBy":[{"uid":"2b63-110"}]},"2b63-64":{"id":"/src/inputs/TableInput/NumberEditCell.tsx","moduleParts":{"inputs/TableInput/NumberEditCell.js":"2b63-65"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-117"},{"uid":"2b63-38"}],"importedBy":[{"uid":"2b63-110"}]},"2b63-66":{"id":"/src/inputs/TableInput/StringEditCell.tsx","moduleParts":{"inputs/TableInput/StringEditCell.js":"2b63-67"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-117"},{"uid":"2b63-38"}],"importedBy":[{"uid":"2b63-110"}]},"2b63-68":{"id":"/src/inputs/TableInput/DropdownCell.tsx","moduleParts":{"inputs/TableInput/DropdownCell.js":"2b63-69"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-117"}],"importedBy":[{"uid":"2b63-110"}]},"2b63-70":{"id":"/src/inputs/TableInput/HoverCell.tsx","moduleParts":{"inputs/TableInput/HoverCell.js":"2b63-71"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"}],"importedBy":[{"uid":"2b63-110"}]},"2b63-72":{"id":"/src/inputs/SinInput/SinInput.tsx","moduleParts":{"inputs/SinInput/SinInput.js":"2b63-73"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-117"},{"uid":"2b63-127"},{"uid":"2b63-10"}],"importedBy":[{"uid":"2b63-109"}]},"2b63-74":{"id":"/src/inputs/Scriptel/scriptel/enums.ts","moduleParts":{"inputs/Scriptel/scriptel/enums.js":"2b63-75"},"imported":[],"importedBy":[{"uid":"2b63-105"},{"uid":"2b63-92"}]},"2b63-76":{"id":"/src/step/stepContext.ts","moduleParts":{"step/stepContext.js":"2b63-77"},"imported":[{"uid":"2b63-114"}],"importedBy":[{"uid":"2b63-2"},{"uid":"2b63-8"}]},"2b63-78":{"id":"/src/date/DatePicker/styles.css","moduleParts":{"date/DatePicker/styles.css.js":"2b63-79"},"imported":[{"uid":"2b63-94"}],"importedBy":[{"uid":"2b63-12"},{"uid":"2b63-118"}]},"2b63-80":{"id":"/src/money/useMoneyInput.ts","moduleParts":{"money/useMoneyInput.js":"2b63-81"},"imported":[{"uid":"2b63-129"},{"uid":"2b63-116"},{"uid":"2b63-123"},{"uid":"2b63-130"},{"uid":"2b63-114"}],"importedBy":[{"uid":"2b63-42"},{"uid":"2b63-46"}]},"2b63-82":{"id":"/src/inputs/Scriptel/ScriptelContext.ts","moduleParts":{"inputs/Scriptel/ScriptelContext.js":"2b63-83"},"imported":[{"uid":"2b63-114"}],"importedBy":[{"uid":"2b63-32"},{"uid":"2b63-40"}]},"2b63-84":{"id":"/src/date/LocalDatePicker/MaskedDateInput.tsx","moduleParts":{"date/LocalDatePicker/MaskedDateInput.js":"2b63-85"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-103"}],"importedBy":[{"uid":"2b63-12"}]},"2b63-86":{"id":"/src/inputs/CreditCardInput/styles.css","moduleParts":{"inputs/CreditCardInput/styles.css.js":"2b63-87"},"imported":[{"uid":"2b63-94"}],"importedBy":[{"uid":"2b63-44"}]},"2b63-88":{"id":"/src/date/LocalTimePicker/MaskedTimeInput.tsx","moduleParts":{"date/LocalTimePicker/MaskedTimeInput.js":"2b63-89"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-116"},{"uid":"2b63-103"}],"importedBy":[{"uid":"2b63-18"}]},"2b63-90":{"id":"/src/inputs/CreditCardInput/CreditCardNumberInput.tsx","moduleParts":{"inputs/CreditCardInput/CreditCardNumberInput.js":"2b63-91"},"imported":[{"uid":"2b63-114"},{"uid":"2b63-134"},{"uid":"2b63-116"},{"uid":"2b63-135"},{"uid":"2b63-117"},{"uid":"2b63-10"}],"importedBy":[{"uid":"2b63-44"}]},"2b63-92":{"id":"/src/inputs/Scriptel/scriptel/index.ts","moduleParts":{"inputs/Scriptel/scriptel/index.js":"2b63-93"},"imported":[{"uid":"2b63-116"},{"uid":"2b63-133"},{"uid":"2b63-74"}],"importedBy":[{"uid":"2b63-32"}]},"2b63-94":{"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":"2b63-95"},"imported":[],"importedBy":[{"uid":"2b63-78"},{"uid":"2b63-86"}]},"2b63-96":{"id":"/src/date/LocalDatePicker/index.ts","moduleParts":{},"imported":[{"uid":"2b63-12"}],"importedBy":[{"uid":"2b63-0"},{"uid":"2b63-58"}]},"2b63-97":{"id":"/src/date/LocalMonthSelect/index.ts","moduleParts":{},"imported":[{"uid":"2b63-14"}],"importedBy":[{"uid":"2b63-0"}]},"2b63-98":{"id":"/src/date/LocalTimePicker/index.ts","moduleParts":{},"imported":[{"uid":"2b63-18"}],"importedBy":[{"uid":"2b63-0"},{"uid":"2b63-60"}]},"2b63-99":{"id":"/src/date/MonthDayPicker/index.ts","moduleParts":{},"imported":[{"uid":"2b63-20"}],"importedBy":[{"uid":"2b63-0"}]},"2b63-100":{"id":"/src/date/MonthYearPicker/index.ts","moduleParts":{},"imported":[{"uid":"2b63-16"}],"importedBy":[{"uid":"2b63-0"},{"uid":"2b63-44"}]},"2b63-101":{"id":"/src/date/YearSelect/index.ts","moduleParts":{},"imported":[{"uid":"2b63-22"}],"importedBy":[{"uid":"2b63-0"}]},"2b63-102":{"id":"/src/form/TForm/index.ts","moduleParts":{},"imported":[{"uid":"2b63-24"},{"uid":"2b63-26"}],"importedBy":[{"uid":"2b63-0"}]},"2b63-103":{"id":"/src/inputs/MaskedInput/index.ts","moduleParts":{},"imported":[{"uid":"2b63-28"},{"uid":"2b63-10"}],"importedBy":[{"uid":"2b63-0"},{"uid":"2b63-36"},{"uid":"2b63-84"},{"uid":"2b63-88"}]},"2b63-104":{"id":"/src/inputs/RadioGroup/index.ts","moduleParts":{},"imported":[{"uid":"2b63-30"}],"importedBy":[{"uid":"2b63-0"}]},"2b63-105":{"id":"/src/inputs/Scriptel/index.ts","moduleParts":{},"imported":[{"uid":"2b63-32"},{"uid":"2b63-34"},{"uid":"2b63-74"}],"importedBy":[{"uid":"2b63-0"}]},"2b63-106":{"id":"/src/inputs/ScriptelInput/index.ts","moduleParts":{},"imported":[{"uid":"2b63-40"}],"importedBy":[{"uid":"2b63-0"}]},"2b63-107":{"id":"/src/inputs/PhoneInput/index.ts","moduleParts":{},"imported":[{"uid":"2b63-36"}],"importedBy":[{"uid":"2b63-0"}]},"2b63-108":{"id":"/src/inputs/CreditCardInput/index.ts","moduleParts":{},"imported":[{"uid":"2b63-44"}],"importedBy":[{"uid":"2b63-0"}]},"2b63-109":{"id":"/src/inputs/SinInput/index.ts","moduleParts":{},"imported":[{"uid":"2b63-72"}],"importedBy":[{"uid":"2b63-0"}]},"2b63-110":{"id":"/src/inputs/TableInput/index.ts","moduleParts":{},"imported":[{"uid":"2b63-48"},{"uid":"2b63-50"},{"uid":"2b63-52"},{"uid":"2b63-54"},{"uid":"2b63-56"},{"uid":"2b63-58"},{"uid":"2b63-60"},{"uid":"2b63-62"},{"uid":"2b63-64"},{"uid":"2b63-66"},{"uid":"2b63-68"},{"uid":"2b63-70"},{"uid":"2b63-38"}],"importedBy":[{"uid":"2b63-0"}]},"2b63-111":{"id":"/src/money/MoneyInput/index.ts","moduleParts":{},"imported":[{"uid":"2b63-42"}],"importedBy":[{"uid":"2b63-0"},{"uid":"2b63-52"}]},"2b63-112":{"id":"/src/money/MoneyCurrencyInput/index.ts","moduleParts":{},"imported":[{"uid":"2b63-46"}],"importedBy":[{"uid":"2b63-0"}]},"2b63-113":{"id":"/src/step/index.ts","moduleParts":{},"imported":[{"uid":"2b63-4"},{"uid":"2b63-2"},{"uid":"2b63-6"},{"uid":"2b63-8"}],"importedBy":[{"uid":"2b63-0"}]},"2b63-114":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-12"},{"uid":"2b63-14"},{"uid":"2b63-18"},{"uid":"2b63-20"},{"uid":"2b63-16"},{"uid":"2b63-22"},{"uid":"2b63-24"},{"uid":"2b63-26"},{"uid":"2b63-28"},{"uid":"2b63-10"},{"uid":"2b63-30"},{"uid":"2b63-32"},{"uid":"2b63-34"},{"uid":"2b63-40"},{"uid":"2b63-36"},{"uid":"2b63-44"},{"uid":"2b63-72"},{"uid":"2b63-48"},{"uid":"2b63-50"},{"uid":"2b63-52"},{"uid":"2b63-54"},{"uid":"2b63-56"},{"uid":"2b63-58"},{"uid":"2b63-60"},{"uid":"2b63-62"},{"uid":"2b63-64"},{"uid":"2b63-66"},{"uid":"2b63-68"},{"uid":"2b63-70"},{"uid":"2b63-42"},{"uid":"2b63-46"},{"uid":"2b63-4"},{"uid":"2b63-2"},{"uid":"2b63-6"},{"uid":"2b63-8"},{"uid":"2b63-84"},{"uid":"2b63-88"},{"uid":"2b63-82"},{"uid":"2b63-90"},{"uid":"2b63-80"},{"uid":"2b63-76"}],"isExternal":true},"2b63-115":{"id":"@thx/date","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-12"},{"uid":"2b63-18"},{"uid":"2b63-20"},{"uid":"2b63-16"},{"uid":"2b63-44"},{"uid":"2b63-54"}],"isExternal":true},"2b63-116":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-12"},{"uid":"2b63-14"},{"uid":"2b63-18"},{"uid":"2b63-20"},{"uid":"2b63-16"},{"uid":"2b63-22"},{"uid":"2b63-24"},{"uid":"2b63-28"},{"uid":"2b63-10"},{"uid":"2b63-30"},{"uid":"2b63-32"},{"uid":"2b63-40"},{"uid":"2b63-36"},{"uid":"2b63-44"},{"uid":"2b63-72"},{"uid":"2b63-48"},{"uid":"2b63-52"},{"uid":"2b63-56"},{"uid":"2b63-58"},{"uid":"2b63-60"},{"uid":"2b63-64"},{"uid":"2b63-66"},{"uid":"2b63-70"},{"uid":"2b63-42"},{"uid":"2b63-46"},{"uid":"2b63-4"},{"uid":"2b63-6"},{"uid":"2b63-8"},{"uid":"2b63-84"},{"uid":"2b63-88"},{"uid":"2b63-92"},{"uid":"2b63-90"},{"uid":"2b63-80"}],"isExternal":true},"2b63-117":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-12"},{"uid":"2b63-14"},{"uid":"2b63-18"},{"uid":"2b63-20"},{"uid":"2b63-16"},{"uid":"2b63-22"},{"uid":"2b63-26"},{"uid":"2b63-30"},{"uid":"2b63-40"},{"uid":"2b63-36"},{"uid":"2b63-44"},{"uid":"2b63-72"},{"uid":"2b63-48"},{"uid":"2b63-56"},{"uid":"2b63-64"},{"uid":"2b63-66"},{"uid":"2b63-68"},{"uid":"2b63-42"},{"uid":"2b63-46"},{"uid":"2b63-8"},{"uid":"2b63-90"}],"isExternal":true},"2b63-118":{"id":"/src/date/DatePicker/index.ts","moduleParts":{},"imported":[{"uid":"2b63-132"},{"uid":"2b63-78"}],"importedBy":[{"uid":"2b63-12"},{"uid":"2b63-18"},{"uid":"2b63-20"},{"uid":"2b63-16"}]},"2b63-119":{"id":"@js-joda/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-14"},{"uid":"2b63-18"},{"uid":"2b63-16"}],"isExternal":true},"2b63-120":{"id":"formik","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-24"},{"uid":"2b63-26"},{"uid":"2b63-48"}],"isExternal":true},"2b63-121":{"id":"flat","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-26"}],"isExternal":true},"2b63-122":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-26"}],"isExternal":true},"2b63-123":{"id":"inputmask","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-10"},{"uid":"2b63-80"}],"isExternal":true},"2b63-124":{"id":"use-deep-compare-effect","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-10"}],"isExternal":true},"2b63-125":{"id":"react-credit-cards","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-44"}],"isExternal":true},"2b63-126":{"id":"react-credit-cards/es/styles-compiled.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-44"}],"isExternal":true},"2b63-127":{"id":"social-insurance-number","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-72"}],"isExternal":true},"2b63-128":{"id":"react-table","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-48"}],"isExternal":true},"2b63-129":{"id":"@thx/money","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-50"},{"uid":"2b63-62"},{"uid":"2b63-42"},{"uid":"2b63-46"},{"uid":"2b63-80"}],"isExternal":true},"2b63-130":{"id":"js-money","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-42"},{"uid":"2b63-46"},{"uid":"2b63-80"}],"isExternal":true},"2b63-131":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-8"}],"isExternal":true},"2b63-132":{"id":"react-datepicker","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-118"}],"isExternal":true},"2b63-133":{"id":"eventemitter3","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-92"}],"isExternal":true},"2b63-134":{"id":"credit-card-type","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-90"}],"isExternal":true},"2b63-135":{"id":"luhn","moduleParts":{},"imported":[],"importedBy":[{"uid":"2b63-90"}],"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,5 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { MaskedInputProps } from '../../inputs/MaskedInput';
|
|
3
|
+
import type { MaskedInputRef } from '../../inputs/MaskedInput/MaskedInput';
|
|
4
|
+
export declare type MaskedTimeInputRef = MaskedInputRef;
|
|
3
5
|
export interface MaskedTimeInputValue {
|
|
4
6
|
target: {
|
|
5
7
|
value: string;
|
|
@@ -8,4 +10,4 @@ export interface MaskedTimeInputValue {
|
|
|
8
10
|
export interface MaskedTimeInputProps {
|
|
9
11
|
onChange?: (value: MaskedTimeInputValue) => void;
|
|
10
12
|
}
|
|
11
|
-
export declare const MaskedTimeInput: import("react").ForwardRefExoticComponent<Pick<MaskedTimeInputProps & Omit<MaskedInputProps, "onChange">, string | number> & import("react").RefAttributes<
|
|
13
|
+
export declare const MaskedTimeInput: import("react").ForwardRefExoticComponent<Pick<MaskedTimeInputProps & Omit<MaskedInputProps, "onChange">, string | number> & import("react").RefAttributes<MaskedInputRef>>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export { CreditCardInput } from './inputs/CreditCardInput';
|
|
|
27
27
|
export type { CreditCardInputProps } from './inputs/CreditCardInput';
|
|
28
28
|
export { SinInput } from './inputs/SinInput';
|
|
29
29
|
export type { SinInputProps } from './inputs/SinInput';
|
|
30
|
-
export { TableInput, MoneyCell, MoneyEditCell, CheckboxEditCell, LocalDateCell, LocalDateEditCell, LocalTimeEditCell, MoneySumFooter, StringEditCell, DropdownCell, HoverCell, addRowOnTab, } from './inputs/TableInput';
|
|
30
|
+
export { TableInput, MoneyCell, MoneyEditCell, CheckboxEditCell, LocalDateCell, LocalDateEditCell, LocalTimeEditCell, MoneySumFooter, NumberEditCell, StringEditCell, DropdownCell, HoverCell, addRowOnTab, } from './inputs/TableInput';
|
|
31
31
|
export type { AddRowOnTabIf } from './inputs/TableInput';
|
|
32
32
|
export { MoneyInput } from './money/MoneyInput';
|
|
33
33
|
export type { MoneyInputProps } from './money/MoneyInput';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { InputProps } from 'semantic-ui-react';
|
|
3
|
+
import type { TableCellProps } from './TableInput';
|
|
4
|
+
import type { AddRowOnTabIf } from './addRowOnTab';
|
|
5
|
+
interface NumberEditCellOptions<D extends Record<number, unknown>> {
|
|
6
|
+
/** Override SemanticUI Input props */
|
|
7
|
+
inputProps?: InputProps;
|
|
8
|
+
/** If function is present, and returns true, will add a new row if tab is pressed on the last row */
|
|
9
|
+
addRowOnTabIf?: AddRowOnTabIf<D, number>;
|
|
10
|
+
}
|
|
11
|
+
export declare function NumberEditCell<D extends Record<number, unknown>>(options?: NumberEditCellOptions<D>): (props: TableCellProps<D, number>) => JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -6,6 +6,7 @@ export { CheckboxEditCell } from './CheckboxEditCell';
|
|
|
6
6
|
export { LocalDateEditCell } from './LocalDateEditCell';
|
|
7
7
|
export { LocalTimeEditCell } from './LocalTimeEditCell';
|
|
8
8
|
export { MoneySumFooter } from './MoneySumFooter';
|
|
9
|
+
export { NumberEditCell } from './NumberEditCell';
|
|
9
10
|
export { StringEditCell } from './StringEditCell';
|
|
10
11
|
export { DropdownCell } from './DropdownCell';
|
|
11
12
|
export { HoverCell } from './HoverCell';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thx/controls",
|
|
3
|
-
"version": "17.0.2-alpha.
|
|
3
|
+
"version": "17.0.2-alpha.7+bfed486",
|
|
4
4
|
"description": "A collection of components designed with SemanticUI.",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/thr-consulting/thr-addons/issues"
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "bfed48664241357e0bf99c0957f2ced374920d9e"
|
|
68
68
|
}
|