@servicetitan/form 27.0.0 → 27.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/dist/color-picker/color-picker.js +1 -1
  2. package/dist/color-picker/color-picker.js.map +1 -1
  3. package/dist/date-range-picker/date-range-picker.js +2 -2
  4. package/dist/date-range-picker/date-range-picker.js.map +1 -1
  5. package/dist/demo/color-picker.js +2 -2
  6. package/dist/demo/color-picker.js.map +1 -1
  7. package/dist/demo/date-range-picker.js +1 -1
  8. package/dist/demo/date-range-picker.js.map +1 -1
  9. package/dist/demo/file-uploader.js +3 -3
  10. package/dist/demo/file-uploader.js.map +1 -1
  11. package/dist/demo/input-date-mask.js +1 -1
  12. package/dist/demo/input-date-mask.js.map +1 -1
  13. package/dist/demo/number-input.js +2 -2
  14. package/dist/demo/number-input.js.map +1 -1
  15. package/dist/demo/original-number-input.js +1 -1
  16. package/dist/demo/original-number-input.js.map +1 -1
  17. package/dist/file-uploader/config.js +1 -1
  18. package/dist/file-uploader/config.js.map +1 -1
  19. package/dist/file-uploader/file-uploader.d.ts +1 -1
  20. package/dist/file-uploader/file-uploader.d.ts.map +1 -1
  21. package/dist/file-uploader/file-uploader.js +2 -2
  22. package/dist/file-uploader/file-uploader.js.map +1 -1
  23. package/dist/file-uploader/uploader.js.map +1 -1
  24. package/dist/form-state-error-banner/form-state-error-banner.d.ts.map +1 -1
  25. package/dist/form-state-error-banner/form-state-error-banner.js +2 -2
  26. package/dist/form-state-error-banner/form-state-error-banner.js.map +1 -1
  27. package/dist/input-date-mask/input-date-mask.js +1 -1
  28. package/dist/input-date-mask/input-date-mask.js.map +1 -1
  29. package/dist/label/label.d.ts +1 -1
  30. package/dist/label/label.d.ts.map +1 -1
  31. package/dist/label/label.js +1 -1
  32. package/dist/label/label.js.map +1 -1
  33. package/dist/masked-input.d.ts +1 -1
  34. package/dist/masked-input.d.ts.map +1 -1
  35. package/dist/masked-input.js +1 -1
  36. package/dist/masked-input.js.map +1 -1
  37. package/dist/number-input/common-interfaces.d.ts +2 -2
  38. package/dist/number-input/common-interfaces.d.ts.map +1 -1
  39. package/dist/number-input/get-formatted-string.d.ts +1 -1
  40. package/dist/number-input/get-formatted-string.d.ts.map +1 -1
  41. package/dist/number-input/number-input.d.ts.map +1 -1
  42. package/dist/number-input/number-input.js.map +1 -1
  43. package/dist/number-input/process-value.js.map +1 -1
  44. package/dist/original-number-input/ordinal-number-input.js.map +1 -1
  45. package/package.json +11 -11
@@ -20,6 +20,6 @@ export const ColorPicker = ({ label, colors = colorPalette, value, preview: Prev
20
20
  const handleTriggerClick = () => {
21
21
  setIsOpen(isOpen => !isOpen);
22
22
  };
23
- return (_jsx("div", Object.assign({ ref: ref, className: "d-f" }, { children: _jsxs(Popover, Object.assign({ trigger: _jsx("div", { style: { background: value }, onClick: handleTriggerClick, className: Styles.colorPicker }), open: isOpen, direction: "rb", popoverContentClassName: "p-3", className: Styles.colorPickerPopover }, { children: [_jsx(BodyText, Object.assign({ size: "medium", className: "m-b-1" }, { children: label })), _jsx(Card, Object.assign({ padding: "thin" }, { children: _jsx(AnvilColorPicker, { colors: colors, value: value === null || value === void 0 ? void 0 : value.toLowerCase(), onChange: onChange }) })), Preview && _jsx(Preview, { color: value })] })) })));
23
+ return (_jsx("div", { ref: ref, className: "d-f", children: _jsxs(Popover, { trigger: _jsx("div", { style: { background: value }, onClick: handleTriggerClick, className: Styles.colorPicker }), open: isOpen, direction: "rb", popoverContentClassName: "p-3", className: Styles.colorPickerPopover, children: [_jsx(BodyText, { size: "medium", className: "m-b-1", children: label }), _jsx(Card, { padding: "thin", children: _jsx(AnvilColorPicker, { colors: colors, value: value === null || value === void 0 ? void 0 : value.toLowerCase(), onChange: onChange }) }), Preview && _jsx(Preview, { color: value })] }) }));
24
24
  };
25
25
  //# sourceMappingURL=color-picker.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"color-picker.js","sourceRoot":"","sources":["../../src/color-picker/color-picker.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QA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AK,uBAAL,KAAK,CAAE,WAAW,EAAE,EAC3B,QAAQ,EAAE,QAAQ,GACpB,GACC,EACN,OAAO,IAAI,KAAC,OAAO,IAAC,KAAK,EAAE,KAAK,GAAI,IAC/B,GACR,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -174,7 +174,7 @@ let DateRangePicker = class DateRangePicker extends Component {
174
174
  [Styles.popupCenter]: horizontalAlign === 'center',
175
175
  [Styles.popupRight]: horizontalAlign === 'right',
176
176
  });
177
- return (_jsxs("div", Object.assign({ className: classnames(Styles.dateRangePicker, className), ref: this.handleRef, onClick: this.handleClickDateRangePicker }, { children: [_jsx(DateRangePickerKendo, { className: Styles.dateRangePickerKendo, calendarSettings: {
177
+ return (_jsxs("div", { className: classnames(Styles.dateRangePicker, className), ref: this.handleRef, onClick: this.handleClickDateRangePicker, children: [_jsx(DateRangePickerKendo, { className: Styles.dateRangePickerKendo, calendarSettings: {
178
178
  min: minDate !== null && minDate !== void 0 ? minDate : calendarMinDate,
179
179
  max: maxDate !== null && maxDate !== void 0 ? maxDate : calendarMaxDate,
180
180
  topView,
@@ -190,7 +190,7 @@ let DateRangePicker = class DateRangePicker extends Component {
190
190
  tabIndex: -1,
191
191
  }, endDateInputSettings: {
192
192
  tabIndex: -1,
193
- }, show: this.showDatePicker, value: { start: (_a = value.from) !== null && _a !== void 0 ? _a : null, end: (_b = value.to) !== null && _b !== void 0 ? _b : null }, onChange: this.handleChange, min: minDate, max: maxDate, calendar: calendarComponent }), _jsxs(Stack, Object.assign({ alignItems: "center", className: "flex-grow-1" }, { children: [_jsx(Stack.Item, Object.assign({ fill: true }, { children: _jsx(InputDateMask, { shortLabel: _jsx(Icon, { name: "today", className: classnames(Styles.icon, `${qaTestingLocator}-icon-from`), onClick: this.handleClickIcon }), placeholder: placeHolder, value: value.from, onChange: this.handleFromChange, onBlur: this.handleFromChange, error: hasError, disabled: disabled, "qa-testing": `${qaTestingLocator}-from`, dateFormat: inputFormat, minDate: minDate, maxDate: this.maxFromDate, small: small, maskChar: maskChar }) })), _jsx(Icon, { name: "arrow_forward", className: Styles.endLabel }), _jsx(Stack.Item, Object.assign({ fill: true }, { children: _jsx(InputDateMask, { shortLabel: _jsx(Icon, { name: "today", className: classnames(Styles.icon, `${qaTestingLocator}-icon-to`), onClick: this.handleClickIcon }), placeholder: placeHolder, value: value.to, onChange: this.handleToChange, onBlur: this.handleToChange, error: hasError, disabled: disabled, "qa-testing": `${qaTestingLocator}-to`, dateFormat: inputFormat, minDate: this.minToDate, maxDate: maxDate, small: small, maskChar: maskChar }) }))] })), _jsx("input", { hidden: true, "qa-testing": qaTestingLocator, onChange: this.handleHiddenInputChange })] })));
193
+ }, show: this.showDatePicker, value: { start: (_a = value.from) !== null && _a !== void 0 ? _a : null, end: (_b = value.to) !== null && _b !== void 0 ? _b : null }, onChange: this.handleChange, min: minDate, max: maxDate, calendar: calendarComponent }), _jsxs(Stack, { alignItems: "center", className: "flex-grow-1", children: [_jsx(Stack.Item, { fill: true, children: _jsx(InputDateMask, { shortLabel: _jsx(Icon, { name: "today", className: classnames(Styles.icon, `${qaTestingLocator}-icon-from`), onClick: this.handleClickIcon }), placeholder: placeHolder, value: value.from, onChange: this.handleFromChange, onBlur: this.handleFromChange, error: hasError, disabled: disabled, "qa-testing": `${qaTestingLocator}-from`, dateFormat: inputFormat, minDate: minDate, maxDate: this.maxFromDate, small: small, maskChar: maskChar }) }), _jsx(Icon, { name: "arrow_forward", className: Styles.endLabel }), _jsx(Stack.Item, { fill: true, children: _jsx(InputDateMask, { shortLabel: _jsx(Icon, { name: "today", className: classnames(Styles.icon, `${qaTestingLocator}-icon-to`), onClick: this.handleClickIcon }), placeholder: placeHolder, value: value.to, onChange: this.handleToChange, onBlur: this.handleToChange, error: hasError, disabled: disabled, "qa-testing": `${qaTestingLocator}-to`, dateFormat: inputFormat, minDate: this.minToDate, maxDate: maxDate, small: small, maskChar: maskChar }) })] }), _jsx("input", { hidden: true, "qa-testing": qaTestingLocator, onChange: this.handleHiddenInputChange })] }));
194
194
  }
195
195
  formatDate(date, inputFormat = 'L') {
196
196
  return date ? moment(date).format(inputFormat) : '';
@@ -1 +1 @@
1
- {"version":3,"file":"date-range-picker.js","sourceRoot":"","sources":["../../src/date-range-picker/date-range-picker.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EAAiB,SAAS,EAAkB,MAAM,OAAO,CAAC;AACjE,OAAO,EACH,eAAe,IAAI,oBAAoB,GAM1C,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAEzE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,gCAAgC,CAAC;AA0BzD,IAAa,eAAe,GAA5B,MAAa,eAAgB,SAAQ,SAA+B;IAQhE,YAAY,KAA2B;QACnC,KAAK,CAAC,KAAK,CAAC,CAAC;QARjB,iDAAiD;QACrC;;;;;WAAoC;QAChD;;;;mBAAY,KAAK;WAAC;QACN;;;;mBAAiB,KAAK;WAAC;QACnC;;;;mBAAgB,KAAK;WAAC;QACtB;;;;mBAA2B,KAAK;WAAC;QAQjC;;;;mBAAY,CAAC,QAAwB,EAAE,EAAE;gBACrC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;YAC7B,CAAC;WAAC;QAOF;;;;mBAAoB,CAAC,GAAU,EAAE,EAAE;gBAC/B,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,YAAY,IAAI,CAAC,EAAE;oBAC/B,OAAO;iBACV;gBAED,MAAM,aAAa,GAAG,IAAI,CAAC,SAAS,CAAC;gBAErC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC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C9D,IAAI,sBAAsB,EAAE,CAAC;YACzB,OAAO,OAAO,CAAC;QACnB,CAAC;QAED,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;QACxD,IAAI,OAAO,IAAI,IAAI,EAAE,CAAC;YAClB,OAAO,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;QAC3C,CAAC;QAED,OAAO,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,IAAI,CAAC;IAC3B,CAAC;CACJ,CAAA;AAxQe;IAAX,UAAU;;iDAAqC;AAEpC;IAAX,UAAU;;uDAAwB;AAUnC;IADC,MAAM;;kDAGL;AAGF;IADC,MAAM;;;;iDAGN;AArBQ,eAAe;IAD3B,QAAQ;;GACI,eAAe,CA0Q3B"}
@@ -4,13 +4,13 @@ import { observer } from 'mobx-react';
4
4
  import { Text, Card, Tag } from '@servicetitan/design-system';
5
5
  import { ColorPicker } from '..';
6
6
  import { FieldState } from 'formstate';
7
- const Preview = ({ color, label }) => (_jsxs(Fragment, { children: [_jsx(Text, Object.assign({ size: 2, className: "m-t-3 m-b-1" }, { children: "Preview" })), _jsx(Card, Object.assign({ light: true, padding: "none" }, { children: _jsx(Tag, Object.assign({ color: color, className: "m-1-i" }, { children: label })) }))] }));
7
+ const Preview = ({ color, label }) => (_jsxs(Fragment, { children: [_jsx(Text, { size: 2, className: "m-t-3 m-b-1", children: "Preview" }), _jsx(Card, { light: true, padding: "none", children: _jsx(Tag, { color: color, className: "m-1-i", children: label }) })] }));
8
8
  function useColorField(initial) {
9
9
  return useRef(new FieldState(initial)).current;
10
10
  }
11
11
  export const ColorPickerExample = observer(() => {
12
12
  const defaultField = useColorField(undefined);
13
13
  const preview = useMemo(() => ({ color }) => _jsx(Preview, { label: "Confirmed Appointment", color: color }), []);
14
- return (_jsxs(Fragment, { children: [_jsx(Text, Object.assign({ size: 4, className: "m-b-half" }, { children: "Default" })), _jsx(ColorPicker, { label: "Tag Color", value: defaultField.value, onChange: defaultField.onChange, preview: preview })] }));
14
+ return (_jsxs(Fragment, { children: [_jsx(Text, { size: 4, className: "m-b-half", children: "Default" }), _jsx(ColorPicker, { label: "Tag Color", value: defaultField.value, onChange: defaultField.onChange, preview: preview })] }));
15
15
  });
16
16
  //# sourceMappingURL=color-picker.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"color-picker.js","sourceRoot":"","sources":["../../src/demo/color-picker.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAM,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,WAAW,EAA2B,MAAM,IAAI,CAAC;AAE1D,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAMvC,MAAM,OAAO,GAAqB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACpD,MAAC,QAAQ,eACL,KAAC,IAAI,kBAAC,IAAI,EAAE,CAAC,EAAE,SAAS,EAAC,aAAa,6BAE/B,EACP,KAAC,IAAI,kBAAC,KAAK,QAAC,OAAO,EAAC,MAAM,gBACtB,KAAC,GAAG,kBAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,OAAO,gBAC/B,KAAK,IACJ,IACH,IACA,CACd,CAAC;AAEF,SAAS,aAAa,CAA+B,OAAU;IAC3D,OAAO,MAAM,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;AACnD,CAAC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAO,QAAQ,CAAC,GAAG,EAAE;IAChD,MAAM,YAAY,GAAG,aAAa,CAAqB,SAAS,CA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,OAAO,MAAM,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;AACnD,CAAC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAO,QAAQ,CAAC,GAAG,EAAE;IAChD,MAAM,YAAY,GAAG,aAAa,CAAqB,SAAS,CAAC,CAAC;IAElE,MAAM,OAAO,GAAgC,OAAO,CAChD,GAAG,EAAE,CACD,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CACV,KAAC,OAAO,IAAC,KAAK,EAAC,uBAAuB,EAAC,KAAK,EAAE,KAAK,GAAI,EAC/D,EAAE,CACL,CAAC;IAEF,OAAO,CACH,MAAC,QAAQ,eACL,KAAC,IAAI,IAAC,IAAI,EAAE,CAAC,EAAE,SAAS,EAAC,UAAU,wBAE5B,EACP,KAAC,WAAW,IACR,KAAK,EAAC,WAAW,EACjB,KAAK,EAAE,YAAY,CAAC,KAAK,EACzB,QAAQ,EAAE,YAAY,CAAC,QAAQ,EAC/B,OAAO,EAAE,OAAO,GAClB,IACK,CACd,CAAC;AACN,CAAC,CAAC,CAAC"}
@@ -9,6 +9,6 @@ function useDateRangeField(initial) {
9
9
  }
10
10
  export const DateRangePickerExample = observer(() => {
11
11
  const defaultField = useDateRangeField(undefined);
12
- return (_jsxs(Fragment, { children: [_jsx(Text, Object.assign({ size: 4, className: "m-b-half" }, { children: "Default" })), _jsx(DateRangePicker, { maskChar: "X", field: defaultField, "qa-testing": "qa-date-range-picker", horizontalAlign: "right", small: true })] }));
12
+ return (_jsxs(Fragment, { children: [_jsx(Text, { size: 4, className: "m-b-half", children: "Default" }), _jsx(DateRangePicker, { maskChar: "X", field: defaultField, "qa-testing": "qa-date-range-picker", horizontalAlign: "right", small: true })] }));
13
13
  });
14
14
  //# sourceMappingURL=date-range-picker.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"date-range-picker.js","sourceRoot":"","sources":["../../src/demo/date-range-picker.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAA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AC,MAAM,sBAAsB,GAAO,QAAQ,CAAC,GAAG,EAAE;IACpD,MAAM,YAAY,GAAG,iBAAiB,CAAwB,SAAS,CAAC,CAAC;IAEzE,OAAO,CACH,MAAC,QAAQ,eACL,KAAC,IAAI,IAAC,IAAI,EAAE,CAAC,EAAE,SAAS,EAAC,UAAU,wBAE5B,EACP,KAAC,eAAe,IACZ,QAAQ,EAAC,GAAG,EACZ,KAAK,EAAE,YAAY,gBACR,sBAAsB,EACjC,eAAe,EAAC,OAAO,EACvB,KAAK,SACP,IACK,CACd,CAAC;AACN,CAAC,CAAC,CAAC"}
@@ -17,11 +17,11 @@ export const FileUploaderExample = observer(() => {
17
17
  const displayField = useFilesField([{ file: 'display.png' }]);
18
18
  const customField = useFilesField([]);
19
19
  const withExtensionValidation = useFilesField([]);
20
- return (_jsxs(Fragment, { children: [_jsx(BodyText, Object.assign({ size: "large", className: "m-b-half" }, { children: "Default" })), _jsx(FileUploader, { value: defaultField.value, onChange: defaultField.onChange, folderName: "test" }), _jsx(BodyText, Object.assign({ size: "large", className: "m-t-4 m-b-half" }, { children: "Multiple mode" })), _jsx(FileUploader, { value: multipleField.value, onChange: multipleField.onChange, folderName: "test", multiple: true }), _jsx(BodyText, Object.assign({ size: "large", className: "m-t-4 m-b-half" }, { children: "Display mode" })), _jsx(FileUploader, { value: displayField.value, folderName: "test", multiple: true }), _jsx(BodyText, Object.assign({ size: "large", className: "m-t-4 m-b-half" }, { children: "Custom configuration" })), _jsx(FileUploaderConfigurationProvider, Object.assign({ value: {
20
+ return (_jsxs(Fragment, { children: [_jsx(BodyText, { size: "large", className: "m-b-half", children: "Default" }), _jsx(FileUploader, { value: defaultField.value, onChange: defaultField.onChange, folderName: "test" }), _jsx(BodyText, { size: "large", className: "m-t-4 m-b-half", children: "Multiple mode" }), _jsx(FileUploader, { value: multipleField.value, onChange: multipleField.onChange, folderName: "test", multiple: true }), _jsx(BodyText, { size: "large", className: "m-t-4 m-b-half", children: "Display mode" }), _jsx(FileUploader, { value: displayField.value, folderName: "test", multiple: true }), _jsx(BodyText, { size: "large", className: "m-t-4 m-b-half", children: "Custom configuration" }), _jsx(FileUploaderConfigurationProvider, { value: {
21
21
  target: '/Custom/Upload/Url',
22
- } }, { children: _jsx(FileUploader, { value: customField.value, onChange: customField.onChange, folderName: "test", multiple: true, config: {
22
+ }, children: _jsx(FileUploader, { value: customField.value, onChange: customField.onChange, folderName: "test", multiple: true, config: {
23
23
  simultaneousUploads: 3,
24
- } }) })), _jsxs(BodyText, Object.assign({ size: "large", className: "m-t-4 m-b-half" }, { children: ["With file extension validation", ' ', _jsx(BodyText, Object.assign({ inline: true, el: "span" }, { children: "Try uploading not png" }))] })), _jsx(FileUploader, { value: withExtensionValidation.value, onChange: withExtensionValidation.onChange, folderName: "test", multiple: true, config: {
24
+ } }) }), _jsxs(BodyText, { size: "large", className: "m-t-4 m-b-half", children: ["With file extension validation", ' ', _jsx(BodyText, { inline: true, el: "span", children: "Try uploading not png" })] }), _jsx(FileUploader, { value: withExtensionValidation.value, onChange: withExtensionValidation.onChange, folderName: "test", multiple: true, config: {
25
25
  simultaneousUploads: 3,
26
26
  fileType: ['png'],
27
27
  } })] }));
@@ -1 +1 @@
1
- {"version":3,"file":"file-uploader.js","sourceRoot":"","sources":["../../src/demo/file-uploader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAM,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,iCAAiC,EAAkB,MAAM,IAAI,CAAC;AAErF,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,SAAS,aAAa,CAAC,OAAyB;IAC5C,OAAO,MAAM,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;AACnD,CAAC;AAED,MAA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Q,EAC9B,UAAU,EAAC,MAAM,EACjB,QAAQ,QACR,MAAM,EAAE;wBACJ,mBAAmB,EAAE,CAAC;qBACzB,GACH,GAC8B,EAEpC,MAAC,QAAQ,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,gBAAgB,+CACd,GAAG,EAClC,KAAC,QAAQ,IAAC,MAAM,QAAC,EAAE,EAAC,MAAM,sCAEf,IACJ,EAEX,KAAC,YAAY,IACT,KAAK,EAAE,uBAAuB,CAAC,KAAK,EACpC,QAAQ,EAAE,uBAAuB,CAAC,QAAQ,EAC1C,UAAU,EAAC,MAAM,EACjB,QAAQ,QACR,MAAM,EAAE;oBACJ,mBAAmB,EAAE,CAAC;oBACtB,QAAQ,EAAE,CAAC,KAAK,CAAC;iBACpB,GACH,IACK,CACd,CAAC;AACN,CAAC,CAAC,CAAC"}
@@ -9,6 +9,6 @@ function useInputDateMaskField(initial) {
9
9
  }
10
10
  export const InputDateMaskExample = observer(() => {
11
11
  const defaultField = useInputDateMaskField(undefined);
12
- return (_jsxs(Fragment, { children: [_jsx(Text, Object.assign({ size: 4, className: "m-b-half" }, { children: "Default" })), _jsx(InputDateMask, { value: defaultField.value, onChange: defaultField.onChange, shortLabel: _jsx(Icon, { name: "event" }) })] }));
12
+ return (_jsxs(Fragment, { children: [_jsx(Text, { size: 4, className: "m-b-half", children: "Default" }), _jsx(InputDateMask, { value: defaultField.value, onChange: defaultField.onChange, shortLabel: _jsx(Icon, { name: "event" }) })] }));
13
13
  });
14
14
  //# sourceMappingURL=input-date-mask.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"input-date-mask.js","sourceRoot":"","sources":["../../src/demo/input-date-mask.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAM,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;A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AC,CAAC;IAEtD,OAAO,CACH,MAAC,QAAQ,eACL,KAAC,IAAI,IAAC,IAAI,EAAE,CAAC,EAAE,SAAS,EAAC,UAAU,wBAE5B,EACP,KAAC,aAAa,IACV,KAAK,EAAE,YAAY,CAAC,KAAK,EACzB,QAAQ,EAAE,YAAY,CAAC,QAAQ,EAC/B,UAAU,EAAE,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,GAAG,GACnC,IACK,CACd,CAAC;AACN,CAAC,CAAC,CAAC"}
@@ -16,7 +16,7 @@ export const NumberInputExample = observer(() => {
16
16
  const limitedRangeFieldPreset = useNumberField(100);
17
17
  const precisionFieldPreset = useNumberField(3.6666666);
18
18
  const precisionFieldPresetExtreme = useNumberField(3.6666666);
19
- return (_jsxs(Fragment, { children: [_jsx(Text, Object.assign({ size: 4, className: "m-b-half" }, { children: "Default" })), _jsx(NumberInput, { value: defaultField.value, onChange: defaultField.onChange, emptyValue: undefined }), _jsx(Text, Object.assign({ size: 4, className: "m-t-4 m-b-half" }, { children: "Zero as empty value" })), _jsx(NumberInput, { value: zeroEmptyValueField.value, onChange: zeroEmptyValueField.onChange, emptyValue: 0 }), _jsx(Text, Object.assign({ size: 4, className: "m-t-4 m-b-half" }, { children: "Precision" })), _jsx(NumberInput, { value: precisionField.value, onChange: precisionField.onChange, emptyValue: undefined, decimalPlaces: 3 }), _jsx(Text, Object.assign({ size: 4, className: "m-t-4 m-b-half" }, { children: "Limited range" })), _jsx(NumberInput, { value: limitedRangeField.value, onChange: limitedRangeField.onChange, emptyValue: undefined, min: 3, max: 7 }), _jsx(Text, Object.assign({ size: 4, className: "m-t-4 m-b-half" }, { children: "Without thousands separator" })), _jsx(NumberInput, { value: withoutThousandsSeparator.value, onChange: withoutThousandsSeparator.onChange, emptyValue: undefined, decimalPlaces: 0, useEmptyThousandsSeparator: true }), _jsx("hr", { className: "m-y-4" }), _jsx(Text, Object.assign({ size: 4, className: "m-t-4 m-b-half" }, { children: "Preset value out of range" })), _jsx(StoredValueWrapper, Object.assign({ value: limitedRangeFieldPreset.value }, { children: _jsx(NumberInput, { value: limitedRangeFieldPreset.value, onChange: limitedRangeFieldPreset.onChange, emptyValue: undefined, min: 3, max: 7 }) })), _jsx(Text, Object.assign({ size: 4, className: "m-t-4 m-b-half" }, { children: "Preset value with precision out of limit" })), _jsx(StoredValueWrapper, Object.assign({ value: precisionFieldPreset.value }, { children: _jsx(NumberInput, { value: precisionFieldPreset.value, onChange: precisionFieldPreset.onChange, emptyValue: undefined, decimalPlaces: 3 }) })), _jsx(Text, Object.assign({ size: 4, className: "m-t-4 m-b-half" }, { children: "Preset value with precision out of limit (zero decimals allowed)" })), _jsx(StoredValueWrapper, Object.assign({ value: precisionFieldPresetExtreme.value }, { children: _jsx(NumberInput, { value: precisionFieldPresetExtreme.value, onChange: precisionFieldPresetExtreme.onChange, emptyValue: undefined, decimalPlaces: 0 }) }))] }));
19
+ return (_jsxs(Fragment, { children: [_jsx(Text, { size: 4, className: "m-b-half", children: "Default" }), _jsx(NumberInput, { value: defaultField.value, onChange: defaultField.onChange, emptyValue: undefined }), _jsx(Text, { size: 4, className: "m-t-4 m-b-half", children: "Zero as empty value" }), _jsx(NumberInput, { value: zeroEmptyValueField.value, onChange: zeroEmptyValueField.onChange, emptyValue: 0 }), _jsx(Text, { size: 4, className: "m-t-4 m-b-half", children: "Precision" }), _jsx(NumberInput, { value: precisionField.value, onChange: precisionField.onChange, emptyValue: undefined, decimalPlaces: 3 }), _jsx(Text, { size: 4, className: "m-t-4 m-b-half", children: "Limited range" }), _jsx(NumberInput, { value: limitedRangeField.value, onChange: limitedRangeField.onChange, emptyValue: undefined, min: 3, max: 7 }), _jsx(Text, { size: 4, className: "m-t-4 m-b-half", children: "Without thousands separator" }), _jsx(NumberInput, { value: withoutThousandsSeparator.value, onChange: withoutThousandsSeparator.onChange, emptyValue: undefined, decimalPlaces: 0, useEmptyThousandsSeparator: true }), _jsx("hr", { className: "m-y-4" }), _jsx(Text, { size: 4, className: "m-t-4 m-b-half", children: "Preset value out of range" }), _jsx(StoredValueWrapper, { value: limitedRangeFieldPreset.value, children: _jsx(NumberInput, { value: limitedRangeFieldPreset.value, onChange: limitedRangeFieldPreset.onChange, emptyValue: undefined, min: 3, max: 7 }) }), _jsx(Text, { size: 4, className: "m-t-4 m-b-half", children: "Preset value with precision out of limit" }), _jsx(StoredValueWrapper, { value: precisionFieldPreset.value, children: _jsx(NumberInput, { value: precisionFieldPreset.value, onChange: precisionFieldPreset.onChange, emptyValue: undefined, decimalPlaces: 3 }) }), _jsx(Text, { size: 4, className: "m-t-4 m-b-half", children: "Preset value with precision out of limit (zero decimals allowed)" }), _jsx(StoredValueWrapper, { value: precisionFieldPresetExtreme.value, children: _jsx(NumberInput, { value: precisionFieldPresetExtreme.value, onChange: precisionFieldPresetExtreme.onChange, emptyValue: undefined, decimalPlaces: 0 }) })] }));
20
20
  });
21
- const StoredValueWrapper = ({ children, value }) => (_jsxs(Stack, Object.assign({ alignItems: "baseline" }, { children: [children, _jsxs(Text, Object.assign({ size: 3, className: "m-l-3" }, { children: ["Stored value: ", value] }))] })));
21
+ const StoredValueWrapper = ({ children, value }) => (_jsxs(Stack, { alignItems: "baseline", children: [children, _jsxs(Text, { size: 3, className: "m-l-3", children: ["Stored value: ", value] })] }));
22
22
  //# sourceMappingURL=number-input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"number-input.js","sourceRoot":"","sources":["../../src/demo/number-input.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAyB,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,SAAS,cAAc,CAA+B,OAAU;IAC5D,OAAO,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C,UAAU,EAAC,UAAU,aACvB,QAAQ,EACT,MAAC,IAAI,IAAC,IAAI,EAAE,CAAC,EAAE,SAAS,EAAC,OAAO,+BACb,KAAK,IACjB,IACH,CACX,CAAC"}
@@ -9,6 +9,6 @@ function useOrdinalNumberInputField(initial) {
9
9
  }
10
10
  export const OrdinalNumberInputExample = observer(() => {
11
11
  const defaultField = useOrdinalNumberInputField(undefined);
12
- return (_jsxs(Fragment, { children: [_jsx(Text, Object.assign({ size: 4, className: "m-b-half" }, { children: "Default" })), _jsx(OrdinalNumberInput, { value: defaultField.value, onChange: defaultField.onChange, min: 1, max: 31, placeholder: "1 - 31" })] }));
12
+ return (_jsxs(Fragment, { children: [_jsx(Text, { size: 4, className: "m-b-half", children: "Default" }), _jsx(OrdinalNumberInput, { value: defaultField.value, onChange: defaultField.onChange, min: 1, max: 31, placeholder: "1 - 31" })] }));
13
13
  });
14
14
  //# sourceMappingURL=original-number-input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"original-number-input.js","sourceRoot":"","sources":["../../src/demo/original-number-input.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAM,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAEnD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,IAAI,CAAC;AAExC,SAAS,0BAA0B,CAA+B,OAAU;IACxE,OAAO,MAAM,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;AACnD,CAAC;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAO,QAAQ,CAAC,GAAG,EAAE;IACvD,MAAM,YAAY,GAAG,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAE3D,OAAO,CACH,MAAC,QAAQ,eACL,KAAC,IAAI,kBAAC,IAAI,EAAE,CAAC,EAAE,SAAS,EAAC,UAAU,6BAE5B,EACP,KAAC,kBAAkB,IACf,KAAK,EAAE,YAAY,CAAC,KAAK,EACzB,QAAQ,EAAE,YAAY,CAAC,QAAQ,EAC/B,GAAG,EAAE,CAAC,EACN,GAAG,EAAE,EAAE,EACP,WAAW,EAAC,QAAQ,GACtB,IACK,CACd,CAAC;AACN,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"original-number-input.js","sourceRoot":"","sources":["../../src/demo/original-number-input.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAM,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAEnD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,IAAI,CAAC;AAExC,SAAS,0BAA0B,CAA+B,OAAU;IACxE,OAAO,MAAM,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;AACnD,CAAC;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAO,QAAQ,CAAC,GAAG,EAAE;IACvD,MAAM,YAAY,GAAG,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAE3D,OAAO,CACH,MAAC,QAAQ,eACL,KAAC,IAAI,IAAC,IAAI,EAAE,CAAC,EAAE,SAAS,EAAC,UAAU,wBAE5B,EACP,KAAC,kBAAkB,IACf,KAAK,EAAE,YAAY,CAAC,KAAK,EACzB,QAAQ,EAAE,YAAY,CAAC,QAAQ,EAC/B,GAAG,EAAE,CAAC,EACN,GAAG,EAAE,EAAE,EACP,WAAW,EAAC,QAAQ,GACtB,IACK,CACd,CAAC;AACN,CAAC,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Provider, symbolToken } from '@servicetitan/react-ioc';
3
3
  export const FILE_UPLOADER_CONFIGURATION_TOKEN = symbolToken('FILE_UPLOADER_CONFIGURATION_TOKEN');
4
- export const FileUploaderConfigurationProvider = ({ value, children, }) => (_jsx(Provider, Object.assign({ singletons: [{ provide: FILE_UPLOADER_CONFIGURATION_TOKEN, useValue: value }] }, { children: children })));
4
+ export const FileUploaderConfigurationProvider = ({ value, children, }) => (_jsx(Provider, { singletons: [{ provide: FILE_UPLOADER_CONFIGURATION_TOKEN, useValue: value }], children: children }));
5
5
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/file-uploader/config.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAehE,MAAM,CAAC,MAAM,iCAAiC,GAAG,WAAW,CACxD,mCAAmC,CACtC,CAAC;AAMF,MAAM,CAAC,MAAM,iCAAiC,GAA+C,CAAC,EAC1F,KAAK,EACL,QAAQ,GACX,EAAE,EAAE,CAAC,CACF,KAAC,QAAQ,kBAAC,UAAU,EAAE,CAAC,EAAE,OAAO,EAAE,iCAAiC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,gBAClF,QAAQ,IACF,CACd,CAAC"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/file-uploader/config.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAehE,MAAM,CAAC,MAAM,iCAAiC,GAAG,WAAW,CACxD,mCAAmC,CACtC,CAAC;AAMF,MAAM,CAAC,MAAM,iCAAiC,GAA+C,CAAC,EAC1F,KAAK,EACL,QAAQ,GACX,EAAE,EAAE,CAAC,CACF,KAAC,QAAQ,IAAC,UAAU,EAAE,CAAC,EAAE,OAAO,EAAE,iCAAiC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,YAClF,QAAQ,GACF,CACd,CAAC"}
@@ -7,7 +7,7 @@ interface UploadError {
7
7
  file: File;
8
8
  message?: string;
9
9
  }
10
- declare type ExcludedFilePickerProps = 'onDelete' | 'onDownload' | 'onReplace' | 'onSelected' | 'value';
10
+ type ExcludedFilePickerProps = 'onDelete' | 'onDownload' | 'onReplace' | 'onSelected' | 'value';
11
11
  interface FileUploaderProps extends Omit<FilePickerProps, ExcludedFilePickerProps> {
12
12
  config?: FileUploaderConfig;
13
13
  value: FileDescriptor[];
@@ -1 +1 @@
1
- {"version":3,"file":"file-uploader.d.ts","sourceRoot":"","sources":["../../src/file-uploader/file-uploader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgB,MAAM,OAAO,CAAC;AAOhD,OAAO,EAAc,cAAc,EAAU,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAGlG,OAAO,EAAE,kBAAkB,EAAqC,MAAM,UAAU,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQtC,UAAU,WAAW;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AA4BD,aAAK,uBAAuB,GAAG,UAAU,GAAG,YAAY,GAAG,WAAW,GAAG,YAAY,GAAG,OAAO,CAAC;AAEhG,UAAU,iBAAkB,SAAQ,IAAI,CAAC,eAAe,EAAE,uBAAuB,CAAC;IAC9E,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;CAC5C;AAED,qBACa,YAAa,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IAC1D,MAAM,CAAC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AC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;CAC5C;AAED,qBACa,YAAa,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IAC1D,MAAM,CAAC,YAAY;;MAEjB;IAIM,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAExB,MAAM,EAAE,WAAW,EAAE,CAAM;IAEvC,QAAQ,EAAG,QAAQ,CAAC;gBAER,KAAK,EAAE,iBAAiB;IAMpC,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,MAAM;IASrC,WAAW;IAKX,oBAAoB,SAAU,IAAI,YAAY,MAAM,UAgBlD;IAGF,mBAAmB,SAAU,IAAI,YAAY,MAAM,UAiBjD;IAGF,iBAAiB,SAAU,IAAI,YAAY,MAAM,UAU/C;IAEF,iBAAiB;IAejB,oBAAoB;IAIpB,cAAc,SAAU,cAAc,UAWpC;IAEF,cAAc,UAAW,QAAQ,UAa/B;IAEF,aAAa,gCAAiC;QAAE,IAAI,EAAE,cAAc,CAAC;QAAC,OAAO,EAAE,IAAI,CAAA;KAAE,UAgBnF;IAEF,YAAY,aAAc,cAAc,UAQtC;IAEF,iBAAiB,aAEf;IAEF,MAAM;CAwDT"}
@@ -35,7 +35,7 @@ const UploadErrors = ({ errors, className, onClose, multiple }) => {
35
35
  const title = multiple
36
36
  ? 'One or more files could not be uploaded:'
37
37
  : 'Your file could not be uploaded';
38
- return (_jsx(Banner, Object.assign({ icon: true, status: "critical", title: title, className: className, onClose: onClose }, { children: _jsx("ul", Object.assign({ className: "p-x-0-i" }, { children: errors.map(({ id, file, message }) => (_jsxs("li", Object.assign({ style: !multiple ? { listStyle: 'none' } : {} }, { children: [multiple && file.name, message && (multiple ? ` (${message})` : message)] }), id))) })) })));
38
+ return (_jsx(Banner, { icon: true, status: "critical", title: title, className: className, onClose: onClose, children: _jsx("ul", { className: "p-x-0-i", children: errors.map(({ id, file, message }) => (_jsxs("li", { style: !multiple ? { listStyle: 'none' } : {}, children: [multiple && file.name, message && (multiple ? ` (${message})` : message)] }, id))) }) }));
39
39
  };
40
40
  let FileUploader = class FileUploader extends Component {
41
41
  constructor(props) {
@@ -199,7 +199,7 @@ let FileUploader = class FileUploader extends Component {
199
199
  onDelete: undefined,
200
200
  limitReached: true,
201
201
  };
202
- return (_jsxs(Fragment, { children: [!!this.errors.length && (_jsx(UploadErrors, { errors: this.errors, onClose: this.handleErrorsClose, className: "m-b-2", multiple: multiple })), _jsx(Confirm, Object.assign({ onConfirm: this.handleDelete, title: "Are you sure you want to delete this file?" }, { children: onDelete => (_jsx(FilePicker, Object.assign({ value: value.length ? value : undefined, onReplace: !hideReplace ? this.handleReplace : undefined, onSelected: this.handleSelected, onDelete: onDelete, onDownload: !hideDownload ? this.handleDownload : undefined, limitReached: limitReached, multiple: multiple }, rest, readonlyProps))) }))] }));
202
+ return (_jsxs(Fragment, { children: [!!this.errors.length && (_jsx(UploadErrors, { errors: this.errors, onClose: this.handleErrorsClose, className: "m-b-2", multiple: multiple })), _jsx(Confirm, { onConfirm: this.handleDelete, title: "Are you sure you want to delete this file?", children: onDelete => (_jsx(FilePicker, Object.assign({ value: value.length ? value : undefined, onReplace: !hideReplace ? this.handleReplace : undefined, onSelected: this.handleSelected, onDelete: onDelete, onDownload: !hideDownload ? this.handleDownload : undefined, limitReached: limitReached, multiple: multiple }, rest, readonlyProps))) })] }));
203
203
  }
204
204
  };
205
205
  Object.defineProperty(FileUploader, "defaultProps", {
@@ -1 +1 @@
1
- {"version":3,"file":"file-uploader.js","sourceRoot":"","sources":["../../src/file-uploader/file-uploader.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAM,MAAM,OAAO,CAAC;AAEhD,OAAO,EAA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I,EAAE,CAAC;oBAC9B,aAAa,CAAC,MAAM,EAAE,CAAC;oBACvB,MAAM;gBACV,CAAC;YACL,CAAC;QACL,CAAC;aAAM,CAAC;YACJ,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC;QAC5B,CAAC;IACL,CAAC;CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"form-state-error-banner.d.ts","sourceRoot":"","sources":["../../src/form-state-error-banner/form-state-error-banner.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAE7D,MAAM,WAAW,yBAAyB,CAAC,CAAC,SAAS,qBAAqB;IACtE,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,oBAAoB,4JA6BhC,CAAC"}
1
+ {"version":3,"file":"form-state-error-banner.d.ts","sourceRoot":"","sources":["../../src/form-state-error-banner/form-state-error-banner.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAE7D,MAAM,WAAW,yBAAyB,CAAC,CAAC,SAAS,qBAAqB;IACtE,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,oBAAoB,oFAM1B,0BAA0B,CAAC,CAAC,4CAuBlC,CAAC"}
@@ -14,8 +14,8 @@ export const FormStateErrorBanner = observer(({ form, className, errorTitle = 'F
14
14
  }
15
15
  const status = errors.length === 0 ? 'success' : 'critical';
16
16
  const title = errors.length === 0 ? successTitle : errorTitle;
17
- return (_jsx(Banner, Object.assign({ className: className, status: status, icon: true, title: title }, { children: _jsx("ul", { children: errors.map((e, index) => (
17
+ return (_jsx(Banner, { className: className, status: status, icon: true, title: title, children: _jsx("ul", { children: errors.map((e, index) => (
18
18
  // eslint-disable-next-line react/no-array-index-key
19
- _jsx("li", { children: e }, index))) }) })));
19
+ _jsx("li", { children: e }, index))) }) }));
20
20
  });
21
21
  //# sourceMappingURL=form-state-error-banner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-state-error-banner.js","sourceRoot":"","sources":["../../src/form-state-error-banner/form-state-error-banner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAUtC,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CACxC,CAAkC,EAC9B,IAAI,EACJ,SAAS,EACT,UAAU,GAAG,iBAAiB,EAC9B,YAAY,GAAG,eAAe,GACH,EAAE,EAAE;IAC/B,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,SAAS,EAAE,EAAE;QAC5C,IAAI,SAAS,CAAC,SAAS,EAAE;YACrB,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;SACpC;IACL,CAAC,CAAC,CAAC;IACH,IAAI,IAAI,CAAC,SAAS,EAAE;QAChB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KAC/B;IACD,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC;IAC5D,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,UAAU,CAAC;IAC9D,OAAO,CACH,KAAC,MAAM,kBAAC,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,QAAC,KAAK,EAAE,KAAK,gBAC3D,uBACK,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC;YACtB,oDAAoD;YACpD,uBAAiB,CAAC,IAAT,KAAK,CAAU,CAC3B,CAAC,GACD,IACA,CACZ,CAAC;AACN,CAAC,CACJ,CAAC"}
1
+ {"version":3,"file":"form-state-error-banner.js","sourceRoot":"","sources":["../../src/form-state-error-banner/form-state-error-banner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAUtC,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CACxC,CAAkC,EAC9B,IAAI,EACJ,SAAS,EACT,UAAU,GAAG,iBAAiB,EAC9B,YAAY,GAAG,eAAe,GACH,EAAE,EAAE;IAC/B,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,SAAS,EAAE,EAAE;QAC5C,IAAI,SAAS,CAAC,SAAS,EAAE,CAAC;YACtB,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;QACrC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;QACjB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAChC,CAAC;IACD,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC;IAC5D,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,UAAU,CAAC;IAC9D,OAAO,CACH,KAAC,MAAM,IAAC,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,QAAC,KAAK,EAAE,KAAK,YAC3D,uBACK,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC;YACtB,oDAAoD;YACpD,uBAAiB,CAAC,IAAT,KAAK,CAAU,CAC3B,CAAC,GACD,GACA,CACZ,CAAC;AACN,CAAC,CACJ,CAAC"}
@@ -93,6 +93,6 @@ export const InputDateMask = observer(({ className, maskChar = 'X', alwaysShowMa
93
93
  var { size } = _a, props = __rest(_a, ["size"]);
94
94
  return (_jsx("div", { children: _jsx(Input, Object.assign({}, props, { shortLabel: shortLabel, className: classes, small: true, fluid: true, error: realError, disabled: disabled, placeholder: realPlaceholder })) }));
95
95
  };
96
- return (_jsx(InputMask, Object.assign({ mask: mask, maskChar: maskChar, onChange: handleChange, onKeyDown: handleKeyDown, alwaysShowMask: alwaysShowMask, value: formatDate(value) || state.maskValue }, { children: renderFunction })));
96
+ return (_jsx(InputMask, { mask: mask, maskChar: maskChar, onChange: handleChange, onKeyDown: handleKeyDown, alwaysShowMask: alwaysShowMask, value: formatDate(value) || state.maskValue, children: renderFunction }));
97
97
  });
98
98
  //# sourceMappingURL=input-date-mask.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"input-date-mask.js","sourceRoot":"","sources":["../../src/input-date-mask/input-date-mask.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAmB,SAAS,EAA0C,MAAM,OAAO,CAAC;AAC3F,OAAO,EAAE,KAAK,EAAc,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,MAAM,MAAM,QAAQ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AC,CAAC;IAEF,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IAE/C,MAAM,SAAS,GAAG,KAAK,IAAI,YAAY,EAAE,IAAI,aAAa,EAAE,CAAC;IAE7D,MAAM,eAAe,GAAG,WAAW,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAEpE,MAAM,OAAO,GAAG,UAAU,CAAC,SAAS,EAAE,gBAAgB,EAAE,MAAM,CAAC,KAAK,EAAE;QAClE,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,SAAS;KAC5B,CAAC,CAAC;IAEH,MAAM,cAAc,GAAG,CAAC,EAAyD,EAAE,EAAE;YAA7D,EAAE,IAAI,OAAmD,EAA9C,KAAK,cAAhB,QAAkB,CAAF;QAA8C,OAAA,CAClF,wBACI,KAAC,KAAK,oBACE,KAAK,IACT,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,OAAO,EAClB,KAAK,QACL,KAAK,QACL,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,eAAe,IAC9B,GACA,CACT,CAAA;KAAA,CAAC;IAEF,OAAO,CACH,KAAC,SAAS,IACN,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,YAAY,EACtB,SAAS,EAAE,aAAa,EACxB,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,YAE1C,cAAqB,GACd,CACf,CAAC;AACN,CAAC,CACJ,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- declare type Direction = 'top' | 't' | 'right' | 'r' | 'bottom' | 'b' | 'left' | 'l' | 'topleft' | 'tl' | 'topright' | 'tr' | 'bottomleft' | 'bl' | 'bottomright' | 'br';
2
+ type Direction = 'top' | 't' | 'right' | 'r' | 'bottom' | 'b' | 'left' | 'l' | 'topleft' | 'tl' | 'topright' | 'tr' | 'bottomleft' | 'bl' | 'bottomright' | 'br';
3
3
  interface LabelProps {
4
4
  label: string;
5
5
  tooltip?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../src/label/label.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAK3B,aAAK,SAAS,GACR,KAAK,GACL,GAAG,GACH,OAAO,GACP,GAAG,GACH,QAAQ,GACR,GAAG,GACH,MAAM,GACN,GAAG,GACH,SAAS,GACT,IAAI,GACJ,UAAU,GACV,IAAI,GACJ,YAAY,GACZ,IAAI,GACJ,aAAa,GACb,IAAI,CAAC;AAEX,UAAU,UAAU;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAwBhC,CAAC"}
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../src/label/label.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAK3B,KAAK,SAAS,GACR,KAAK,GACL,GAAG,GACH,OAAO,GACP,GAAG,GACH,QAAQ,GACR,GAAG,GACH,MAAM,GACN,GAAG,GACH,SAAS,GACT,IAAI,GACJ,UAAU,GACV,IAAI,GACJ,YAAY,GACZ,IAAI,GACJ,aAAa,GACb,IAAI,CAAC;AAEX,UAAU,UAAU;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAwBhC,CAAC"}
@@ -2,5 +2,5 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import classNames from 'classnames';
3
3
  import { Stack, Icon, Text, Tooltip } from '@servicetitan/design-system';
4
4
  import * as Styles from './label.module.css';
5
- export const Label = ({ label, tooltip, tooltipDirection = 'r', hasError, error, }) => (_jsxs("div", Object.assign({ className: classNames(Styles.label, hasError && Styles.hasError) }, { children: [_jsxs(Stack, Object.assign({ className: Styles.text }, { children: [_jsx(Stack.Item, { children: label }), tooltip && (_jsx(Stack.Item, Object.assign({ className: Styles.tooltip }, { children: _jsx(Tooltip, Object.assign({ direction: tooltipDirection, text: tooltip }, { children: _jsx(Icon, { name: "info" }) })) })))] })), hasError && (_jsx(Text, Object.assign({ className: Styles.error, size: 1 }, { children: error })))] })));
5
+ export const Label = ({ label, tooltip, tooltipDirection = 'r', hasError, error, }) => (_jsxs("div", { className: classNames(Styles.label, hasError && Styles.hasError), children: [_jsxs(Stack, { className: Styles.text, children: [_jsx(Stack.Item, { children: label }), tooltip && (_jsx(Stack.Item, { className: Styles.tooltip, children: _jsx(Tooltip, { direction: tooltipDirection, text: tooltip, children: _jsx(Icon, { name: "info" }) }) }))] }), hasError && (_jsx(Text, { className: Styles.error, size: 1, children: error }))] }));
6
6
  //# sourceMappingURL=label.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"label.js","sourceRoot":"","sources":["../../src/label/label.tsx"],"names":[],"mappings":";AAAA,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAEzE,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AA4B7C,MAAM,CAAC,MAAM,KAAK,GAAmB,CAAC,EAClC,KAAK,EACL,OAAO,EACP,gBAAgB,GAAG,GAAG,EACtB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AI,IAAC,SAAS,EAAE,MAAM,CAAC,OAAO,YACjC,KAAC,OAAO,IAAC,SAAS,EAAE,gBAAgB,EAAE,IAAI,EAAE,OAAO,YAC/C,KAAC,IAAI,IAAC,IAAI,EAAC,MAAM,GAAG,GACd,GACD,CAChB,IACG,EACP,QAAQ,IAAI,CACT,KAAC,IAAI,IAAC,SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,YACjC,KAAK,GACH,CACV,IACC,CACT,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { FC, InputHTMLAttributes } from 'react';
2
2
  import { Props as ReactMaskedInputProps } from 'react-input-mask';
3
3
  import { FormInputProps } from '@servicetitan/design-system';
4
- declare type MaskedInputProps = FormInputProps & Omit<ReactMaskedInputProps, keyof InputHTMLAttributes<HTMLInputElement>>;
4
+ type MaskedInputProps = FormInputProps & Omit<ReactMaskedInputProps, keyof InputHTMLAttributes<HTMLInputElement>>;
5
5
  export declare const MaskedInput: FC<MaskedInputProps>;
6
6
  export {};
7
7
  //# sourceMappingURL=masked-input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"masked-input.d.ts","sourceRoot":"","sources":["../src/masked-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,mBAAmB,EAAe,MAAM,OAAO,CAAC;AAE7D,OAAuB,EAAE,KAAK,IAAI,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAClF,OAAO,EAAQ,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAEnE,aAAK,gBAAgB,GAAG,cAAc,GAClC,IAAI,CAAC,qBAAqB,EAAE,MAAM,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAE7E,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA+B5C,CAAC"}
1
+ {"version":3,"file":"masked-input.d.ts","sourceRoot":"","sources":["../src/masked-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,mBAAmB,EAAe,MAAM,OAAO,CAAC;AAE7D,OAAuB,EAAE,KAAK,IAAI,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAClF,OAAO,EAAQ,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAEnE,KAAK,gBAAgB,GAAG,cAAc,GAClC,IAAI,CAAC,qBAAqB,EAAE,MAAM,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAE7E,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA+B5C,CAAC"}
@@ -18,6 +18,6 @@ export const MaskedInput = (_a) => {
18
18
  onChange(e.target.value);
19
19
  };
20
20
  const renderFunction = (innerProps) => (_jsx(Form.Input, Object.assign({}, props, innerProps)));
21
- return (_jsx(ReactInputMask, Object.assign({ mask: mask, maskChar: maskChar, value: value, onChange: handleInputChange, placeholder: placeholder, disabled: disabled, formatChars: formatChars }, { children: renderFunction })));
21
+ return (_jsx(ReactInputMask, { mask: mask, maskChar: maskChar, value: value, onChange: handleInputChange, placeholder: placeholder, disabled: disabled, formatChars: formatChars, children: renderFunction }));
22
22
  };
23
23
  //# sourceMappingURL=masked-input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"masked-input.js","sourceRoot":"","sources":["../src/masked-input.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAEA,OAAO,cAAkD,MAAM,kBAAkB,CAAC;AAClF,OAAO,EAAE,IAAI,EAAkB,MAAM,6BAA6B,CAAC;AAKnE,MAAM,CAAC,MAAM,WAAW,GAAyB,CAAC,EASjD,EAAE,EAAE;QAT6C,EAC9C,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,WAAW,OAEd,EADM,KAAK,cARsC,mFASjD,CADW;IAER,MAAM,iBAAiB,GAAG,CAAC,CAAgC,EAAE,EAAE;QAC3D,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,MAAM,c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AAC;AACN,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
- export declare type EmptyValue = 0 | undefined;
2
- export declare type NumberValue<TEmpty extends EmptyValue> = TEmpty extends 0 ? number : number | undefined;
1
+ export type EmptyValue = 0 | undefined;
2
+ export type NumberValue<TEmpty extends EmptyValue> = TEmpty extends 0 ? number : number | undefined;
3
3
  export interface Range {
4
4
  min?: number;
5
5
  max?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"common-interfaces.d.ts","sourceRoot":"","sources":["../../src/number-input/common-interfaces.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU,GAAG,CAAC,GAAG,SAAS,CAAC;AACvC,oBAAY,WAAW,CAAC,MAAM,SAAS,UAAU,IAAI,MAAM,SAAS,CAAC,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AAEpG,MAAM,WAAW,KAAK;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,UAAU;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"common-interfaces.d.ts","sourceRoot":"","sources":["../../src/number-input/common-interfaces.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,CAAC,GAAG,SAAS,CAAC;AACvC,MAAM,MAAM,WAAW,CAAC,MAAM,SAAS,UAAU,IAAI,MAAM,SAAS,CAAC,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AAEpG,MAAM,WAAW,KAAK;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,UAAU;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACnB"}
@@ -1,5 +1,5 @@
1
1
  import { EmptyValue, NumberValue, Separators } from './common-interfaces';
2
- export declare type FormatNumber = (value: number, precision?: number, thousand?: string, decimal?: string) => string;
2
+ export type FormatNumber = (value: number, precision?: number, thousand?: string, decimal?: string) => string;
3
3
  interface GetFormattedStringOptions<TEmpty extends EmptyValue> {
4
4
  emptyValue: TEmpty;
5
5
  precision?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"get-formatted-string.d.ts","sourceRoot":"","sources":["../../src/number-input/get-formatted-string.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE1E,oBAAY,YAAY,GAAG,CACvB,KAAK,EAAE,MAAM,EACb,SAAS,CAAC,EAAE,MAAM,EAClB,QAAQ,CAAC,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,MAAM,KACf,MAAM,CAAC;AAEZ,UAAU,yBAAyB,CAAC,MAAM,SAAS,UAAU;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;CAC1B;AAED,wBAAgB,kBAAkB,CAAC,MAAM,SAAS,UAAU,EACxD,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,EAC1B,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE,yBAAyB,CAAC,MAAM,CAAC,EACxE,YAAY,GAAE,YAAkC,UAUnD"}
1
+ {"version":3,"file":"get-formatted-string.d.ts","sourceRoot":"","sources":["../../src/number-input/get-formatted-string.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE1E,MAAM,MAAM,YAAY,GAAG,CACvB,KAAK,EAAE,MAAM,EACb,SAAS,CAAC,EAAE,MAAM,EAClB,QAAQ,CAAC,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,MAAM,KACf,MAAM,CAAC;AAEZ,UAAU,yBAAyB,CAAC,MAAM,SAAS,UAAU;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;CAC1B;AAED,wBAAgB,kBAAkB,CAAC,MAAM,SAAS,UAAU,EACxD,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,EAC1B,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE,yBAAyB,CAAC,MAAM,CAAC,EACxE,YAAY,GAAE,YAAkC,UAUnD"}
@@ -1 +1 @@
1
- {"version":3,"file":"number-input.d.ts","sourceRoot":"","sources":["../../src/number-input/number-input.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAS,UAAU,EAAqB,MAAM,6BAA6B,CAAC;AAInF,OAAO,EAAE,YAAY,EAAsB,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAS9D,MAAM,WAAW,gBAAgB,CAAC,MAAM,SAAS,UAAU,CACvD,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,UAAU,CAAC;IAC9C,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAC9C;AAED,eAAO,MAAM,WAAW,wPAoMvB,CAAC"}
1
+ {"version":3,"file":"number-input.d.ts","sourceRoot":"","sources":["../../src/number-input/number-input.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAS,UAAU,EAAqB,MAAM,6BAA6B,CAAC;AAInF,OAAO,EAAE,YAA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CAAC;KAChB;SAAM,IAAI,MAAM,GAAG,GAAG,EAAE;QACrB,MAAM,GAAG,GAAG,CAAC;KAChB;IACD,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,GAAW;IACrC,QAAQ,GAAG,GAAG,GAAG,EAAE;QACf,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,CAAC;QACR,KAAK,EAAE;YACH,OAAO,GAAG,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC;QACjC;YACI,QAAQ,GAAG,GAAG,EAAE,EAAE;gBACd,KAAK,CAAC;oBACF,OAAO,GAAG,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC;gBACjC,KAAK,CAAC;oBACF,OAAO,GAAG,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC;gBACjC,KAAK,CAAC;oBACF,OAAO,GAAG,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC;gBACjC;oBACI,OAAO,GAAG,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC;aACpC;KACR;AACL,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,GAAW;IACrC,QAAQ,GAAG,GAAG,GAAG,EAAE;QACf,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,CAAC;QACR,KAAK,EAAE;YACH,OAAO,IAAI,CAAC;QAChB;YACI,QAAQ,GAAG,GAAG,EAAE,EAAE;gBACd,KAAK,CAAC;oBACF,OAAO,IAAI,CAAC;gBAChB,KAAK,CAAC;oBACF,OAAO,IAAI,CAAC;gBAChB,KAAK,CAAC;oBACF,OAAO,IAAI,CAAC;gBAChB;oBACI,OAAO,IAAI,CAAC;aACnB;KACR;AACL,CAAC"}
1
+ {"version":3,"file":"ordinal-number-input.js","sourceRoot":"","sources":["../../src/original-number-input/ordinal-number-input.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAc,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE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YACI,QAAQ,GAAG,GAAG,EAAE,EAAE,CAAC;gBACf,KAAK,CAAC;oBACF,OAAO,GAAG,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC;gBACjC,KAAK,CAAC;oBACF,OAAO,GAAG,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC;gBACjC,KAAK,CAAC;oBACF,OAAO,GAAG,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC;gBACjC;oBACI,OAAO,GAAG,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC;YACrC,CAAC;IACT,CAAC;AACL,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,GAAW;IACrC,QAAQ,GAAG,GAAG,GAAG,EAAE,CAAC;QAChB,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,CAAC;QACR,KAAK,EAAE;YACH,OAAO,IAAI,CAAC;QAChB;YACI,QAAQ,GAAG,GAAG,EAAE,EAAE,CAAC;gBACf,KAAK,CAAC;oBACF,OAAO,IAAI,CAAC;gBAChB,KAAK,CAAC;oBACF,OAAO,IAAI,CAAC;gBAChB,KAAK,CAAC;oBACF,OAAO,IAAI,CAAC;gBAChB;oBACI,OAAO,IAAI,CAAC;YACpB,CAAC;IACT,CAAC;AACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/form",
3
- "version": "27.0.0",
3
+ "version": "27.1.0",
4
4
  "description": "",
5
5
  "homepage": "https://docs.st.dev/docs/frontend/form",
6
6
  "repository": {
@@ -16,14 +16,14 @@
16
16
  "src"
17
17
  ],
18
18
  "devDependencies": {
19
- "@servicetitan/confirm": "^27.0.0",
20
- "@servicetitan/culture": "^27.0.0",
19
+ "@servicetitan/confirm": "^27.1.0",
20
+ "@servicetitan/culture": "^27.1.0",
21
21
  "@servicetitan/design-system": "~13.4.5",
22
- "@servicetitan/form-state": "^27.0.0",
23
- "@servicetitan/hash-browser-router": "^23.2.1",
24
- "@servicetitan/react-ioc": "^23.2.1",
22
+ "@servicetitan/form-state": "^27.1.0",
23
+ "@servicetitan/hash-browser-router": "^24.0.3",
24
+ "@servicetitan/react-ioc": "^24.0.3",
25
25
  "@servicetitan/tokens": ">=12.2.1",
26
- "@servicetitan/web-components": "^23.2.1",
26
+ "@servicetitan/web-components": "^24.0.3",
27
27
  "@types/react": "~18.2.55",
28
28
  "@types/react-input-mask": "~2.0.5",
29
29
  "@types/uuid": "~8.3.4",
@@ -37,10 +37,10 @@
37
37
  "resumablejs": "~1.0.2"
38
38
  },
39
39
  "peerDependencies": {
40
- "@servicetitan/confirm": "^27.0.0",
41
- "@servicetitan/culture": "^27.0.0",
40
+ "@servicetitan/confirm": "^27.1.0",
41
+ "@servicetitan/culture": "^27.1.0",
42
42
  "@servicetitan/design-system": ">=13.2.1",
43
- "@servicetitan/form-state": "^27.0.0",
43
+ "@servicetitan/form-state": "^27.1.0",
44
44
  "@servicetitan/react-ioc": ">21.0.0",
45
45
  "@servicetitan/tokens": ">=12.2.1",
46
46
  "accounting": "~0.4.1",
@@ -68,5 +68,5 @@
68
68
  "less": true,
69
69
  "webpack": false
70
70
  },
71
- "gitHead": "c3a087dfb1f9f41734d9aa15e8c688275dec17f0"
71
+ "gitHead": "b17946150c847cd846a5b5f5bca4054340d64df5"
72
72
  }