@servicetitan/table 22.5.0 → 23.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +28 -0
- package/dist/filters/column-menu-filters.js +1 -1
- package/dist/filters/column-menu-filters.js.map +1 -1
- package/dist/filters/datetime-filter/datetime-filter.d.ts.map +1 -1
- package/dist/filters/datetime-filter/datetime-filter.js +1 -2
- package/dist/filters/datetime-filter/datetime-filter.js.map +1 -1
- package/dist/filters/field-values-filter.d.ts.map +1 -1
- package/dist/filters/field-values-filter.js +1 -1
- package/dist/filters/field-values-filter.js.map +1 -1
- package/dist/filters/multiselect-filter.js +1 -1
- package/dist/filters/multiselect-filter.js.map +1 -1
- package/dist/filters/numeric-filter-extended/numeric-filter-extended.d.ts.map +1 -1
- package/dist/filters/numeric-filter-extended/numeric-filter-extended.js +1 -1
- package/dist/filters/numeric-filter-extended/numeric-filter-extended.js.map +1 -1
- package/dist/filters/range-filter/range-filter.d.ts.map +1 -1
- package/dist/filters/range-filter/range-filter.js +1 -2
- package/dist/filters/range-filter/range-filter.js.map +1 -1
- package/dist/filters/standard-filter-with-multiselect/filter-cell-ext.d.ts.map +1 -1
- package/dist/filters/standard-filter-with-multiselect/filter-cell-ext.js +2 -2
- package/dist/filters/standard-filter-with-multiselect/filter-cell-ext.js.map +1 -1
- package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.js +1 -1
- package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.js.map +1 -1
- package/dist/filters/time-filter/time-filter.d.ts.map +1 -1
- package/dist/filters/time-filter/time-filter.js +1 -2
- package/dist/filters/time-filter/time-filter.js.map +1 -1
- package/package.json +8 -8
- package/src/filters/column-menu-filters.tsx +1 -1
- package/src/filters/datetime-filter/datetime-filter.tsx +3 -4
- package/src/filters/field-values-filter.tsx +2 -1
- package/src/filters/multiselect-filter.tsx +1 -1
- package/src/filters/numeric-filter-extended/numeric-filter-extended.tsx +7 -1
- package/src/filters/range-filter/range-filter.tsx +4 -6
- package/src/filters/standard-filter-with-multiselect/filter-cell-ext.tsx +7 -1
- package/src/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.tsx +1 -1
- package/src/filters/time-filter/time-filter.tsx +2 -3
- package/dist/filters/datetime-filter/datetime-filter.module.css +0 -4
- package/dist/filters/range-filter/range-filter.module.css +0 -9
- package/dist/filters/time-filter/time-filter.module.css +0 -3
- package/src/filters/datetime-filter/datetime-filter.module.css +0 -4
- package/src/filters/datetime-filter/datetime-filter.module.css.d.ts +0 -4
- package/src/filters/range-filter/range-filter.module.css +0 -9
- package/src/filters/range-filter/range-filter.module.css.d.ts +0 -4
- package/src/filters/time-filter/time-filter.module.css +0 -3
- package/src/filters/time-filter/time-filter.module.css.d.ts +0 -3
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,31 @@
|
|
1
|
+
# v23.0.1 (Wed Sep 21 2022)
|
2
|
+
|
3
|
+
:tada: This release contains work from a new contributor! :tada:
|
4
|
+
|
5
|
+
Thank you, Armen Nalbandyan ([@armendeveloper](https://github.com/armendeveloper)), for all your work!
|
6
|
+
|
7
|
+
#### 🐛 Bug Fix
|
8
|
+
|
9
|
+
- RD-6767: Fixed Table column menu filters style after Anvil update [#153](https://github.com/servicetitan/anvil-uikit-contrib/pull/153) ([@armendeveloper](https://github.com/armendeveloper))
|
10
|
+
|
11
|
+
#### Authors: 1
|
12
|
+
|
13
|
+
- Armen Nalbandyan ([@armendeveloper](https://github.com/armendeveloper))
|
14
|
+
|
15
|
+
---
|
16
|
+
|
17
|
+
# v23.0.0 (Fri Sep 09 2022)
|
18
|
+
|
19
|
+
#### 💥 Breaking Change
|
20
|
+
|
21
|
+
- DS-1141: Updating dependencies for design-system, tokens, formstate, etc [#150](https://github.com/servicetitan/anvil-uikit-contrib/pull/150) ([@rgdelato](https://github.com/rgdelato))
|
22
|
+
|
23
|
+
#### Authors: 1
|
24
|
+
|
25
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
26
|
+
|
27
|
+
---
|
28
|
+
|
1
29
|
# v22.5.0 (Wed Aug 31 2022)
|
2
30
|
|
3
31
|
:tada: This release contains work from a new contributor! :tada:
|
@@ -3,7 +3,7 @@ import { TableColumnMenuFilter, } from '@servicetitan/design-system';
|
|
3
3
|
import { DropDownList } from '@progress/kendo-react-dropdowns';
|
4
4
|
export const StandardColumnMenuFilter = (props) => (_jsx(TableColumnMenuFilter, Object.assign({}, props, { expanded: true })));
|
5
5
|
export function renderCustomColumnMenuFilter(FilterCell, double) {
|
6
|
-
const filterUI = ({ firstFilterProps, secondFilterProps, logicData, logicValue, onLogicChange, }) => (_jsxs("div", { children: [_jsx(FilterCell, Object.assign({}, firstFilterProps)), double && (_jsxs("div", { children: [_jsx(DropDownList, { data: logicData, value: logicValue, onChange: onLogicChange, className: "k-filter-and", textField: "text" }), _jsx(FilterCell, Object.assign({}, secondFilterProps))] }))] }));
|
6
|
+
const filterUI = ({ firstFilterProps, secondFilterProps, logicData, logicValue, onLogicChange, }) => (_jsxs("div", { children: [_jsx(FilterCell, Object.assign({}, firstFilterProps)), double && (_jsxs("div", { children: [_jsx(DropDownList, { data: logicData, value: logicValue, onChange: onLogicChange, className: "k-filter-and m-b-1", textField: "text" }), _jsx(FilterCell, Object.assign({}, secondFilterProps))] }))] }));
|
7
7
|
return (props) => (_jsx(TableColumnMenuFilter, Object.assign({}, props, { filterUI: filterUI, expanded: true })));
|
8
8
|
}
|
9
9
|
//# sourceMappingURL=column-menu-filters.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"column-menu-filters.js","sourceRoot":"","sources":["../../src/filters/column-menu-filters.tsx"],"names":[],"mappings":";AACA,OAAO,EACH,qBAAqB,GAGxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAE/D,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,KAA2B,EAAE,EAAE,CAAC,CACrE,KAAC,qBAAqB,oBAAK,KAAK,IAAE,QAAQ,UAAG,CAChD,CAAC;AAEF,MAAM,UAAU,4BAA4B,CACxC,UAA+C,EAC/C,MAAgB;IAEhB,MAAM,QAAQ,GAAqC,CAAC,EAChD,gBAAgB,EAChB,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,aAAa,GAChB,EAAE,EAAE,CAAC,CACF,0BACI,KAAC,UAAU,oBAAK,gBAAgB,EAAI,EACnC,MAAM,IAAI,CACP,0BACI,KAAC,YAAY,IACT,IAAI,EAAE,SAAS,EACf,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,aAAa,EACvB,SAAS,EAAC,
|
1
|
+
{"version":3,"file":"column-menu-filters.js","sourceRoot":"","sources":["../../src/filters/column-menu-filters.tsx"],"names":[],"mappings":";AACA,OAAO,EACH,qBAAqB,GAGxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAE/D,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,KAA2B,EAAE,EAAE,CAAC,CACrE,KAAC,qBAAqB,oBAAK,KAAK,IAAE,QAAQ,UAAG,CAChD,CAAC;AAEF,MAAM,UAAU,4BAA4B,CACxC,UAA+C,EAC/C,MAAgB;IAEhB,MAAM,QAAQ,GAAqC,CAAC,EAChD,gBAAgB,EAChB,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,aAAa,GAChB,EAAE,EAAE,CAAC,CACF,0BACI,KAAC,UAAU,oBAAK,gBAAgB,EAAI,EACnC,MAAM,IAAI,CACP,0BACI,KAAC,YAAY,IACT,IAAI,EAAE,SAAS,EACf,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,aAAa,EACvB,SAAS,EAAC,oBAAoB,EAC9B,SAAS,EAAC,MAAM,GAClB,EACF,KAAC,UAAU,oBAAK,iBAAiB,EAAI,IACnC,CACT,IACC,CACT,CAAC;IAEF,OAAO,CAAC,KAA2B,EAAE,EAAE,CAAC,CACpC,KAAC,qBAAqB,oBAAK,KAAK,IAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,UAAG,CACpE,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"datetime-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/datetime-filter/datetime-filter.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"datetime-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/datetime-filter/datetime-filter.tsx"],"names":[],"mappings":";AA+EA,eAAO,MAAM,wBAAwB,oFAAyD,CAAC"}
|
@@ -15,7 +15,6 @@ import { DropDownList } from '@progress/kendo-react-dropdowns';
|
|
15
15
|
import { DatePicker, TimePicker, } from '@progress/kendo-react-dateinputs';
|
16
16
|
import { IsUnaryFilter, cellOperatorChange, } from '@progress/kendo-react-grid/dist/npm/filterCommon';
|
17
17
|
import { renderCustomColumnMenuFilter } from '../column-menu-filters';
|
18
|
-
import * as Styles from './datetime-filter.module.css';
|
19
18
|
let DateTimeFilterCell = class DateTimeFilterCell extends Component {
|
20
19
|
constructor(props) {
|
21
20
|
var _a;
|
@@ -52,7 +51,7 @@ let DateTimeFilterCell = class DateTimeFilterCell extends Component {
|
|
52
51
|
makeObservable(this);
|
53
52
|
}
|
54
53
|
render() {
|
55
|
-
return (_jsxs(Fragment, { children: [_jsx(DropDownList, { value: this.operator, onChange: this.handleOperatorChange, data: this.props.operators, dataItemKey: "operator", textField: "text" }), !IsUnaryFilter(this.operator.operator) && (_jsxs(Fragment, { children: [_jsx(DatePicker, { value: this.props.value, onChange: this.handleChange, className:
|
54
|
+
return (_jsxs(Fragment, { children: [_jsx(DropDownList, { value: this.operator, onChange: this.handleOperatorChange, data: this.props.operators, dataItemKey: "operator", className: "m-b-1", textField: "text" }), !IsUnaryFilter(this.operator.operator) && (_jsxs(Fragment, { children: [_jsx(DatePicker, { value: this.props.value, onChange: this.handleChange, className: "m-b-1" }), _jsx(TimePicker, { value: this.props.value, onChange: this.handleChange, className: "m-b-1" })] }))] }));
|
56
55
|
}
|
57
56
|
};
|
58
57
|
__decorate([
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"datetime-filter.js","sourceRoot":"","sources":["../../../src/filters/datetime-filter/datetime-filter.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,EAAE,YAAY,EAA2B,MAAM,iCAAiC,CAAC;AACxF,OAAO,EACH,UAAU,EAEV,UAAU,GAEb,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EACH,aAAa,EACb,kBAAkB,GACrB,MAAM,kDAAkD,CAAC;AAI1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;
|
1
|
+
{"version":3,"file":"datetime-filter.js","sourceRoot":"","sources":["../../../src/filters/datetime-filter/datetime-filter.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,EAAE,YAAY,EAA2B,MAAM,iCAAiC,CAAC;AACxF,OAAO,EACH,UAAU,EAEV,UAAU,GAEb,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EACH,aAAa,EACb,kBAAkB,GACrB,MAAM,kDAAkD,CAAC;AAI1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AAGtE,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,SAA+B;IAK5D,YAAY,KAA2B;;QACnC,KAAK,CAAC,KAAK,CAAC,CAAC;QALL;;;;mBACR,MAAA,IAAI,CAAC,KAAK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EAAC,OAAO,GACnB,EACF,KAAC,UAAU,IACP,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EACvB,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,SAAS,EAAC,OAAO,GACnB,IACK,CACd,IACM,CACd,CAAC;IACN,CAAC;CACJ,CAAA;AArDe;IAAX,UAAU;;oDAEiB;AAQ5B;IADC,MAAM;;gEAIL;AAdA,kBAAkB;IADvB,QAAQ;;GACH,kBAAkB,CAsDvB;AAED,MAAM,CAAC,MAAM,wBAAwB,GAAG,4BAA4B,CAAC,kBAAkB,EAAE,IAAI,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"field-values-filter.d.ts","sourceRoot":"","sources":["../../src/filters/field-values-filter.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAc,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C,wBAAgB,QAAQ,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,WAE9C;AAED,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,GAAG,SAAS,MAAM,GAAG,KAAK,EACrE,UAAU,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,CAAC,EAC9B,UAAU,GAAE,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,MAA0B,
|
1
|
+
{"version":3,"file":"field-values-filter.d.ts","sourceRoot":"","sources":["../../src/filters/field-values-filter.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAc,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C,wBAAgB,QAAQ,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,WAE9C;AAED,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,GAAG,SAAS,MAAM,GAAG,KAAK,EACrE,UAAU,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,CAAC,EAC9B,UAAU,GAAE,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,MAA0B,sFAkHhE"}
|
@@ -96,7 +96,7 @@ export function fieldValuesColumnMenuFilter(tableState, renderItem = defaultRend
|
|
96
96
|
this.fetchData(tableState.dataSource);
|
97
97
|
}
|
98
98
|
render() {
|
99
|
-
return (_jsxs(Fragment, { children: [_jsx(Input, { value: this.searchQuery, onChange: this.handleSearchQueryChange, placeholder: "Search" }), this.processedData.map(item => (_jsx("span", Object.assign({ className: "k-widget" }, { children: _jsx(Checkbox, { label: item.text, checked: this.value.includes(item.value), onChange: this.handleChange, value: item }) }), JSON.stringify(item))))] }));
|
99
|
+
return (_jsxs(Fragment, { children: [_jsx(Input, { value: this.searchQuery, onChange: this.handleSearchQueryChange, placeholder: "Search", className: "m-b-1" }), this.processedData.map(item => (_jsx("span", Object.assign({ className: "k-widget d-b m-b-1" }, { children: _jsx(Checkbox, { label: item.text, checked: this.value.includes(item.value), onChange: this.handleChange, value: item }) }), JSON.stringify(item))))] }));
|
100
100
|
}
|
101
101
|
fetchData(dataSource) {
|
102
102
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"field-values-filter.js","sourceRoot":"","sources":["../../src/filters/field-values-filter.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAwB,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAa,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAEjF,OAAO,EAAE,KAAK,EAAoB,MAA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AE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC;gBAE5E,WAAW,CAAC,GAAG,EAAE;oBACb,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;gBAClF,CAAC,CAAC,CAAC;YACP,CAAC;SAAA;KACJ,CAAA;IAvGe;QAAX,UAAU;;uDAAmB;IAElB;QAAX,UAAU;;8DAAkB;IAEnB;QAAT,QAAQ;;;8DAcR;IAES;QAAT,QAAQ;;;sDAQR;IAES;QAAT,QAAQ;;;sDAER;IAQD;QADC,MAAM;;0EAKL;IA7CA,qBAAqB;QAD1B,QAAQ;;OACH,qBAAqB,CAwG1B;IAED,OAAO,4BAA4B,CAAC,qBAAqB,CAAC,CAAC;AAC/D,CAAC;AAED,SAAS,iBAAiB,CAAC,CAAM;IAC7B,IAAI,CAAC,IAAI,IAAI,EAAE;QACX,OAAO,EAAE,CAAC;KACb;IAED,4BAA4B;IAC5B,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC;AACxB,CAAC"}
|
@@ -22,7 +22,7 @@ class Selector extends Component {
|
|
22
22
|
const { options, value, renderer } = this.props;
|
23
23
|
return options.map((option, index) => (
|
24
24
|
// eslint-disable-next-line react/no-array-index-key
|
25
|
-
_jsx("span", Object.assign({ className: "k-widget" }, { children: _jsx(Checkbox, { value: option, label: renderer ? renderer(option) : option, checked: (value !== null && value !== void 0 ? value : []).includes(option), onChange: this.handleChange }) }), index)));
|
25
|
+
_jsx("span", Object.assign({ className: "k-widget m-b-1-i d-b" }, { children: _jsx(Checkbox, { value: option, label: renderer ? renderer(option) : option, checked: (value !== null && value !== void 0 ? value : []).includes(option), onChange: this.handleChange }) }), index)));
|
26
26
|
}
|
27
27
|
}
|
28
28
|
export function multiSelectColumnMenuFilter(data, renderItem) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"multiselect-filter.js","sourceRoot":"","sources":["../../src/filters/multiselect-filter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAiC,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAwB,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAE7E,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AASrE,MAAM,QAAY,SAAQ,SAA2B;IAArD;;QACI;;;;mBAAe,CAAC,MAAS,EAAE,OAAgB,EAAE,KAAuC,EAAE,EAAE;;gBACpF,MAAM,QAAQ,GAAG,OAAO;oBACpB,CAAC,CAAC,CAAC,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,mCAAI,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC;oBACzC,CAAC,CAAC,CAAC,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,mCAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC;gBAEzD,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;YACvE,CAAC;WAAC;IAiBN,CAAC;IAfG,MAAM;QACF,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QAEhD,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QAClC,oDAAoD;QACpD,6BAAkB,SAAS,EAAC,
|
1
|
+
{"version":3,"file":"multiselect-filter.js","sourceRoot":"","sources":["../../src/filters/multiselect-filter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAiC,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAwB,QAAQ,EAAE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;YAE7B,OAAO,CACH,KAAC,QAAQ,IACL,OAAO,EAAE,IAAI,EACb,KAAK,EAAE,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,EACvC,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,QAAQ,EAAE,UAAU,GACtB,CACL,CAAC;QACN,CAAC;KACJ;IAED,OAAO,4BAA4B,CAAC,UAAU,CAAC,CAAC;AACpD,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"numeric-filter-extended.d.ts","sourceRoot":"","sources":["../../../src/filters/numeric-filter-extended/numeric-filter-extended.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"numeric-filter-extended.d.ts","sourceRoot":"","sources":["../../../src/filters/numeric-filter-extended/numeric-filter-extended.tsx"],"names":[],"mappings":";AA8DA,eAAO,MAAM,qBAAqB,kFAA2D,CAAC"}
|
@@ -21,7 +21,7 @@ const NumericExtFilterCell = ({ operators, operator = '', value, onChange, }) =>
|
|
21
21
|
};
|
22
22
|
const isUnary = (typeof operator === 'string' && IsUnaryFilter(operator)) ||
|
23
23
|
isNumericExtendedOperator(operator);
|
24
|
-
return (_jsxs("div", { children: [_jsx(DropDownList, { value: operatorValue, onChange: handleOperatorChange, data: operatorsExt, textField: "text" }), _jsx(NumericTextBox, { value: value, onChange: handleInputChange, disabled: isUnary })] }));
|
24
|
+
return (_jsxs("div", { children: [_jsx(DropDownList, { className: "m-b-1", value: operatorValue, onChange: handleOperatorChange, data: operatorsExt, textField: "text" }), _jsx(NumericTextBox, { value: value, onChange: handleInputChange, disabled: isUnary, className: "m-b-1" })] }));
|
25
25
|
};
|
26
26
|
export const NumericFilterExtended = renderCustomColumnMenuFilter(NumericExtFilterCell, true);
|
27
27
|
//# sourceMappingURL=numeric-filter-extended.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"numeric-filter-extended.js","sourceRoot":"","sources":["../../../src/filters/numeric-filter-extended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AAC,CAAC;IAExC,OAAO,CACH,0BACI,KAAC,YAAY,IACT,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,oBAAoB,EAC9B,IAAI,EAAE,YAAY,EAClB,SAAS,EAAC,MAAM,GAClB,EACF,KAAC,cAAc,
|
1
|
+
{"version":3,"file":"numeric-filter-extended.js","sourceRoot":"","sources":["../../../src/filters/numeric-filter-extended/numeric-filter-extended.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,cAAc,EAA6B,MAAM,8BAA8B,CAAC;AACzF,OAAO,EAAE,YAAY,EAA2B,MAAM,iCAAiC,CAAC;AAGxF,OAAO,EACH,aAAa,EACb,kBAAkB,GACrB,MAAM,kDAAkD,CAAC;AAE1D,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAEnG,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AACtE,EAAE;AAEF,4GAA4G;AAC5G,MAAM,oBAAoB,GAAuC,CAAC,EAC9D,SAAS,EACT,QAAQ,GAAG,EAAE,EACb,KAAK,EACL,QAAQ,GACX,EAAE,EAAE;IACD,MAAM,YAAY,GAAG,SAAS,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC;IAChE,MAAM,aAAa,GAAG,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC;IAE5E,MAAM,iBAAiB,GAAG,CAAC,CAA4B,EAAE,EAAE,CACvD,QAAQ,CAAC;QACL,QAAQ;QACR,KAAK,EAAE,CAAC,CAAC,KAAK;QACd,cAAc,EAAE,CAAC,CAAC,cAAc;KACnC,CAAC,CAAC;IAEP,MAAM,oBAAoB,GAAG,CAAC,KAA8B,EAAE,EAAE;QAC5D,qDAAqD;QACrD,MAAM,QAAQ,GAAG,yBAAyB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;QACvF,kBAAkB,CAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAClD,CAAC,CAAC;IAEF,MAAM,OAAO,GACT,CAAC,OAAO,QAAQ,KAAK,QAAQ,IAAI,aAAa,CAAC,QAAQ,CAAC,CAAC;QACzD,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IAExC,OAAO,CACH,0BACI,KAAC,YAAY,IACT,SAAS,EAAC,OAAO,EACjB,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,oBAAoB,EAC9B,IAAI,EAAE,YAAY,EAClB,SAAS,EAAC,MAAM,GAClB,EACF,KAAC,cAAc,IACX,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,iBAAiB,EAC3B,QAAQ,EAAE,OAAO,EACjB,SAAS,EAAC,OAAO,GACnB,IACA,CACT,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,4BAA4B,CAAC,oBAAoB,EAAE,IAAI,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"range-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/range-filter/range-filter.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"range-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/range-filter/range-filter.tsx"],"names":[],"mappings":";AAoJA,eAAO,MAAM,4BAA4B,oFAAuD,CAAC;AACjG,eAAO,MAAM,6BAA6B,oFAAwD,CAAC;AACnG,eAAO,MAAM,yBAAyB,oFAAoD,CAAC;AAC3F,eAAO,MAAM,yBAAyB,oFAAoD,CAAC"}
|
@@ -4,7 +4,6 @@ import { DatePicker, TimePicker } from '@progress/kendo-react-dateinputs';
|
|
4
4
|
import { NumericTextBox } from '@progress/kendo-react-inputs';
|
5
5
|
import moment from 'moment';
|
6
6
|
import { renderCustomColumnMenuFilter } from '../column-menu-filters';
|
7
|
-
import * as Styles from './range-filter.module.css';
|
8
7
|
const NoSSR = ({ children }) => {
|
9
8
|
const [isMounted, setIsMounted] = useState(false);
|
10
9
|
useEffect(() => {
|
@@ -79,7 +78,7 @@ class RangeFilterCellBase extends Component {
|
|
79
78
|
render() {
|
80
79
|
const filterValue = this.props.value;
|
81
80
|
const Control = this.controlClass;
|
82
|
-
return (_jsxs(Fragment, { children: [_jsx("span", Object.assign({ className: "k-widget" }, { children: "From:" })), _jsx("span",
|
81
|
+
return (_jsxs(Fragment, { children: [_jsx("span", Object.assign({ className: "k-widget m-b-1 d-b" }, { children: "From:" })), _jsx("span", { children: _jsx(NoSSR, { children: _jsx(Control, Object.assign({}, this.controlProps, { value: filterValue === null || filterValue === void 0 ? void 0 : filterValue.min, ref: this.setMinValueRef, onChange: this.onChange })) }) }), _jsx("span", Object.assign({ className: "k-widget m-t-1 m-b-1 d-b" }, { children: "To:" })), _jsx("span", { children: _jsx(NoSSR, { children: _jsx(Control, Object.assign({}, this.controlProps, { value: filterValue === null || filterValue === void 0 ? void 0 : filterValue.max, ref: this.setMaxValueRef, onChange: this.onChange })) }) })] }));
|
83
82
|
}
|
84
83
|
}
|
85
84
|
class NumericRangeFilterCell extends RangeFilterCellBase {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"range-filter.js","sourceRoot":"","sources":["../../../src/filters/range-filter/range-filter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAqB,MAAM,OAAO,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAE1E,OAAO,EAAE,cAAc,EAAuB,MAAM,8BAA8B,CAAC;AACnF,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;
|
1
|
+
{"version":3,"file":"range-filter.js","sourceRoot":"","sources":["../../../src/filters/range-filter/range-filter.tsx"],"names":[],"mappings":";A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AC;AAC3F,MAAM,CAAC,MAAM,yBAAyB,GAAG,4BAA4B,CAAC,mBAAmB,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"filter-cell-ext.d.ts","sourceRoot":"","sources":["../../../src/filters/standard-filter-with-multiselect/filter-cell-ext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,EAAe,MAAM,OAAO,CAAC;AAKjE,OAAO,EAMH,aAAa,EACb,kBAAkB,EACrB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,6BAA6B,IAAI,8BAA8B,EAAE,MAAM,yEAAyE,CAAC;AAS1J,UAAU,kBAAkB;IACxB,KAAK,EAAE,GAAG,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAmB,SAAQ,8BAA8B;IACtE,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gCAAgC,CAAC,EAAE,OAAO,CAAC;IAC3C,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,qBAAqB,CAAC,CAAC,EAAE,EAAE,YAAY,CAAC,aAAa,CAAC,EAAE,SAAS,EAAE,aAAa,GAAG,SAAS,CAAC;IAC7F,oBAAoB,CAAC,CACjB,OAAO,EAAE,kBAAkB,EAC3B,EAAE,EAAE,YAAY,CAAC,aAAa,CAAC,GAChC,YAAY,CAAC,aAAa,CAAC,CAAC;IAC/B,2BAA2B,CAAC,CAAC,OAAO,EAAE,YAAY,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC;CAClF;AAGD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,
|
1
|
+
{"version":3,"file":"filter-cell-ext.d.ts","sourceRoot":"","sources":["../../../src/filters/standard-filter-with-multiselect/filter-cell-ext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,EAAe,MAAM,OAAO,CAAC;AAKjE,OAAO,EAMH,aAAa,EACb,kBAAkB,EACrB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,6BAA6B,IAAI,8BAA8B,EAAE,MAAM,yEAAyE,CAAC;AAS1J,UAAU,kBAAkB;IACxB,KAAK,EAAE,GAAG,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAmB,SAAQ,8BAA8B;IACtE,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gCAAgC,CAAC,EAAE,OAAO,CAAC;IAC3C,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,qBAAqB,CAAC,CAAC,EAAE,EAAE,YAAY,CAAC,aAAa,CAAC,EAAE,SAAS,EAAE,aAAa,GAAG,SAAS,CAAC;IAC7F,oBAAoB,CAAC,CACjB,OAAO,EAAE,kBAAkB,EAC3B,EAAE,EAAE,YAAY,CAAC,aAAa,CAAC,GAChC,YAAY,CAAC,aAAa,CAAC,CAAC;IAC/B,2BAA2B,CAAC,CAAC,OAAO,EAAE,YAAY,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC;CAClF;AAGD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA6I/C,CAAC"}
|
@@ -76,7 +76,7 @@ export const FilterCellExt = observer(props => {
|
|
76
76
|
store.searchQuery &&
|
77
77
|
(!props.handleCustomValuesAsNumber || !isNaN(+store.searchQuery))) ||
|
78
78
|
false;
|
79
|
-
return (_jsxs("div", { children: [_jsx(DropDownList, { value: store.operatorValue, onChange: handleOperatorChange, data: store.operators, textField: "text" }), (typeof operator !== 'string' || !IsUnaryFilter(operator)) &&
|
80
|
-
(isMultiselectOperator(operator) ? (_jsx(MultiSelect, { value: store.multiselectValue, onChange: handleMultiselectChange, filterable: true, onFilterChange: store.filterChange, allowCustom: allowCustomAdd, data: store.filteredVisibleValues, textField: "text", dataItemKey: "value", header: allowCustomAdd && _jsx("div", { className: Styles.customItemAddMarker }), footer: allowCustomAdd ? (_jsxs("div", Object.assign({ className: Styles.returnToUse }, { children: [_jsx(Icon, { name: "keyboard_return" }), "to create filter"] }))) : (store.onlyFirstValues && (_jsxs("div", Object.assign({ className: Styles.returnToUse }, { children: ["First ", store.onlyFirstValues, " values are shown. ", _jsx("br", {}), "Type to search for other values."] })))), itemRender: multiselectItemRender, tagRender: multiselectTagRender, listNoDataRender: multiselectListNoDataRender })) : (_jsx("input", { className: "k-
|
79
|
+
return (_jsxs("div", { children: [_jsx(DropDownList, { value: store.operatorValue, onChange: handleOperatorChange, data: store.operators, className: "m-b-1", textField: "text" }), (typeof operator !== 'string' || !IsUnaryFilter(operator)) &&
|
80
|
+
(isMultiselectOperator(operator) ? (_jsx(MultiSelect, { value: store.multiselectValue, onChange: handleMultiselectChange, filterable: true, onFilterChange: store.filterChange, allowCustom: allowCustomAdd, data: store.filteredVisibleValues, textField: "text", dataItemKey: "value", className: "m-b-1", header: allowCustomAdd && _jsx("div", { className: Styles.customItemAddMarker }), footer: allowCustomAdd ? (_jsxs("div", Object.assign({ className: Styles.returnToUse }, { children: [_jsx(Icon, { name: "keyboard_return" }), "to create filter"] }))) : (store.onlyFirstValues && (_jsxs("div", Object.assign({ className: Styles.returnToUse }, { children: ["First ", store.onlyFirstValues, " values are shown. ", _jsx("br", {}), "Type to search for other values."] })))), itemRender: multiselectItemRender, tagRender: multiselectTagRender, listNoDataRender: multiselectListNoDataRender })) : (_jsx("input", { className: "k-input k-input-md k-rounded-md k-input-solid m-b-1", value: props.value, onChange: handleInputChange })))] }));
|
81
81
|
});
|
82
82
|
//# sourceMappingURL=filter-cell-ext.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":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,EAAE,iBAAiB,GAC7B,CACL,CAAC,IACJ,CACT,CAAC;AACN,CAAC,CAAC,CAAC"}
|
@@ -62,7 +62,7 @@ export function standardFilterWithMultiselect(optionsConfig = {}, filterCellConf
|
|
62
62
|
},
|
63
63
|
}), props);
|
64
64
|
const { firstFilterProps, secondFilterProps, hideSecondFilter, logicData, logicValue, onLogicChange, } = props;
|
65
|
-
return (_jsxs("div", { children: [_jsx(FilterCellExt, Object.assign({}, firstFilterProps, { options: store.options }, filterCellConfigFull)), !hideSecondFilter && (_jsxs("div", { children: [_jsx(DropDownList, { data: logicData, value: logicValue, onChange: onLogicChange, className: "k-filter-and", textField: "text" }), _jsx(FilterCellExt, Object.assign({}, secondFilterProps, { options: store.options }, filterCellConfigFull))] }))] }));
|
65
|
+
return (_jsxs("div", { children: [_jsx(FilterCellExt, Object.assign({}, firstFilterProps, { options: store.options }, filterCellConfigFull)), !hideSecondFilter && (_jsxs("div", { children: [_jsx(DropDownList, { data: logicData, value: logicValue, onChange: onLogicChange, className: "k-filter-and m-b-1-i", textField: "text" }), _jsx(FilterCellExt, Object.assign({}, secondFilterProps, { options: store.options }, filterCellConfigFull))] }))] }));
|
66
66
|
});
|
67
67
|
return (props) => (_jsx(TableColumnMenuFilterExt, Object.assign({}, props, { filterUI: FilterUIWithValues, expanded: true })));
|
68
68
|
}
|
package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"standard-filter-with-multiselect.js","sourceRoot":"","sources":["../../../src/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAO/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC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EAAC,
|
1
|
+
{"version":3,"file":"standard-filter-with-multiselect.js","sourceRoot":"","sources":["../../../src/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAO/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAsB,MAAM,mBAAmB,CAAC;AA+BtE;;;GAGG;AAEH,MAAM,UAAU,6BAA6B,CACzC,gBAAuC,EAAE,EACzC,mBAAqC,EAAE;IAEvC,MAAM,iBAAiB,mBACnB,kBAAkB,EAAE,EAAE,EACtB,OAAO,EAAE,EAAc,IACpB,aAAa,CACnB,CAAC;IAEF,MAAM,oBAAoB,mBACtB,iBAAiB,EAAE,IAAI,EACvB,cAAc,EAAE,IAAI,IACjB,gBAAgB,CACtB,CAAC;IAEF,8BAA8B;IAC9B,MAAM,kBAAkB,GAAqC,QAAQ,CAAC,KAAK,CAAC,EAAE;QAC1E,MAAM,KAAK,GAAG,aAAa,CACvB,MAAM,CAAC,EAAE,CAAC,CAAC;YACP,IAAI,KAAK;gBACL,OAAO,MAAM,CAAC,gBAAgB,CAAC,KAAgB,CAAC;YACpD,CAAC;YACD,IAAI,mBAAmB;;gBACnB,MAAM,UAAU,GAAG,MAAA,iBAAiB,CAAC,UAAU,0CAAE,UAAU,CAAC;gBAC5D,OAAO,UAAU,IAAI,IAAI,CAAC,KAAK,IAAI,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;YAC3E,CAAC;YACD,IAAI,oBAAoB;gBACpB,IACI,CAAC,IAAI,CAAC,mBAAmB;oBACzB,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,KAAK,KAAK,WAAW,CA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,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,aAAa,GAChB,GAAG,KAAK,CAAC;QAEV,OAAO,CACH,0BACI,KAAC,aAAa,oBACN,gBAAgB,IACpB,OAAO,EAAE,KAAK,CAAC,OAAO,IAClB,oBAAoB,EAC1B,EACD,CAAC,gBAAgB,IAAI,CAClB,0BACI,KAAC,YAAY,IACT,IAAI,EAAE,SAAS,EACf,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,aAAa,EACvB,SAAS,EAAC,sBAAsB,EAChC,SAAS,EAAC,MAAM,GAClB,EACF,KAAC,aAAa,oBACN,iBAAiB,IACrB,OAAO,EAAE,KAAK,CAAC,OAAO,IAClB,oBAAoB,EAC1B,IACA,CACT,IACC,CACT,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,KAA2B,EAAE,EAAE,CAAC,CACpC,KAAC,wBAAwB,oBAAK,KAAK,IAAE,QAAQ,EAAE,kBAAkB,EAAE,QAAQ,UAAG,CACjF,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"time-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/time-filter/time-filter.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"time-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/time-filter/time-filter.tsx"],"names":[],"mappings":";AAmEA,eAAO,MAAM,oBAAoB,oFAAqD,CAAC"}
|
@@ -15,7 +15,6 @@ import { DropDownList } from '@progress/kendo-react-dropdowns';
|
|
15
15
|
import { TimePicker } from '@progress/kendo-react-dateinputs';
|
16
16
|
import { IsUnaryFilter, cellOperatorChange, } from '@progress/kendo-react-grid/dist/npm/filterCommon';
|
17
17
|
import { renderCustomColumnMenuFilter } from '../column-menu-filters';
|
18
|
-
import * as Styles from './time-filter.module.css';
|
19
18
|
let TimeFilterCell = class TimeFilterCell extends Component {
|
20
19
|
constructor(props) {
|
21
20
|
var _a;
|
@@ -52,7 +51,7 @@ let TimeFilterCell = class TimeFilterCell extends Component {
|
|
52
51
|
makeObservable(this);
|
53
52
|
}
|
54
53
|
render() {
|
55
|
-
return (_jsxs(Fragment, { children: [_jsx(DropDownList, { value: this.operator, onChange: this.handleOperatorChange, data: this.props.operators, dataItemKey: "operator", textField: "text" }), !IsUnaryFilter(this.operator.operator) && (_jsx(TimePicker, { value: this.props.value, onChange: this.handleChange, className:
|
54
|
+
return (_jsxs(Fragment, { children: [_jsx(DropDownList, { value: this.operator, onChange: this.handleOperatorChange, data: this.props.operators, dataItemKey: "operator", className: "m-b-1", textField: "text" }), !IsUnaryFilter(this.operator.operator) && (_jsx(TimePicker, { value: this.props.value, onChange: this.handleChange, className: "m-b-1" }))] }));
|
56
55
|
}
|
57
56
|
};
|
58
57
|
__decorate([
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"time-filter.js","sourceRoot":"","sources":["../../../src/filters/time-filter/time-filter.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,EAAE,YAAY,EAA2B,MAAM,iCAAiC,CAAC;AACxF,OAAO,EAAE,UAAU,EAAyB,MAAM,kCAAkC,CAAC;AAErF,OAAO,EACH,aAAa,EACb,kBAAkB,GACrB,MAAM,kDAAkD,CAAC;AAI1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;
|
1
|
+
{"version":3,"file":"time-filter.js","sourceRoot":"","sources":["../../../src/filters/time-filter/time-filter.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAA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C,KAAK,CAAC,QAAQ,mCAAI,EAAE;oBACnC,cAAc,EAAE,KAAK,CAAC,cAAc;iBACvC,CAAC,CAAC;YACP,CAAC;WAAC;QAjBE,cAAc,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC;IAkBD,MAAM;QACF,OAAO,CACH,MAAC,QAAQ,eACL,KAAC,YAAY,IACT,KAAK,EAAE,IAAI,CAAC,QAAQ,EACpB,QAAQ,EAAE,IAAI,CAAC,oBAAoB,EACnC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAC1B,WAAW,EAAC,UAAU,EACtB,SAAS,EAAC,OAAO,EACjB,SAAS,EAAC,MAAM,GAClB,EACD,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CACvC,KAAC,UAAU,IACP,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EACvB,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,SAAS,EAAC,OAAO,GACnB,CACL,IACM,CACd,CAAC;IACN,CAAC;CACJ,CAAA;AA9Ce;IAAX,UAAU;;gDAEiB;AAQ5B;IADC,MAAM;;4DAIL;AAdA,cAAc;IADnB,QAAQ;;GACH,cAAc,CA+CnB;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@servicetitan/table",
|
3
|
-
"version": "
|
3
|
+
"version": "23.0.1",
|
4
4
|
"description": "",
|
5
5
|
"homepage": "https://docs.st.dev/docs/frontend/table",
|
6
6
|
"repository": {
|
@@ -36,9 +36,9 @@
|
|
36
36
|
"memoize-one": "~6.0.0"
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
|
-
"@servicetitan/data-query": "^
|
40
|
-
"@servicetitan/design-system": "
|
41
|
-
"@servicetitan/form": "^
|
39
|
+
"@servicetitan/data-query": "^23.0.1",
|
40
|
+
"@servicetitan/design-system": ">=12.4.1",
|
41
|
+
"@servicetitan/form": "^23.0.1",
|
42
42
|
"@servicetitan/react-ioc": "^21.6.0",
|
43
43
|
"@servicetitan/suppress-warnings": "^21.6.0",
|
44
44
|
"@types/accounting": "~0.4.2",
|
@@ -52,9 +52,9 @@
|
|
52
52
|
"react": "~17.0.2"
|
53
53
|
},
|
54
54
|
"peerDependencies": {
|
55
|
-
"@servicetitan/data-query": "^
|
56
|
-
"@servicetitan/design-system": "
|
57
|
-
"@servicetitan/form": "^
|
55
|
+
"@servicetitan/data-query": "^23.0.1",
|
56
|
+
"@servicetitan/design-system": ">=12.4.1",
|
57
|
+
"@servicetitan/form": "^23.0.1",
|
58
58
|
"@servicetitan/react-ioc": ">21.0.0",
|
59
59
|
"@servicetitan/suppress-warnings": ">21.0.0",
|
60
60
|
"accounting": "~0.4.1",
|
@@ -71,5 +71,5 @@
|
|
71
71
|
"cli": {
|
72
72
|
"webpack": false
|
73
73
|
},
|
74
|
-
"gitHead": "
|
74
|
+
"gitHead": "4387cde88bad7da178f3a7ad846b941170c5c874"
|
75
75
|
}
|
@@ -20,8 +20,6 @@ import { TableFilterCellProps } from '@servicetitan/design-system';
|
|
20
20
|
|
21
21
|
import { renderCustomColumnMenuFilter } from '../column-menu-filters';
|
22
22
|
|
23
|
-
import * as Styles from './datetime-filter.module.css';
|
24
|
-
|
25
23
|
@observer
|
26
24
|
class DateTimeFilterCell extends Component<TableFilterCellProps> {
|
27
25
|
@observable operator =
|
@@ -57,6 +55,7 @@ class DateTimeFilterCell extends Component<TableFilterCellProps> {
|
|
57
55
|
onChange={this.handleOperatorChange}
|
58
56
|
data={this.props.operators}
|
59
57
|
dataItemKey="operator"
|
58
|
+
className="m-b-1"
|
60
59
|
textField="text"
|
61
60
|
/>
|
62
61
|
{!IsUnaryFilter(this.operator.operator) && (
|
@@ -64,12 +63,12 @@ class DateTimeFilterCell extends Component<TableFilterCellProps> {
|
|
64
63
|
<DatePicker
|
65
64
|
value={this.props.value}
|
66
65
|
onChange={this.handleChange}
|
67
|
-
className=
|
66
|
+
className="m-b-1"
|
68
67
|
/>
|
69
68
|
<TimePicker
|
70
69
|
value={this.props.value}
|
71
70
|
onChange={this.handleChange}
|
72
|
-
className=
|
71
|
+
className="m-b-1"
|
73
72
|
/>
|
74
73
|
</Fragment>
|
75
74
|
)}
|
@@ -95,10 +95,11 @@ export function fieldValuesColumnMenuFilter<T, TId extends IdType = never>(
|
|
95
95
|
value={this.searchQuery}
|
96
96
|
onChange={this.handleSearchQueryChange}
|
97
97
|
placeholder="Search"
|
98
|
+
className="m-b-1"
|
98
99
|
/>
|
99
100
|
|
100
101
|
{this.processedData.map(item => (
|
101
|
-
<span key={JSON.stringify(item)} className="k-widget">
|
102
|
+
<span key={JSON.stringify(item)} className="k-widget d-b m-b-1">
|
102
103
|
<Checkbox
|
103
104
|
label={item.text}
|
104
105
|
checked={this.value.includes(item.value)}
|
@@ -25,7 +25,7 @@ class Selector<T> extends Component<SelectorProps<T>> {
|
|
25
25
|
|
26
26
|
return options.map((option, index) => (
|
27
27
|
// eslint-disable-next-line react/no-array-index-key
|
28
|
-
<span key={index} className="k-widget">
|
28
|
+
<span key={index} className="k-widget m-b-1-i d-b">
|
29
29
|
<Checkbox
|
30
30
|
value={option}
|
31
31
|
label={renderer ? renderer(option) : option}
|
@@ -44,12 +44,18 @@ const NumericExtFilterCell: FC<TableColumnMenuFilterCellProps> = ({
|
|
44
44
|
return (
|
45
45
|
<div>
|
46
46
|
<DropDownList
|
47
|
+
className="m-b-1"
|
47
48
|
value={operatorValue}
|
48
49
|
onChange={handleOperatorChange}
|
49
50
|
data={operatorsExt}
|
50
51
|
textField="text"
|
51
52
|
/>
|
52
|
-
<NumericTextBox
|
53
|
+
<NumericTextBox
|
54
|
+
value={value}
|
55
|
+
onChange={handleInputChange}
|
56
|
+
disabled={isUnary}
|
57
|
+
className="m-b-1"
|
58
|
+
/>
|
53
59
|
</div>
|
54
60
|
);
|
55
61
|
};
|
@@ -6,8 +6,6 @@ import moment from 'moment';
|
|
6
6
|
|
7
7
|
import { renderCustomColumnMenuFilter } from '../column-menu-filters';
|
8
8
|
|
9
|
-
import * as Styles from './range-filter.module.css';
|
10
|
-
|
11
9
|
// TODO: remove when Kendo fix the propType bug of DatePicker
|
12
10
|
type ComponentClassWithBrokenPropTypes<P> = ComponentType<P> & { defaultProps?: any };
|
13
11
|
|
@@ -72,8 +70,8 @@ class RangeFilterCellBase<T, TProps = void> extends Component<TableFilterCellPro
|
|
72
70
|
const Control = this.controlClass;
|
73
71
|
return (
|
74
72
|
<Fragment>
|
75
|
-
<span className="k-widget">From:</span>
|
76
|
-
<span
|
73
|
+
<span className="k-widget m-b-1 d-b">From:</span>
|
74
|
+
<span>
|
77
75
|
{/* KendoNumericTextBox uses useLayoutEffect which is incompatible with SSR */}
|
78
76
|
<NoSSR>
|
79
77
|
<Control
|
@@ -84,8 +82,8 @@ class RangeFilterCellBase<T, TProps = void> extends Component<TableFilterCellPro
|
|
84
82
|
/>
|
85
83
|
</NoSSR>
|
86
84
|
</span>
|
87
|
-
<span className="k-widget">To:</span>
|
88
|
-
<span
|
85
|
+
<span className="k-widget m-t-1 m-b-1 d-b">To:</span>
|
86
|
+
<span>
|
89
87
|
{/* KendoNumericTextBox uses useLayoutEffect which is incompatible with SSR */}
|
90
88
|
<NoSSR>
|
91
89
|
<Control
|
@@ -140,6 +140,7 @@ export const FilterCellExt: FC<FilterCellExtProps> = observer(props => {
|
|
140
140
|
value={store.operatorValue}
|
141
141
|
onChange={handleOperatorChange}
|
142
142
|
data={store.operators}
|
143
|
+
className="m-b-1"
|
143
144
|
textField="text"
|
144
145
|
/>
|
145
146
|
{(typeof operator !== 'string' || !IsUnaryFilter(operator)) &&
|
@@ -153,6 +154,7 @@ export const FilterCellExt: FC<FilterCellExtProps> = observer(props => {
|
|
153
154
|
data={store.filteredVisibleValues}
|
154
155
|
textField="text"
|
155
156
|
dataItemKey="value"
|
157
|
+
className="m-b-1"
|
156
158
|
header={allowCustomAdd && <div className={Styles.customItemAddMarker} />}
|
157
159
|
footer={
|
158
160
|
allowCustomAdd ? (
|
@@ -174,7 +176,11 @@ export const FilterCellExt: FC<FilterCellExtProps> = observer(props => {
|
|
174
176
|
listNoDataRender={multiselectListNoDataRender}
|
175
177
|
/>
|
176
178
|
) : (
|
177
|
-
<input
|
179
|
+
<input
|
180
|
+
className="k-input k-input-md k-rounded-md k-input-solid m-b-1"
|
181
|
+
value={props.value}
|
182
|
+
onChange={handleInputChange}
|
183
|
+
/>
|
178
184
|
))}
|
179
185
|
</div>
|
180
186
|
);
|
@@ -144,7 +144,7 @@ export function standardFilterWithMultiselect<T, TId extends IdType = never>(
|
|
144
144
|
data={logicData}
|
145
145
|
value={logicValue}
|
146
146
|
onChange={onLogicChange}
|
147
|
-
className="k-filter-and"
|
147
|
+
className="k-filter-and m-b-1-i"
|
148
148
|
textField="text"
|
149
149
|
/>
|
150
150
|
<FilterCellExt
|
@@ -15,8 +15,6 @@ import { TableFilterCellProps } from '@servicetitan/design-system';
|
|
15
15
|
|
16
16
|
import { renderCustomColumnMenuFilter } from '../column-menu-filters';
|
17
17
|
|
18
|
-
import * as Styles from './time-filter.module.css';
|
19
|
-
|
20
18
|
@observer
|
21
19
|
class TimeFilterCell extends Component<TableFilterCellProps> {
|
22
20
|
@observable operator =
|
@@ -52,13 +50,14 @@ class TimeFilterCell extends Component<TableFilterCellProps> {
|
|
52
50
|
onChange={this.handleOperatorChange}
|
53
51
|
data={this.props.operators}
|
54
52
|
dataItemKey="operator"
|
53
|
+
className="m-b-1"
|
55
54
|
textField="text"
|
56
55
|
/>
|
57
56
|
{!IsUnaryFilter(this.operator.operator) && (
|
58
57
|
<TimePicker
|
59
58
|
value={this.props.value}
|
60
59
|
onChange={this.handleChange}
|
61
|
-
className=
|
60
|
+
className="m-b-1"
|
62
61
|
/>
|
63
62
|
)}
|
64
63
|
</Fragment>
|