@wordpress/dataviews 14.2.0 → 14.2.1-next.v.202605131006.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-types/components/dataform-context/index.d.ts +1 -1
- package/build-types/components/dataform-context/index.d.ts.map +1 -1
- package/build-types/components/dataform-controls/array.d.ts +1 -1
- package/build-types/components/dataform-controls/array.d.ts.map +1 -1
- package/build-types/components/dataform-controls/checkbox.d.ts +1 -1
- package/build-types/components/dataform-controls/checkbox.d.ts.map +1 -1
- package/build-types/components/dataform-controls/color.d.ts +1 -1
- package/build-types/components/dataform-controls/color.d.ts.map +1 -1
- package/build-types/components/dataform-controls/combobox.d.ts +1 -1
- package/build-types/components/dataform-controls/combobox.d.ts.map +1 -1
- package/build-types/components/dataform-controls/date.d.ts +1 -1
- package/build-types/components/dataform-controls/date.d.ts.map +1 -1
- package/build-types/components/dataform-controls/datetime.d.ts +1 -1
- package/build-types/components/dataform-controls/datetime.d.ts.map +1 -1
- package/build-types/components/dataform-controls/email.d.ts +1 -1
- package/build-types/components/dataform-controls/email.d.ts.map +1 -1
- package/build-types/components/dataform-controls/password.d.ts +1 -1
- package/build-types/components/dataform-controls/password.d.ts.map +1 -1
- package/build-types/components/dataform-controls/radio.d.ts +1 -1
- package/build-types/components/dataform-controls/radio.d.ts.map +1 -1
- package/build-types/components/dataform-controls/select.d.ts +1 -1
- package/build-types/components/dataform-controls/select.d.ts.map +1 -1
- package/build-types/components/dataform-controls/telephone.d.ts +1 -1
- package/build-types/components/dataform-controls/telephone.d.ts.map +1 -1
- package/build-types/components/dataform-controls/text.d.ts +1 -1
- package/build-types/components/dataform-controls/text.d.ts.map +1 -1
- package/build-types/components/dataform-controls/textarea.d.ts +1 -1
- package/build-types/components/dataform-controls/textarea.d.ts.map +1 -1
- package/build-types/components/dataform-controls/toggle-group.d.ts +1 -1
- package/build-types/components/dataform-controls/toggle-group.d.ts.map +1 -1
- package/build-types/components/dataform-controls/toggle.d.ts +1 -1
- package/build-types/components/dataform-controls/toggle.d.ts.map +1 -1
- package/build-types/components/dataform-controls/url.d.ts +1 -1
- package/build-types/components/dataform-controls/url.d.ts.map +1 -1
- package/build-types/components/dataform-controls/utils/get-custom-validity.d.ts +1 -1
- package/build-types/components/dataform-controls/utils/relative-date-control.d.ts +1 -1
- package/build-types/components/dataform-controls/utils/relative-date-control.d.ts.map +1 -1
- package/build-types/components/dataform-controls/utils/validated-input.d.ts +1 -1
- package/build-types/components/dataform-controls/utils/validated-input.d.ts.map +1 -1
- package/build-types/components/dataform-controls/utils/validated-number.d.ts +1 -1
- package/build-types/components/dataform-controls/utils/validated-number.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/card/index.d.ts +1 -1
- package/build-types/components/dataform-layouts/card/index.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/data-form-layout.d.ts +1 -1
- package/build-types/components/dataform-layouts/data-form-layout.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/details/index.d.ts +1 -1
- package/build-types/components/dataform-layouts/details/index.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/get-summary-fields.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/index.d.ts +1 -1
- package/build-types/components/dataform-layouts/normalize-form.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/panel/dropdown.d.ts +1 -1
- package/build-types/components/dataform-layouts/panel/dropdown.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/panel/index.d.ts +1 -1
- package/build-types/components/dataform-layouts/panel/index.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/panel/modal.d.ts +1 -1
- package/build-types/components/dataform-layouts/panel/modal.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/panel/summary-button.d.ts +1 -1
- package/build-types/components/dataform-layouts/panel/summary-button.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/panel/utils/get-first-validation-error.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/panel/utils/get-label-classname.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/panel/utils/get-label-content.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/panel/utils/use-field-from-form-field.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/regular/index.d.ts +1 -1
- package/build-types/components/dataform-layouts/regular/index.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/row/index.d.ts +1 -1
- package/build-types/components/dataform-layouts/row/index.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/validation-badge.d.ts +1 -1
- package/build-types/components/dataform-layouts/validation-badge.d.ts.map +1 -1
- package/build-types/components/dataviews-bulk-actions/index.d.ts +1 -1
- package/build-types/components/dataviews-bulk-actions/index.d.ts.map +1 -1
- package/build-types/components/dataviews-context/index.d.ts.map +1 -1
- package/build-types/components/dataviews-filters/add-filter.d.ts +1 -1
- package/build-types/components/dataviews-filters/add-filter.d.ts.map +1 -1
- package/build-types/components/dataviews-filters/filters-toggled.d.ts.map +1 -1
- package/build-types/components/dataviews-filters/filters.d.ts.map +1 -1
- package/build-types/components/dataviews-filters/input-widget.d.ts +1 -1
- package/build-types/components/dataviews-filters/input-widget.d.ts.map +1 -1
- package/build-types/components/dataviews-filters/reset-filters.d.ts +1 -1
- package/build-types/components/dataviews-filters/reset-filters.d.ts.map +1 -1
- package/build-types/components/dataviews-filters/search-widget.d.ts +3 -0
- package/build-types/components/dataviews-filters/search-widget.d.ts.map +1 -1
- package/build-types/components/dataviews-filters/toggle.d.ts.map +1 -1
- package/build-types/components/dataviews-filters/use-filters.d.ts.map +1 -1
- package/build-types/components/dataviews-filters/utils.d.ts.map +1 -1
- package/build-types/components/dataviews-item-actions/index.d.ts +4 -4
- package/build-types/components/dataviews-item-actions/index.d.ts.map +1 -1
- package/build-types/components/dataviews-layouts/activity/activity-group.d.ts +1 -1
- package/build-types/components/dataviews-layouts/activity/activity-group.d.ts.map +1 -1
- package/build-types/components/dataviews-layouts/activity/activity-item.d.ts.map +1 -1
- package/build-types/components/dataviews-layouts/grid/composite-grid.d.ts +1 -1
- package/build-types/components/dataviews-layouts/grid/composite-grid.d.ts.map +1 -1
- package/build-types/components/dataviews-layouts/grid/index.d.ts +1 -1
- package/build-types/components/dataviews-layouts/grid/index.d.ts.map +1 -1
- package/build-types/components/dataviews-layouts/picker-grid/index.d.ts +1 -1
- package/build-types/components/dataviews-layouts/picker-grid/index.d.ts.map +1 -1
- package/build-types/components/dataviews-layouts/picker-table/index.d.ts +1 -1
- package/build-types/components/dataviews-layouts/picker-table/index.d.ts.map +1 -1
- package/build-types/components/dataviews-layouts/table/column-header-menu.d.ts.map +1 -1
- package/build-types/components/dataviews-layouts/table/column-primary.d.ts +1 -1
- package/build-types/components/dataviews-layouts/table/column-primary.d.ts.map +1 -1
- package/build-types/components/dataviews-layouts/table/index.d.ts +1 -1
- package/build-types/components/dataviews-layouts/table/index.d.ts.map +1 -1
- package/build-types/components/dataviews-layouts/table/use-scroll-state.d.ts +1 -1
- package/build-types/components/dataviews-layouts/table/use-scroll-state.d.ts.map +1 -1
- package/build-types/components/dataviews-pagination/index.d.ts.map +1 -1
- package/build-types/components/dataviews-search/index.d.ts.map +1 -1
- package/build-types/components/dataviews-view-config/index.d.ts.map +1 -1
- package/build-types/components/dataviews-view-config/properties-section.d.ts +1 -1
- package/build-types/components/dataviews-view-config/properties-section.d.ts.map +1 -1
- package/build-types/constants.d.ts +3 -3
- package/build-types/constants.d.ts.map +1 -1
- package/build-types/dataform/index.d.ts +1 -1
- package/build-types/dataform/index.d.ts.map +1 -1
- package/build-types/dataform/stories/content.story.d.ts.map +1 -1
- package/build-types/dataform/stories/data-adapter.d.ts.map +1 -1
- package/build-types/dataform/stories/index.story.d.ts +9 -9
- package/build-types/dataform/stories/index.story.d.ts.map +1 -1
- package/build-types/dataform/stories/layout-card.d.ts.map +1 -1
- package/build-types/dataform/stories/layout-details.d.ts.map +1 -1
- package/build-types/dataform/stories/layout-mixed.d.ts.map +1 -1
- package/build-types/dataform/stories/layout-panel.d.ts +4 -4
- package/build-types/dataform/stories/layout-panel.d.ts.map +1 -1
- package/build-types/dataform/stories/layout-regular.d.ts +1 -1
- package/build-types/dataform/stories/layout-regular.d.ts.map +1 -1
- package/build-types/dataform/stories/layout-row.d.ts +1 -1
- package/build-types/dataform/stories/layout-row.d.ts.map +1 -1
- package/build-types/dataform/stories/validation.d.ts +3 -3
- package/build-types/dataform/stories/validation.d.ts.map +1 -1
- package/build-types/dataform/stories/visibility.d.ts.map +1 -1
- package/build-types/dataviews/index.d.ts +1 -1
- package/build-types/dataviews/index.d.ts.map +1 -1
- package/build-types/dataviews/stories/empty.d.ts.map +1 -1
- package/build-types/dataviews/stories/free-composition.d.ts.map +1 -1
- package/build-types/dataviews/stories/index.story.d.ts +1 -1
- package/build-types/dataviews/stories/index.story.d.ts.map +1 -1
- package/build-types/dataviews/stories/infinite-scroll.d.ts.map +1 -1
- package/build-types/dataviews/stories/layout-activity.d.ts.map +1 -1
- package/build-types/dataviews/stories/layout-custom.d.ts.map +1 -1
- package/build-types/dataviews/stories/layout-grid.d.ts.map +1 -1
- package/build-types/dataviews/stories/layout-list.d.ts.map +1 -1
- package/build-types/dataviews/stories/layout-table.d.ts.map +1 -1
- package/build-types/dataviews/stories/minimal-ui.d.ts +1 -1
- package/build-types/dataviews/stories/minimal-ui.d.ts.map +1 -1
- package/build-types/dataviews/stories/with-card.d.ts.map +1 -1
- package/build-types/dataviews-picker/index.d.ts +1 -1
- package/build-types/dataviews-picker/index.d.ts.map +1 -1
- package/build-types/dataviews-picker/stories/index.story.d.ts +24 -20
- package/build-types/dataviews-picker/stories/index.story.d.ts.map +1 -1
- package/build-types/field-types/array.d.ts +3 -3
- package/build-types/field-types/array.d.ts.map +1 -1
- package/build-types/field-types/boolean.d.ts +2 -2
- package/build-types/field-types/boolean.d.ts.map +1 -1
- package/build-types/field-types/color.d.ts +1 -1
- package/build-types/field-types/color.d.ts.map +1 -1
- package/build-types/field-types/date.d.ts +3 -3
- package/build-types/field-types/date.d.ts.map +1 -1
- package/build-types/field-types/datetime.d.ts +3 -3
- package/build-types/field-types/datetime.d.ts.map +1 -1
- package/build-types/field-types/email.d.ts +1 -1
- package/build-types/field-types/email.d.ts.map +1 -1
- package/build-types/field-types/integer.d.ts +3 -3
- package/build-types/field-types/integer.d.ts.map +1 -1
- package/build-types/field-types/media.d.ts.map +1 -1
- package/build-types/field-types/no-type.d.ts.map +1 -1
- package/build-types/field-types/number.d.ts +3 -3
- package/build-types/field-types/number.d.ts.map +1 -1
- package/build-types/field-types/password.d.ts +1 -1
- package/build-types/field-types/password.d.ts.map +1 -1
- package/build-types/field-types/stories/index.story.d.ts +182 -166
- package/build-types/field-types/stories/index.story.d.ts.map +1 -1
- package/build-types/field-types/telephone.d.ts +1 -1
- package/build-types/field-types/telephone.d.ts.map +1 -1
- package/build-types/field-types/text.d.ts +1 -1
- package/build-types/field-types/text.d.ts.map +1 -1
- package/build-types/field-types/url.d.ts +1 -1
- package/build-types/field-types/url.d.ts.map +1 -1
- package/build-types/field-types/utils/get-filter-by.d.ts.map +1 -1
- package/build-types/field-types/utils/get-format.d.ts +109 -109
- package/build-types/field-types/utils/get-format.d.ts.map +1 -1
- package/build-types/field-types/utils/get-value-formatted-default.d.ts +1 -1
- package/build-types/field-types/utils/get-value-formatted-default.d.ts.map +1 -1
- package/build-types/field-types/utils/get-value-from-id.d.ts.map +1 -1
- package/build-types/field-types/utils/render-default.d.ts +1 -1
- package/build-types/field-types/utils/render-default.d.ts.map +1 -1
- package/build-types/field-types/utils/render-from-elements.d.ts +1 -1
- package/build-types/field-types/utils/render-from-elements.d.ts.map +1 -1
- package/build-types/field-types/utils/set-value-from-id.d.ts.map +1 -1
- package/build-types/field-types/utils/sort-number.d.ts.map +1 -1
- package/build-types/field-types/utils/sort-text.d.ts.map +1 -1
- package/build-types/hooks/use-data.d.ts +1 -1
- package/build-types/hooks/use-data.d.ts.map +1 -1
- package/build-types/hooks/use-elements.d.ts +1 -1
- package/build-types/hooks/use-elements.d.ts.map +1 -1
- package/build-types/hooks/use-form-validity.d.ts.map +1 -1
- package/build-types/hooks/use-infinite-scroll.d.ts +1 -1
- package/build-types/hooks/use-infinite-scroll.d.ts.map +1 -1
- package/build-types/types/dataviews.d.ts +1 -1
- package/build-types/types/dataviews.d.ts.map +1 -1
- package/build-types/types/field-api.d.ts +2 -2
- package/build-types/types/field-api.d.ts.map +1 -1
- package/build-types/utils/operators.d.ts +1 -1
- package/build-types/utils/operators.d.ts.map +1 -1
- package/build-wp/index.js +1022 -173
- package/package.json +16 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minimal-ui.d.ts","sourceRoot":"","sources":["../../../src/dataviews/stories/minimal-ui.tsx"],"names":[],"mappings":"AAcA,QAAA,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"minimal-ui.d.ts","sourceRoot":"","sources":["../../../src/dataviews/stories/minimal-ui.tsx"],"names":[],"mappings":"AAcA,QAAA,MAAM,kBAAkB,gBAErB;IACF,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;CAClC,gCA4CA,CAAC;eAEa,kBAAkB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-card.d.ts","sourceRoot":"","sources":["../../../src/dataviews/stories/with-card.tsx"],"names":[],"mappings":"AAoBA,QAAA,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"with-card.d.ts","sourceRoot":"","sources":["../../../src/dataviews/stories/with-card.tsx"],"names":[],"mappings":"AAoBA,QAAA,MAAM,iBAAiB,yBAEpB;IACF,eAAe,EAAE,MAAM,CAAC;CACxB,gCA4CA,CAAC;eAEa,iBAAiB"}
|
|
@@ -40,7 +40,7 @@ type DataViewsPickerProps<Item> = {
|
|
|
40
40
|
} : {
|
|
41
41
|
getItemId: (item: Item) => string;
|
|
42
42
|
});
|
|
43
|
-
declare function DataViewsPicker<Item>({ view, onChangeView, fields, search, searchLabel, actions, data, getItemId, isLoading, paginationInfo, defaultLayouts: defaultLayoutsProperty, selection, onChangeSelection, children, config, itemListLabel, empty, onReset
|
|
43
|
+
declare function DataViewsPicker<Item>({ view, onChangeView, fields, search, searchLabel, actions, data, getItemId, isLoading, paginationInfo, defaultLayouts: defaultLayoutsProperty, selection, onChangeSelection, children, config, itemListLabel, empty, onReset }: DataViewsPickerProps<Item>): import("react").JSX.Element | null;
|
|
44
44
|
declare const DataViewsPickerSubComponents: typeof DataViewsPicker & {
|
|
45
45
|
BulkActionToolbar: typeof DataViewsPickerFooter;
|
|
46
46
|
Filters: typeof Filters;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dataviews-picker/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAqBvC,OAAO,EACN,OAAO,EACP,cAAc,EAEd,aAAa,EACb,MAAM,iCAAiC,CAAC;AACzC,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAA4B,EAC3B,2BAA2B,EAC3B,YAAY,EACZ,MAAM,qCAAqC,CAAC;AAI7C,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5E,KAAK,UAAU,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAQjC,KAAK,oBAAoB,CAAE,IAAI,IAAK;IACnC,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,IAAI,CAAC;IACrC,MAAM,EAAE,KAAK,CAAE,IAAI,CAAE,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,YAAY,CAAE,IAAI,CAAE,EAAE,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,IAAI,EAAE,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE;QACf,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,iBAAiB,EAAE,CAAE,KAAK,EAAE,MAAM,EAAE,KAAM,IAAI,CAAC;IAC/C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE;QACR,YAAY,EAAE,MAAM,EAAE,CAAC;KACvB,CAAC;IACF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,CAAE,MAAM,IAAI,CAAE,GAAG,KAAK,CAAC;CACjC,GAAG,CAAE,IAAI,SAAS,UAAU,GAC1B;IAAE,SAAS,CAAC,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,MAAM,CAAA;CAAE,GACxC;IAAE,SAAS,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,MAAM,CAAA;CAAE,CAAE,CAAC;AAoD7C,iBAAS,eAAe,CAAE,IAAI,EAAI,EACjC,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,MAAa,EACb,WAAuB,EACvB,OAAqB,EACrB,IAAI,EACJ,SAA4B,EAC5B,SAAiB,EACjB,cAAc,EACd,cAAc,EAAE,sBAA+C,EAC/D,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACR,MAA8C,EAC9C,aAAa,EACb,KAAK,EACL,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dataviews-picker/index.tsx"],"names":[],"mappings":"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"}
|
|
@@ -8,20 +8,22 @@ import type { Meta } from '@storybook/react-vite';
|
|
|
8
8
|
import DataViewsPicker from '../index';
|
|
9
9
|
declare const meta: Meta<typeof DataViewsPicker>;
|
|
10
10
|
export default meta;
|
|
11
|
-
export declare
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
args: {
|
|
11
|
+
export declare function Default({ perPageSizes, isMultiselectable, isGrouped, infiniteScrollEnabled }: {
|
|
12
|
+
perPageSizes: number[];
|
|
13
|
+
isMultiselectable: boolean;
|
|
14
|
+
isGrouped: boolean;
|
|
15
|
+
infiniteScrollEnabled: boolean;
|
|
16
|
+
}): import("react").JSX.Element;
|
|
17
|
+
export declare namespace Default {
|
|
18
|
+
var args: {
|
|
19
19
|
perPageSizes: number[];
|
|
20
20
|
isMultiselectable: boolean;
|
|
21
21
|
isGrouped: boolean;
|
|
22
22
|
infiniteScrollEnabled: boolean;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
}
|
|
25
|
+
export declare namespace Default {
|
|
26
|
+
var argTypes: {
|
|
25
27
|
isMultiselectable: {
|
|
26
28
|
control: string;
|
|
27
29
|
description: string;
|
|
@@ -39,21 +41,23 @@ export declare const Default: {
|
|
|
39
41
|
description: string;
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
|
-
}
|
|
43
|
-
export declare
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
args: {
|
|
44
|
+
}
|
|
45
|
+
export declare function WithModal({ perPageSizes, isMultiselectable, isGrouped, infiniteScrollEnabled }: {
|
|
46
|
+
perPageSizes: number[];
|
|
47
|
+
isMultiselectable: boolean;
|
|
48
|
+
isGrouped: boolean;
|
|
49
|
+
infiniteScrollEnabled: boolean;
|
|
50
|
+
}): import("react").JSX.Element;
|
|
51
|
+
export declare namespace WithModal {
|
|
52
|
+
var args: {
|
|
51
53
|
perPageSizes: number[];
|
|
52
54
|
isMultiselectable: boolean;
|
|
53
55
|
isGrouped: boolean;
|
|
54
56
|
infiniteScrollEnabled: boolean;
|
|
55
57
|
};
|
|
56
|
-
|
|
58
|
+
}
|
|
59
|
+
export declare namespace WithModal {
|
|
60
|
+
var argTypes: {
|
|
57
61
|
isMultiselectable: {
|
|
58
62
|
control: string;
|
|
59
63
|
description: string;
|
|
@@ -71,5 +75,5 @@ export declare const WithModal: {
|
|
|
71
75
|
description: string;
|
|
72
76
|
};
|
|
73
77
|
};
|
|
74
|
-
}
|
|
78
|
+
}
|
|
75
79
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/dataviews-picker/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AASlD;;GAEG;AACH,OAAO,eAAe,MAAM,UAAU,CAAC;AAMvC,QAAA,MAAM,IAAI,EAGL,IAAI,CAAE,OAAO,eAAe,CAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/dataviews-picker/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AASlD;;GAEG;AACH,OAAO,eAAe,MAAM,UAAU,CAAC;AAMvC,QAAA,MAAM,IAAI,EAGL,IAAI,CAAE,OAAO,eAAe,CAAE,CAAC;eAErB,IAAI;gCAwKM,EACxB,YAAkC,EAClC,iBAAiB,EACjB,SAAS,EACT,qBAAqB,EACrB,EAAE;IACF,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,qBAAqB,EAAE,OAAO,CAAC;CAC/B;;;;;;;;;;;;YAvKC,OAAO;YACP,WAAW;;;YAGX,OAAO;YACP,WAAW;;;YAGX,OAAO;YACP,WAAW;;;YAGX,OAAO;YACP,WAAW;;;;kCAsKc,EAC1B,YAAkC,EAClC,iBAAiB,EACjB,SAAS,EACT,qBAAqB,EACrB,EAAE;IACF,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,qBAAqB,EAAE,OAAO,CAAC;CAC/B;;;;;;;;;;;;YA7LC,OAAO;YACP,WAAW;;;YAGX,OAAO;YACP,WAAW;;;YAGX,OAAO;YACP,WAAW;;;YAGX,OAAO;YACP,WAAW"}
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
import type { DataViewRenderFieldProps, NormalizedField, SortDirection } from '../types';
|
|
5
5
|
import isValidRequiredForArray from './utils/is-valid-required-for-array';
|
|
6
6
|
import isValidElements from './utils/is-valid-elements';
|
|
7
|
-
declare function getValueFormatted<Item>({ item, field
|
|
7
|
+
declare function getValueFormatted<Item>({ item, field }: {
|
|
8
8
|
item: Item;
|
|
9
9
|
field: NormalizedField<Item>;
|
|
10
10
|
}): string;
|
|
11
11
|
declare function render({ item, field }: DataViewRenderFieldProps<any>): string;
|
|
12
|
-
declare function isValidCustom<Item>(item: Item, field: NormalizedField<Item>): import("@wordpress/i18n").TransformedText<"
|
|
12
|
+
declare function isValidCustom<Item>(item: Item, field: NormalizedField<Item>): import("@wordpress/i18n").TransformedText<"Every value must be a string."> | import("@wordpress/i18n").TransformedText<"Value must be an array."> | null;
|
|
13
13
|
declare const _default: {
|
|
14
14
|
type: "array";
|
|
15
15
|
render: typeof render;
|
|
@@ -18,7 +18,7 @@ declare const _default: {
|
|
|
18
18
|
enableSorting: true;
|
|
19
19
|
enableGlobalSearch: false;
|
|
20
20
|
defaultOperators: ("isAny" | "isNone")[];
|
|
21
|
-
validOperators: ("
|
|
21
|
+
validOperators: ("isAll" | "isAny" | "isNone" | "isNotAll")[];
|
|
22
22
|
format: {};
|
|
23
23
|
getValueFormatted: typeof getValueFormatted;
|
|
24
24
|
validate: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../src/field-types/array.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EACX,wBAAwB,EACxB,eAAe,EACf,aAAa,EACb,MAAM,UAAU,CAAC;AAQlB,OAAO,uBAAuB,MAAM,qCAAqC,CAAC;AAC1E,OAAO,eAAe,MAAM,2BAA2B,CAAC;AAExD,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,
|
|
1
|
+
{"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../src/field-types/array.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EACX,wBAAwB,EACxB,eAAe,EACf,aAAa,EACb,MAAM,UAAU,CAAC;AAQlB,OAAO,uBAAuB,MAAM,qCAAqC,CAAC;AAC1E,OAAO,eAAe,MAAM,2BAA2B,CAAC;AAExD,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,EACL,EAAE;IACF,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;CAC/B,GAAI,MAAM,CAIV;AAED,iBAAS,MAAM,CAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,wBAAwB,CAAE,GAAG,CAAE,UAEhE;AAED,iBAAS,aAAa,CAAE,IAAI,EAAI,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,4JAgBzE;;;;;cAEiB,GAAG,KAAK,GAAG,aAAa,aAAa;;;;;;;;QAkCrD,QAAQ;QACR,QAAQ;QACR,MAAM"}
|
|
@@ -5,7 +5,7 @@ import type { NormalizedField, SortDirection } from '../types';
|
|
|
5
5
|
import isValidElements from './utils/is-valid-elements';
|
|
6
6
|
import isValidRequiredForBool from './utils/is-valid-required-for-bool';
|
|
7
7
|
import render from './utils/render-default';
|
|
8
|
-
declare function getValueFormatted<Item>({ item, field
|
|
8
|
+
declare function getValueFormatted<Item>({ item, field }: {
|
|
9
9
|
item: Item;
|
|
10
10
|
field: NormalizedField<Item>;
|
|
11
11
|
}): string;
|
|
@@ -14,7 +14,7 @@ declare const _default: {
|
|
|
14
14
|
type: "boolean";
|
|
15
15
|
render: typeof render;
|
|
16
16
|
Edit: string;
|
|
17
|
-
sort: (a: any, b: any, direction: SortDirection) =>
|
|
17
|
+
sort: (a: any, b: any, direction: SortDirection) => -1 | 0 | 1;
|
|
18
18
|
validate: {
|
|
19
19
|
required: typeof isValidRequiredForBool;
|
|
20
20
|
elements: typeof isValidElements;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boolean.d.ts","sourceRoot":"","sources":["../../src/field-types/boolean.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAG/D,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,sBAAsB,MAAM,oCAAoC,CAAC;AACxE,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAE5C,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,
|
|
1
|
+
{"version":3,"file":"boolean.d.ts","sourceRoot":"","sources":["../../src/field-types/boolean.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAG/D,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,sBAAsB,MAAM,oCAAoC,CAAC;AACxE,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAE5C,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,EACL,EAAE;IACF,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;CAC/B,GAAI,MAAM,CAYV;AAED,iBAAS,aAAa,CAAE,IAAI,EAAI,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,+FAWzE;;;;;cAEiB,GAAG,KAAK,GAAG,aAAa,aAAa;;QAuBrD,QAAQ;QACR,QAAQ;QACR,MAAM"}
|
|
@@ -15,7 +15,7 @@ declare const _default: {
|
|
|
15
15
|
enableSorting: true;
|
|
16
16
|
enableGlobalSearch: false;
|
|
17
17
|
defaultOperators: ("isAny" | "isNone")[];
|
|
18
|
-
validOperators: ("is" | "
|
|
18
|
+
validOperators: ("is" | "isAny" | "isNone" | "isNot")[];
|
|
19
19
|
format: {};
|
|
20
20
|
getValueFormatted: typeof getValueFormatted;
|
|
21
21
|
validate: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/field-types/color.tsx"],"names":[],"mappings":"AAUA;;GAEG;AACH,OAAO,KAAK,EACX,wBAAwB,EACxB,eAAe,EACf,aAAa,EACb,MAAM,UAAU,CAAC;AASlB,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,iBAAiB,MAAM,qCAAqC,CAAC;AAEpE,iBAAS,MAAM,CAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,wBAAwB,CAAE,GAAG,CAAE,wCA0BhE;AAED,iBAAS,aAAa,CAAE,IAAI,EAAI,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,oFAWzE;;;;;cAEiB,GAAG,KAAK,GAAG,aAAa,aAAa
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/field-types/color.tsx"],"names":[],"mappings":"AAUA;;GAEG;AACH,OAAO,KAAK,EACX,wBAAwB,EACxB,eAAe,EACf,aAAa,EACb,MAAM,UAAU,CAAC;AASlB,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,iBAAiB,MAAM,qCAAqC,CAAC;AAEpE,iBAAS,MAAM,CAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,wBAAwB,CAAE,GAAG,CAAE,wCA0BhE;AAED,iBAAS,aAAa,CAAE,IAAI,EAAI,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,oFAWzE;;;;;cAEiB,GAAG,KAAK,GAAG,aAAa,aAAa;;;;;;;;QA6CrD,QAAQ;QACR,QAAQ;QACR,MAAM"}
|
|
@@ -6,7 +6,7 @@ import isValidElements from './utils/is-valid-elements';
|
|
|
6
6
|
import isValidRequired from './utils/is-valid-required';
|
|
7
7
|
import { isValidMaxDate, isValidMinDate } from './utils/is-valid-date-boundary';
|
|
8
8
|
import render from './utils/render-default';
|
|
9
|
-
declare function getValueFormatted<Item>({ item, field
|
|
9
|
+
declare function getValueFormatted<Item>({ item, field }: {
|
|
10
10
|
item: Item;
|
|
11
11
|
field: NormalizedField<Item>;
|
|
12
12
|
}): string;
|
|
@@ -17,8 +17,8 @@ declare const _default: {
|
|
|
17
17
|
sort: (a: any, b: any, direction: SortDirection) => number;
|
|
18
18
|
enableSorting: true;
|
|
19
19
|
enableGlobalSearch: false;
|
|
20
|
-
defaultOperators: ("
|
|
21
|
-
validOperators: ("
|
|
20
|
+
defaultOperators: ("after" | "afterInc" | "before" | "beforeInc" | "between" | "inThePast" | "notOn" | "on" | "over")[];
|
|
21
|
+
validOperators: ("after" | "afterInc" | "before" | "beforeInc" | "between" | "inThePast" | "notOn" | "on" | "over")[];
|
|
22
22
|
format: {
|
|
23
23
|
date: string;
|
|
24
24
|
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/field-types/date.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAc,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE3E,OAAO,eAAe,MAAM,2BAA2B,CAAC;AAYxD,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAO5C,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/field-types/date.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAc,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE3E,OAAO,eAAe,MAAM,2BAA2B,CAAC;AAYxD,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAO5C,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,EACL,EAAE;IACF,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;CAC/B,GAAI,MAAM,CAcV;;;;;cAEiB,GAAG,KAAK,GAAG,aAAa,aAAa;;;;;;;;;;;QAuCrD,QAAQ;QACR,QAAQ;QACR,GAAG;QACH,GAAG"}
|
|
@@ -6,7 +6,7 @@ import isValidElements from './utils/is-valid-elements';
|
|
|
6
6
|
import isValidRequired from './utils/is-valid-required';
|
|
7
7
|
import { isValidMaxDate, isValidMinDate } from './utils/is-valid-date-boundary';
|
|
8
8
|
import render from './utils/render-default';
|
|
9
|
-
declare function getValueFormatted<Item>({ item, field
|
|
9
|
+
declare function getValueFormatted<Item>({ item, field }: {
|
|
10
10
|
item: Item;
|
|
11
11
|
field: NormalizedField<Item>;
|
|
12
12
|
}): string;
|
|
@@ -17,8 +17,8 @@ declare const _default: {
|
|
|
17
17
|
sort: (a: any, b: any, direction: SortDirection) => number;
|
|
18
18
|
enableSorting: true;
|
|
19
19
|
enableGlobalSearch: false;
|
|
20
|
-
defaultOperators: ("
|
|
21
|
-
validOperators: ("
|
|
20
|
+
defaultOperators: ("after" | "afterInc" | "before" | "beforeInc" | "inThePast" | "notOn" | "on" | "over")[];
|
|
21
|
+
validOperators: ("after" | "afterInc" | "before" | "beforeInc" | "inThePast" | "notOn" | "on" | "over")[];
|
|
22
22
|
format: {
|
|
23
23
|
datetime: string;
|
|
24
24
|
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../src/field-types/datetime.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAkB,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE/E,OAAO,eAAe,MAAM,2BAA2B,CAAC;AAWxD,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAO5C,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,
|
|
1
|
+
{"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../src/field-types/datetime.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAkB,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE/E,OAAO,eAAe,MAAM,2BAA2B,CAAC;AAWxD,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAO5C,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,EACL,EAAE;IACF,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;CAC/B,GAAI,MAAM,CAcV;;;;;cAEiB,GAAG,KAAK,GAAG,aAAa,aAAa;;;;;;;;;;;QAqCrD,QAAQ;QACR,QAAQ;QACR,GAAG;QACH,GAAG"}
|
|
@@ -18,7 +18,7 @@ declare const _default: {
|
|
|
18
18
|
enableSorting: true;
|
|
19
19
|
enableGlobalSearch: false;
|
|
20
20
|
defaultOperators: ("isAny" | "isNone")[];
|
|
21
|
-
validOperators: ("
|
|
21
|
+
validOperators: ("contains" | "is" | "isAll" | "isAny" | "isNone" | "isNot" | "isNotAll" | "notContains" | "startsWith")[];
|
|
22
22
|
format: {};
|
|
23
23
|
getValueFormatted: typeof getValueFormatted;
|
|
24
24
|
validate: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../../src/field-types/email.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAahD,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAE5C,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,cAAc,MAAM,0BAA0B,CAAC;AACtD,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,iBAAiB,MAAM,qCAAqC,CAAC;AAOpE,iBAAS,aAAa,CAAE,IAAI,EAAI,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,4FAWzE
|
|
1
|
+
{"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../../src/field-types/email.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAahD,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAE5C,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,cAAc,MAAM,0BAA0B,CAAC;AACtD,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,iBAAiB,MAAM,qCAAqC,CAAC;AAOpE,iBAAS,aAAa,CAAE,IAAI,EAAI,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,4FAWzE;;;;;;;;;;;;;QAyBC,QAAQ;QACR,OAAO;QACP,SAAS;QACT,SAAS;QACT,QAAQ;QACR,MAAM"}
|
|
@@ -7,7 +7,7 @@ import isValidMin from './utils/is-valid-min';
|
|
|
7
7
|
import isValidMax from './utils/is-valid-max';
|
|
8
8
|
import isValidElements from './utils/is-valid-elements';
|
|
9
9
|
import render from './utils/render-default';
|
|
10
|
-
declare function getValueFormatted<Item>({ item, field
|
|
10
|
+
declare function getValueFormatted<Item>({ item, field }: {
|
|
11
11
|
item: Item;
|
|
12
12
|
field: NormalizedField<Item>;
|
|
13
13
|
}): string;
|
|
@@ -19,8 +19,8 @@ declare const _default: {
|
|
|
19
19
|
sort: (a: any, b: any, direction: import("..").SortDirection) => number;
|
|
20
20
|
enableSorting: true;
|
|
21
21
|
enableGlobalSearch: false;
|
|
22
|
-
defaultOperators: ("
|
|
23
|
-
validOperators: ("
|
|
22
|
+
defaultOperators: ("between" | "greaterThan" | "greaterThanOrEqual" | "is" | "isNot" | "lessThan" | "lessThanOrEqual")[];
|
|
23
|
+
validOperators: ("between" | "greaterThan" | "greaterThanOrEqual" | "is" | "isAll" | "isAny" | "isNone" | "isNot" | "isNotAll" | "lessThan" | "lessThanOrEqual")[];
|
|
24
24
|
format: {
|
|
25
25
|
separatorThousand: string;
|
|
26
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integer.d.ts","sourceRoot":"","sources":["../../src/field-types/integer.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAiB,eAAe,EAAE,MAAM,UAAU,CAAC;AAgB/D,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAC9C,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAC9C,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAM5C,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,
|
|
1
|
+
{"version":3,"file":"integer.d.ts","sourceRoot":"","sources":["../../src/field-types/integer.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAiB,eAAe,EAAE,MAAM,UAAU,CAAC;AAgB/D,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAC9C,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAC9C,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAM5C,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,EACL,EAAE;IACF,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;CAC/B,GAAI,MAAM,CA4BV;AAED,iBAAS,aAAa,CAAE,IAAI,EAAI,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,iFASzE;;;;;;;;;;;;;;;QAoCC,QAAQ;QACR,GAAG;QACH,GAAG;QACH,QAAQ;QACR,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../src/field-types/media.tsx"],"names":[],"mappings":"AAIA,OAAO,iBAAiB,MAAM,qCAAqC,CAAC
|
|
1
|
+
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../src/field-types/media.tsx"],"names":[],"mappings":"AAIA,OAAO,iBAAiB,MAAM,qCAAqC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-type.d.ts","sourceRoot":"","sources":["../../src/field-types/no-type.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAI9C,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAG5C,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,iBAAiB,MAAM,qCAAqC,CAAC;;;;cAElD,GAAG,KAAK,GAAG,aAAa,aAAa
|
|
1
|
+
{"version":3,"file":"no-type.d.ts","sourceRoot":"","sources":["../../src/field-types/no-type.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAI9C,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAG5C,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,iBAAiB,MAAM,qCAAqC,CAAC;;;;cAElD,GAAG,KAAK,GAAG,aAAa,aAAa;;;;;;;;QAoBrD,QAAQ;QACR,QAAQ"}
|
|
@@ -7,7 +7,7 @@ import isValidMin from './utils/is-valid-min';
|
|
|
7
7
|
import isValidMax from './utils/is-valid-max';
|
|
8
8
|
import isValidElements from './utils/is-valid-elements';
|
|
9
9
|
import render from './utils/render-default';
|
|
10
|
-
declare function getValueFormatted<Item>({ item, field
|
|
10
|
+
declare function getValueFormatted<Item>({ item, field }: {
|
|
11
11
|
item: Item;
|
|
12
12
|
field: NormalizedField<Item>;
|
|
13
13
|
}): string;
|
|
@@ -19,8 +19,8 @@ declare const _default: {
|
|
|
19
19
|
sort: (a: any, b: any, direction: import("..").SortDirection) => number;
|
|
20
20
|
enableSorting: true;
|
|
21
21
|
enableGlobalSearch: false;
|
|
22
|
-
defaultOperators: ("
|
|
23
|
-
validOperators: ("
|
|
22
|
+
defaultOperators: ("between" | "greaterThan" | "greaterThanOrEqual" | "is" | "isNot" | "lessThan" | "lessThanOrEqual")[];
|
|
23
|
+
validOperators: ("between" | "greaterThan" | "greaterThanOrEqual" | "is" | "isAll" | "isAny" | "isNone" | "isNot" | "isNotAll" | "lessThan" | "lessThanOrEqual")[];
|
|
24
24
|
format: {
|
|
25
25
|
separatorThousand: string;
|
|
26
26
|
separatorDecimal: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number.d.ts","sourceRoot":"","sources":["../../src/field-types/number.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAgB,eAAe,EAAE,MAAM,UAAU,CAAC;AAgB9D,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAC9C,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAC9C,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAQ5C,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,
|
|
1
|
+
{"version":3,"file":"number.d.ts","sourceRoot":"","sources":["../../src/field-types/number.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAgB,eAAe,EAAE,MAAM,UAAU,CAAC;AAgB9D,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAC9C,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAC9C,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAQ5C,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,EACL,EAAE;IACF,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;CAC/B,GAAI,MAAM,CA2BV;AAMD,iBAAS,aAAa,CAAE,IAAI,EAAI,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,+EAQzE;;;;;;;;;;;;;;;;;QAoCC,QAAQ;QACR,GAAG;QACH,GAAG;QACH,QAAQ;QACR,MAAM"}
|
|
@@ -8,7 +8,7 @@ import isValidMaxLength from './utils/is-valid-max-length';
|
|
|
8
8
|
import isValidPattern from './utils/is-valid-pattern';
|
|
9
9
|
import isValidElements from './utils/is-valid-elements';
|
|
10
10
|
import render from './utils/render-default';
|
|
11
|
-
declare function getValueFormatted<Item>({ item, field
|
|
11
|
+
declare function getValueFormatted<Item>({ item, field }: {
|
|
12
12
|
item: Item;
|
|
13
13
|
field: NormalizedField<Item>;
|
|
14
14
|
}): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"password.d.ts","sourceRoot":"","sources":["../../src/field-types/password.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,cAAc,MAAM,0BAA0B,CAAC;AACtD,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAE5C,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,
|
|
1
|
+
{"version":3,"file":"password.d.ts","sourceRoot":"","sources":["../../src/field-types/password.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,cAAc,MAAM,0BAA0B,CAAC;AACtD,OAAO,eAAe,MAAM,2BAA2B,CAAC;AACxD,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAE5C,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,EACL,EAAE;IACF,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;CAC/B,GAAI,MAAM,CAEV;;;;;;;;;;;;;QAcC,QAAQ;QACR,OAAO;QACP,SAAS;QACT,SAAS;QACT,QAAQ"}
|