@thx/controls 17.2.2-alpha.0 → 17.2.3-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/index.js +0 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/types/index.d.ts +0 -4
- package/package.json +2 -4
- package/dist/esm/inputs/Scriptel/Scriptel.js +0 -52
- package/dist/esm/inputs/Scriptel/Scriptel.js.map +0 -1
- package/dist/esm/inputs/Scriptel/ScriptelContext.js +0 -6
- package/dist/esm/inputs/Scriptel/ScriptelContext.js.map +0 -1
- package/dist/esm/inputs/Scriptel/scriptel/enums.js +0 -21
- package/dist/esm/inputs/Scriptel/scriptel/enums.js.map +0 -1
- package/dist/esm/inputs/Scriptel/scriptel/index.js +0 -93
- package/dist/esm/inputs/Scriptel/scriptel/index.js.map +0 -1
- package/dist/esm/inputs/Scriptel/withScriptel.js +0 -15
- package/dist/esm/inputs/Scriptel/withScriptel.js.map +0 -1
- package/dist/esm/inputs/ScriptelInput/ScriptelInput.js +0 -67
- package/dist/esm/inputs/ScriptelInput/ScriptelInput.js.map +0 -1
- package/dist/types/inputs/Scriptel/Scriptel.d.ts +0 -10
- package/dist/types/inputs/Scriptel/ScriptelContext.d.ts +0 -9
- package/dist/types/inputs/Scriptel/index.d.ts +0 -4
- package/dist/types/inputs/Scriptel/scriptel/classes.d.ts +0 -144
- package/dist/types/inputs/Scriptel/scriptel/enums.d.ts +0 -16
- package/dist/types/inputs/Scriptel/scriptel/index.d.ts +0 -17
- package/dist/types/inputs/Scriptel/scriptel/messages.d.ts +0 -52
- package/dist/types/inputs/Scriptel/withScriptel.d.ts +0 -8
- package/dist/types/inputs/ScriptelInput/ScriptelInput.d.ts +0 -7
- package/dist/types/inputs/ScriptelInput/index.d.ts +0 -2
package/dist/esm/index.js
CHANGED
|
@@ -9,9 +9,6 @@ export { useTForm } from './form/TForm/useTForm.js';
|
|
|
9
9
|
export { MaskedInput } from './inputs/MaskedInput/MaskedInput.js';
|
|
10
10
|
import './inputs/MaskedInput/useMaskedInput.js';
|
|
11
11
|
export { RadioGroup } from './inputs/RadioGroup/RadioGroup.js';
|
|
12
|
-
export { Scriptel } from './inputs/Scriptel/Scriptel.js';
|
|
13
|
-
export { withScriptel } from './inputs/Scriptel/withScriptel.js';
|
|
14
|
-
export { ScriptelInput } from './inputs/ScriptelInput/ScriptelInput.js';
|
|
15
12
|
export { PhoneInput } from './inputs/PhoneInput/PhoneInput.js';
|
|
16
13
|
export { CreditCardInput } from './inputs/CreditCardInput/CreditCardInput.js';
|
|
17
14
|
export { SinInput } from './inputs/SinInput/SinInput.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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
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":"00a3-1"}]},{"name":"step/useStep.js","children":[{"name":"src/step/useStep.ts","uid":"00a3-3"}]},{"name":"step/Step.js","children":[{"name":"src/step/Step.tsx","uid":"00a3-5"}]},{"name":"step/FormStep.js","children":[{"name":"src/step/FormStep.tsx","uid":"00a3-7"}]},{"name":"step/StepProvider.js","children":[{"name":"src/step/StepProvider.tsx","uid":"00a3-9"}]},{"name":"date/LocalMonthSelect/LocalMonthSelect.js","children":[{"name":"src/date/LocalMonthSelect/LocalMonthSelect.tsx","uid":"00a3-11"}]},{"name":"date/LocalTimePicker/LocalTimePicker.js","children":[{"name":"src/date/LocalTimePicker/LocalTimePicker.tsx","uid":"00a3-13"}]},{"name":"date/MonthDayPicker/MonthDayPicker.js","children":[{"name":"src/date/MonthDayPicker/MonthDayPicker.tsx","uid":"00a3-15"}]},{"name":"date/LocalDatePicker/LocalDatePicker.js","children":[{"name":"src/date/LocalDatePicker/LocalDatePicker.tsx","uid":"00a3-17"}]},{"name":"date/MonthYearPicker/MonthYearPicker.js","children":[{"name":"src/date/MonthYearPicker/MonthYearPicker.tsx","uid":"00a3-19"}]},{"name":"inputs/RadioGroup/RadioGroup.js","children":[{"name":"src/inputs/RadioGroup/RadioGroup.tsx","uid":"00a3-21"}]},{"name":"date/YearSelect/YearSelect.js","children":[{"name":"src/date/YearSelect/YearSelect.tsx","uid":"00a3-23"}]},{"name":"inputs/Scriptel/withScriptel.js","children":[{"name":"src/inputs/Scriptel/withScriptel.tsx","uid":"00a3-25"}]},{"name":"inputs/Scriptel/Scriptel.js","children":[{"name":"src/inputs/Scriptel/Scriptel.tsx","uid":"00a3-27"}]},{"name":"inputs/ScriptelInput/ScriptelInput.js","children":[{"name":"src/inputs/ScriptelInput/ScriptelInput.tsx","uid":"00a3-29"}]},{"name":"inputs/TableInput/addRowOnTab.js","children":[{"name":"src/inputs/TableInput/addRowOnTab.ts","uid":"00a3-31"}]},{"name":"inputs/MaskedInput/useMaskedInput.js","children":[{"name":"src/inputs/MaskedInput/useMaskedInput.ts","uid":"00a3-33"}]},{"name":"inputs/PhoneInput/PhoneInput.js","children":[{"name":"src/inputs/PhoneInput/PhoneInput.tsx","uid":"00a3-35"}]},{"name":"inputs/CreditCardInput/CreditCardInput.js","children":[{"name":"src/inputs/CreditCardInput/CreditCardInput.tsx","uid":"00a3-37"}]},{"name":"inputs/TableInput/TableInput.js","children":[{"name":"src/inputs/TableInput/TableInput.tsx","uid":"00a3-39"}]},{"name":"inputs/TableInput/MoneyCell.js","children":[{"name":"src/inputs/TableInput/MoneyCell.tsx","uid":"00a3-41"}]},{"name":"inputs/TableInput/MoneyEditCell.js","children":[{"name":"src/inputs/TableInput/MoneyEditCell.tsx","uid":"00a3-43"}]},{"name":"inputs/TableInput/LocalDateEditCell.js","children":[{"name":"src/inputs/TableInput/LocalDateEditCell.tsx","uid":"00a3-45"}]},{"name":"inputs/TableInput/LocalDateCell.js","children":[{"name":"src/inputs/TableInput/LocalDateCell.tsx","uid":"00a3-47"}]},{"name":"inputs/TableInput/CheckboxEditCell.js","children":[{"name":"src/inputs/TableInput/CheckboxEditCell.tsx","uid":"00a3-49"}]},{"name":"inputs/TableInput/LocalTimeEditCell.js","children":[{"name":"src/inputs/TableInput/LocalTimeEditCell.tsx","uid":"00a3-51"}]},{"name":"inputs/TableInput/MoneySumFooter.js","children":[{"name":"src/inputs/TableInput/MoneySumFooter.tsx","uid":"00a3-53"}]},{"name":"inputs/TableInput/NumberEditCell.js","children":[{"name":"src/inputs/TableInput/NumberEditCell.tsx","uid":"00a3-55"}]},{"name":"inputs/TableInput/StringEditCell.js","children":[{"name":"src/inputs/TableInput/StringEditCell.tsx","uid":"00a3-57"}]},{"name":"inputs/TableInput/DropdownCell.js","children":[{"name":"src/inputs/TableInput/DropdownCell.tsx","uid":"00a3-59"}]},{"name":"inputs/TableInput/HoverCell.js","children":[{"name":"src/inputs/TableInput/HoverCell.tsx","uid":"00a3-61"}]},{"name":"form/TForm/useTForm.js","children":[{"name":"src/form/TForm/useTForm.tsx","uid":"00a3-63"}]},{"name":"form/TForm/TForm.js","children":[{"name":"src/form/TForm/TForm.tsx","uid":"00a3-65"}]},{"name":"inputs/MaskedInput/MaskedInput.js","children":[{"name":"src/inputs/MaskedInput/MaskedInput.tsx","uid":"00a3-67"}]},{"name":"inputs/SinInput/SinInput.js","children":[{"name":"src/inputs/SinInput/SinInput.tsx","uid":"00a3-69"}]},{"name":"money/MoneyCurrencyInput/MoneyCurrencyInput.js","children":[{"name":"src/money/MoneyCurrencyInput/MoneyCurrencyInput.tsx","uid":"00a3-71"}]},{"name":"money/MoneyInput/MoneyInput.js","children":[{"name":"src/money/MoneyInput/MoneyInput.tsx","uid":"00a3-73"}]},{"name":"inputs/Scriptel/scriptel/enums.js","children":[{"name":"src/inputs/Scriptel/scriptel/enums.ts","uid":"00a3-75"}]},{"name":"step/stepContext.js","children":[{"name":"src/step/stepContext.ts","uid":"00a3-77"}]},{"name":"date/DatePicker/styles.css.js","children":[{"name":"src/date/DatePicker/styles.css","uid":"00a3-79"}]},{"name":"inputs/CreditCardInput/styles.css.js","children":[{"name":"src/inputs/CreditCardInput/styles.css","uid":"00a3-81"}]},{"name":"date/LocalTimePicker/MaskedTimeInput.js","children":[{"name":"src/date/LocalTimePicker/MaskedTimeInput.tsx","uid":"00a3-83"}]},{"name":"date/LocalDatePicker/MaskedDateInput.js","children":[{"name":"src/date/LocalDatePicker/MaskedDateInput.tsx","uid":"00a3-85"}]},{"name":"inputs/Scriptel/ScriptelContext.js","children":[{"name":"src/inputs/Scriptel/ScriptelContext.ts","uid":"00a3-87"}]},{"name":"money/useMoneyInput.js","children":[{"name":"src/money/useMoneyInput.ts","uid":"00a3-89"}]},{"name":"inputs/CreditCardInput/CreditCardNumberInput.js","children":[{"name":"src/inputs/CreditCardInput/CreditCardNumberInput.tsx","uid":"00a3-91"}]},{"name":"inputs/Scriptel/scriptel/index.js","children":[{"name":"src/inputs/Scriptel/scriptel/index.ts","uid":"00a3-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":"00a3-95"}]}],"isRoot":true},"nodeParts":{"00a3-1":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"00a3-0"},"00a3-3":{"renderedLength":113,"gzipLength":107,"brotliLength":82,"mainUid":"00a3-2"},"00a3-5":{"renderedLength":203,"gzipLength":155,"brotliLength":111,"mainUid":"00a3-4"},"00a3-7":{"renderedLength":440,"gzipLength":270,"brotliLength":214,"mainUid":"00a3-6"},"00a3-9":{"renderedLength":3529,"gzipLength":1015,"brotliLength":861,"mainUid":"00a3-8"},"00a3-11":{"renderedLength":1135,"gzipLength":505,"brotliLength":415,"mainUid":"00a3-10"},"00a3-13":{"renderedLength":1624,"gzipLength":580,"brotliLength":482,"mainUid":"00a3-12"},"00a3-15":{"renderedLength":1965,"gzipLength":655,"brotliLength":544,"mainUid":"00a3-14"},"00a3-17":{"renderedLength":3161,"gzipLength":952,"brotliLength":853,"mainUid":"00a3-16"},"00a3-19":{"renderedLength":1229,"gzipLength":496,"brotliLength":424,"mainUid":"00a3-18"},"00a3-21":{"renderedLength":561,"gzipLength":301,"brotliLength":259,"mainUid":"00a3-20"},"00a3-23":{"renderedLength":1553,"gzipLength":579,"brotliLength":461,"mainUid":"00a3-22"},"00a3-25":{"renderedLength":275,"gzipLength":163,"brotliLength":130,"mainUid":"00a3-24"},"00a3-27":{"renderedLength":1275,"gzipLength":474,"brotliLength":406,"mainUid":"00a3-26"},"00a3-29":{"renderedLength":1963,"gzipLength":647,"brotliLength":547,"mainUid":"00a3-28"},"00a3-31":{"renderedLength":312,"gzipLength":199,"brotliLength":173,"mainUid":"00a3-30"},"00a3-33":{"renderedLength":1487,"gzipLength":501,"brotliLength":423,"mainUid":"00a3-32"},"00a3-35":{"renderedLength":908,"gzipLength":382,"brotliLength":319,"mainUid":"00a3-34"},"00a3-37":{"renderedLength":2324,"gzipLength":584,"brotliLength":495,"mainUid":"00a3-36"},"00a3-39":{"renderedLength":2891,"gzipLength":854,"brotliLength":780,"mainUid":"00a3-38"},"00a3-41":{"renderedLength":257,"gzipLength":185,"brotliLength":149,"mainUid":"00a3-40"},"00a3-43":{"renderedLength":820,"gzipLength":397,"brotliLength":349,"mainUid":"00a3-42"},"00a3-45":{"renderedLength":695,"gzipLength":349,"brotliLength":295,"mainUid":"00a3-44"},"00a3-47":{"renderedLength":285,"gzipLength":198,"brotliLength":170,"mainUid":"00a3-46"},"00a3-49":{"renderedLength":702,"gzipLength":369,"brotliLength":330,"mainUid":"00a3-48"},"00a3-51":{"renderedLength":622,"gzipLength":322,"brotliLength":269,"mainUid":"00a3-50"},"00a3-53":{"renderedLength":414,"gzipLength":259,"brotliLength":219,"mainUid":"00a3-52"},"00a3-55":{"renderedLength":782,"gzipLength":409,"brotliLength":345,"mainUid":"00a3-54"},"00a3-57":{"renderedLength":717,"gzipLength":372,"brotliLength":319,"mainUid":"00a3-56"},"00a3-59":{"renderedLength":493,"gzipLength":255,"brotliLength":211,"mainUid":"00a3-58"},"00a3-61":{"renderedLength":403,"gzipLength":244,"brotliLength":195,"mainUid":"00a3-60"},"00a3-63":{"renderedLength":2930,"gzipLength":953,"brotliLength":816,"mainUid":"00a3-62"},"00a3-65":{"renderedLength":600,"gzipLength":308,"brotliLength":267,"mainUid":"00a3-64"},"00a3-67":{"renderedLength":513,"gzipLength":301,"brotliLength":257,"mainUid":"00a3-66"},"00a3-69":{"renderedLength":1144,"gzipLength":532,"brotliLength":462,"mainUid":"00a3-68"},"00a3-71":{"renderedLength":1575,"gzipLength":640,"brotliLength":536,"mainUid":"00a3-70"},"00a3-73":{"renderedLength":778,"gzipLength":391,"brotliLength":329,"mainUid":"00a3-72"},"00a3-75":{"renderedLength":937,"gzipLength":292,"brotliLength":231,"mainUid":"00a3-74"},"00a3-77":{"renderedLength":80,"gzipLength":92,"brotliLength":72,"mainUid":"00a3-76"},"00a3-79":{"renderedLength":538,"gzipLength":261,"brotliLength":211,"mainUid":"00a3-78"},"00a3-81":{"renderedLength":78,"gzipLength":92,"brotliLength":79,"mainUid":"00a3-80"},"00a3-83":{"renderedLength":424,"gzipLength":285,"brotliLength":257,"mainUid":"00a3-82"},"00a3-85":{"renderedLength":426,"gzipLength":286,"brotliLength":244,"mainUid":"00a3-84"},"00a3-87":{"renderedLength":46,"gzipLength":60,"brotliLength":45,"mainUid":"00a3-86"},"00a3-89":{"renderedLength":2155,"gzipLength":764,"brotliLength":660,"mainUid":"00a3-88"},"00a3-91":{"renderedLength":1713,"gzipLength":689,"brotliLength":585,"mainUid":"00a3-90"},"00a3-93":{"renderedLength":2530,"gzipLength":860,"brotliLength":739,"mainUid":"00a3-92"},"00a3-95":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"00a3-94"}},"nodeMetas":{"00a3-0":{"id":"/src/index.ts","moduleParts":{"index.js":"00a3-1"},"imported":[{"uid":"00a3-96"},{"uid":"00a3-97"},{"uid":"00a3-98"},{"uid":"00a3-99"},{"uid":"00a3-100"},{"uid":"00a3-101"},{"uid":"00a3-102"},{"uid":"00a3-103"},{"uid":"00a3-104"},{"uid":"00a3-105"},{"uid":"00a3-106"},{"uid":"00a3-107"},{"uid":"00a3-108"},{"uid":"00a3-109"},{"uid":"00a3-110"},{"uid":"00a3-111"},{"uid":"00a3-112"},{"uid":"00a3-113"}],"importedBy":[],"isEntry":true},"00a3-2":{"id":"/src/step/useStep.ts","moduleParts":{"step/useStep.js":"00a3-3"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-76"}],"importedBy":[{"uid":"00a3-113"},{"uid":"00a3-6"}]},"00a3-4":{"id":"/src/step/Step.tsx","moduleParts":{"step/Step.js":"00a3-5"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"}],"importedBy":[{"uid":"00a3-113"},{"uid":"00a3-8"}]},"00a3-6":{"id":"/src/step/FormStep.tsx","moduleParts":{"step/FormStep.js":"00a3-7"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-2"}],"importedBy":[{"uid":"00a3-113"},{"uid":"00a3-8"}]},"00a3-8":{"id":"/src/step/StepProvider.tsx","moduleParts":{"step/StepProvider.js":"00a3-9"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-131"},{"uid":"00a3-117"},{"uid":"00a3-6"},{"uid":"00a3-4"},{"uid":"00a3-76"}],"importedBy":[{"uid":"00a3-113"}]},"00a3-10":{"id":"/src/date/LocalMonthSelect/LocalMonthSelect.tsx","moduleParts":{"date/LocalMonthSelect/LocalMonthSelect.js":"00a3-11"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-119"},{"uid":"00a3-116"},{"uid":"00a3-117"}],"importedBy":[{"uid":"00a3-97"}]},"00a3-12":{"id":"/src/date/LocalTimePicker/LocalTimePicker.tsx","moduleParts":{"date/LocalTimePicker/LocalTimePicker.js":"00a3-13"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-119"},{"uid":"00a3-115"},{"uid":"00a3-116"},{"uid":"00a3-117"},{"uid":"00a3-118"},{"uid":"00a3-82"}],"importedBy":[{"uid":"00a3-98"}]},"00a3-14":{"id":"/src/date/MonthDayPicker/MonthDayPicker.tsx","moduleParts":{"date/MonthDayPicker/MonthDayPicker.js":"00a3-15"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-115"},{"uid":"00a3-116"},{"uid":"00a3-117"},{"uid":"00a3-118"}],"importedBy":[{"uid":"00a3-99"}]},"00a3-16":{"id":"/src/date/LocalDatePicker/LocalDatePicker.tsx","moduleParts":{"date/LocalDatePicker/LocalDatePicker.js":"00a3-17"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-115"},{"uid":"00a3-116"},{"uid":"00a3-117"},{"uid":"00a3-118"},{"uid":"00a3-78"},{"uid":"00a3-84"}],"importedBy":[{"uid":"00a3-96"}]},"00a3-18":{"id":"/src/date/MonthYearPicker/MonthYearPicker.tsx","moduleParts":{"date/MonthYearPicker/MonthYearPicker.js":"00a3-19"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-119"},{"uid":"00a3-115"},{"uid":"00a3-116"},{"uid":"00a3-117"},{"uid":"00a3-118"}],"importedBy":[{"uid":"00a3-100"}]},"00a3-20":{"id":"/src/inputs/RadioGroup/RadioGroup.tsx","moduleParts":{"inputs/RadioGroup/RadioGroup.js":"00a3-21"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-117"}],"importedBy":[{"uid":"00a3-104"}]},"00a3-22":{"id":"/src/date/YearSelect/YearSelect.tsx","moduleParts":{"date/YearSelect/YearSelect.js":"00a3-23"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-117"}],"importedBy":[{"uid":"00a3-101"}]},"00a3-24":{"id":"/src/inputs/Scriptel/withScriptel.tsx","moduleParts":{"inputs/Scriptel/withScriptel.js":"00a3-25"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-26"}],"importedBy":[{"uid":"00a3-105"}]},"00a3-26":{"id":"/src/inputs/Scriptel/Scriptel.tsx","moduleParts":{"inputs/Scriptel/Scriptel.js":"00a3-27"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-86"},{"uid":"00a3-92"}],"importedBy":[{"uid":"00a3-105"},{"uid":"00a3-24"}]},"00a3-28":{"id":"/src/inputs/ScriptelInput/ScriptelInput.tsx","moduleParts":{"inputs/ScriptelInput/ScriptelInput.js":"00a3-29"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-117"},{"uid":"00a3-86"}],"importedBy":[{"uid":"00a3-106"}]},"00a3-30":{"id":"/src/inputs/TableInput/addRowOnTab.ts","moduleParts":{"inputs/TableInput/addRowOnTab.js":"00a3-31"},"imported":[],"importedBy":[{"uid":"00a3-110"},{"uid":"00a3-42"},{"uid":"00a3-48"},{"uid":"00a3-54"},{"uid":"00a3-56"}]},"00a3-32":{"id":"/src/inputs/MaskedInput/useMaskedInput.ts","moduleParts":{"inputs/MaskedInput/useMaskedInput.js":"00a3-33"},"imported":[{"uid":"00a3-116"},{"uid":"00a3-123"},{"uid":"00a3-114"},{"uid":"00a3-124"}],"importedBy":[{"uid":"00a3-103"},{"uid":"00a3-66"},{"uid":"00a3-68"},{"uid":"00a3-90"}]},"00a3-34":{"id":"/src/inputs/PhoneInput/PhoneInput.tsx","moduleParts":{"inputs/PhoneInput/PhoneInput.js":"00a3-35"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-117"},{"uid":"00a3-103"}],"importedBy":[{"uid":"00a3-107"}]},"00a3-36":{"id":"/src/inputs/CreditCardInput/CreditCardInput.tsx","moduleParts":{"inputs/CreditCardInput/CreditCardInput.js":"00a3-37"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-115"},{"uid":"00a3-116"},{"uid":"00a3-125"},{"uid":"00a3-126"},{"uid":"00a3-117"},{"uid":"00a3-100"},{"uid":"00a3-90"},{"uid":"00a3-80"}],"importedBy":[{"uid":"00a3-108"}]},"00a3-38":{"id":"/src/inputs/TableInput/TableInput.tsx","moduleParts":{"inputs/TableInput/TableInput.js":"00a3-39"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-120"},{"uid":"00a3-128"},{"uid":"00a3-117"}],"importedBy":[{"uid":"00a3-110"}]},"00a3-40":{"id":"/src/inputs/TableInput/MoneyCell.tsx","moduleParts":{"inputs/TableInput/MoneyCell.js":"00a3-41"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-129"}],"importedBy":[{"uid":"00a3-110"}]},"00a3-42":{"id":"/src/inputs/TableInput/MoneyEditCell.tsx","moduleParts":{"inputs/TableInput/MoneyEditCell.js":"00a3-43"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-111"},{"uid":"00a3-30"}],"importedBy":[{"uid":"00a3-110"}]},"00a3-44":{"id":"/src/inputs/TableInput/LocalDateEditCell.tsx","moduleParts":{"inputs/TableInput/LocalDateEditCell.js":"00a3-45"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-96"}],"importedBy":[{"uid":"00a3-110"}]},"00a3-46":{"id":"/src/inputs/TableInput/LocalDateCell.tsx","moduleParts":{"inputs/TableInput/LocalDateCell.js":"00a3-47"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-115"}],"importedBy":[{"uid":"00a3-110"}]},"00a3-48":{"id":"/src/inputs/TableInput/CheckboxEditCell.tsx","moduleParts":{"inputs/TableInput/CheckboxEditCell.js":"00a3-49"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-117"},{"uid":"00a3-30"}],"importedBy":[{"uid":"00a3-110"}]},"00a3-50":{"id":"/src/inputs/TableInput/LocalTimeEditCell.tsx","moduleParts":{"inputs/TableInput/LocalTimeEditCell.js":"00a3-51"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-98"}],"importedBy":[{"uid":"00a3-110"}]},"00a3-52":{"id":"/src/inputs/TableInput/MoneySumFooter.tsx","moduleParts":{"inputs/TableInput/MoneySumFooter.js":"00a3-53"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-129"}],"importedBy":[{"uid":"00a3-110"}]},"00a3-54":{"id":"/src/inputs/TableInput/NumberEditCell.tsx","moduleParts":{"inputs/TableInput/NumberEditCell.js":"00a3-55"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-117"},{"uid":"00a3-30"}],"importedBy":[{"uid":"00a3-110"}]},"00a3-56":{"id":"/src/inputs/TableInput/StringEditCell.tsx","moduleParts":{"inputs/TableInput/StringEditCell.js":"00a3-57"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-117"},{"uid":"00a3-30"}],"importedBy":[{"uid":"00a3-110"}]},"00a3-58":{"id":"/src/inputs/TableInput/DropdownCell.tsx","moduleParts":{"inputs/TableInput/DropdownCell.js":"00a3-59"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-117"}],"importedBy":[{"uid":"00a3-110"}]},"00a3-60":{"id":"/src/inputs/TableInput/HoverCell.tsx","moduleParts":{"inputs/TableInput/HoverCell.js":"00a3-61"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"}],"importedBy":[{"uid":"00a3-110"}]},"00a3-62":{"id":"/src/form/TForm/useTForm.tsx","moduleParts":{"form/TForm/useTForm.js":"00a3-63"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-121"},{"uid":"00a3-120"},{"uid":"00a3-122"},{"uid":"00a3-117"}],"importedBy":[{"uid":"00a3-102"},{"uid":"00a3-64"}]},"00a3-64":{"id":"/src/form/TForm/TForm.tsx","moduleParts":{"form/TForm/TForm.js":"00a3-65"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-120"},{"uid":"00a3-62"}],"importedBy":[{"uid":"00a3-102"}]},"00a3-66":{"id":"/src/inputs/MaskedInput/MaskedInput.tsx","moduleParts":{"inputs/MaskedInput/MaskedInput.js":"00a3-67"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-32"}],"importedBy":[{"uid":"00a3-103"}]},"00a3-68":{"id":"/src/inputs/SinInput/SinInput.tsx","moduleParts":{"inputs/SinInput/SinInput.js":"00a3-69"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-117"},{"uid":"00a3-127"},{"uid":"00a3-32"}],"importedBy":[{"uid":"00a3-109"}]},"00a3-70":{"id":"/src/money/MoneyCurrencyInput/MoneyCurrencyInput.tsx","moduleParts":{"money/MoneyCurrencyInput/MoneyCurrencyInput.js":"00a3-71"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-129"},{"uid":"00a3-116"},{"uid":"00a3-130"},{"uid":"00a3-117"},{"uid":"00a3-88"}],"importedBy":[{"uid":"00a3-112"}]},"00a3-72":{"id":"/src/money/MoneyInput/MoneyInput.tsx","moduleParts":{"money/MoneyInput/MoneyInput.js":"00a3-73"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-129"},{"uid":"00a3-116"},{"uid":"00a3-130"},{"uid":"00a3-117"},{"uid":"00a3-88"}],"importedBy":[{"uid":"00a3-111"}]},"00a3-74":{"id":"/src/inputs/Scriptel/scriptel/enums.ts","moduleParts":{"inputs/Scriptel/scriptel/enums.js":"00a3-75"},"imported":[],"importedBy":[{"uid":"00a3-105"},{"uid":"00a3-92"}]},"00a3-76":{"id":"/src/step/stepContext.ts","moduleParts":{"step/stepContext.js":"00a3-77"},"imported":[{"uid":"00a3-114"}],"importedBy":[{"uid":"00a3-2"},{"uid":"00a3-8"}]},"00a3-78":{"id":"/src/date/DatePicker/styles.css","moduleParts":{"date/DatePicker/styles.css.js":"00a3-79"},"imported":[{"uid":"00a3-94"}],"importedBy":[{"uid":"00a3-16"},{"uid":"00a3-118"}]},"00a3-80":{"id":"/src/inputs/CreditCardInput/styles.css","moduleParts":{"inputs/CreditCardInput/styles.css.js":"00a3-81"},"imported":[{"uid":"00a3-94"}],"importedBy":[{"uid":"00a3-36"}]},"00a3-82":{"id":"/src/date/LocalTimePicker/MaskedTimeInput.tsx","moduleParts":{"date/LocalTimePicker/MaskedTimeInput.js":"00a3-83"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-103"}],"importedBy":[{"uid":"00a3-12"}]},"00a3-84":{"id":"/src/date/LocalDatePicker/MaskedDateInput.tsx","moduleParts":{"date/LocalDatePicker/MaskedDateInput.js":"00a3-85"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-116"},{"uid":"00a3-103"}],"importedBy":[{"uid":"00a3-16"}]},"00a3-86":{"id":"/src/inputs/Scriptel/ScriptelContext.ts","moduleParts":{"inputs/Scriptel/ScriptelContext.js":"00a3-87"},"imported":[{"uid":"00a3-114"}],"importedBy":[{"uid":"00a3-26"},{"uid":"00a3-28"}]},"00a3-88":{"id":"/src/money/useMoneyInput.ts","moduleParts":{"money/useMoneyInput.js":"00a3-89"},"imported":[{"uid":"00a3-129"},{"uid":"00a3-116"},{"uid":"00a3-123"},{"uid":"00a3-130"},{"uid":"00a3-114"}],"importedBy":[{"uid":"00a3-72"},{"uid":"00a3-70"}]},"00a3-90":{"id":"/src/inputs/CreditCardInput/CreditCardNumberInput.tsx","moduleParts":{"inputs/CreditCardInput/CreditCardNumberInput.js":"00a3-91"},"imported":[{"uid":"00a3-114"},{"uid":"00a3-134"},{"uid":"00a3-116"},{"uid":"00a3-135"},{"uid":"00a3-117"},{"uid":"00a3-32"}],"importedBy":[{"uid":"00a3-36"}]},"00a3-92":{"id":"/src/inputs/Scriptel/scriptel/index.ts","moduleParts":{"inputs/Scriptel/scriptel/index.js":"00a3-93"},"imported":[{"uid":"00a3-116"},{"uid":"00a3-133"},{"uid":"00a3-74"}],"importedBy":[{"uid":"00a3-26"}]},"00a3-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":"00a3-95"},"imported":[],"importedBy":[{"uid":"00a3-78"},{"uid":"00a3-80"}]},"00a3-96":{"id":"/src/date/LocalDatePicker/index.ts","moduleParts":{},"imported":[{"uid":"00a3-16"}],"importedBy":[{"uid":"00a3-0"},{"uid":"00a3-44"}]},"00a3-97":{"id":"/src/date/LocalMonthSelect/index.ts","moduleParts":{},"imported":[{"uid":"00a3-10"}],"importedBy":[{"uid":"00a3-0"}]},"00a3-98":{"id":"/src/date/LocalTimePicker/index.ts","moduleParts":{},"imported":[{"uid":"00a3-12"}],"importedBy":[{"uid":"00a3-0"},{"uid":"00a3-50"}]},"00a3-99":{"id":"/src/date/MonthDayPicker/index.ts","moduleParts":{},"imported":[{"uid":"00a3-14"}],"importedBy":[{"uid":"00a3-0"}]},"00a3-100":{"id":"/src/date/MonthYearPicker/index.ts","moduleParts":{},"imported":[{"uid":"00a3-18"}],"importedBy":[{"uid":"00a3-0"},{"uid":"00a3-36"}]},"00a3-101":{"id":"/src/date/YearSelect/index.ts","moduleParts":{},"imported":[{"uid":"00a3-22"}],"importedBy":[{"uid":"00a3-0"}]},"00a3-102":{"id":"/src/form/TForm/index.ts","moduleParts":{},"imported":[{"uid":"00a3-64"},{"uid":"00a3-62"}],"importedBy":[{"uid":"00a3-0"}]},"00a3-103":{"id":"/src/inputs/MaskedInput/index.ts","moduleParts":{},"imported":[{"uid":"00a3-66"},{"uid":"00a3-32"}],"importedBy":[{"uid":"00a3-0"},{"uid":"00a3-34"},{"uid":"00a3-84"},{"uid":"00a3-82"}]},"00a3-104":{"id":"/src/inputs/RadioGroup/index.ts","moduleParts":{},"imported":[{"uid":"00a3-20"}],"importedBy":[{"uid":"00a3-0"}]},"00a3-105":{"id":"/src/inputs/Scriptel/index.ts","moduleParts":{},"imported":[{"uid":"00a3-26"},{"uid":"00a3-24"},{"uid":"00a3-74"}],"importedBy":[{"uid":"00a3-0"}]},"00a3-106":{"id":"/src/inputs/ScriptelInput/index.ts","moduleParts":{},"imported":[{"uid":"00a3-28"}],"importedBy":[{"uid":"00a3-0"}]},"00a3-107":{"id":"/src/inputs/PhoneInput/index.ts","moduleParts":{},"imported":[{"uid":"00a3-34"}],"importedBy":[{"uid":"00a3-0"}]},"00a3-108":{"id":"/src/inputs/CreditCardInput/index.ts","moduleParts":{},"imported":[{"uid":"00a3-36"}],"importedBy":[{"uid":"00a3-0"}]},"00a3-109":{"id":"/src/inputs/SinInput/index.ts","moduleParts":{},"imported":[{"uid":"00a3-68"}],"importedBy":[{"uid":"00a3-0"}]},"00a3-110":{"id":"/src/inputs/TableInput/index.ts","moduleParts":{},"imported":[{"uid":"00a3-38"},{"uid":"00a3-40"},{"uid":"00a3-42"},{"uid":"00a3-46"},{"uid":"00a3-48"},{"uid":"00a3-44"},{"uid":"00a3-50"},{"uid":"00a3-52"},{"uid":"00a3-54"},{"uid":"00a3-56"},{"uid":"00a3-58"},{"uid":"00a3-60"},{"uid":"00a3-30"}],"importedBy":[{"uid":"00a3-0"}]},"00a3-111":{"id":"/src/money/MoneyInput/index.ts","moduleParts":{},"imported":[{"uid":"00a3-72"}],"importedBy":[{"uid":"00a3-0"},{"uid":"00a3-42"}]},"00a3-112":{"id":"/src/money/MoneyCurrencyInput/index.ts","moduleParts":{},"imported":[{"uid":"00a3-70"}],"importedBy":[{"uid":"00a3-0"}]},"00a3-113":{"id":"/src/step/index.ts","moduleParts":{},"imported":[{"uid":"00a3-4"},{"uid":"00a3-2"},{"uid":"00a3-6"},{"uid":"00a3-8"}],"importedBy":[{"uid":"00a3-0"}]},"00a3-114":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-16"},{"uid":"00a3-10"},{"uid":"00a3-12"},{"uid":"00a3-14"},{"uid":"00a3-18"},{"uid":"00a3-22"},{"uid":"00a3-64"},{"uid":"00a3-62"},{"uid":"00a3-66"},{"uid":"00a3-32"},{"uid":"00a3-20"},{"uid":"00a3-26"},{"uid":"00a3-24"},{"uid":"00a3-28"},{"uid":"00a3-34"},{"uid":"00a3-36"},{"uid":"00a3-68"},{"uid":"00a3-38"},{"uid":"00a3-40"},{"uid":"00a3-42"},{"uid":"00a3-46"},{"uid":"00a3-48"},{"uid":"00a3-44"},{"uid":"00a3-50"},{"uid":"00a3-52"},{"uid":"00a3-54"},{"uid":"00a3-56"},{"uid":"00a3-58"},{"uid":"00a3-60"},{"uid":"00a3-72"},{"uid":"00a3-70"},{"uid":"00a3-4"},{"uid":"00a3-2"},{"uid":"00a3-6"},{"uid":"00a3-8"},{"uid":"00a3-84"},{"uid":"00a3-82"},{"uid":"00a3-86"},{"uid":"00a3-90"},{"uid":"00a3-88"},{"uid":"00a3-76"}],"isExternal":true},"00a3-115":{"id":"@thx/date","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-16"},{"uid":"00a3-12"},{"uid":"00a3-14"},{"uid":"00a3-18"},{"uid":"00a3-36"},{"uid":"00a3-46"}],"isExternal":true},"00a3-116":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-16"},{"uid":"00a3-10"},{"uid":"00a3-12"},{"uid":"00a3-14"},{"uid":"00a3-18"},{"uid":"00a3-22"},{"uid":"00a3-64"},{"uid":"00a3-66"},{"uid":"00a3-32"},{"uid":"00a3-20"},{"uid":"00a3-26"},{"uid":"00a3-28"},{"uid":"00a3-34"},{"uid":"00a3-36"},{"uid":"00a3-68"},{"uid":"00a3-38"},{"uid":"00a3-42"},{"uid":"00a3-48"},{"uid":"00a3-44"},{"uid":"00a3-50"},{"uid":"00a3-54"},{"uid":"00a3-56"},{"uid":"00a3-60"},{"uid":"00a3-72"},{"uid":"00a3-70"},{"uid":"00a3-4"},{"uid":"00a3-6"},{"uid":"00a3-8"},{"uid":"00a3-84"},{"uid":"00a3-82"},{"uid":"00a3-92"},{"uid":"00a3-90"},{"uid":"00a3-88"}],"isExternal":true},"00a3-117":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-16"},{"uid":"00a3-10"},{"uid":"00a3-12"},{"uid":"00a3-14"},{"uid":"00a3-18"},{"uid":"00a3-22"},{"uid":"00a3-62"},{"uid":"00a3-20"},{"uid":"00a3-28"},{"uid":"00a3-34"},{"uid":"00a3-36"},{"uid":"00a3-68"},{"uid":"00a3-38"},{"uid":"00a3-48"},{"uid":"00a3-54"},{"uid":"00a3-56"},{"uid":"00a3-58"},{"uid":"00a3-72"},{"uid":"00a3-70"},{"uid":"00a3-8"},{"uid":"00a3-90"}],"isExternal":true},"00a3-118":{"id":"/src/date/DatePicker/index.ts","moduleParts":{},"imported":[{"uid":"00a3-132"},{"uid":"00a3-78"}],"importedBy":[{"uid":"00a3-16"},{"uid":"00a3-12"},{"uid":"00a3-14"},{"uid":"00a3-18"}]},"00a3-119":{"id":"@js-joda/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-10"},{"uid":"00a3-12"},{"uid":"00a3-18"}],"isExternal":true},"00a3-120":{"id":"formik","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-64"},{"uid":"00a3-62"},{"uid":"00a3-38"}],"isExternal":true},"00a3-121":{"id":"flat","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-62"}],"isExternal":true},"00a3-122":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-62"}],"isExternal":true},"00a3-123":{"id":"inputmask","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-32"},{"uid":"00a3-88"}],"isExternal":true},"00a3-124":{"id":"use-deep-compare-effect","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-32"}],"isExternal":true},"00a3-125":{"id":"react-credit-cards","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-36"}],"isExternal":true},"00a3-126":{"id":"react-credit-cards/es/styles-compiled.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-36"}],"isExternal":true},"00a3-127":{"id":"social-insurance-number","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-68"}],"isExternal":true},"00a3-128":{"id":"react-table","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-38"}],"isExternal":true},"00a3-129":{"id":"@thx/money","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-40"},{"uid":"00a3-52"},{"uid":"00a3-72"},{"uid":"00a3-70"},{"uid":"00a3-88"}],"isExternal":true},"00a3-130":{"id":"js-money","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-72"},{"uid":"00a3-70"},{"uid":"00a3-88"}],"isExternal":true},"00a3-131":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-8"}],"isExternal":true},"00a3-132":{"id":"react-datepicker","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-118"}],"isExternal":true},"00a3-133":{"id":"eventemitter3","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-92"}],"isExternal":true},"00a3-134":{"id":"credit-card-type","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-90"}],"isExternal":true},"00a3-135":{"id":"luhn","moduleParts":{},"imported":[],"importedBy":[{"uid":"00a3-90"}],"isExternal":true}},"env":{"rollup":"2.79.2"},"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":"e6b8-1"}]},{"name":"step/useStep.js","children":[{"name":"src/step/useStep.ts","uid":"e6b8-3"}]},{"name":"step/FormStep.js","children":[{"name":"src/step/FormStep.tsx","uid":"e6b8-5"}]},{"name":"step/StepProvider.js","children":[{"name":"src/step/StepProvider.tsx","uid":"e6b8-7"}]},{"name":"step/Step.js","children":[{"name":"src/step/Step.tsx","uid":"e6b8-9"}]},{"name":"inputs/MaskedInput/useMaskedInput.js","children":[{"name":"src/inputs/MaskedInput/useMaskedInput.ts","uid":"e6b8-11"}]},{"name":"date/LocalMonthSelect/LocalMonthSelect.js","children":[{"name":"src/date/LocalMonthSelect/LocalMonthSelect.tsx","uid":"e6b8-13"}]},{"name":"date/YearSelect/YearSelect.js","children":[{"name":"src/date/YearSelect/YearSelect.tsx","uid":"e6b8-15"}]},{"name":"date/MonthDayPicker/MonthDayPicker.js","children":[{"name":"src/date/MonthDayPicker/MonthDayPicker.tsx","uid":"e6b8-17"}]},{"name":"date/LocalDatePicker/LocalDatePicker.js","children":[{"name":"src/date/LocalDatePicker/LocalDatePicker.tsx","uid":"e6b8-19"}]},{"name":"inputs/MaskedInput/MaskedInput.js","children":[{"name":"src/inputs/MaskedInput/MaskedInput.tsx","uid":"e6b8-21"}]},{"name":"inputs/CreditCardInput/CreditCardInput.js","children":[{"name":"src/inputs/CreditCardInput/CreditCardInput.tsx","uid":"e6b8-23"}]},{"name":"date/LocalTimePicker/LocalTimePicker.js","children":[{"name":"src/date/LocalTimePicker/LocalTimePicker.tsx","uid":"e6b8-25"}]},{"name":"inputs/RadioGroup/RadioGroup.js","children":[{"name":"src/inputs/RadioGroup/RadioGroup.tsx","uid":"e6b8-27"}]},{"name":"inputs/TableInput/addRowOnTab.js","children":[{"name":"src/inputs/TableInput/addRowOnTab.ts","uid":"e6b8-29"}]},{"name":"form/TForm/TForm.js","children":[{"name":"src/form/TForm/TForm.tsx","uid":"e6b8-31"}]},{"name":"form/TForm/useTForm.js","children":[{"name":"src/form/TForm/useTForm.tsx","uid":"e6b8-33"}]},{"name":"money/MoneyInput/MoneyInput.js","children":[{"name":"src/money/MoneyInput/MoneyInput.tsx","uid":"e6b8-35"}]},{"name":"inputs/SinInput/SinInput.js","children":[{"name":"src/inputs/SinInput/SinInput.tsx","uid":"e6b8-37"}]},{"name":"inputs/TableInput/TableInput.js","children":[{"name":"src/inputs/TableInput/TableInput.tsx","uid":"e6b8-39"}]},{"name":"inputs/TableInput/MoneyCell.js","children":[{"name":"src/inputs/TableInput/MoneyCell.tsx","uid":"e6b8-41"}]},{"name":"inputs/TableInput/MoneyEditCell.js","children":[{"name":"src/inputs/TableInput/MoneyEditCell.tsx","uid":"e6b8-43"}]},{"name":"inputs/TableInput/LocalDateCell.js","children":[{"name":"src/inputs/TableInput/LocalDateCell.tsx","uid":"e6b8-45"}]},{"name":"inputs/TableInput/LocalDateEditCell.js","children":[{"name":"src/inputs/TableInput/LocalDateEditCell.tsx","uid":"e6b8-47"}]},{"name":"inputs/TableInput/LocalTimeEditCell.js","children":[{"name":"src/inputs/TableInput/LocalTimeEditCell.tsx","uid":"e6b8-49"}]},{"name":"inputs/TableInput/CheckboxEditCell.js","children":[{"name":"src/inputs/TableInput/CheckboxEditCell.tsx","uid":"e6b8-51"}]},{"name":"inputs/TableInput/MoneySumFooter.js","children":[{"name":"src/inputs/TableInput/MoneySumFooter.tsx","uid":"e6b8-53"}]},{"name":"inputs/TableInput/NumberEditCell.js","children":[{"name":"src/inputs/TableInput/NumberEditCell.tsx","uid":"e6b8-55"}]},{"name":"inputs/TableInput/StringEditCell.js","children":[{"name":"src/inputs/TableInput/StringEditCell.tsx","uid":"e6b8-57"}]},{"name":"inputs/TableInput/DropdownCell.js","children":[{"name":"src/inputs/TableInput/DropdownCell.tsx","uid":"e6b8-59"}]},{"name":"inputs/TableInput/HoverCell.js","children":[{"name":"src/inputs/TableInput/HoverCell.tsx","uid":"e6b8-61"}]},{"name":"money/MoneyCurrencyInput/MoneyCurrencyInput.js","children":[{"name":"src/money/MoneyCurrencyInput/MoneyCurrencyInput.tsx","uid":"e6b8-63"}]},{"name":"date/MonthYearPicker/MonthYearPicker.js","children":[{"name":"src/date/MonthYearPicker/MonthYearPicker.tsx","uid":"e6b8-65"}]},{"name":"inputs/PhoneInput/PhoneInput.js","children":[{"name":"src/inputs/PhoneInput/PhoneInput.tsx","uid":"e6b8-67"}]},{"name":"step/stepContext.js","children":[{"name":"src/step/stepContext.ts","uid":"e6b8-69"}]},{"name":"money/useMoneyInput.js","children":[{"name":"src/money/useMoneyInput.ts","uid":"e6b8-71"}]},{"name":"inputs/CreditCardInput/styles.css.js","children":[{"name":"src/inputs/CreditCardInput/styles.css","uid":"e6b8-73"}]},{"name":"date/DatePicker/styles.css.js","children":[{"name":"src/date/DatePicker/styles.css","uid":"e6b8-75"}]},{"name":"date/LocalDatePicker/MaskedDateInput.js","children":[{"name":"src/date/LocalDatePicker/MaskedDateInput.tsx","uid":"e6b8-77"}]},{"name":"date/LocalTimePicker/MaskedTimeInput.js","children":[{"name":"src/date/LocalTimePicker/MaskedTimeInput.tsx","uid":"e6b8-79"}]},{"name":"inputs/CreditCardInput/CreditCardNumberInput.js","children":[{"name":"src/inputs/CreditCardInput/CreditCardNumberInput.tsx","uid":"e6b8-81"}]},{"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":"e6b8-83"}]}],"isRoot":true},"nodeParts":{"e6b8-1":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"e6b8-0"},"e6b8-3":{"renderedLength":113,"gzipLength":107,"brotliLength":82,"mainUid":"e6b8-2"},"e6b8-5":{"renderedLength":440,"gzipLength":270,"brotliLength":214,"mainUid":"e6b8-4"},"e6b8-7":{"renderedLength":3529,"gzipLength":1015,"brotliLength":861,"mainUid":"e6b8-6"},"e6b8-9":{"renderedLength":203,"gzipLength":155,"brotliLength":111,"mainUid":"e6b8-8"},"e6b8-11":{"renderedLength":1487,"gzipLength":501,"brotliLength":423,"mainUid":"e6b8-10"},"e6b8-13":{"renderedLength":1135,"gzipLength":505,"brotliLength":415,"mainUid":"e6b8-12"},"e6b8-15":{"renderedLength":1553,"gzipLength":579,"brotliLength":461,"mainUid":"e6b8-14"},"e6b8-17":{"renderedLength":1965,"gzipLength":655,"brotliLength":544,"mainUid":"e6b8-16"},"e6b8-19":{"renderedLength":3161,"gzipLength":952,"brotliLength":853,"mainUid":"e6b8-18"},"e6b8-21":{"renderedLength":513,"gzipLength":301,"brotliLength":257,"mainUid":"e6b8-20"},"e6b8-23":{"renderedLength":2324,"gzipLength":584,"brotliLength":495,"mainUid":"e6b8-22"},"e6b8-25":{"renderedLength":1624,"gzipLength":580,"brotliLength":482,"mainUid":"e6b8-24"},"e6b8-27":{"renderedLength":561,"gzipLength":301,"brotliLength":259,"mainUid":"e6b8-26"},"e6b8-29":{"renderedLength":312,"gzipLength":199,"brotliLength":173,"mainUid":"e6b8-28"},"e6b8-31":{"renderedLength":600,"gzipLength":308,"brotliLength":267,"mainUid":"e6b8-30"},"e6b8-33":{"renderedLength":2930,"gzipLength":953,"brotliLength":816,"mainUid":"e6b8-32"},"e6b8-35":{"renderedLength":778,"gzipLength":391,"brotliLength":329,"mainUid":"e6b8-34"},"e6b8-37":{"renderedLength":1144,"gzipLength":532,"brotliLength":462,"mainUid":"e6b8-36"},"e6b8-39":{"renderedLength":2891,"gzipLength":854,"brotliLength":780,"mainUid":"e6b8-38"},"e6b8-41":{"renderedLength":257,"gzipLength":185,"brotliLength":149,"mainUid":"e6b8-40"},"e6b8-43":{"renderedLength":820,"gzipLength":397,"brotliLength":349,"mainUid":"e6b8-42"},"e6b8-45":{"renderedLength":285,"gzipLength":198,"brotliLength":170,"mainUid":"e6b8-44"},"e6b8-47":{"renderedLength":695,"gzipLength":349,"brotliLength":295,"mainUid":"e6b8-46"},"e6b8-49":{"renderedLength":622,"gzipLength":322,"brotliLength":269,"mainUid":"e6b8-48"},"e6b8-51":{"renderedLength":702,"gzipLength":369,"brotliLength":330,"mainUid":"e6b8-50"},"e6b8-53":{"renderedLength":414,"gzipLength":259,"brotliLength":219,"mainUid":"e6b8-52"},"e6b8-55":{"renderedLength":782,"gzipLength":409,"brotliLength":345,"mainUid":"e6b8-54"},"e6b8-57":{"renderedLength":717,"gzipLength":372,"brotliLength":319,"mainUid":"e6b8-56"},"e6b8-59":{"renderedLength":493,"gzipLength":255,"brotliLength":211,"mainUid":"e6b8-58"},"e6b8-61":{"renderedLength":403,"gzipLength":244,"brotliLength":195,"mainUid":"e6b8-60"},"e6b8-63":{"renderedLength":1575,"gzipLength":640,"brotliLength":536,"mainUid":"e6b8-62"},"e6b8-65":{"renderedLength":1229,"gzipLength":496,"brotliLength":424,"mainUid":"e6b8-64"},"e6b8-67":{"renderedLength":908,"gzipLength":382,"brotliLength":319,"mainUid":"e6b8-66"},"e6b8-69":{"renderedLength":80,"gzipLength":92,"brotliLength":72,"mainUid":"e6b8-68"},"e6b8-71":{"renderedLength":2155,"gzipLength":764,"brotliLength":660,"mainUid":"e6b8-70"},"e6b8-73":{"renderedLength":78,"gzipLength":92,"brotliLength":79,"mainUid":"e6b8-72"},"e6b8-75":{"renderedLength":538,"gzipLength":261,"brotliLength":211,"mainUid":"e6b8-74"},"e6b8-77":{"renderedLength":426,"gzipLength":286,"brotliLength":244,"mainUid":"e6b8-76"},"e6b8-79":{"renderedLength":424,"gzipLength":285,"brotliLength":257,"mainUid":"e6b8-78"},"e6b8-81":{"renderedLength":1713,"gzipLength":689,"brotliLength":585,"mainUid":"e6b8-80"},"e6b8-83":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"e6b8-82"}},"nodeMetas":{"e6b8-0":{"id":"/src/index.ts","moduleParts":{"index.js":"e6b8-1"},"imported":[{"uid":"e6b8-84"},{"uid":"e6b8-85"},{"uid":"e6b8-86"},{"uid":"e6b8-87"},{"uid":"e6b8-88"},{"uid":"e6b8-89"},{"uid":"e6b8-90"},{"uid":"e6b8-91"},{"uid":"e6b8-92"},{"uid":"e6b8-93"},{"uid":"e6b8-94"},{"uid":"e6b8-95"},{"uid":"e6b8-96"},{"uid":"e6b8-97"},{"uid":"e6b8-98"},{"uid":"e6b8-99"}],"importedBy":[],"isEntry":true},"e6b8-2":{"id":"/src/step/useStep.ts","moduleParts":{"step/useStep.js":"e6b8-3"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-68"}],"importedBy":[{"uid":"e6b8-99"},{"uid":"e6b8-4"}]},"e6b8-4":{"id":"/src/step/FormStep.tsx","moduleParts":{"step/FormStep.js":"e6b8-5"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-2"}],"importedBy":[{"uid":"e6b8-99"},{"uid":"e6b8-6"}]},"e6b8-6":{"id":"/src/step/StepProvider.tsx","moduleParts":{"step/StepProvider.js":"e6b8-7"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-117"},{"uid":"e6b8-103"},{"uid":"e6b8-4"},{"uid":"e6b8-8"},{"uid":"e6b8-68"}],"importedBy":[{"uid":"e6b8-99"}]},"e6b8-8":{"id":"/src/step/Step.tsx","moduleParts":{"step/Step.js":"e6b8-9"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"}],"importedBy":[{"uid":"e6b8-99"},{"uid":"e6b8-6"}]},"e6b8-10":{"id":"/src/inputs/MaskedInput/useMaskedInput.ts","moduleParts":{"inputs/MaskedInput/useMaskedInput.js":"e6b8-11"},"imported":[{"uid":"e6b8-102"},{"uid":"e6b8-109"},{"uid":"e6b8-100"},{"uid":"e6b8-110"}],"importedBy":[{"uid":"e6b8-91"},{"uid":"e6b8-20"},{"uid":"e6b8-36"},{"uid":"e6b8-80"}]},"e6b8-12":{"id":"/src/date/LocalMonthSelect/LocalMonthSelect.tsx","moduleParts":{"date/LocalMonthSelect/LocalMonthSelect.js":"e6b8-13"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-105"},{"uid":"e6b8-102"},{"uid":"e6b8-103"}],"importedBy":[{"uid":"e6b8-85"}]},"e6b8-14":{"id":"/src/date/YearSelect/YearSelect.tsx","moduleParts":{"date/YearSelect/YearSelect.js":"e6b8-15"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-103"}],"importedBy":[{"uid":"e6b8-89"}]},"e6b8-16":{"id":"/src/date/MonthDayPicker/MonthDayPicker.tsx","moduleParts":{"date/MonthDayPicker/MonthDayPicker.js":"e6b8-17"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-101"},{"uid":"e6b8-102"},{"uid":"e6b8-103"},{"uid":"e6b8-104"}],"importedBy":[{"uid":"e6b8-87"}]},"e6b8-18":{"id":"/src/date/LocalDatePicker/LocalDatePicker.tsx","moduleParts":{"date/LocalDatePicker/LocalDatePicker.js":"e6b8-19"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-101"},{"uid":"e6b8-102"},{"uid":"e6b8-103"},{"uid":"e6b8-104"},{"uid":"e6b8-74"},{"uid":"e6b8-76"}],"importedBy":[{"uid":"e6b8-84"}]},"e6b8-20":{"id":"/src/inputs/MaskedInput/MaskedInput.tsx","moduleParts":{"inputs/MaskedInput/MaskedInput.js":"e6b8-21"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-10"}],"importedBy":[{"uid":"e6b8-91"}]},"e6b8-22":{"id":"/src/inputs/CreditCardInput/CreditCardInput.tsx","moduleParts":{"inputs/CreditCardInput/CreditCardInput.js":"e6b8-23"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-101"},{"uid":"e6b8-102"},{"uid":"e6b8-111"},{"uid":"e6b8-112"},{"uid":"e6b8-103"},{"uid":"e6b8-88"},{"uid":"e6b8-80"},{"uid":"e6b8-72"}],"importedBy":[{"uid":"e6b8-94"}]},"e6b8-24":{"id":"/src/date/LocalTimePicker/LocalTimePicker.tsx","moduleParts":{"date/LocalTimePicker/LocalTimePicker.js":"e6b8-25"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-105"},{"uid":"e6b8-101"},{"uid":"e6b8-102"},{"uid":"e6b8-103"},{"uid":"e6b8-104"},{"uid":"e6b8-78"}],"importedBy":[{"uid":"e6b8-86"}]},"e6b8-26":{"id":"/src/inputs/RadioGroup/RadioGroup.tsx","moduleParts":{"inputs/RadioGroup/RadioGroup.js":"e6b8-27"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-103"}],"importedBy":[{"uid":"e6b8-92"}]},"e6b8-28":{"id":"/src/inputs/TableInput/addRowOnTab.ts","moduleParts":{"inputs/TableInput/addRowOnTab.js":"e6b8-29"},"imported":[],"importedBy":[{"uid":"e6b8-96"},{"uid":"e6b8-42"},{"uid":"e6b8-50"},{"uid":"e6b8-54"},{"uid":"e6b8-56"}]},"e6b8-30":{"id":"/src/form/TForm/TForm.tsx","moduleParts":{"form/TForm/TForm.js":"e6b8-31"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-106"},{"uid":"e6b8-32"}],"importedBy":[{"uid":"e6b8-90"}]},"e6b8-32":{"id":"/src/form/TForm/useTForm.tsx","moduleParts":{"form/TForm/useTForm.js":"e6b8-33"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-107"},{"uid":"e6b8-106"},{"uid":"e6b8-108"},{"uid":"e6b8-103"}],"importedBy":[{"uid":"e6b8-90"},{"uid":"e6b8-30"}]},"e6b8-34":{"id":"/src/money/MoneyInput/MoneyInput.tsx","moduleParts":{"money/MoneyInput/MoneyInput.js":"e6b8-35"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-115"},{"uid":"e6b8-102"},{"uid":"e6b8-116"},{"uid":"e6b8-103"},{"uid":"e6b8-70"}],"importedBy":[{"uid":"e6b8-97"}]},"e6b8-36":{"id":"/src/inputs/SinInput/SinInput.tsx","moduleParts":{"inputs/SinInput/SinInput.js":"e6b8-37"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-103"},{"uid":"e6b8-113"},{"uid":"e6b8-10"}],"importedBy":[{"uid":"e6b8-95"}]},"e6b8-38":{"id":"/src/inputs/TableInput/TableInput.tsx","moduleParts":{"inputs/TableInput/TableInput.js":"e6b8-39"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-106"},{"uid":"e6b8-114"},{"uid":"e6b8-103"}],"importedBy":[{"uid":"e6b8-96"}]},"e6b8-40":{"id":"/src/inputs/TableInput/MoneyCell.tsx","moduleParts":{"inputs/TableInput/MoneyCell.js":"e6b8-41"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-115"}],"importedBy":[{"uid":"e6b8-96"}]},"e6b8-42":{"id":"/src/inputs/TableInput/MoneyEditCell.tsx","moduleParts":{"inputs/TableInput/MoneyEditCell.js":"e6b8-43"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-97"},{"uid":"e6b8-28"}],"importedBy":[{"uid":"e6b8-96"}]},"e6b8-44":{"id":"/src/inputs/TableInput/LocalDateCell.tsx","moduleParts":{"inputs/TableInput/LocalDateCell.js":"e6b8-45"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-101"}],"importedBy":[{"uid":"e6b8-96"}]},"e6b8-46":{"id":"/src/inputs/TableInput/LocalDateEditCell.tsx","moduleParts":{"inputs/TableInput/LocalDateEditCell.js":"e6b8-47"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-84"}],"importedBy":[{"uid":"e6b8-96"}]},"e6b8-48":{"id":"/src/inputs/TableInput/LocalTimeEditCell.tsx","moduleParts":{"inputs/TableInput/LocalTimeEditCell.js":"e6b8-49"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-86"}],"importedBy":[{"uid":"e6b8-96"}]},"e6b8-50":{"id":"/src/inputs/TableInput/CheckboxEditCell.tsx","moduleParts":{"inputs/TableInput/CheckboxEditCell.js":"e6b8-51"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-103"},{"uid":"e6b8-28"}],"importedBy":[{"uid":"e6b8-96"}]},"e6b8-52":{"id":"/src/inputs/TableInput/MoneySumFooter.tsx","moduleParts":{"inputs/TableInput/MoneySumFooter.js":"e6b8-53"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-115"}],"importedBy":[{"uid":"e6b8-96"}]},"e6b8-54":{"id":"/src/inputs/TableInput/NumberEditCell.tsx","moduleParts":{"inputs/TableInput/NumberEditCell.js":"e6b8-55"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-103"},{"uid":"e6b8-28"}],"importedBy":[{"uid":"e6b8-96"}]},"e6b8-56":{"id":"/src/inputs/TableInput/StringEditCell.tsx","moduleParts":{"inputs/TableInput/StringEditCell.js":"e6b8-57"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-103"},{"uid":"e6b8-28"}],"importedBy":[{"uid":"e6b8-96"}]},"e6b8-58":{"id":"/src/inputs/TableInput/DropdownCell.tsx","moduleParts":{"inputs/TableInput/DropdownCell.js":"e6b8-59"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-103"}],"importedBy":[{"uid":"e6b8-96"}]},"e6b8-60":{"id":"/src/inputs/TableInput/HoverCell.tsx","moduleParts":{"inputs/TableInput/HoverCell.js":"e6b8-61"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"}],"importedBy":[{"uid":"e6b8-96"}]},"e6b8-62":{"id":"/src/money/MoneyCurrencyInput/MoneyCurrencyInput.tsx","moduleParts":{"money/MoneyCurrencyInput/MoneyCurrencyInput.js":"e6b8-63"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-115"},{"uid":"e6b8-102"},{"uid":"e6b8-116"},{"uid":"e6b8-103"},{"uid":"e6b8-70"}],"importedBy":[{"uid":"e6b8-98"}]},"e6b8-64":{"id":"/src/date/MonthYearPicker/MonthYearPicker.tsx","moduleParts":{"date/MonthYearPicker/MonthYearPicker.js":"e6b8-65"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-105"},{"uid":"e6b8-101"},{"uid":"e6b8-102"},{"uid":"e6b8-103"},{"uid":"e6b8-104"}],"importedBy":[{"uid":"e6b8-88"}]},"e6b8-66":{"id":"/src/inputs/PhoneInput/PhoneInput.tsx","moduleParts":{"inputs/PhoneInput/PhoneInput.js":"e6b8-67"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-103"},{"uid":"e6b8-91"}],"importedBy":[{"uid":"e6b8-93"}]},"e6b8-68":{"id":"/src/step/stepContext.ts","moduleParts":{"step/stepContext.js":"e6b8-69"},"imported":[{"uid":"e6b8-100"}],"importedBy":[{"uid":"e6b8-2"},{"uid":"e6b8-6"}]},"e6b8-70":{"id":"/src/money/useMoneyInput.ts","moduleParts":{"money/useMoneyInput.js":"e6b8-71"},"imported":[{"uid":"e6b8-115"},{"uid":"e6b8-102"},{"uid":"e6b8-109"},{"uid":"e6b8-116"},{"uid":"e6b8-100"}],"importedBy":[{"uid":"e6b8-34"},{"uid":"e6b8-62"}]},"e6b8-72":{"id":"/src/inputs/CreditCardInput/styles.css","moduleParts":{"inputs/CreditCardInput/styles.css.js":"e6b8-73"},"imported":[{"uid":"e6b8-82"}],"importedBy":[{"uid":"e6b8-22"}]},"e6b8-74":{"id":"/src/date/DatePicker/styles.css","moduleParts":{"date/DatePicker/styles.css.js":"e6b8-75"},"imported":[{"uid":"e6b8-82"}],"importedBy":[{"uid":"e6b8-18"},{"uid":"e6b8-104"}]},"e6b8-76":{"id":"/src/date/LocalDatePicker/MaskedDateInput.tsx","moduleParts":{"date/LocalDatePicker/MaskedDateInput.js":"e6b8-77"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-91"}],"importedBy":[{"uid":"e6b8-18"}]},"e6b8-78":{"id":"/src/date/LocalTimePicker/MaskedTimeInput.tsx","moduleParts":{"date/LocalTimePicker/MaskedTimeInput.js":"e6b8-79"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-102"},{"uid":"e6b8-91"}],"importedBy":[{"uid":"e6b8-24"}]},"e6b8-80":{"id":"/src/inputs/CreditCardInput/CreditCardNumberInput.tsx","moduleParts":{"inputs/CreditCardInput/CreditCardNumberInput.js":"e6b8-81"},"imported":[{"uid":"e6b8-100"},{"uid":"e6b8-119"},{"uid":"e6b8-102"},{"uid":"e6b8-120"},{"uid":"e6b8-103"},{"uid":"e6b8-10"}],"importedBy":[{"uid":"e6b8-22"}]},"e6b8-82":{"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":"e6b8-83"},"imported":[],"importedBy":[{"uid":"e6b8-74"},{"uid":"e6b8-72"}]},"e6b8-84":{"id":"/src/date/LocalDatePicker/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-18"}],"importedBy":[{"uid":"e6b8-0"},{"uid":"e6b8-46"}]},"e6b8-85":{"id":"/src/date/LocalMonthSelect/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-12"}],"importedBy":[{"uid":"e6b8-0"}]},"e6b8-86":{"id":"/src/date/LocalTimePicker/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-24"}],"importedBy":[{"uid":"e6b8-0"},{"uid":"e6b8-48"}]},"e6b8-87":{"id":"/src/date/MonthDayPicker/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-16"}],"importedBy":[{"uid":"e6b8-0"}]},"e6b8-88":{"id":"/src/date/MonthYearPicker/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-64"}],"importedBy":[{"uid":"e6b8-0"},{"uid":"e6b8-22"}]},"e6b8-89":{"id":"/src/date/YearSelect/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-14"}],"importedBy":[{"uid":"e6b8-0"}]},"e6b8-90":{"id":"/src/form/TForm/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-30"},{"uid":"e6b8-32"}],"importedBy":[{"uid":"e6b8-0"}]},"e6b8-91":{"id":"/src/inputs/MaskedInput/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-20"},{"uid":"e6b8-10"}],"importedBy":[{"uid":"e6b8-0"},{"uid":"e6b8-66"},{"uid":"e6b8-76"},{"uid":"e6b8-78"}]},"e6b8-92":{"id":"/src/inputs/RadioGroup/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-26"}],"importedBy":[{"uid":"e6b8-0"}]},"e6b8-93":{"id":"/src/inputs/PhoneInput/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-66"}],"importedBy":[{"uid":"e6b8-0"}]},"e6b8-94":{"id":"/src/inputs/CreditCardInput/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-22"}],"importedBy":[{"uid":"e6b8-0"}]},"e6b8-95":{"id":"/src/inputs/SinInput/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-36"}],"importedBy":[{"uid":"e6b8-0"}]},"e6b8-96":{"id":"/src/inputs/TableInput/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-38"},{"uid":"e6b8-40"},{"uid":"e6b8-42"},{"uid":"e6b8-44"},{"uid":"e6b8-50"},{"uid":"e6b8-46"},{"uid":"e6b8-48"},{"uid":"e6b8-52"},{"uid":"e6b8-54"},{"uid":"e6b8-56"},{"uid":"e6b8-58"},{"uid":"e6b8-60"},{"uid":"e6b8-28"}],"importedBy":[{"uid":"e6b8-0"}]},"e6b8-97":{"id":"/src/money/MoneyInput/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-34"}],"importedBy":[{"uid":"e6b8-0"},{"uid":"e6b8-42"}]},"e6b8-98":{"id":"/src/money/MoneyCurrencyInput/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-62"}],"importedBy":[{"uid":"e6b8-0"}]},"e6b8-99":{"id":"/src/step/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-8"},{"uid":"e6b8-2"},{"uid":"e6b8-4"},{"uid":"e6b8-6"}],"importedBy":[{"uid":"e6b8-0"}]},"e6b8-100":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-18"},{"uid":"e6b8-12"},{"uid":"e6b8-24"},{"uid":"e6b8-16"},{"uid":"e6b8-64"},{"uid":"e6b8-14"},{"uid":"e6b8-30"},{"uid":"e6b8-32"},{"uid":"e6b8-20"},{"uid":"e6b8-10"},{"uid":"e6b8-26"},{"uid":"e6b8-66"},{"uid":"e6b8-22"},{"uid":"e6b8-36"},{"uid":"e6b8-38"},{"uid":"e6b8-40"},{"uid":"e6b8-42"},{"uid":"e6b8-44"},{"uid":"e6b8-50"},{"uid":"e6b8-46"},{"uid":"e6b8-48"},{"uid":"e6b8-52"},{"uid":"e6b8-54"},{"uid":"e6b8-56"},{"uid":"e6b8-58"},{"uid":"e6b8-60"},{"uid":"e6b8-34"},{"uid":"e6b8-62"},{"uid":"e6b8-8"},{"uid":"e6b8-2"},{"uid":"e6b8-4"},{"uid":"e6b8-6"},{"uid":"e6b8-76"},{"uid":"e6b8-78"},{"uid":"e6b8-80"},{"uid":"e6b8-70"},{"uid":"e6b8-68"}],"isExternal":true},"e6b8-101":{"id":"@thx/date","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-18"},{"uid":"e6b8-24"},{"uid":"e6b8-16"},{"uid":"e6b8-64"},{"uid":"e6b8-22"},{"uid":"e6b8-44"}],"isExternal":true},"e6b8-102":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-18"},{"uid":"e6b8-12"},{"uid":"e6b8-24"},{"uid":"e6b8-16"},{"uid":"e6b8-64"},{"uid":"e6b8-14"},{"uid":"e6b8-30"},{"uid":"e6b8-20"},{"uid":"e6b8-10"},{"uid":"e6b8-26"},{"uid":"e6b8-66"},{"uid":"e6b8-22"},{"uid":"e6b8-36"},{"uid":"e6b8-38"},{"uid":"e6b8-42"},{"uid":"e6b8-50"},{"uid":"e6b8-46"},{"uid":"e6b8-48"},{"uid":"e6b8-54"},{"uid":"e6b8-56"},{"uid":"e6b8-60"},{"uid":"e6b8-34"},{"uid":"e6b8-62"},{"uid":"e6b8-8"},{"uid":"e6b8-4"},{"uid":"e6b8-6"},{"uid":"e6b8-76"},{"uid":"e6b8-78"},{"uid":"e6b8-80"},{"uid":"e6b8-70"}],"isExternal":true},"e6b8-103":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-18"},{"uid":"e6b8-12"},{"uid":"e6b8-24"},{"uid":"e6b8-16"},{"uid":"e6b8-64"},{"uid":"e6b8-14"},{"uid":"e6b8-32"},{"uid":"e6b8-26"},{"uid":"e6b8-66"},{"uid":"e6b8-22"},{"uid":"e6b8-36"},{"uid":"e6b8-38"},{"uid":"e6b8-50"},{"uid":"e6b8-54"},{"uid":"e6b8-56"},{"uid":"e6b8-58"},{"uid":"e6b8-34"},{"uid":"e6b8-62"},{"uid":"e6b8-6"},{"uid":"e6b8-80"}],"isExternal":true},"e6b8-104":{"id":"/src/date/DatePicker/index.ts","moduleParts":{},"imported":[{"uid":"e6b8-118"},{"uid":"e6b8-74"}],"importedBy":[{"uid":"e6b8-18"},{"uid":"e6b8-24"},{"uid":"e6b8-16"},{"uid":"e6b8-64"}]},"e6b8-105":{"id":"@js-joda/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-12"},{"uid":"e6b8-24"},{"uid":"e6b8-64"}],"isExternal":true},"e6b8-106":{"id":"formik","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-30"},{"uid":"e6b8-32"},{"uid":"e6b8-38"}],"isExternal":true},"e6b8-107":{"id":"flat","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-32"}],"isExternal":true},"e6b8-108":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-32"}],"isExternal":true},"e6b8-109":{"id":"inputmask","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-10"},{"uid":"e6b8-70"}],"isExternal":true},"e6b8-110":{"id":"use-deep-compare-effect","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-10"}],"isExternal":true},"e6b8-111":{"id":"react-credit-cards","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-22"}],"isExternal":true},"e6b8-112":{"id":"react-credit-cards/es/styles-compiled.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-22"}],"isExternal":true},"e6b8-113":{"id":"social-insurance-number","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-36"}],"isExternal":true},"e6b8-114":{"id":"react-table","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-38"}],"isExternal":true},"e6b8-115":{"id":"@thx/money","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-40"},{"uid":"e6b8-52"},{"uid":"e6b8-34"},{"uid":"e6b8-62"},{"uid":"e6b8-70"}],"isExternal":true},"e6b8-116":{"id":"js-money","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-34"},{"uid":"e6b8-62"},{"uid":"e6b8-70"}],"isExternal":true},"e6b8-117":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-6"}],"isExternal":true},"e6b8-118":{"id":"react-datepicker","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-104"}],"isExternal":true},"e6b8-119":{"id":"credit-card-type","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-80"}],"isExternal":true},"e6b8-120":{"id":"luhn","moduleParts":{},"imported":[],"importedBy":[{"uid":"e6b8-80"}],"isExternal":true}},"env":{"rollup":"2.79.2"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
|
|
2673
2673
|
|
|
2674
2674
|
const run = () => {
|
|
2675
2675
|
const width = window.innerWidth;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -17,10 +17,6 @@ export { MaskedInput } from './inputs/MaskedInput';
|
|
|
17
17
|
export type { MaskedInputProps } from './inputs/MaskedInput';
|
|
18
18
|
export { RadioGroup } from './inputs/RadioGroup';
|
|
19
19
|
export type { RadioGroupProps } from './inputs/RadioGroup';
|
|
20
|
-
export { Scriptel, withScriptel } from './inputs/Scriptel';
|
|
21
|
-
export type { ScriptelProps, ScriptelMessageClass, ScriptelPenStyle } from './inputs/Scriptel';
|
|
22
|
-
export { ScriptelInput } from './inputs/ScriptelInput';
|
|
23
|
-
export type { ScriptelInputProps } from './inputs/ScriptelInput';
|
|
24
20
|
export { PhoneInput } from './inputs/PhoneInput';
|
|
25
21
|
export type { PhoneInputProps } from './inputs/PhoneInput';
|
|
26
22
|
export { CreditCardInput } from './inputs/CreditCardInput';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thx/controls",
|
|
3
|
-
"version": "17.2.
|
|
3
|
+
"version": "17.2.3-alpha.0+3377f3d",
|
|
4
4
|
"description": "A collection of components designed with SemanticUI.",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/thr-consulting/thr-addons/issues"
|
|
@@ -33,12 +33,10 @@
|
|
|
33
33
|
"@js-joda/core": "^5.1.0",
|
|
34
34
|
"@thx/date": "^17.2.1",
|
|
35
35
|
"@thx/money": "^17.2.1",
|
|
36
|
-
"@thx/yup-types": "^17.2.1",
|
|
37
36
|
"@types/inputmask": "^5.0.7",
|
|
38
37
|
"@types/react-datepicker": "^6.0.1",
|
|
39
38
|
"credit-card-type": "^9.1.0",
|
|
40
39
|
"debug": "^4.4.0",
|
|
41
|
-
"eventemitter3": "^4.0.0",
|
|
42
40
|
"flat": "^5.0.0",
|
|
43
41
|
"formik": "^2.2.9",
|
|
44
42
|
"inputmask": "^5.0.9",
|
|
@@ -64,5 +62,5 @@
|
|
|
64
62
|
"publishConfig": {
|
|
65
63
|
"access": "public"
|
|
66
64
|
},
|
|
67
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "3377f3d5d7dd115f9764580b8fb6c4b49c573047"
|
|
68
66
|
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import React, { useRef, useState, useEffect, useMemo } from 'react';
|
|
2
|
-
import debug from 'debug';
|
|
3
|
-
import { ScriptelContext } from './ScriptelContext.js';
|
|
4
|
-
import { ScriptelSocket } from './scriptel/index.js';
|
|
5
|
-
|
|
6
|
-
debug("thx.controls.inputs.Scriptel");
|
|
7
|
-
function Scriptel({ omniscriptUrl, imageType, scale, crop, penStyle, children }) {
|
|
8
|
-
const socket = useRef();
|
|
9
|
-
const [render, setRender] = useState();
|
|
10
|
-
const [loading, setLoading] = useState(false);
|
|
11
|
-
const [isSigning, setIsSigning] = useState(false);
|
|
12
|
-
useEffect(() => {
|
|
13
|
-
socket.current = new ScriptelSocket({
|
|
14
|
-
omniscriptUrl,
|
|
15
|
-
imageType,
|
|
16
|
-
scale,
|
|
17
|
-
crop,
|
|
18
|
-
penStyle
|
|
19
|
-
});
|
|
20
|
-
socket.current.on("render", (msg) => {
|
|
21
|
-
setRender(msg);
|
|
22
|
-
setLoading(false);
|
|
23
|
-
setRender(void 0);
|
|
24
|
-
});
|
|
25
|
-
socket.current.on("okButtonDown", () => {
|
|
26
|
-
setLoading(true);
|
|
27
|
-
});
|
|
28
|
-
socket.current.on("cancel", () => {
|
|
29
|
-
setLoading(false);
|
|
30
|
-
setRender(void 0);
|
|
31
|
-
});
|
|
32
|
-
socket.current.on("penMove", () => {
|
|
33
|
-
setIsSigning(true);
|
|
34
|
-
});
|
|
35
|
-
socket.current.on("penUp", () => {
|
|
36
|
-
setIsSigning(false);
|
|
37
|
-
});
|
|
38
|
-
return () => {
|
|
39
|
-
if (socket.current)
|
|
40
|
-
socket.current.close();
|
|
41
|
-
};
|
|
42
|
-
}, [omniscriptUrl, imageType, scale, crop, penStyle]);
|
|
43
|
-
const scriptel = useMemo(() => {
|
|
44
|
-
return { socket, renderImage: render, loading, isSigning };
|
|
45
|
-
}, [isSigning, loading, render]);
|
|
46
|
-
return /* @__PURE__ */ React.createElement(ScriptelContext.Provider, {
|
|
47
|
-
value: scriptel
|
|
48
|
-
}, children);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export { Scriptel };
|
|
52
|
-
//# sourceMappingURL=Scriptel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Scriptel.js","sources":["../../../../src/inputs/Scriptel/Scriptel.tsx"],"sourcesContent":["import debug from 'debug';\nimport {useEffect, useMemo, useRef, useState} from 'react';\nimport {ScriptelContext} from './ScriptelContext';\nimport {ScriptelSocket} from './scriptel';\nimport type {ScriptelPenStyle} from './scriptel/enums';\nimport type {RenderedImage} from './scriptel/messages';\n\nconst d = debug('thx.controls.inputs.Scriptel');\n\nexport interface ScriptelProps {\n\tomniscriptUrl?: string; // Defaults to 'ws://localhost:8080'\n\timageType?: string; // Defaults to 'image/svg+xml'.\n\tscale?: number; // Defaults to 1\n\tcrop?: boolean; // Defaults to false\n\tpenStyle?: ScriptelPenStyle; // Defaults to 'PlainPenStyle'\n\tchildren: JSX.Element | JSX.Element[];\n}\n\nexport function Scriptel({omniscriptUrl, imageType, scale, crop, penStyle, children}: ScriptelProps) {\n\tconst socket = useRef<ScriptelSocket>();\n\tconst [render, setRender] = useState<RenderedImage>();\n\tconst [loading, setLoading] = useState<boolean>(false);\n\tconst [isSigning, setIsSigning] = useState<boolean>(false);\n\n\tuseEffect(() => {\n\t\tsocket.current = new ScriptelSocket({\n\t\t\tomniscriptUrl,\n\t\t\timageType,\n\t\t\tscale,\n\t\t\tcrop,\n\t\t\tpenStyle,\n\t\t});\n\n\t\tsocket.current.on('render', msg => {\n\t\t\tsetRender(msg);\n\t\t\tsetLoading(false);\n\t\t\tsetRender(undefined); // todo look at this in future\n\t\t});\n\t\tsocket.current.on('okButtonDown', () => {\n\t\t\tsetLoading(true);\n\t\t});\n\t\tsocket.current.on('cancel', () => {\n\t\t\tsetLoading(false);\n\t\t\tsetRender(undefined);\n\t\t});\n\t\tsocket.current.on('penMove', () => {\n\t\t\tsetIsSigning(true);\n\t\t});\n\t\tsocket.current.on('penUp', () => {\n\t\t\tsetIsSigning(false);\n\t\t});\n\n\t\treturn () => {\n\t\t\tif (socket.current) socket.current.close();\n\t\t};\n\t}, [omniscriptUrl, imageType, scale, crop, penStyle]);\n\n\tconst scriptel = useMemo(() => {\n\t\treturn {socket, renderImage: render, loading, isSigning};\n\t}, [isSigning, loading, render]);\n\n\treturn <ScriptelContext.Provider value={scriptel}>{children}</ScriptelContext.Provider>;\n}\n"],"names":[],"mappings":";;;;;AAOU,MAAM,8BAA8B,EAAA;AAWvC,SAAA,QAAA,CAAkB,EAAC,aAAe,EAAA,SAAA,EAAW,KAAO,EAAA,IAAA,EAAM,UAAU,QAA0B,EAAA,EAAA;AACpG,EAAA,MAAM,SAAS,MAAuB,EAAA,CAAA;AACtC,EAAM,MAAA,CAAC,MAAQ,EAAA,SAAA,CAAA,GAAa,QAAwB,EAAA,CAAA;AACpD,EAAA,MAAM,CAAC,OAAA,EAAS,UAAc,CAAA,GAAA,QAAA,CAAkB,KAAK,CAAA,CAAA;AACrD,EAAA,MAAM,CAAC,SAAA,EAAW,YAAgB,CAAA,GAAA,QAAA,CAAkB,KAAK,CAAA,CAAA;AAEzD,EAAA,SAAA,CAAU,MAAM;AACf,IAAO,MAAA,CAAA,OAAA,GAAU,IAAI,cAAe,CAAA;AAAA,MACnC,aAAA;AAAA,MACA,SAAA;AAAA,MACA,KAAA;AAAA,MACA,IAAA;AAAA,MACA,QAAA;AAAA,KACA,CAAA,CAAA;AAED,IAAO,MAAA,CAAA,OAAA,CAAQ,EAAG,CAAA,QAAA,EAAU,CAAO,GAAA,KAAA;AAClC,MAAA,SAAA,CAAU,GAAG,CAAA,CAAA;AACb,MAAA,UAAA,CAAW,KAAK,CAAA,CAAA;AAChB,MAAA,SAAA,CAAU,KAAS,CAAA,CAAA,CAAA;AAAA,KACnB,CAAA,CAAA;AACD,IAAO,MAAA,CAAA,OAAA,CAAQ,EAAG,CAAA,cAAA,EAAgB,MAAM;AACvC,MAAA,UAAA,CAAW,IAAI,CAAA,CAAA;AAAA,KACf,CAAA,CAAA;AACD,IAAO,MAAA,CAAA,OAAA,CAAQ,EAAG,CAAA,QAAA,EAAU,MAAM;AACjC,MAAA,UAAA,CAAW,KAAK,CAAA,CAAA;AAChB,MAAA,SAAA,CAAU,KAAS,CAAA,CAAA,CAAA;AAAA,KACnB,CAAA,CAAA;AACD,IAAO,MAAA,CAAA,OAAA,CAAQ,EAAG,CAAA,SAAA,EAAW,MAAM;AAClC,MAAA,YAAA,CAAa,IAAI,CAAA,CAAA;AAAA,KACjB,CAAA,CAAA;AACD,IAAO,MAAA,CAAA,OAAA,CAAQ,EAAG,CAAA,OAAA,EAAS,MAAM;AAChC,MAAA,YAAA,CAAa,KAAK,CAAA,CAAA;AAAA,KAClB,CAAA,CAAA;AAED,IAAA,OAAO,MAAM;AACZ,MAAA,IAAI,MAAO,CAAA,OAAA;AAAS,QAAA,MAAA,CAAO,QAAQ,KAAM,EAAA,CAAA;AAAA,KAC1C,CAAA;AAAA,KACE,CAAC,aAAA,EAAe,WAAW,KAAO,EAAA,IAAA,EAAM,QAAQ,CAAC,CAAA,CAAA;AAEpD,EAAM,MAAA,QAAA,GAAW,QAAQ,MAAM;AAC9B,IAAA,OAAO,EAAC,MAAA,EAAQ,WAAa,EAAA,MAAA,EAAQ,SAAS,SAAS,EAAA,CAAA;AAAA,GACrD,EAAA,CAAC,SAAW,EAAA,OAAA,EAAS,MAAM,CAAC,CAAA,CAAA;AAE/B,EAAO,uBAAA,KAAA,CAAA,aAAA,CAAC,gBAAgB,QAAhB,EAAA;AAAA,IAAyB,KAAO,EAAA,QAAA;AAAA,GAAA,EAAW,QAAS,CAAA,CAAA;AAC7D;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScriptelContext.js","sources":["../../../../src/inputs/Scriptel/ScriptelContext.ts"],"sourcesContent":["import {createContext, MutableRefObject} from 'react';\nimport type {ScriptelSocket} from './scriptel';\nimport type {RenderedImage} from './scriptel/messages';\n\nexport const ScriptelContext = createContext<\n\t{socket: MutableRefObject<ScriptelSocket | undefined>; renderImage: RenderedImage | undefined; loading: boolean; isSigning: boolean} | undefined\n>(undefined);\n"],"names":[],"mappings":";;AAIa,MAAA,eAAA,GAAkB,cAE7B,KAAS,CAAA;;;;"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
var ScriptelPenStyle = /* @__PURE__ */ ((ScriptelPenStyle2) => {
|
|
2
|
-
ScriptelPenStyle2["Plain"] = "PlainPenStyle";
|
|
3
|
-
ScriptelPenStyle2["Chisel"] = "ChiselPenStyle";
|
|
4
|
-
ScriptelPenStyle2["Inkwell"] = "InkwellPenStyle";
|
|
5
|
-
return ScriptelPenStyle2;
|
|
6
|
-
})(ScriptelPenStyle || {});
|
|
7
|
-
var ScriptelMessageClass = /* @__PURE__ */ ((ScriptelMessageClass2) => {
|
|
8
|
-
ScriptelMessageClass2["ConnectionOpen"] = "ConnectionOpen";
|
|
9
|
-
ScriptelMessageClass2["DeviceOpenRequest"] = "DeviceOpenRequest";
|
|
10
|
-
ScriptelMessageClass2["DeviceOpenResponse"] = "DeviceOpenResponse";
|
|
11
|
-
ScriptelMessageClass2["RenderedImage"] = "RenderedImage";
|
|
12
|
-
ScriptelMessageClass2["ScriptelException"] = "ScriptelException";
|
|
13
|
-
ScriptelMessageClass2["ButtonDown"] = "ButtonDown";
|
|
14
|
-
ScriptelMessageClass2["ButtonPress"] = "ButtonPress";
|
|
15
|
-
ScriptelMessageClass2["PenMove"] = "PenMove";
|
|
16
|
-
ScriptelMessageClass2["PenUp"] = "PenUp";
|
|
17
|
-
return ScriptelMessageClass2;
|
|
18
|
-
})(ScriptelMessageClass || {});
|
|
19
|
-
|
|
20
|
-
export { ScriptelMessageClass, ScriptelPenStyle };
|
|
21
|
-
//# sourceMappingURL=enums.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enums.js","sources":["../../../../../src/inputs/Scriptel/scriptel/enums.ts"],"sourcesContent":["export enum ScriptelPenStyle {\n\tPlain = 'PlainPenStyle',\n\tChisel = 'ChiselPenStyle',\n\tInkwell = 'InkwellPenStyle',\n}\n\nexport enum ScriptelMessageClass {\n\tConnectionOpen = 'ConnectionOpen',\n\tDeviceOpenRequest = 'DeviceOpenRequest',\n\tDeviceOpenResponse = 'DeviceOpenResponse',\n\tRenderedImage = 'RenderedImage',\n\tScriptelException = 'ScriptelException',\n\tButtonDown = 'ButtonDown',\n\tButtonPress = 'ButtonPress',\n\tPenMove = 'PenMove',\n\tPenUp = 'PenUp',\n}\n"],"names":[],"mappings":"AAAY,IAAA,gBAAA,qBAAA,iBAAL,KAAA;AACN,EAAQ,iBAAA,CAAA,OAAA,CAAA,GAAA,eAAA,CAAA;AACR,EAAS,iBAAA,CAAA,QAAA,CAAA,GAAA,gBAAA,CAAA;AACT,EAAU,iBAAA,CAAA,SAAA,CAAA,GAAA,iBAAA,CAAA;AAHC,EAAA,OAAA,iBAAA,CAAA;AAAA,CAAA,EAAA,gBAAA,IAAA,EAAA,EAAA;AAMA,IAAA,oBAAA,qBAAA,qBAAL,KAAA;AACN,EAAiB,qBAAA,CAAA,gBAAA,CAAA,GAAA,gBAAA,CAAA;AACjB,EAAoB,qBAAA,CAAA,mBAAA,CAAA,GAAA,mBAAA,CAAA;AACpB,EAAqB,qBAAA,CAAA,oBAAA,CAAA,GAAA,oBAAA,CAAA;AACrB,EAAgB,qBAAA,CAAA,eAAA,CAAA,GAAA,eAAA,CAAA;AAChB,EAAoB,qBAAA,CAAA,mBAAA,CAAA,GAAA,mBAAA,CAAA;AACpB,EAAa,qBAAA,CAAA,YAAA,CAAA,GAAA,YAAA,CAAA;AACb,EAAc,qBAAA,CAAA,aAAA,CAAA,GAAA,aAAA,CAAA;AACd,EAAU,qBAAA,CAAA,SAAA,CAAA,GAAA,SAAA,CAAA;AACV,EAAQ,qBAAA,CAAA,OAAA,CAAA,GAAA,OAAA,CAAA;AATG,EAAA,OAAA,qBAAA,CAAA;AAAA,CAAA,EAAA,oBAAA,IAAA,EAAA;;;;"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import debug from 'debug';
|
|
2
|
-
import EventEmitter from 'eventemitter3';
|
|
3
|
-
import { ScriptelMessageClass, ScriptelPenStyle } from './enums.js';
|
|
4
|
-
|
|
5
|
-
const d = debug("thx.controls.inputs.Scriptel.scriptel");
|
|
6
|
-
function serverConnected(msg, socket) {
|
|
7
|
-
d("Server connected");
|
|
8
|
-
if (msg.serverInfo.devices.length > 0) {
|
|
9
|
-
const device = msg.serverInfo.devices[0];
|
|
10
|
-
socket.send(JSON.stringify({
|
|
11
|
-
_class: "DeviceOpenRequest",
|
|
12
|
-
uuid: device.uuid
|
|
13
|
-
}));
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
function deviceConnected(msg, socket, args) {
|
|
17
|
-
d(`Device connected: ${msg.device.uuid}`);
|
|
18
|
-
const { imageType, scale, crop, penStyle } = args;
|
|
19
|
-
socket.send(JSON.stringify({
|
|
20
|
-
_class: "RenderSettingsUpdateRequest",
|
|
21
|
-
renderSettings: {
|
|
22
|
-
_class: "RenderSettings",
|
|
23
|
-
type: imageType || "image/svg+xml",
|
|
24
|
-
scale: scale || 1,
|
|
25
|
-
crop: crop || false,
|
|
26
|
-
penStyle: penStyle ? {
|
|
27
|
-
renderFunction: penStyle
|
|
28
|
-
} : {
|
|
29
|
-
renderFunction: ScriptelPenStyle.Plain
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}));
|
|
33
|
-
}
|
|
34
|
-
function render(msg, args, eventEmitter) {
|
|
35
|
-
d(`Rendered image: ${msg.type} ${msg.width}x${msg.height}`);
|
|
36
|
-
eventEmitter.emit("render", msg);
|
|
37
|
-
}
|
|
38
|
-
class ScriptelSocket extends EventEmitter {
|
|
39
|
-
constructor(args) {
|
|
40
|
-
super();
|
|
41
|
-
this.options = args;
|
|
42
|
-
this.socket = new WebSocket(args.omniscriptUrl || "ws://localhost:8080");
|
|
43
|
-
this.socket.onopen = () => {
|
|
44
|
-
d("Socket open");
|
|
45
|
-
};
|
|
46
|
-
this.socket.onclose = () => {
|
|
47
|
-
d("Socket closed");
|
|
48
|
-
};
|
|
49
|
-
this.socket.onmessage = (ev) => {
|
|
50
|
-
const msg = JSON.parse(ev.data);
|
|
51
|
-
if (!msg._class)
|
|
52
|
-
return;
|
|
53
|
-
switch (msg._class) {
|
|
54
|
-
case ScriptelMessageClass.ConnectionOpen:
|
|
55
|
-
serverConnected(msg, this.socket);
|
|
56
|
-
break;
|
|
57
|
-
case ScriptelMessageClass.DeviceOpenResponse:
|
|
58
|
-
deviceConnected(msg, this.socket, this.options);
|
|
59
|
-
break;
|
|
60
|
-
case ScriptelMessageClass.RenderedImage:
|
|
61
|
-
render(msg, this.options, this);
|
|
62
|
-
break;
|
|
63
|
-
case ScriptelMessageClass.ScriptelException:
|
|
64
|
-
d(`Scriptel Exception Error: ${msg.message}`);
|
|
65
|
-
break;
|
|
66
|
-
case ScriptelMessageClass.ButtonPress:
|
|
67
|
-
if (msg.label === "Cancel")
|
|
68
|
-
this.emit("cancel");
|
|
69
|
-
break;
|
|
70
|
-
case ScriptelMessageClass.ButtonDown:
|
|
71
|
-
if (msg.label === "OK")
|
|
72
|
-
this.emit("okButtonDown");
|
|
73
|
-
break;
|
|
74
|
-
case ScriptelMessageClass.PenMove:
|
|
75
|
-
this.emit("penMove");
|
|
76
|
-
break;
|
|
77
|
-
case ScriptelMessageClass.PenUp:
|
|
78
|
-
this.emit("penUp");
|
|
79
|
-
break;
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
calibrate() {
|
|
84
|
-
d("calibrate");
|
|
85
|
-
this.socket.send(JSON.stringify({ _class: "ForceRecalibrate" }));
|
|
86
|
-
}
|
|
87
|
-
close() {
|
|
88
|
-
this.socket.close();
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export { ScriptelSocket };
|
|
93
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/inputs/Scriptel/scriptel/index.ts"],"sourcesContent":["/* globals WebSocket: true */\nimport debug from 'debug';\nimport EventEmitter from 'eventemitter3';\nimport {ScriptelMessageClass, ScriptelPenStyle} from './enums';\nimport type {ConnectionOpen, DeviceOpenResponse, Message, RenderedImage} from './messages';\n\nconst d = debug('thx.controls.inputs.Scriptel.scriptel');\n\nexport interface ScriptelSocketArgs {\n\tomniscriptUrl?: string; // Defaults to 'ws://localhost:8080'\n\timageType?: string; // Defaults to 'image/svg+xml'.\n\tscale?: number; // Defaults to 1\n\tcrop?: boolean; // Defaults to false\n\tpenStyle?: ScriptelPenStyle; // Defaults to 'PlainPenStyle'\n\trender?: () => void;\n}\n\nfunction serverConnected(msg: ConnectionOpen, socket: WebSocket) {\n\td('Server connected');\n\tif (msg.serverInfo.devices.length > 0) {\n\t\t// Grab the first available device\n\t\tconst device = msg.serverInfo.devices[0];\n\t\tsocket.send(\n\t\t\tJSON.stringify({\n\t\t\t\t_class: 'DeviceOpenRequest',\n\t\t\t\tuuid: device.uuid,\n\t\t\t}),\n\t\t);\n\t}\n}\n\nfunction deviceConnected(msg: DeviceOpenResponse, socket: WebSocket, args: ScriptelSocketArgs) {\n\td(`Device connected: ${msg.device.uuid}`);\n\tconst {imageType, scale, crop, penStyle} = args;\n\tsocket.send(\n\t\tJSON.stringify({\n\t\t\t_class: 'RenderSettingsUpdateRequest',\n\t\t\trenderSettings: {\n\t\t\t\t_class: 'RenderSettings',\n\t\t\t\ttype: imageType || 'image/svg+xml',\n\t\t\t\tscale: scale || 1,\n\t\t\t\tcrop: crop || false,\n\t\t\t\tpenStyle: penStyle\n\t\t\t\t\t? {\n\t\t\t\t\t\t\trenderFunction: penStyle,\n\t\t\t\t\t\t}\n\t\t\t\t\t: {\n\t\t\t\t\t\t\trenderFunction: ScriptelPenStyle.Plain,\n\t\t\t\t\t\t},\n\t\t\t},\n\t\t}),\n\t);\n}\n\nfunction render(msg: RenderedImage, args: ScriptelSocketArgs, eventEmitter: EventEmitter) {\n\td(`Rendered image: ${msg.type} ${msg.width}x${msg.height}`);\n\teventEmitter.emit('render', msg);\n}\n\nexport class ScriptelSocket extends EventEmitter {\n\tprivate socket: WebSocket;\n\tprivate options: ScriptelSocketArgs;\n\n\tconstructor(args: ScriptelSocketArgs) {\n\t\tsuper();\n\n\t\tthis.options = args;\n\n\t\tthis.socket = new WebSocket(args.omniscriptUrl || 'ws://localhost:8080');\n\n\t\tthis.socket.onopen = () => {\n\t\t\td('Socket open');\n\t\t};\n\n\t\tthis.socket.onclose = () => {\n\t\t\td('Socket closed');\n\t\t};\n\n\t\tthis.socket.onmessage = ev => {\n\t\t\tconst msg = JSON.parse(ev.data) as Message;\n\t\t\tif (!msg._class) return; // A message with no class.\n\n\t\t\tswitch (msg._class) {\n\t\t\t\tcase ScriptelMessageClass.ConnectionOpen:\n\t\t\t\t\tserverConnected(msg, this.socket);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ScriptelMessageClass.DeviceOpenResponse:\n\t\t\t\t\tdeviceConnected(msg, this.socket, this.options);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ScriptelMessageClass.RenderedImage:\n\t\t\t\t\trender(msg, this.options, this);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ScriptelMessageClass.ScriptelException:\n\t\t\t\t\td(`Scriptel Exception Error: ${msg.message}`);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase ScriptelMessageClass.ButtonPress:\n\t\t\t\t\tif (msg.label === 'Cancel') this.emit('cancel');\n\t\t\t\t\tbreak;\n\t\t\t\tcase ScriptelMessageClass.ButtonDown:\n\t\t\t\t\tif (msg.label === 'OK') this.emit('okButtonDown');\n\t\t\t\t\tbreak;\n\t\t\t\tcase ScriptelMessageClass.PenMove:\n\t\t\t\t\tthis.emit('penMove');\n\t\t\t\t\tbreak;\n\t\t\t\tcase ScriptelMessageClass.PenUp:\n\t\t\t\t\tthis.emit('penUp');\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t}\n\t\t};\n\t}\n\n\tcalibrate() {\n\t\td('calibrate');\n\t\tthis.socket.send(JSON.stringify({_class: 'ForceRecalibrate'}));\n\t}\n\n\tclose() {\n\t\tthis.socket.close();\n\t}\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Scriptel } from './Scriptel.js';
|
|
3
|
-
|
|
4
|
-
function withScriptel(WrappedComponent, scriptelProps) {
|
|
5
|
-
return function withScriptelHoC(props) {
|
|
6
|
-
return /* @__PURE__ */ React.createElement(Scriptel, {
|
|
7
|
-
...scriptelProps
|
|
8
|
-
}, /* @__PURE__ */ React.createElement(WrappedComponent, {
|
|
9
|
-
...props
|
|
10
|
-
}));
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { withScriptel };
|
|
15
|
-
//# sourceMappingURL=withScriptel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withScriptel.js","sources":["../../../../src/inputs/Scriptel/withScriptel.tsx"],"sourcesContent":["import {Scriptel, ScriptelProps} from './Scriptel';\n\n/**\n * A HoC that provides a connection to a Scriptel Omniscript device.\n * You can only have a single connection open at a time.\n * @param WrappedComponent\n * @return {Object}\n */\nexport function withScriptel(WrappedComponent: any, scriptelProps: ScriptelProps) {\n\treturn function withScriptelHoC(props: any) {\n\t\treturn (\n\t\t\t<Scriptel {...scriptelProps}>\n\t\t\t\t<WrappedComponent {...props} />\n\t\t\t</Scriptel>\n\t\t);\n\t};\n}\n"],"names":[],"mappings":";;;AAQO,SAAA,YAAA,CAAsB,kBAAuB,aAA8B,EAAA;AACjF,EAAA,OAAO,yBAAyB,KAAY,EAAA;AAC3C,IAAA,uBACE,KAAA,CAAA,aAAA,CAAA,QAAA,EAAA;AAAA,MAAa,GAAA,aAAA;AAAA,KAAA,kBACZ,KAAA,CAAA,aAAA,CAAA,gBAAA,EAAA;AAAA,MAAqB,GAAA,KAAA;AAAA,KAAO,CAC9B,CAAA,CAAA;AAAA,GAEF,CAAA;AACD;;;;"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import React, { useContext, useState, useEffect } from 'react';
|
|
2
|
-
import debug from 'debug';
|
|
3
|
-
import { Button, Image } from 'semantic-ui-react';
|
|
4
|
-
import { ScriptelContext } from '../Scriptel/ScriptelContext.js';
|
|
5
|
-
|
|
6
|
-
debug("thx.controls.inputs.ScriptelInput");
|
|
7
|
-
function ScriptelInput(props) {
|
|
8
|
-
const { value, onChange, buttonText = "Enter Signature" } = props;
|
|
9
|
-
const ctx = useContext(ScriptelContext);
|
|
10
|
-
const [enterSignature, setEnterSignature] = useState(false);
|
|
11
|
-
useEffect(() => {
|
|
12
|
-
if (enterSignature) {
|
|
13
|
-
if (onChange && ctx?.renderImage) {
|
|
14
|
-
setEnterSignature(false);
|
|
15
|
-
if (ctx.renderImage.type === "image/svg+xml" || ctx.renderImage.type === "image/png") {
|
|
16
|
-
onChange({
|
|
17
|
-
type: ctx.renderImage.type,
|
|
18
|
-
width: ctx.renderImage.width,
|
|
19
|
-
height: ctx.renderImage.height,
|
|
20
|
-
timestamp: new Date(),
|
|
21
|
-
data: ctx.renderImage.data
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
if (onChange && !ctx) {
|
|
26
|
-
onChange();
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}, [ctx]);
|
|
30
|
-
if (enterSignature) {
|
|
31
|
-
return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", null, ctx?.isSigning ? "signing..." : "Enter a signature and click OK."), /* @__PURE__ */ React.createElement(Button, {
|
|
32
|
-
onClick: () => {
|
|
33
|
-
setEnterSignature(false);
|
|
34
|
-
},
|
|
35
|
-
color: "black",
|
|
36
|
-
loading: ctx?.loading,
|
|
37
|
-
disabled: ctx?.loading
|
|
38
|
-
}, "Cancel"), /* @__PURE__ */ React.createElement(Button, {
|
|
39
|
-
size: "mini",
|
|
40
|
-
as: "a",
|
|
41
|
-
basic: true,
|
|
42
|
-
onClick: () => ctx?.socket.current?.calibrate(),
|
|
43
|
-
disabled: ctx?.loading
|
|
44
|
-
}, "Calibrate"));
|
|
45
|
-
}
|
|
46
|
-
if (value && value.data) {
|
|
47
|
-
return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(Image, {
|
|
48
|
-
size: "medium",
|
|
49
|
-
src: value.data,
|
|
50
|
-
bordered: true
|
|
51
|
-
}), /* @__PURE__ */ React.createElement(Button, {
|
|
52
|
-
size: "mini",
|
|
53
|
-
compact: true,
|
|
54
|
-
onClick: () => {
|
|
55
|
-
setEnterSignature(false);
|
|
56
|
-
if (onChange)
|
|
57
|
-
onChange();
|
|
58
|
-
}
|
|
59
|
-
}, "Reset"));
|
|
60
|
-
}
|
|
61
|
-
return /* @__PURE__ */ React.createElement(Button, {
|
|
62
|
-
onClick: () => setEnterSignature(true)
|
|
63
|
-
}, buttonText);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export { ScriptelInput };
|
|
67
|
-
//# sourceMappingURL=ScriptelInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScriptelInput.js","sources":["../../../../src/inputs/ScriptelInput/ScriptelInput.tsx"],"sourcesContent":["import type {ScriptelSchemaType} from '@thx/yup-types';\nimport debug from 'debug';\nimport {useContext, useEffect, useState} from 'react';\nimport {Button, Image} from 'semantic-ui-react';\nimport {ScriptelContext} from '../Scriptel/ScriptelContext';\n\nconst d = debug('thx.controls.inputs.ScriptelInput');\n\nexport interface ScriptelInputProps {\n\tvalue?: ScriptelSchemaType;\n\tonChange?: (value?: ScriptelSchemaType) => void;\n\tbuttonText?: string;\n}\n\nexport function ScriptelInput(props: ScriptelInputProps) {\n\tconst {value, onChange, buttonText = 'Enter Signature'} = props;\n\tconst ctx = useContext(ScriptelContext);\n\n\tconst [enterSignature, setEnterSignature] = useState(false);\n\n\tuseEffect(() => {\n\t\tif (enterSignature) {\n\t\t\tif (onChange && ctx?.renderImage) {\n\t\t\t\tsetEnterSignature(false);\n\t\t\t\tif (ctx.renderImage.type === 'image/svg+xml' || ctx.renderImage.type === 'image/png') {\n\t\t\t\t\tonChange({\n\t\t\t\t\t\ttype: ctx.renderImage.type,\n\t\t\t\t\t\twidth: ctx.renderImage.width,\n\t\t\t\t\t\theight: ctx.renderImage.height,\n\t\t\t\t\t\ttimestamp: new Date(),\n\t\t\t\t\t\tdata: ctx.renderImage.data,\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (onChange && !ctx) {\n\t\t\t\tonChange();\n\t\t\t}\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [ctx]);\n\n\tif (enterSignature) {\n\t\treturn (\n\t\t\t<div>\n\t\t\t\t<div>{ctx?.isSigning ? 'signing...' : 'Enter a signature and click OK.'}</div>\n\t\t\t\t<Button\n\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\tsetEnterSignature(false);\n\t\t\t\t\t}}\n\t\t\t\t\tcolor=\"black\"\n\t\t\t\t\tloading={ctx?.loading}\n\t\t\t\t\tdisabled={ctx?.loading}\n\t\t\t\t>\n\t\t\t\t\tCancel\n\t\t\t\t</Button>\n\t\t\t\t<Button size=\"mini\" as=\"a\" basic onClick={() => ctx?.socket.current?.calibrate()} disabled={ctx?.loading}>\n\t\t\t\t\tCalibrate\n\t\t\t\t</Button>\n\t\t\t</div>\n\t\t);\n\t}\n\n\tif (value && value.data) {\n\t\treturn (\n\t\t\t<div>\n\t\t\t\t<Image size=\"medium\" src={value.data} bordered />\n\t\t\t\t<Button\n\t\t\t\t\tsize=\"mini\"\n\t\t\t\t\tcompact\n\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\tsetEnterSignature(false);\n\t\t\t\t\t\tif (onChange) onChange();\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\tReset\n\t\t\t\t</Button>\n\t\t\t</div>\n\t\t);\n\t}\n\n\treturn <Button onClick={() => setEnterSignature(true)}>{buttonText}</Button>;\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ScriptelPenStyle } from './scriptel/enums';
|
|
2
|
-
export interface ScriptelProps {
|
|
3
|
-
omniscriptUrl?: string;
|
|
4
|
-
imageType?: string;
|
|
5
|
-
scale?: number;
|
|
6
|
-
crop?: boolean;
|
|
7
|
-
penStyle?: ScriptelPenStyle;
|
|
8
|
-
children: JSX.Element | JSX.Element[];
|
|
9
|
-
}
|
|
10
|
-
export declare function Scriptel({ omniscriptUrl, imageType, scale, crop, penStyle, children }: ScriptelProps): JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MutableRefObject } from 'react';
|
|
2
|
-
import type { ScriptelSocket } from './scriptel';
|
|
3
|
-
import type { RenderedImage } from './scriptel/messages';
|
|
4
|
-
export declare const ScriptelContext: import("react").Context<{
|
|
5
|
-
socket: MutableRefObject<ScriptelSocket | undefined>;
|
|
6
|
-
renderImage: RenderedImage | undefined;
|
|
7
|
-
loading: boolean;
|
|
8
|
-
isSigning: boolean;
|
|
9
|
-
} | undefined>;
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
export interface DeviceEndpoint {
|
|
2
|
-
protocolDriver: {
|
|
3
|
-
features: string[];
|
|
4
|
-
};
|
|
5
|
-
devHandle: {
|
|
6
|
-
productId: number;
|
|
7
|
-
vendorId: number;
|
|
8
|
-
manufacturer: string;
|
|
9
|
-
model: string;
|
|
10
|
-
path: string;
|
|
11
|
-
};
|
|
12
|
-
manufacturer: string;
|
|
13
|
-
path: string;
|
|
14
|
-
product: string;
|
|
15
|
-
productId: string;
|
|
16
|
-
uuid: string;
|
|
17
|
-
vendorId: string;
|
|
18
|
-
}
|
|
19
|
-
export interface DisplayInfo {
|
|
20
|
-
captionLength: number;
|
|
21
|
-
characterHeight: number;
|
|
22
|
-
characterWidth: number;
|
|
23
|
-
colorDepth: number;
|
|
24
|
-
height: number;
|
|
25
|
-
regionCount: number;
|
|
26
|
-
width: number;
|
|
27
|
-
}
|
|
28
|
-
export interface SoftwareVersion {
|
|
29
|
-
asicSignature: number;
|
|
30
|
-
firmwareVersion: {
|
|
31
|
-
major: number;
|
|
32
|
-
minor: number;
|
|
33
|
-
release: number;
|
|
34
|
-
};
|
|
35
|
-
kernelVersion: {
|
|
36
|
-
major: number;
|
|
37
|
-
minor: number;
|
|
38
|
-
release: number;
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
export interface DisplaySettings {
|
|
42
|
-
blue: number;
|
|
43
|
-
brightness: number;
|
|
44
|
-
command: number;
|
|
45
|
-
contract: number;
|
|
46
|
-
green: number;
|
|
47
|
-
red: number;
|
|
48
|
-
}
|
|
49
|
-
export interface CalibrationMode {
|
|
50
|
-
calibrating: boolean;
|
|
51
|
-
calibrationPoint: string;
|
|
52
|
-
}
|
|
53
|
-
export interface RegionButtonFlags {
|
|
54
|
-
clearOnSelect: boolean;
|
|
55
|
-
confirmOnSelect: boolean;
|
|
56
|
-
enabled: boolean;
|
|
57
|
-
highlightOnSelect: boolean;
|
|
58
|
-
}
|
|
59
|
-
export interface RegionButton {
|
|
60
|
-
caption: string;
|
|
61
|
-
flags: RegionButtonFlags;
|
|
62
|
-
parentContainer: number;
|
|
63
|
-
}
|
|
64
|
-
export interface RegionContainerFlags {
|
|
65
|
-
inkEnabled: boolean;
|
|
66
|
-
}
|
|
67
|
-
export interface RegionContainer {
|
|
68
|
-
flags: RegionContainerFlags;
|
|
69
|
-
}
|
|
70
|
-
export interface RegionLine {
|
|
71
|
-
lineWidth: number;
|
|
72
|
-
parentContainer: number;
|
|
73
|
-
}
|
|
74
|
-
export interface RegionFlags {
|
|
75
|
-
acceptsTouch: boolean;
|
|
76
|
-
decodeRegion: boolean;
|
|
77
|
-
hasFrame: boolean;
|
|
78
|
-
inUse: boolean;
|
|
79
|
-
visible: boolean;
|
|
80
|
-
}
|
|
81
|
-
export interface Region {
|
|
82
|
-
backgroundColor: number[];
|
|
83
|
-
buttonType?: RegionButton;
|
|
84
|
-
containerType?: RegionContainer;
|
|
85
|
-
flags: RegionFlags;
|
|
86
|
-
foregroundColor: number[];
|
|
87
|
-
id: number;
|
|
88
|
-
lineType?: RegionLine;
|
|
89
|
-
x1: number;
|
|
90
|
-
x2: number;
|
|
91
|
-
y1: number;
|
|
92
|
-
y2: number;
|
|
93
|
-
}
|
|
94
|
-
export interface ScreenErrorCorrection {
|
|
95
|
-
boundX1: number;
|
|
96
|
-
boundX2: number;
|
|
97
|
-
boundY1: number;
|
|
98
|
-
boundY2: number;
|
|
99
|
-
correctionMap: number[][];
|
|
100
|
-
valid: boolean;
|
|
101
|
-
xDelta: number;
|
|
102
|
-
xMin: number;
|
|
103
|
-
xOffset: number;
|
|
104
|
-
yDelta: number;
|
|
105
|
-
yMin: number;
|
|
106
|
-
yOffset: number;
|
|
107
|
-
}
|
|
108
|
-
export interface CoordinateRange {
|
|
109
|
-
xMin: number;
|
|
110
|
-
xMax: number;
|
|
111
|
-
yMin: number;
|
|
112
|
-
yMax: number;
|
|
113
|
-
}
|
|
114
|
-
export interface Capabilities {
|
|
115
|
-
displayId: string;
|
|
116
|
-
}
|
|
117
|
-
export interface OperatingMode {
|
|
118
|
-
touch: boolean;
|
|
119
|
-
pen: boolean;
|
|
120
|
-
autoTouch: boolean;
|
|
121
|
-
securePen: boolean;
|
|
122
|
-
secureAutoTouch: boolean;
|
|
123
|
-
command: boolean;
|
|
124
|
-
acquisitionMode: string;
|
|
125
|
-
touchMode: string;
|
|
126
|
-
penMode: string;
|
|
127
|
-
}
|
|
128
|
-
export interface ScriptelDevice {
|
|
129
|
-
uuid: string;
|
|
130
|
-
serialNumber: string;
|
|
131
|
-
model: string;
|
|
132
|
-
manufacturer: string;
|
|
133
|
-
vendorId: number;
|
|
134
|
-
productId: number;
|
|
135
|
-
calibrationMode: CalibrationMode;
|
|
136
|
-
displayInfo: DisplayInfo;
|
|
137
|
-
displaySettings: DisplaySettings;
|
|
138
|
-
errorCorrection: ScreenErrorCorrection;
|
|
139
|
-
regions: Region[];
|
|
140
|
-
softwareVersion: SoftwareVersion;
|
|
141
|
-
coordinateRange: CoordinateRange;
|
|
142
|
-
capabilities: Capabilities;
|
|
143
|
-
operatingMode: OperatingMode;
|
|
144
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare enum ScriptelPenStyle {
|
|
2
|
-
Plain = "PlainPenStyle",
|
|
3
|
-
Chisel = "ChiselPenStyle",
|
|
4
|
-
Inkwell = "InkwellPenStyle"
|
|
5
|
-
}
|
|
6
|
-
export declare enum ScriptelMessageClass {
|
|
7
|
-
ConnectionOpen = "ConnectionOpen",
|
|
8
|
-
DeviceOpenRequest = "DeviceOpenRequest",
|
|
9
|
-
DeviceOpenResponse = "DeviceOpenResponse",
|
|
10
|
-
RenderedImage = "RenderedImage",
|
|
11
|
-
ScriptelException = "ScriptelException",
|
|
12
|
-
ButtonDown = "ButtonDown",
|
|
13
|
-
ButtonPress = "ButtonPress",
|
|
14
|
-
PenMove = "PenMove",
|
|
15
|
-
PenUp = "PenUp"
|
|
16
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import EventEmitter from 'eventemitter3';
|
|
2
|
-
import { ScriptelPenStyle } from './enums';
|
|
3
|
-
export interface ScriptelSocketArgs {
|
|
4
|
-
omniscriptUrl?: string;
|
|
5
|
-
imageType?: string;
|
|
6
|
-
scale?: number;
|
|
7
|
-
crop?: boolean;
|
|
8
|
-
penStyle?: ScriptelPenStyle;
|
|
9
|
-
render?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare class ScriptelSocket extends EventEmitter {
|
|
12
|
-
private socket;
|
|
13
|
-
private options;
|
|
14
|
-
constructor(args: ScriptelSocketArgs);
|
|
15
|
-
calibrate(): void;
|
|
16
|
-
close(): void;
|
|
17
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import type { DeviceEndpoint, ScriptelDevice } from './classes';
|
|
2
|
-
import type { ScriptelMessageClass } from './enums';
|
|
3
|
-
export interface ConnectionOpen {
|
|
4
|
-
_class: ScriptelMessageClass.ConnectionOpen;
|
|
5
|
-
serverInfo: {
|
|
6
|
-
devices: DeviceEndpoint[];
|
|
7
|
-
hostname: string;
|
|
8
|
-
safe: boolean;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export interface DeviceOpenResponse {
|
|
12
|
-
_class: ScriptelMessageClass.DeviceOpenResponse;
|
|
13
|
-
device: ScriptelDevice;
|
|
14
|
-
}
|
|
15
|
-
export interface RenderedImage {
|
|
16
|
-
_class: ScriptelMessageClass.RenderedImage;
|
|
17
|
-
data: string;
|
|
18
|
-
height: number;
|
|
19
|
-
type: string;
|
|
20
|
-
width: number;
|
|
21
|
-
}
|
|
22
|
-
export interface ScriptelException {
|
|
23
|
-
_class: ScriptelMessageClass.ScriptelException;
|
|
24
|
-
message: string;
|
|
25
|
-
}
|
|
26
|
-
export interface ButtonPress {
|
|
27
|
-
_class: ScriptelMessageClass.ButtonPress;
|
|
28
|
-
accept: boolean;
|
|
29
|
-
clear: boolean;
|
|
30
|
-
id: number;
|
|
31
|
-
label: string;
|
|
32
|
-
}
|
|
33
|
-
export interface ButtonDown {
|
|
34
|
-
_class: ScriptelMessageClass.ButtonDown;
|
|
35
|
-
id: number;
|
|
36
|
-
label: string;
|
|
37
|
-
x: number;
|
|
38
|
-
y: number;
|
|
39
|
-
}
|
|
40
|
-
export interface PenMove {
|
|
41
|
-
_class: ScriptelMessageClass.PenMove;
|
|
42
|
-
time: number;
|
|
43
|
-
x: string;
|
|
44
|
-
y: string;
|
|
45
|
-
}
|
|
46
|
-
export interface PenUp {
|
|
47
|
-
_class: ScriptelMessageClass.PenUp;
|
|
48
|
-
time: number;
|
|
49
|
-
x: string;
|
|
50
|
-
y: string;
|
|
51
|
-
}
|
|
52
|
-
export type Message = ConnectionOpen | DeviceOpenResponse | RenderedImage | ScriptelException | ButtonPress | ButtonDown | PenMove | PenUp;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ScriptelProps } from './Scriptel';
|
|
2
|
-
/**
|
|
3
|
-
* A HoC that provides a connection to a Scriptel Omniscript device.
|
|
4
|
-
* You can only have a single connection open at a time.
|
|
5
|
-
* @param WrappedComponent
|
|
6
|
-
* @return {Object}
|
|
7
|
-
*/
|
|
8
|
-
export declare function withScriptel(WrappedComponent: any, scriptelProps: ScriptelProps): (props: any) => JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ScriptelSchemaType } from '@thx/yup-types';
|
|
2
|
-
export interface ScriptelInputProps {
|
|
3
|
-
value?: ScriptelSchemaType;
|
|
4
|
-
onChange?: (value?: ScriptelSchemaType) => void;
|
|
5
|
-
buttonText?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function ScriptelInput(props: ScriptelInputProps): JSX.Element;
|