@servicetitan/form 23.4.0 → 24.0.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"date-range-picker.d.ts","sourceRoot":"","sources":["../../src/date-range-picker/date-range-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAEH,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,EACb,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAMrD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,MAAM,WAAW,oBAAoB;IACjC,KAAK,EAAE,UAAU,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACzC,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,eAAe,CAAC,EAAE,IAAI,CAAC;IACvB,eAAe,CAAC,EAAE,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,aAAa,CAAC,sBAAsB,CAAC,CAAC;IAC1D,oBAAoB,CAAC,EAAE,aAAa,CAAC,wBAAwB,CAAC,CAAC;IAC/D,aAAa,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,sBAAsB,CAAC,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ePicker 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, 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, 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, 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 })] })));
|
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,SAA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,sBAAsB,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QAC9D,IAAI,sBAAsB,EAAE;YACxB,OAAO,OAAO,CAAC;SAClB;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;YACjB,OAAO,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;SAC1C;QAED,OAAO,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,IAAI,CAAC;IAC3B,CAAC;CACJ,CAAA;AAvQe;IAAX,UAAU;;iDAAqC;AAEpC;IAAX,UAAU;;uDAAwB;AAUnC;IADC,MAAM;;kDAGL;AAGF;IADC,MAAM;;;;iDAGN;AArBQ,eAAe;IAD3B,QAAQ;;GACI,eAAe,CAyQ3B;SAzQY,eAAe"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@servicetitan/form",
|
3
|
-
"version": "
|
3
|
+
"version": "24.0.0",
|
4
4
|
"description": "",
|
5
5
|
"homepage": "https://docs.st.dev/docs/frontend/form",
|
6
6
|
"repository": {
|
@@ -16,12 +16,12 @@
|
|
16
16
|
"src"
|
17
17
|
],
|
18
18
|
"devDependencies": {
|
19
|
-
"@servicetitan/confirm": "^
|
20
|
-
"@servicetitan/culture": "^
|
21
|
-
"@servicetitan/design-system": ">=
|
22
|
-
"@servicetitan/form-state": "^
|
19
|
+
"@servicetitan/confirm": "^24.0.0",
|
20
|
+
"@servicetitan/culture": "^24.0.0",
|
21
|
+
"@servicetitan/design-system": ">=13.2.1",
|
22
|
+
"@servicetitan/form-state": "^24.0.0",
|
23
23
|
"@servicetitan/react-ioc": "^21.6.0",
|
24
|
-
"@servicetitan/tokens": ">=12.1
|
24
|
+
"@servicetitan/tokens": ">=12.2.1",
|
25
25
|
"@types/react": "~17.0.38",
|
26
26
|
"@types/react-input-mask": "~2.0.5",
|
27
27
|
"@types/uuid": "~8.3.4",
|
@@ -35,12 +35,12 @@
|
|
35
35
|
"resumablejs": "~1.0.2"
|
36
36
|
},
|
37
37
|
"peerDependencies": {
|
38
|
-
"@servicetitan/confirm": "^
|
39
|
-
"@servicetitan/culture": "^
|
40
|
-
"@servicetitan/design-system": ">=
|
41
|
-
"@servicetitan/form-state": "^
|
38
|
+
"@servicetitan/confirm": "^24.0.0",
|
39
|
+
"@servicetitan/culture": "^24.0.0",
|
40
|
+
"@servicetitan/design-system": ">=13.2.1",
|
41
|
+
"@servicetitan/form-state": "^24.0.0",
|
42
42
|
"@servicetitan/react-ioc": ">21.0.0",
|
43
|
-
"@servicetitan/tokens": ">=12.1
|
43
|
+
"@servicetitan/tokens": ">=12.2.1",
|
44
44
|
"accounting": "~0.4.1",
|
45
45
|
"formstate": "^2.1.0",
|
46
46
|
"mobx": "~6.6.0",
|
@@ -66,5 +66,5 @@
|
|
66
66
|
"less": true,
|
67
67
|
"webpack": false
|
68
68
|
},
|
69
|
-
"gitHead": "
|
69
|
+
"gitHead": "136cde3c32f5798d1c73dd456b16bd691d0cf257"
|
70
70
|
}
|
@@ -219,6 +219,7 @@ export class DateRangePicker extends Component<DateRangePickerProps> {
|
|
219
219
|
placeholder={placeHolder}
|
220
220
|
value={value.from}
|
221
221
|
onChange={this.handleFromChange}
|
222
|
+
onBlur={this.handleFromChange}
|
222
223
|
error={hasError}
|
223
224
|
disabled={disabled}
|
224
225
|
qa-testing={`${qaTestingLocator}-from`}
|
@@ -245,6 +246,7 @@ export class DateRangePicker extends Component<DateRangePickerProps> {
|
|
245
246
|
placeholder={placeHolder}
|
246
247
|
value={value.to}
|
247
248
|
onChange={this.handleToChange}
|
249
|
+
onBlur={this.handleToChange}
|
248
250
|
error={hasError}
|
249
251
|
disabled={disabled}
|
250
252
|
qa-testing={`${qaTestingLocator}-to`}
|