@servicetitan/table 26.0.0 → 26.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/demo/overview/actions-cell.d.ts +1 -2
- package/dist/demo/overview/actions-cell.d.ts.map +1 -1
- package/dist/demo/overview/table.d.ts +1 -1
- package/dist/demo/overview/table.d.ts.map +1 -1
- package/dist/details/expand-column.d.ts +2 -2
- package/dist/details/expand-column.d.ts.map +1 -1
- package/dist/details/expand-column.js.map +1 -1
- package/dist/editable-cell/boolean-editable-cell.d.ts +1 -2
- package/dist/editable-cell/boolean-editable-cell.d.ts.map +1 -1
- package/dist/editable-cell/get-action-cell.d.ts +1 -1
- package/dist/editable-cell/get-action-cell.d.ts.map +1 -1
- package/dist/editable-cell/get-action-cell.js.map +1 -1
- package/dist/editable-cell/get-editable-cell.d.ts +1 -1
- package/dist/editable-cell/get-editable-cell.d.ts.map +1 -1
- package/dist/editable-cell/get-editable-cell.js.map +1 -1
- package/dist/editable-cell/get-select-editable-cell.d.ts +1 -1
- package/dist/editable-cell/get-select-editable-cell.d.ts.map +1 -1
- package/dist/editable-cell/text-editable-cell.d.ts +2 -3
- package/dist/editable-cell/text-editable-cell.d.ts.map +1 -1
- package/dist/filters/async-select/async-select-filter.d.ts +1 -1
- package/dist/filters/async-select/async-select-filter.d.ts.map +1 -1
- package/dist/filters/column-menu-filters.d.ts +2 -2
- package/dist/filters/column-menu-filters.d.ts.map +1 -1
- package/dist/filters/column-menu-filters.js.map +1 -1
- package/dist/filters/datetime-filter/datetime-filter.d.ts +1 -2
- package/dist/filters/datetime-filter/datetime-filter.d.ts.map +1 -1
- package/dist/filters/field-values-filter.d.ts +1 -2
- package/dist/filters/field-values-filter.d.ts.map +1 -1
- package/dist/filters/multiselect-filter/multiselect-filter.d.ts +3 -3
- package/dist/filters/multiselect-filter/multiselect-filter.d.ts.map +1 -1
- package/dist/filters/multiselect-filter/multiselect-filter.js.map +1 -1
- package/dist/filters/numeric-filter-extended/numeric-filter-extended.d.ts +2 -3
- package/dist/filters/numeric-filter-extended/numeric-filter-extended.d.ts.map +1 -1
- package/dist/filters/range-filter/range-filter.d.ts +4 -5
- package/dist/filters/range-filter/range-filter.d.ts.map +1 -1
- package/dist/filters/select-filter/select-filter.d.ts +1 -1
- package/dist/filters/select-filter/select-filter.d.ts.map +1 -1
- package/dist/filters/single-select/single-select-filter.d.ts +1 -1
- package/dist/filters/single-select/single-select-filter.d.ts.map +1 -1
- package/dist/filters/single-select/single-select-filter.js.map +1 -1
- package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.d.ts +1 -2
- package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.d.ts.map +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 +1 -2
- package/dist/filters/time-filter/time-filter.d.ts.map +1 -1
- package/dist/table.d.ts +1 -1
- package/dist/table.d.ts.map +1 -1
- package/package.json +9 -9
- package/src/details/expand-column.tsx +1 -1
- package/src/editable-cell/get-action-cell.tsx +1 -1
- package/src/editable-cell/get-editable-cell.tsx +1 -1
- package/src/filters/async-select/async-select-filter.tsx +1 -1
- package/src/filters/column-menu-filters.tsx +2 -2
- package/src/filters/datetime-filter/datetime-filter.tsx +1 -1
- package/src/filters/field-values-filter.tsx +1 -1
- package/src/filters/multiselect-filter/multiselect-filter.tsx +13 -15
- package/src/filters/range-filter/range-filter.tsx +1 -1
- package/src/filters/select-filter/select-filter.tsx +1 -1
- package/src/filters/single-select/single-select-filter.tsx +1 -1
- package/src/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.tsx +1 -1
- package/src/filters/time-filter/time-filter.tsx +1 -1
- package/src/table.tsx +1 -1
@@ -1,5 +1,4 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { TableCellProps } from '../..';
|
3
2
|
import { Product } from './product';
|
4
|
-
export declare const ActionsCell: (props: TableCellProps<Product, any, never, never>) => JSX.Element;
|
3
|
+
export declare const ActionsCell: (props: TableCellProps<Product, any, never, never>) => import("react/jsx-runtime").JSX.Element;
|
5
4
|
//# sourceMappingURL=actions-cell.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"actions-cell.d.ts","sourceRoot":"","sources":["../../../src/demo/overview/actions-cell.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"actions-cell.d.ts","sourceRoot":"","sources":["../../../src/demo/overview/actions-cell.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAkC,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiDpC,eAAO,MAAM,WAAW,gGAGtB,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { FC } from 'react';
|
2
2
|
import { TableCellProps } from '../..';
|
3
|
-
export declare const DateEditableCell: (props: TableCellProps<any, any, never, never>) => JSX.Element;
|
3
|
+
export declare const DateEditableCell: (props: TableCellProps<any, any, never, never>) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export declare const TableExample: FC;
|
5
5
|
//# sourceMappingURL=table.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/demo/overview/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmC,EAAE,EAAgB,MAAM,OAAO,CAAC;AAQ1E,OAAO,EAIH,cAAc,EAWjB,MAAM,OAAO,CAAC;AA6Cf,eAAO,MAAM,gBAAgB,
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/demo/overview/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmC,EAAE,EAAgB,MAAM,OAAO,CAAC;AAQ1E,OAAO,EAIH,cAAc,EAWjB,MAAM,OAAO,CAAC;AA6Cf,eAAO,MAAM,gBAAgB,4FAE3B,CAAC;AA0BH,eAAO,MAAM,YAAY,EAAE,EA2H1B,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FC } from 'react';
|
2
2
|
import { TableCellProps } from '../index';
|
3
3
|
export declare const RowExpandCell: FC<TableCellProps>;
|
4
|
-
export declare const getRowExpandColumn: () => JSX.Element;
|
5
|
-
export declare const useRowExpandColumn: () => JSX.Element;
|
4
|
+
export declare const getRowExpandColumn: () => import("react/jsx-runtime").JSX.Element;
|
5
|
+
export declare const useRowExpandColumn: () => import("react/jsx-runtime").JSX.Element;
|
6
6
|
//# sourceMappingURL=expand-column.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"expand-column.d.ts","sourceRoot":"","sources":["../../src/details/expand-column.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAwC,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,cAAc,EAAe,MAAM,UAAU,CAAC;AAEvD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,cAAc,CAiC5C,CAAC;AAEF,eAAO,MAAM,kBAAkB,
|
1
|
+
{"version":3,"file":"expand-column.d.ts","sourceRoot":"","sources":["../../src/details/expand-column.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAwC,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,cAAc,EAAe,MAAM,UAAU,CAAC;AAEvD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,cAAc,CAiC5C,CAAC;AAEF,eAAO,MAAM,kBAAkB,+CAU9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,+CAE9B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"expand-column.js","sourceRoot":"","sources":["../../src/details/expand-column.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAsB,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAkB,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvD,MAAM,CAAC,MAAM,aAAa,GAAuB,CAAC,EAC9C,QAAQ,EACR,SAAS,E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kBAAkB,CAAC;YAC3B,QAAQ;YACR,SAAS;YACT,KAAK,EAAE,CAAC,QAAQ;YAChB,cAAc,EAAE,CAAC;YACjB,WAAW,EAAE,CAAC,CAAC,WAAW;YAC1B,MAAM,EAAE,CAAC,CAAC,MAAe;SAC5B,CAAC,CAAC;IACP,CAAC,EACD,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,CAAC,CAC9C,CAAC;IAEF,OAAO,CACH,2BAAI,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,gBACtC,KAAC,MAAM,IACH,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,gBACvC,YAAY,EACvB,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,OAAO,GAClB,IACD,CACR,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE,CAAC,CACpC,KAAC,WAAW,IACR,KAAK,EAAC,UAAU,EAChB,KAAK,EAAC,GAAG,EACT,QAAQ,EAAE,KAAK,EACf,QAAQ,EAAE,KAAK,EACf,SAAS,EAAE,KAAK,EAChB,IAAI,EAAE,aAAa,EACnB,KAAK,EAAC,MAAM,GACd,CACL,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACnC,OAAO,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;AAC3C,CAAC,CAAC"}
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
export declare const BooleanEditableCell: (props: import("..").TableCellProps<any, any, never, never>) => JSX.Element;
|
1
|
+
export declare const BooleanEditableCell: (props: import("..").TableCellProps<any, any, never, never>) => import("react/jsx-runtime").JSX.Element;
|
3
2
|
//# sourceMappingURL=boolean-editable-cell.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"boolean-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/boolean-editable-cell.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"boolean-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/boolean-editable-cell.tsx"],"names":[],"mappings":"AAqBA,eAAO,MAAM,mBAAmB,yGAE9B,CAAC"}
|
@@ -8,6 +8,6 @@ interface GetActionCellParams<T> {
|
|
8
8
|
view: ComponentType<TableCellProps<T>>;
|
9
9
|
edit: ComponentType<EditActionProps<T>>;
|
10
10
|
}
|
11
|
-
export declare function getActionCell<T>({ view: ViewAction, edit: EditAction }: GetActionCellParams<T>): (props: TableCellProps<T>) => JSX.Element;
|
11
|
+
export declare function getActionCell<T>({ view: ViewAction, edit: EditAction }: GetActionCellParams<T>): (props: TableCellProps<T>) => import("react/jsx-runtime").JSX.Element;
|
12
12
|
export {};
|
13
13
|
//# sourceMappingURL=get-action-cell.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-action-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/get-action-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,WAAW,eAAe,CAAC,CAAC,CAAE,SAAQ,cAAc,CAAC,CAAC,CAAC;IACzD,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;CACnC;AAED,UAAU,mBAAmB,CAAC,CAAC;IAC3B,IAAI,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IACvC,IAAI,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;CAC3C;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,mBAAmB,CAAC,CAAC,CAAC,WAC5E,eAAe,CAAC,CAAC,
|
1
|
+
{"version":3,"file":"get-action-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/get-action-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,WAAW,eAAe,CAAC,CAAC,CAAE,SAAQ,cAAc,CAAC,CAAC,CAAC;IACzD,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;CACnC;AAED,UAAU,mBAAmB,CAAC,CAAC;IAC3B,IAAI,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IACvC,IAAI,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;CAC3C;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,mBAAmB,CAAC,CAAC,CAAC,WAC5E,eAAe,CAAC,CAAC,6CAiBnC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-action-cell.js","sourceRoot":"","sources":["../../src/editable-cell/get-action-cell.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAcxD,MAAM,UAAU,aAAa,CAAI,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAA0B;IAC3F,OAAO,CAAC,KAAwB,
|
1
|
+
{"version":3,"file":"get-action-cell.js","sourceRoot":"","sources":["../../src/editable-cell/get-action-cell.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAcxD,MAAM,UAAU,aAAa,CAAI,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAA0B;IAC3F,OAAO,CAAC,KAAwB,EAAE,EAAE;;QAChC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;QAEhD,IAAI,OAAO,KAAK,MAAM,EAAE;YACpB,OAAO,KAAC,SAAS,oBAAK,KAAK,EAAI,CAAC;SACnC;QAED,MAAM,WAAW,GACb,CAAA,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU,0CAAE,UAAU;YAClC,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEtE,IAAI,WAAW,EAAE;YACb,OAAO,KAAC,UAAU,oBAAK,KAAK,IAAE,SAAS,EAAE,WAAW,CAAC,IAAI,IAAI,CAAC;SACjE;QAED,OAAO,KAAC,UAAU,oBAAK,KAAK,EAAI,CAAC;IACrC,CAAC,CAAC;AACN,CAAC"}
|
@@ -8,6 +8,6 @@ interface GetEditableCellParams<T> {
|
|
8
8
|
viewer?: ComponentType<TableCellProps<any>>;
|
9
9
|
editor: ComponentType<EditorProps<T>>;
|
10
10
|
}
|
11
|
-
export declare function getEditableCell<T>({ viewer: Viewer, editor: Editor, }: GetEditableCellParams<T>): (props: TableCellProps<any>) => JSX.Element;
|
11
|
+
export declare function getEditableCell<T>({ viewer: Viewer, editor: Editor, }: GetEditableCellParams<T>): (props: TableCellProps<any>) => import("react/jsx-runtime").JSX.Element;
|
12
12
|
export {};
|
13
13
|
//# sourceMappingURL=get-editable-cell.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/get-editable-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,WAAW,WAAW,CAAC,CAAC,CAAE,SAAQ,cAAc,CAAC,GAAG,CAAC;IACvD,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;CAC7B;AAED,UAAU,qBAAqB,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5C,MAAM,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;CACzC;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,EAC/B,MAAM,EAAE,MAAkB,EAC1B,MAAM,EAAE,MAAM,GACjB,EAAE,qBAAqB,CAAC,CAAC,CAAC,WACR,eAAe,GAAG,CAAC,
|
1
|
+
{"version":3,"file":"get-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/get-editable-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,WAAW,WAAW,CAAC,CAAC,CAAE,SAAQ,cAAc,CAAC,GAAG,CAAC;IACvD,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;CAC7B;AAED,UAAU,qBAAqB,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5C,MAAM,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;CACzC;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,EAC/B,MAAM,EAAE,MAAkB,EAC1B,MAAM,EAAE,MAAM,GACjB,EAAE,qBAAqB,CAAC,CAAC,CAAC,WACR,eAAe,GAAG,CAAC,6CAiBrC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-editable-cell.js","sourceRoot":"","sources":["../../src/editable-cell/get-editable-cell.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAYxD,MAAM,UAAU,eAAe,CAAI,EAC/B,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,MAAM,EAAE,MAAM,GACS;IACvB,OAAO,CAAC,KAA0B,
|
1
|
+
{"version":3,"file":"get-editable-cell.js","sourceRoot":"","sources":["../../src/editable-cell/get-editable-cell.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAYxD,MAAM,UAAU,eAAe,CAAI,EAC/B,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,MAAM,EAAE,MAAM,GACS;IACvB,OAAO,CAAC,KAA0B,EAAE,EAAE;;QAClC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;QAEvD,IAAI,OAAO,KAAK,MAAM,EAAE;YACpB,OAAO,KAAC,SAAS,oBAAK,KAAK,EAAI,CAAC;SACnC;QAED,MAAM,WAAW,GACb,CAAA,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU,0CAAE,UAAU;YAClC,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEtE,IAAI,KAAK,IAAI,WAAW,IAAI,CAAC,CAAC,WAAW,CAAC,KAAK,IAAI,WAAW,CAAC,KAAK,KAAK,KAAK,CAAC,EAAE;YAC7E,OAAO,KAAC,MAAM,oBAAK,KAAK,IAAE,UAAU,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC;SACvE;QAED,OAAO,KAAC,MAAM,oBAAK,KAAK,EAAI,CAAC;IACjC,CAAC,CAAC;AACN,CAAC"}
|
@@ -5,6 +5,6 @@ interface GetSelectEditableCellParams<T> {
|
|
5
5
|
options: Option<T>[];
|
6
6
|
viewer?: ComponentType<TableCellProps<any>>;
|
7
7
|
}
|
8
|
-
export declare function getSelectEditableCell<T>({ options, viewer }: GetSelectEditableCellParams<T>): (props: TableCellProps<any, any, never, never>) => JSX.Element;
|
8
|
+
export declare function getSelectEditableCell<T>({ options, viewer }: GetSelectEditableCellParams<T>): (props: TableCellProps<any, any, never, never>) => import("react/jsx-runtime").JSX.Element;
|
9
9
|
export {};
|
10
10
|
//# sourceMappingURL=get-select-editable-cell.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-select-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/get-select-editable-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAM,MAAM,OAAO,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAI5C,UAAU,2BAA2B,CAAC,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,MAAM,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;CAC/C;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,2BAA2B,CAAC,CAAC,CAAC,
|
1
|
+
{"version":3,"file":"get-select-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/get-select-editable-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAM,MAAM,OAAO,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAI5C,UAAU,2BAA2B,CAAC,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,MAAM,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;CAC/C;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,2BAA2B,CAAC,CAAC,CAAC,8FA8B3F"}
|
@@ -1,9 +1,8 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
interface GetTextEditableCellParams<T> {
|
3
2
|
placeholder?: string;
|
4
3
|
isDisabled?(dataItem: T): boolean;
|
5
4
|
}
|
6
|
-
export declare function getTextEditableCell<T>({ placeholder, isDisabled, }?: GetTextEditableCellParams<T>): (props: import("..").TableCellProps<any, any, never, never>) => JSX.Element;
|
7
|
-
export declare const TextEditableCell: (props: import("..").TableCellProps<any, any, never, never>) => JSX.Element;
|
5
|
+
export declare function getTextEditableCell<T>({ placeholder, isDisabled, }?: GetTextEditableCellParams<T>): (props: import("..").TableCellProps<any, any, never, never>) => import("react/jsx-runtime").JSX.Element;
|
6
|
+
export declare const TextEditableCell: (props: import("..").TableCellProps<any, any, never, never>) => import("react/jsx-runtime").JSX.Element;
|
8
7
|
export {};
|
9
8
|
//# sourceMappingURL=text-editable-cell.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"text-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/text-editable-cell.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"text-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/text-editable-cell.tsx"],"names":[],"mappings":"AAUA,UAAU,yBAAyB,CAAC,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC;CACrC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,EACnC,WAAW,EACX,UAAU,GACb,GAAE,yBAAyB,CAAC,CAAC,CAAM,2GA2BnC;AAED,eAAO,MAAM,gBAAgB,yGAAwB,CAAC"}
|
@@ -19,5 +19,5 @@ export interface AsyncSelectFilterOptions<TID extends IdType, TO extends AsyncSe
|
|
19
19
|
/**
|
20
20
|
* @deprecated use selectColumnMenuFilter instead
|
21
21
|
*/
|
22
|
-
export declare function asyncSelectColumnMenuFilter<TID extends IdType, TO extends AsyncSelectItem<TID>>({ dataFetcher, placeholder, multiple, renderItem, ...opts }: AsyncSelectFilterOptions<TID, TO>): (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
|
22
|
+
export declare function asyncSelectColumnMenuFilter<TID extends IdType, TO extends AsyncSelectItem<TID>>({ dataFetcher, placeholder, multiple, renderItem, ...opts }: AsyncSelectFilterOptions<TID, TO>): (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
23
23
|
//# sourceMappingURL=async-select-filter.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"async-select-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/async-select/async-select-filter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,EAA+B,MAAM,OAAO,CAAC;AAU1F,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,OAAO,EACH,gCAAgC,EAEnC,MAAM,wBAAwB,CAAC;AAIhC,oBAAY,4BAA4B,CACpC,EAAE,SAAS,MAAM,GAAG,MAAM,EAC1B,EAAE,SAAS,eAAe,CAAC,EAAE,CAAC,GAAG,eAAe,CAAC,EAAE,CAAC,IACpD,CAAC,IAAI,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,OAAO,CAAC;IAAE,IAAI,EAAE,EAAE,EAAE,CAAA;CAAE,CAAC,CAAC;AAE3D,MAAM,WAAW,eAAe,CAAC,EAAE,SAAS,MAAM,GAAG,MAAM;IACvD,KAAK,EAAE,EAAE,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;CAChB;AAwJD,MAAM,WAAW,wBAAwB,CAAC,GAAG,SAAS,MAAM,EAAE,EAAE,SAAS,eAAe,CAAC,GAAG,CAAC,CACzF,SAAQ,gCAAgC;IACxC,WAAW,EAAE,4BAA4B,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,SAAS,CAAC;CACxC;AAMD;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,SAAS,MAAM,EAAE,EAAE,SAAS,eAAe,CAAC,GAAG,CAAC,EAAE,EAC7F,WAAW,EACX,WAAW,EACX,QAAQ,EACR,UAAU,EACV,GAAG,IAAI,EACV,EAAE,wBAAwB,CAAC,GAAG,EAAE,EAAE,CAAC,
|
1
|
+
{"version":3,"file":"async-select-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/async-select/async-select-filter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,EAA+B,MAAM,OAAO,CAAC;AAU1F,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,OAAO,EACH,gCAAgC,EAEnC,MAAM,wBAAwB,CAAC;AAIhC,oBAAY,4BAA4B,CACpC,EAAE,SAAS,MAAM,GAAG,MAAM,EAC1B,EAAE,SAAS,eAAe,CAAC,EAAE,CAAC,GAAG,eAAe,CAAC,EAAE,CAAC,IACpD,CAAC,IAAI,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,OAAO,CAAC;IAAE,IAAI,EAAE,EAAE,EAAE,CAAA;CAAE,CAAC,CAAC;AAE3D,MAAM,WAAW,eAAe,CAAC,EAAE,SAAS,MAAM,GAAG,MAAM;IACvD,KAAK,EAAE,EAAE,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;CAChB;AAwJD,MAAM,WAAW,wBAAwB,CAAC,GAAG,SAAS,MAAM,EAAE,EAAE,SAAS,eAAe,CAAC,GAAG,CAAC,CACzF,SAAQ,gCAAgC;IACxC,WAAW,EAAE,4BAA4B,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,SAAS,CAAC;CACxC;AAMD;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,SAAS,MAAM,EAAE,EAAE,SAAS,eAAe,CAAC,GAAG,CAAC,EAAE,EAC7F,WAAW,EACX,WAAW,EACX,QAAQ,EACR,UAAU,EACV,GAAG,IAAI,EACV,EAAE,wBAAwB,CAAC,GAAG,EAAE,EAAE,CAAC,kHA2DnC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ComponentType } from 'react';
|
2
2
|
import { TableColumnMenuProps, TableFilterCellProps } from '@servicetitan/design-system';
|
3
|
-
export declare const StandardColumnMenuFilter: (props: TableColumnMenuProps) => JSX.Element;
|
3
|
+
export declare const StandardColumnMenuFilter: (props: TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export interface CustomColumnMenuFilterSingleOpts {
|
5
5
|
contentMaxHeight?: string;
|
6
6
|
contentClassName?: string;
|
@@ -10,5 +10,5 @@ export interface CustomColumnMenuFilterDoubleOpts {
|
|
10
10
|
doubleContentClassName?: string;
|
11
11
|
}
|
12
12
|
export declare type CustomColumnMenuFilterOpts = CustomColumnMenuFilterSingleOpts & CustomColumnMenuFilterDoubleOpts;
|
13
|
-
export declare function renderCustomColumnMenuFilter(FilterCell: ComponentType<TableFilterCellProps>, doubleOrOptions?: boolean | CustomColumnMenuFilterOpts): (props: TableColumnMenuProps) => JSX.Element;
|
13
|
+
export declare function renderCustomColumnMenuFilter(FilterCell: ComponentType<TableFilterCellProps>, doubleOrOptions?: boolean | CustomColumnMenuFilterOpts): (props: TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
14
14
|
//# sourceMappingURL=column-menu-filters.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"column-menu-filters.d.ts","sourceRoot":"","sources":["../../src/filters/column-menu-filters.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAqB,MAAM,OAAO,CAAC;AACzD,OAAO,EAEH,oBAAoB,EACpB,oBAAoB,EACvB,MAAM,6BAA6B,CAAC;AAIrC,eAAO,MAAM,wBAAwB,UAAW,oBAAoB,
|
1
|
+
{"version":3,"file":"column-menu-filters.d.ts","sourceRoot":"","sources":["../../src/filters/column-menu-filters.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAqB,MAAM,OAAO,CAAC;AACzD,OAAO,EAEH,oBAAoB,EACpB,oBAAoB,EACvB,MAAM,6BAA6B,CAAC;AAIrC,eAAO,MAAM,wBAAwB,UAAW,oBAAoB,4CAEnE,CAAC;AAEF,MAAM,WAAW,gCAAgC;IAC7C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AACD,MAAM,WAAW,gCAAgC;IAC7C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,oBAAY,0BAA0B,GAAG,gCAAgC,GACrE,gCAAgC,CAAC;AAErC,wBAAgB,4BAA4B,CACxC,UAAU,EAAE,aAAa,CAAC,oBAAoB,CAAC,EAC/C,eAAe,CAAC,EAAE,OAAO,GAAG,0BAA0B,WAqCvC,oBAAoB,6CAGtC"}
|
@@ -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,
|
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;AAcF,MAAM,UAAU,4BAA4B,CACxC,UAA+C,EAC/C,eAAsD;IAEtD,MAAM,IAAI,GACN,OAAO,eAAe,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,CAAC,CAAC,CAAC,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,EAAE,CAAC;IAC/F,MAAM,QAAQ,GAAqC,CAAC,EAChD,gBAAgB,EAChB,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,aAAa,GAChB,EAAE,EAAE;QACD,MAAM,aAAa,GAAkB,EAAE,CAAC;QAExC,IAAI,IAAI,CAAC,gBAAgB,EAAE;YACvB,aAAa,CAAC,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC;YAChD,aAAa,CAAC,SAAS,GAAG,MAAM,CAAC;SACpC;QAED,OAAO,CACH,6BAAK,SAAS,EAAE,IAAI,CAAC,gBAAgB,EAAE,KAAK,EAAE,aAAa,iBACvD,KAAC,UAAU,oBAAK,gBAAgB,EAAI,EACnC,CAAC,CAAC,IAAI,CAAC,MAAM,IAAI,CACd,6BAAK,SAAS,EAAE,IAAI,CAAC,sBAAsB,iBACvC,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,KACnC,CACT,KACC,CACT,CAAC;IACN,CAAC,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,3 +1,2 @@
|
|
1
|
-
|
2
|
-
export declare const DateTimeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
|
1
|
+
export declare const DateTimeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
3
2
|
//# sourceMappingURL=datetime-filter.d.ts.map
|
@@ -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,gHAAyD,CAAC"}
|
@@ -1,6 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { IdType } from '@servicetitan/data-query';
|
3
2
|
import { TableState } from '../table-state';
|
4
3
|
export declare function operator<T>(item: T, value: T[]): boolean;
|
5
|
-
export declare function fieldValuesColumnMenuFilter<T, TId extends IdType = never>(tableState: TableState<T, TId>, renderItem?: (value: T[keyof T]) => string): (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
|
4
|
+
export declare function fieldValuesColumnMenuFilter<T, TId extends IdType = never>(tableState: TableState<T, TId>, renderItem?: (value: T[keyof T]) => string): (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
6
5
|
//# sourceMappingURL=field-values-filter.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"field-values-filter.d.ts","sourceRoot":"","sources":["../../src/filters/field-values-filter.tsx"],"names":[],"mappings":"
|
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,kHAkHhE"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
2
|
import { CustomColumnMenuFilterSingleOpts } from '../column-menu-filters';
|
3
|
-
export declare function multiSelectColumnMenuFilter<T>(data: T[], renderItem?: (item: T) => ReactNode, opts?: CustomColumnMenuFilterSingleOpts): (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
|
4
|
-
export declare function complexItemMultiSelectColumnMenuFilter<T>(data: T[], renderItem?: (item: T) => ReactNode, opts?: CustomColumnMenuFilterSingleOpts): (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
|
5
|
-
export declare function multiItemMultiSelectColumnMenuFilter<T>(data: T[], renderItem?: (item: T) => ReactNode, opts?: CustomColumnMenuFilterSingleOpts): (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
|
3
|
+
export declare function multiSelectColumnMenuFilter<T>(data: T[], renderItem?: (item: T) => ReactNode, opts?: CustomColumnMenuFilterSingleOpts): (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
4
|
+
export declare function complexItemMultiSelectColumnMenuFilter<T>(data: T[], renderItem?: (item: T) => ReactNode, opts?: CustomColumnMenuFilterSingleOpts): (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
5
|
+
export declare function multiItemMultiSelectColumnMenuFilter<T>(data: T[], renderItem?: (item: T) => ReactNode, opts?: CustomColumnMenuFilterSingleOpts): (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
6
6
|
//# sourceMappingURL=multiselect-filter.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"multiselect-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/multiselect-filter/multiselect-filter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,EAAM,MAAM,OAAO,CAAC;AAIjE,OAAO,EACH,gCAAgC,EAEnC,MAAM,wBAAwB,CAAC;
|
1
|
+
{"version":3,"file":"multiselect-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/multiselect-filter/multiselect-filter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,EAAM,MAAM,OAAO,CAAC;AAIjE,OAAO,EACH,gCAAgC,EAEnC,MAAM,wBAAwB,CAAC;AAmChC,wBAAgB,2BAA2B,CAAC,CAAC,EACzC,IAAI,EAAE,CAAC,EAAE,EACT,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,EACnC,IAAI,CAAC,EAAE,gCAAgC,kHAsB1C;AAED,wBAAgB,sCAAsC,CAAC,CAAC,EACpD,IAAI,EAAE,CAAC,EAAE,EACT,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,EACnC,IAAI,CAAC,EAAE,gCAAgC,kHAgC1C;AAED,wBAAgB,oCAAoC,CAAC,CAAC,EAClD,IAAI,EAAE,CAAC,EAAE,EACT,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,EACnC,IAAI,CAAC,EAAE,gCAAgC,kHAgC1C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"multiselect-filter.js","sourceRoot":"","sources":["../../../src/filters/multiselect-filter/multiselect-filter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAiC,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAwB,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAE7E,OAAO,EAEH,4BAA4B,GAC/B,MAAM,wBAAwB,CAAC;AAShC,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;
|
1
|
+
{"version":3,"file":"multiselect-filter.js","sourceRoot":"","sources":["../../../src/filters/multiselect-filter/multiselect-filter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAiC,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAwB,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAE7E,OAAO,EAEH,4BAA4B,GAC/B,MAAM,wBAAwB,CAAC;AAShC,MAAM,QAAY,SAAQ,SAA2B;IAArD;;QACI;;;;mBAAe,CAAC,MAAS,EAAE,OAAgB,EAAE,KAAuC,EAAE,EAAE;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AAC,CAAC,CAAC,KAAK,EACvC,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,QAAQ,EAAE,UAAU,GACtB,CACL,CAAC;QACN,CAAC;KACJ;IAED,OAAO,4BAA4B,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AAC1D,CAAC"}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
|
-
export declare const
|
3
|
-
export declare const PercentageFilterExtended: (props: import("@progress/kendo-react-grid").GridColumnMenuProps) => JSX.Element;
|
1
|
+
export declare const NumericFilterExtended: (props: import("@progress/kendo-react-grid").GridColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
2
|
+
export declare const PercentageFilterExtended: (props: import("@progress/kendo-react-grid").GridColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
4
3
|
//# sourceMappingURL=numeric-filter-extended.d.ts.map
|
@@ -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":"AAkFA,eAAO,MAAM,qBAAqB,8GAA2D,CAAC;AAE9F,eAAO,MAAM,wBAAwB,8GAA8D,CAAC"}
|
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
|
-
export declare const
|
3
|
-
export declare const
|
4
|
-
export declare const
|
5
|
-
export declare const TimeRangeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
|
1
|
+
export declare const NumericRangeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
2
|
+
export declare const CurrencyRangeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
export declare const DateRangeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
4
|
+
export declare const TimeRangeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
6
5
|
//# sourceMappingURL=range-filter.d.ts.map
|
@@ -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,gHAAuD,CAAC;AACjG,eAAO,MAAM,6BAA6B,gHAAwD,CAAC;AACnG,eAAO,MAAM,yBAAyB,gHAAoD,CAAC;AAC3F,eAAO,MAAM,yBAAyB,gHAAoD,CAAC"}
|
@@ -29,6 +29,6 @@ export interface SelectFilterOptions<TO> extends CustomColumnMenuFilterSingleOpt
|
|
29
29
|
/** Render option label */
|
30
30
|
renderItem?(item: TO): ReactNode;
|
31
31
|
}
|
32
|
-
export declare function selectColumnMenuFilter<TO>({ dataFetcher, data, search, multiple, valueSelector, rowValueSelector, renderItem, operator, ...opts }: SelectFilterOptions<TO>): (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
|
32
|
+
export declare function selectColumnMenuFilter<TO>({ dataFetcher, data, search, multiple, valueSelector, rowValueSelector, renderItem, operator, ...opts }: SelectFilterOptions<TO>): (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
33
33
|
export { selectColumnMenuFilterOperators };
|
34
34
|
//# sourceMappingURL=select-filter.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"select-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/select-filter/select-filter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,EAA+B,MAAM,OAAO,CAAC;AAU1F,OA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,CAAC,EAAE,CAAC,CAAC;IAC1C,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,EAAE,KAAK,OAAO,CAAC,CAAC;IAC/F,kDAAkD;IAClD,aAAa,CAAC,CAAC,IAAI,EAAE,EAAE,GAAG,MAAM,CAAC;IACjC,4EAA4E;IAC5E,gBAAgB,CAAC,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,GAAG,SAAS,CAAC;IACjD,0BAA0B;IAC1B,UAAU,CAAC,CAAC,IAAI,EAAE,EAAE,GAAG,SAAS,CAAC;CACpC;AAMD,wBAAgB,sBAAsB,CAAC,EAAE,EAAE,EACvC,WAAW,EACX,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAA8B,EAC9B,gBAAiC,EACjC,UAAU,EACV,QAAQ,EACR,GAAG,IAAI,EACV,EAAE,mBAAmB,CAAC,EAAE,CAAC,kHAiFzB;AAED,OAAO,EAAE,+BAA+B,EAAE,CAAC"}
|
@@ -7,5 +7,5 @@ export interface SingleSelectColumnMenuOptions<TV, TO = TV> extends CustomColumn
|
|
7
7
|
renderItem?: (item: TO) => ReactNode | string;
|
8
8
|
filterOperator?: (listItem: any, value: TV) => boolean;
|
9
9
|
}
|
10
|
-
export declare function singleSelectColumnMenuFilter<TV extends IdType, TO = TV>({ options, valueSelector, renderItem, filterOperator, ...opts }: SingleSelectColumnMenuOptions<TV, TO>): (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
|
10
|
+
export declare function singleSelectColumnMenuFilter<TV extends IdType, TO = TV>({ options, valueSelector, renderItem, filterOperator, ...opts }: SingleSelectColumnMenuOptions<TV, TO>): (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
11
11
|
//# sourceMappingURL=single-select-filter.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"single-select-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/single-select/single-select-filter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,EAAM,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAGlD,OAAO,EACH,gCAAgC,EAEnC,MAAM,wBAAwB,CAAC;AA8BhC,MAAM,WAAW,6BAA6B,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CACtD,SAAQ,gCAAgC;IACxC,OAAO,EAAE,EAAE,EAAE,CAAC;IACd,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC;IACjC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,SAAS,GAAG,MAAM,CAAC;IAC9C,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,KAAK,OAAO,CAAC;CAC1D;AAED,wBAAgB,4BAA4B,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,EACrE,OAAO,EACP,aAAa,EACb,UAAU,EACV,cAAc,EACd,GAAG,IAAI,EACV,EAAE,6BAA6B,CAAC,EAAE,EAAE,EAAE,CAAC,
|
1
|
+
{"version":3,"file":"single-select-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/single-select/single-select-filter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,EAAM,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAGlD,OAAO,EACH,gCAAgC,EAEnC,MAAM,wBAAwB,CAAC;AA8BhC,MAAM,WAAW,6BAA6B,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CACtD,SAAQ,gCAAgC;IACxC,OAAO,EAAE,EAAE,EAAE,CAAC;IACd,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC;IACjC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,SAAS,GAAG,MAAM,CAAC;IAC9C,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,KAAK,OAAO,CAAC;CAC1D;AAED,wBAAgB,4BAA4B,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,EACrE,OAAO,EACP,aAAa,EACb,UAAU,EACV,cAAc,EACd,GAAG,IAAI,EACV,EAAE,6BAA6B,CAAC,EAAE,EAAE,EAAE,CAAC,kHA6BvC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"single-select-filter.js","sourceRoot":"","sources":["../../../src/filters/single-select/single-select-filter.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAiC,MAAM,OAAO,CAAC;AAGjE,OAAO,EAAwB,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAE1E,OAAO,EAEH,4BAA4B,GAC/B,MAAM,wBAAwB,CAAC;AAUhC,MAAM,aAAsB,SAAQ,SAAgC;IAChE,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,
|
1
|
+
{"version":3,"file":"single-select-filter.js","sourceRoot":"","sources":["../../../src/filters/single-select/single-select-filter.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAiC,MAAM,OAAO,CAAC;AAGjE,OAAO,EAAwB,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAE1E,OAAO,EAEH,4BAA4B,GAC/B,MAAM,wBAAwB,CAAC;AAUhC,MAAM,aAAsB,SAAQ,SAAgC;IAChE,MAAM;QACF,MAAM,EAAE,OAAO,EAAE,K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EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,EACvC,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,UAAU,EACpB,aAAa,EAAE,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,GACpD,CACL,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,4BAA4B,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AAC1D,CAAC"}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { TableColumnMenuProps } from '@servicetitan/design-system';
|
3
2
|
import { IdType } from '@servicetitan/data-query';
|
4
3
|
import { TableState } from '../../table-state';
|
@@ -21,6 +20,6 @@ interface FilterCellConfig {
|
|
21
20
|
multiselectTagRender?: FilterCellExtProps['multiselectTagRender'];
|
22
21
|
multiselectListNoDataRender?: FilterCellExtProps['multiselectListNoDataRender'];
|
23
22
|
}
|
24
|
-
export declare function standardFilterWithMultiselect<T, TId extends IdType = never>(optionsConfig?: OptionsConfig<T, TId>, filterCellConfig?: FilterCellConfig): (props: TableColumnMenuProps) => JSX.Element;
|
23
|
+
export declare function standardFilterWithMultiselect<T, TId extends IdType = never>(optionsConfig?: OptionsConfig<T, TId>, filterCellConfig?: FilterCellConfig): (props: TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
25
24
|
export {};
|
26
25
|
//# sourceMappingURL=standard-filter-with-multiselect.d.ts.map
|
package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"standard-filter-with-multiselect.d.ts","sourceRoot":"","sources":["../../../src/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"standard-filter-with-multiselect.d.ts","sourceRoot":"","sources":["../../../src/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,EAAiB,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAGtE,aAAK,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG;IAAE,KAAK,EAAE,GAAG,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvE,UAAU,aAAa,CAAC,CAAC,EAAE,GAAG,SAAS,MAAM,GAAG,KAAK;IAEjD,UAAU,CAAC,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAEhC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAChC;AAED,UAAU,gBAAgB;IAEtB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IAErC,gCAAgC,CAAC,EAAE,OAAO,CAAC;IAE3C,qBAAqB,CAAC,EAAE,kBAAkB,CAAC,uBAAuB,CAAC,CAAC;IAEpE,oBAAoB,CAAC,EAAE,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;IAElE,2BAA2B,CAAC,EAAE,kBAAkB,CAAC,6BAA6B,CAAC,CAAC;CACnF;AAOD,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,GAAG,SAAS,MAAM,GAAG,KAAK,EACvE,aAAa,GAAE,aAAa,CAAC,CAAC,EAAE,GAAG,CAAM,EACzC,gBAAgB,GAAE,gBAAqB,WA8GxB,oBAAoB,6CAGtC"}
|
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;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,CAAC,EAC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gB,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,
|
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,kBA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
2
|
-
export declare const TimeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
|
1
|
+
export declare const TimeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
|
3
2
|
//# sourceMappingURL=time-filter.d.ts.map
|
@@ -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,gHAAqD,CAAC"}
|
package/dist/table.d.ts
CHANGED
@@ -33,7 +33,7 @@ export declare class Table<T, TId extends IdType = any, P = never, PId extends I
|
|
33
33
|
handleHeaderSelectionChange: (ev: TableHeaderSelectionChangeEvent) => void;
|
34
34
|
handleSelectionChange: (ev: TableSelectionChangeEvent) => void;
|
35
35
|
scrollToBottom: () => void;
|
36
|
-
render(): JSX.Element;
|
36
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
37
37
|
private getPageable;
|
38
38
|
private table;
|
39
39
|
private getOrCreateCellComponentWithTableState;
|
package/dist/table.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../src/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,SAAS,EAKT,SAAS,EACT,YAAY,EACZ,aAAa,EAEhB,MAAM,OAAO,CAAC;AACf,OAAO,EAGH,UAAU,IAAI,eAAe,EAC7B,aAAa,EAEb,gBAAgB,IAAI,qBAAqB,EACzC,cAAc,IAAI,mBAAmB,EAErC,+BAA+B,EAC/B,yBAAyB,EACzB,kBAAkB,EACrB,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EAAmB,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,UAAU,EAAc,M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rD,YAAY,CAAC,gBAAgB,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,GACpD,SAAS;IAiBZ,2BAA2B,OAAQ,+BAA+B,UAgBhE;IAEF,qBAAqB,OAAQ,yBAAyB,UAuCpD;IAEF,cAAc,aAQZ;IAEF,MAAM;IAuCN,OAAO,CAAC,WAAW;IAQnB,OAAO,CAAC,KAAK,CAqDX;IAEF,OAAO,CAAC,sCAAsC,CAoB5C;CACL"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@servicetitan/table",
|
3
|
-
"version": "26.
|
3
|
+
"version": "26.2.0",
|
4
4
|
"description": "",
|
5
5
|
"homepage": "https://docs.st.dev/docs/frontend/table",
|
6
6
|
"repository": {
|
@@ -32,14 +32,14 @@
|
|
32
32
|
"@progress/kendo-react-pdf": "^5.5.0",
|
33
33
|
"@progress/kendo-react-popup": "^5.5.0",
|
34
34
|
"@progress/kendo-react-treeview": "^5.5.0",
|
35
|
-
"@servicetitan/react-hooks": "^4.
|
35
|
+
"@servicetitan/react-hooks": "^4.1.0",
|
36
36
|
"classnames": "~2.3.1",
|
37
37
|
"memoize-one": "~6.0.0"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
|
-
"@servicetitan/data-query": "^26.
|
40
|
+
"@servicetitan/data-query": "^26.2.0",
|
41
41
|
"@servicetitan/design-system": "~13.4.5",
|
42
|
-
"@servicetitan/form": "^26.
|
42
|
+
"@servicetitan/form": "^26.2.0",
|
43
43
|
"@servicetitan/react-ioc": "^23.2.1",
|
44
44
|
"@servicetitan/suppress-warnings": "^23.2.1",
|
45
45
|
"@types/accounting": "~0.4.2",
|
@@ -47,21 +47,21 @@
|
|
47
47
|
"accounting": "~0.4.1",
|
48
48
|
"formstate": "~2.1.0",
|
49
49
|
"mobx": "~6.6.0",
|
50
|
-
"mobx-react": "~7.5.
|
50
|
+
"mobx-react": "~7.5.1",
|
51
51
|
"mobx-utils": "~6.0.5",
|
52
52
|
"moment": "~2.29.3",
|
53
53
|
"react": "~18.2.0"
|
54
54
|
},
|
55
55
|
"peerDependencies": {
|
56
|
-
"@servicetitan/data-query": "^26.
|
56
|
+
"@servicetitan/data-query": "^26.2.0",
|
57
57
|
"@servicetitan/design-system": ">=12.4.1",
|
58
|
-
"@servicetitan/form": "^26.
|
58
|
+
"@servicetitan/form": "^26.2.0",
|
59
59
|
"@servicetitan/react-ioc": ">21.0.0",
|
60
60
|
"@servicetitan/suppress-warnings": ">21.0.0",
|
61
61
|
"accounting": "~0.4.1",
|
62
62
|
"formstate": "~2.1.0",
|
63
63
|
"mobx": "~6.6.0",
|
64
|
-
"mobx-react": "
|
64
|
+
"mobx-react": ">=7.5.1",
|
65
65
|
"mobx-utils": "~6.0.5",
|
66
66
|
"moment": "~2.29.3",
|
67
67
|
"react": ">=17.0.2"
|
@@ -72,5 +72,5 @@
|
|
72
72
|
"cli": {
|
73
73
|
"webpack": false
|
74
74
|
},
|
75
|
-
"gitHead": "
|
75
|
+
"gitHead": "2ab1ef6df0e13a53f749abeb243263b4594559ef"
|
76
76
|
}
|
@@ -15,7 +15,7 @@ interface GetActionCellParams<T> {
|
|
15
15
|
}
|
16
16
|
|
17
17
|
export function getActionCell<T>({ view: ViewAction, edit: EditAction }: GetActionCellParams<T>) {
|
18
|
-
return (props: TableCellProps<T>)
|
18
|
+
return (props: TableCellProps<T>) => {
|
19
19
|
const { tableState, dataItem, rowType } = props;
|
20
20
|
|
21
21
|
if (rowType !== 'data') {
|
@@ -18,7 +18,7 @@ export function getEditableCell<T>({
|
|
18
18
|
viewer: Viewer = TableCell,
|
19
19
|
editor: Editor,
|
20
20
|
}: GetEditableCellParams<T>) {
|
21
|
-
return (props: TableCellProps<any>)
|
21
|
+
return (props: TableCellProps<any>) => {
|
22
22
|
const { tableState, field, dataItem, rowType } = props;
|
23
23
|
|
24
24
|
if (rowType !== 'data') {
|
@@ -99,7 +99,7 @@ class SelectorAsync<TID extends IdType, TO extends AsyncSelectItem<TID>> extends
|
|
99
99
|
}
|
100
100
|
};
|
101
101
|
|
102
|
-
render()
|
102
|
+
render() {
|
103
103
|
const selectedOptions = this.props.selected;
|
104
104
|
const selected = new Set(selectedOptions.map(opt => opt.value));
|
105
105
|
const ItemComponent = this.props.itemComponent;
|
@@ -7,7 +7,7 @@ import {
|
|
7
7
|
import { TableColumnMenuFilterUIProps } from '..';
|
8
8
|
import { DropDownList } from '@progress/kendo-react-dropdowns';
|
9
9
|
|
10
|
-
export const StandardColumnMenuFilter = (props: TableColumnMenuProps)
|
10
|
+
export const StandardColumnMenuFilter = (props: TableColumnMenuProps) => (
|
11
11
|
<TableColumnMenuFilter {...props} expanded />
|
12
12
|
);
|
13
13
|
|
@@ -62,7 +62,7 @@ export function renderCustomColumnMenuFilter(
|
|
62
62
|
);
|
63
63
|
};
|
64
64
|
|
65
|
-
return (props: TableColumnMenuProps)
|
65
|
+
return (props: TableColumnMenuProps) => (
|
66
66
|
<TableColumnMenuFilter {...props} filterUI={FilterUI} expanded />
|
67
67
|
);
|
68
68
|
}
|
@@ -26,19 +26,17 @@ class Selector<T> extends Component<SelectorProps<T>> {
|
|
26
26
|
render() {
|
27
27
|
const { options, value, renderer } = this.props;
|
28
28
|
|
29
|
-
return options.map(
|
30
|
-
|
31
|
-
|
32
|
-
<
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
)
|
41
|
-
);
|
29
|
+
return options.map((option, index) => (
|
30
|
+
// eslint-disable-next-line react/no-array-index-key
|
31
|
+
<span key={index} className="k-widget m-b-1-i d-b">
|
32
|
+
<Checkbox
|
33
|
+
value={option}
|
34
|
+
label={renderer ? renderer(option) : option}
|
35
|
+
checked={(value ?? []).includes(option)}
|
36
|
+
onChange={this.handleChange}
|
37
|
+
/>
|
38
|
+
</span>
|
39
|
+
));
|
42
40
|
}
|
43
41
|
}
|
44
42
|
|
@@ -89,7 +87,7 @@ export function complexItemMultiSelectColumnMenuFilter<T>(
|
|
89
87
|
});
|
90
88
|
};
|
91
89
|
|
92
|
-
render()
|
90
|
+
render() {
|
93
91
|
const { value } = this.props;
|
94
92
|
|
95
93
|
return (
|
@@ -126,7 +124,7 @@ export function multiItemMultiSelectColumnMenuFilter<T>(
|
|
126
124
|
});
|
127
125
|
};
|
128
126
|
|
129
|
-
render()
|
127
|
+
render() {
|
130
128
|
const { value } = this.props;
|
131
129
|
|
132
130
|
return (
|
@@ -95,7 +95,7 @@ class SelectorAsync<TO> extends Component<SelectorProps<TO>> {
|
|
95
95
|
}
|
96
96
|
};
|
97
97
|
|
98
|
-
render()
|
98
|
+
render() {
|
99
99
|
const selectedOptions = this.props.selected;
|
100
100
|
const selected = new Set(selectedOptions.map(opt => this.props.valueSelector(opt)));
|
101
101
|
const ItemComponent = this.props.itemComponent;
|
@@ -20,7 +20,7 @@ class SelectorRadio<TV, TO> extends Component<SelectorProps<TV, TO>> {
|
|
20
20
|
render() {
|
21
21
|
const { options, value, renderer } = this.props;
|
22
22
|
|
23
|
-
return options.map((option, index)
|
23
|
+
return options.map((option, index) => {
|
24
24
|
const optionValue = this.props.valueSelector(option);
|
25
25
|
return (
|
26
26
|
// eslint-disable-next-line react/no-array-index-key
|
@@ -158,7 +158,7 @@ export function standardFilterWithMultiselect<T, TId extends IdType = never>(
|
|
158
158
|
);
|
159
159
|
});
|
160
160
|
|
161
|
-
return (props: TableColumnMenuProps)
|
161
|
+
return (props: TableColumnMenuProps) => (
|
162
162
|
<TableColumnMenuFilterExt {...props} filterUI={FilterUIWithValues} expanded />
|
163
163
|
);
|
164
164
|
}
|