@wordpress/dataviews 14.0.0 → 14.1.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/CHANGELOG.md +21 -0
- package/README.md +16 -5
- package/build/components/dataform-controls/array.cjs +2 -0
- package/build/components/dataform-controls/array.cjs.map +2 -2
- package/build/components/dataform-controls/checkbox.cjs +3 -1
- package/build/components/dataform-controls/checkbox.cjs.map +2 -2
- package/build/components/dataform-controls/color.cjs +8 -2
- package/build/components/dataform-controls/color.cjs.map +2 -2
- package/build/components/dataform-controls/date.cjs +31 -9
- package/build/components/dataform-controls/date.cjs.map +3 -3
- package/build/components/dataform-controls/datetime.cjs +9 -2
- package/build/components/dataform-controls/datetime.cjs.map +3 -3
- package/build/components/dataform-controls/password.cjs +4 -1
- package/build/components/dataform-controls/password.cjs.map +2 -2
- package/build/components/dataform-controls/radio.cjs +3 -1
- package/build/components/dataform-controls/radio.cjs.map +2 -2
- package/build/components/dataform-controls/select.cjs +3 -1
- package/build/components/dataform-controls/select.cjs.map +2 -2
- package/build/components/dataform-controls/textarea.cjs +2 -0
- package/build/components/dataform-controls/textarea.cjs.map +2 -2
- package/build/components/dataform-controls/toggle-group.cjs +3 -1
- package/build/components/dataform-controls/toggle-group.cjs.map +2 -2
- package/build/components/dataform-controls/toggle.cjs +3 -1
- package/build/components/dataform-controls/toggle.cjs.map +2 -2
- package/build/components/dataform-controls/utils/relative-date-control.cjs +5 -2
- package/build/components/dataform-controls/utils/relative-date-control.cjs.map +2 -2
- package/build/components/dataform-controls/utils/use-disabled-date-matchers.cjs +48 -0
- package/build/components/dataform-controls/utils/use-disabled-date-matchers.cjs.map +7 -0
- package/build/components/dataform-controls/utils/validated-input.cjs +2 -0
- package/build/components/dataform-controls/utils/validated-input.cjs.map +2 -2
- package/build/components/dataform-controls/utils/validated-number.cjs +3 -1
- package/build/components/dataform-controls/utils/validated-number.cjs.map +2 -2
- package/build/components/dataform-layouts/panel/summary-button.cjs +0 -1
- package/build/components/dataform-layouts/panel/summary-button.cjs.map +2 -2
- package/build/components/dataviews-context/index.cjs.map +1 -1
- package/build/components/dataviews-filters/input-widget.cjs +4 -0
- package/build/components/dataviews-filters/input-widget.cjs.map +2 -2
- package/build/components/dataviews-layouts/picker-grid/index.cjs +1 -4
- package/build/components/dataviews-layouts/picker-grid/index.cjs.map +2 -2
- package/build/components/dataviews-layouts/picker-table/index.cjs +15 -12
- package/build/components/dataviews-layouts/picker-table/index.cjs.map +2 -2
- package/build/components/dataviews-layouts/table/index.cjs +0 -1
- package/build/components/dataviews-layouts/table/index.cjs.map +2 -2
- package/build/components/dataviews-pagination/index.cjs +1 -0
- package/build/components/dataviews-pagination/index.cjs.map +2 -2
- package/build/dataviews/index.cjs +10 -8
- package/build/dataviews/index.cjs.map +2 -2
- package/build/dataviews-picker/index.cjs +16 -9
- package/build/dataviews-picker/index.cjs.map +2 -2
- package/build/field-types/date.cjs +4 -1
- package/build/field-types/date.cjs.map +2 -2
- package/build/field-types/datetime.cjs +4 -1
- package/build/field-types/datetime.cjs.map +2 -2
- package/build/field-types/index.cjs +1 -0
- package/build/field-types/index.cjs.map +2 -2
- package/build/field-types/utils/get-is-valid.cjs +29 -24
- package/build/field-types/utils/get-is-valid.cjs.map +2 -2
- package/build/field-types/utils/is-valid-date-boundary.cjs +64 -0
- package/build/field-types/utils/is-valid-date-boundary.cjs.map +7 -0
- package/build/types/dataviews.cjs.map +1 -1
- package/build/types/field-api.cjs.map +1 -1
- package/build-module/components/dataform-controls/array.mjs +2 -0
- package/build-module/components/dataform-controls/array.mjs.map +2 -2
- package/build-module/components/dataform-controls/checkbox.mjs +3 -1
- package/build-module/components/dataform-controls/checkbox.mjs.map +2 -2
- package/build-module/components/dataform-controls/color.mjs +8 -2
- package/build-module/components/dataform-controls/color.mjs.map +2 -2
- package/build-module/components/dataform-controls/date.mjs +31 -9
- package/build-module/components/dataform-controls/date.mjs.map +2 -2
- package/build-module/components/dataform-controls/datetime.mjs +9 -2
- package/build-module/components/dataform-controls/datetime.mjs.map +2 -2
- package/build-module/components/dataform-controls/password.mjs +4 -1
- package/build-module/components/dataform-controls/password.mjs.map +2 -2
- package/build-module/components/dataform-controls/radio.mjs +3 -1
- package/build-module/components/dataform-controls/radio.mjs.map +2 -2
- package/build-module/components/dataform-controls/select.mjs +3 -1
- package/build-module/components/dataform-controls/select.mjs.map +2 -2
- package/build-module/components/dataform-controls/textarea.mjs +2 -0
- package/build-module/components/dataform-controls/textarea.mjs.map +2 -2
- package/build-module/components/dataform-controls/toggle-group.mjs +3 -1
- package/build-module/components/dataform-controls/toggle-group.mjs.map +2 -2
- package/build-module/components/dataform-controls/toggle.mjs +3 -1
- package/build-module/components/dataform-controls/toggle.mjs.map +2 -2
- package/build-module/components/dataform-controls/utils/relative-date-control.mjs +5 -2
- package/build-module/components/dataform-controls/utils/relative-date-control.mjs.map +2 -2
- package/build-module/components/dataform-controls/utils/use-disabled-date-matchers.mjs +27 -0
- package/build-module/components/dataform-controls/utils/use-disabled-date-matchers.mjs.map +7 -0
- package/build-module/components/dataform-controls/utils/validated-input.mjs +2 -0
- package/build-module/components/dataform-controls/utils/validated-input.mjs.map +2 -2
- package/build-module/components/dataform-controls/utils/validated-number.mjs +3 -1
- package/build-module/components/dataform-controls/utils/validated-number.mjs.map +2 -2
- package/build-module/components/dataform-layouts/panel/summary-button.mjs +0 -1
- package/build-module/components/dataform-layouts/panel/summary-button.mjs.map +2 -2
- package/build-module/components/dataviews-context/index.mjs.map +1 -1
- package/build-module/components/dataviews-filters/input-widget.mjs +4 -0
- package/build-module/components/dataviews-filters/input-widget.mjs.map +2 -2
- package/build-module/components/dataviews-layouts/picker-grid/index.mjs +1 -4
- package/build-module/components/dataviews-layouts/picker-grid/index.mjs.map +2 -2
- package/build-module/components/dataviews-layouts/picker-table/index.mjs +15 -12
- package/build-module/components/dataviews-layouts/picker-table/index.mjs.map +2 -2
- package/build-module/components/dataviews-layouts/table/index.mjs +0 -1
- package/build-module/components/dataviews-layouts/table/index.mjs.map +2 -2
- package/build-module/components/dataviews-pagination/index.mjs +1 -0
- package/build-module/components/dataviews-pagination/index.mjs.map +2 -2
- package/build-module/dataviews/index.mjs +10 -8
- package/build-module/dataviews/index.mjs.map +2 -2
- package/build-module/dataviews-picker/index.mjs +16 -9
- package/build-module/dataviews-picker/index.mjs.map +2 -2
- package/build-module/field-types/date.mjs +4 -1
- package/build-module/field-types/date.mjs.map +2 -2
- package/build-module/field-types/datetime.mjs +4 -1
- package/build-module/field-types/datetime.mjs.map +2 -2
- package/build-module/field-types/index.mjs +1 -0
- package/build-module/field-types/index.mjs.map +2 -2
- package/build-module/field-types/utils/get-is-valid.mjs +29 -24
- package/build-module/field-types/utils/get-is-valid.mjs.map +2 -2
- package/build-module/field-types/utils/is-valid-date-boundary.mjs +38 -0
- package/build-module/field-types/utils/is-valid-date-boundary.mjs.map +7 -0
- package/build-style/style-rtl.css +14 -15
- package/build-style/style.css +14 -15
- package/build-types/components/dataform-controls/array.d.ts.map +1 -1
- package/build-types/components/dataform-controls/checkbox.d.ts.map +1 -1
- package/build-types/components/dataform-controls/color.d.ts.map +1 -1
- package/build-types/components/dataform-controls/date.d.ts.map +1 -1
- package/build-types/components/dataform-controls/datetime.d.ts.map +1 -1
- package/build-types/components/dataform-controls/password.d.ts.map +1 -1
- package/build-types/components/dataform-controls/radio.d.ts.map +1 -1
- package/build-types/components/dataform-controls/select.d.ts.map +1 -1
- package/build-types/components/dataform-controls/textarea.d.ts.map +1 -1
- package/build-types/components/dataform-controls/toggle-group.d.ts.map +1 -1
- package/build-types/components/dataform-controls/toggle.d.ts.map +1 -1
- package/build-types/components/dataform-controls/utils/relative-date-control.d.ts.map +1 -1
- package/build-types/components/dataform-controls/utils/use-disabled-date-matchers.d.ts +16 -0
- package/build-types/components/dataform-controls/utils/use-disabled-date-matchers.d.ts.map +1 -0
- 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.map +1 -1
- package/build-types/components/dataform-layouts/panel/summary-button.d.ts.map +1 -1
- package/build-types/components/dataviews-context/index.d.ts +2 -2
- package/build-types/components/dataviews-context/index.d.ts.map +1 -1
- package/build-types/components/dataviews-filters/input-widget.d.ts.map +1 -1
- package/build-types/components/dataviews-layouts/index.d.ts +6 -6
- 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.map +1 -1
- package/build-types/components/dataviews-layouts/table/index.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 +1 -1
- package/build-types/components/dataviews-search/index.d.ts.map +1 -1
- package/build-types/constants.d.ts +2 -2
- package/build-types/dataform/stories/index.story.d.ts +11 -1
- package/build-types/dataform/stories/index.story.d.ts.map +1 -1
- package/build-types/dataform/stories/layout-regular.d.ts +2 -1
- package/build-types/dataform/stories/layout-regular.d.ts.map +1 -1
- package/build-types/dataform/stories/validation.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-picker/index.d.ts +3 -2
- package/build-types/dataviews-picker/index.d.ts.map +1 -1
- package/build-types/dataviews-picker/stories/index.story.d.ts.map +1 -1
- package/build-types/field-types/array.d.ts +1 -1
- package/build-types/field-types/array.d.ts.map +1 -1
- package/build-types/field-types/boolean.d.ts +1 -1
- 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 -0
- package/build-types/field-types/date.d.ts.map +1 -1
- package/build-types/field-types/datetime.d.ts +3 -0
- 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/index.d.ts.map +1 -1
- package/build-types/field-types/integer.d.ts +1 -1
- package/build-types/field-types/integer.d.ts.map +1 -1
- package/build-types/field-types/number.d.ts +1 -1
- package/build-types/field-types/number.d.ts.map +1 -1
- package/build-types/field-types/stories/index.story.d.ts +37 -15
- package/build-types/field-types/stories/index.story.d.ts.map +1 -1
- package/build-types/field-types/utils/get-is-valid.d.ts.map +1 -1
- package/build-types/field-types/utils/is-valid-date-boundary.d.ts +7 -0
- package/build-types/field-types/utils/is-valid-date-boundary.d.ts.map +1 -0
- package/build-types/types/dataviews.d.ts +8 -0
- package/build-types/types/dataviews.d.ts.map +1 -1
- package/build-types/types/field-api.d.ts +24 -9
- package/build-types/types/field-api.d.ts.map +1 -1
- package/build-wp/index.js +1141 -990
- package/package.json +16 -16
- package/src/components/dataform-controls/array.tsx +2 -0
- package/src/components/dataform-controls/checkbox.tsx +2 -0
- package/src/components/dataform-controls/color.tsx +7 -0
- package/src/components/dataform-controls/date.tsx +30 -4
- package/src/components/dataform-controls/datetime.tsx +17 -0
- package/src/components/dataform-controls/password.tsx +3 -0
- package/src/components/dataform-controls/radio.tsx +2 -0
- package/src/components/dataform-controls/select.tsx +2 -0
- package/src/components/dataform-controls/textarea.tsx +2 -0
- package/src/components/dataform-controls/toggle-group.tsx +2 -0
- package/src/components/dataform-controls/toggle.tsx +2 -0
- package/src/components/dataform-controls/utils/relative-date-control.tsx +3 -0
- package/src/components/dataform-controls/utils/use-disabled-date-matchers.ts +48 -0
- package/src/components/dataform-controls/utils/validated-input.tsx +2 -0
- package/src/components/dataform-controls/utils/validated-number.tsx +2 -0
- package/src/components/dataform-layouts/panel/style.scss +4 -5
- package/src/components/dataform-layouts/panel/summary-button.tsx +0 -1
- package/src/components/dataviews-context/index.ts +2 -2
- package/src/components/dataviews-filters/input-widget.tsx +4 -0
- package/src/components/dataviews-filters/style.scss +2 -2
- package/src/components/dataviews-layouts/activity/style.scss +3 -3
- package/src/components/dataviews-layouts/grid/style.scss +1 -1
- package/src/components/dataviews-layouts/list/style.scss +1 -1
- package/src/components/dataviews-layouts/picker-grid/index.tsx +2 -6
- package/src/components/dataviews-layouts/picker-grid/style.scss +1 -1
- package/src/components/dataviews-layouts/picker-table/index.tsx +9 -7
- package/src/components/dataviews-layouts/picker-table/style.scss +1 -1
- package/src/components/dataviews-layouts/table/index.tsx +0 -2
- package/src/components/dataviews-pagination/index.tsx +1 -0
- package/src/dataform/stories/content.story.tsx +1 -1
- package/src/dataform/stories/data-adapter.tsx +6 -6
- package/src/dataform/stories/index.story.tsx +7 -0
- package/src/dataform/stories/layout-card.tsx +5 -5
- package/src/dataform/stories/layout-details.tsx +5 -5
- package/src/dataform/stories/layout-panel.tsx +9 -9
- package/src/dataform/stories/layout-regular.tsx +31 -10
- package/src/dataform/stories/layout-row.tsx +9 -9
- package/src/dataform/stories/validation.tsx +25 -10
- package/src/dataviews/index.tsx +11 -7
- package/src/dataviews/stories/empty.tsx +4 -4
- package/src/dataviews/stories/free-composition.tsx +2 -2
- package/src/dataviews/stories/infinite-scroll.tsx +4 -4
- package/src/dataviews/stories/layout-custom.tsx +1 -1
- package/src/dataviews/stories/layout-grid.tsx +1 -1
- package/src/dataviews/stories/layout-list.tsx +1 -1
- package/src/dataviews/stories/layout-table.tsx +1 -1
- package/src/dataviews/stories/minimal-ui.tsx +1 -1
- package/src/dataviews/stories/with-card.tsx +4 -4
- package/src/dataviews/style.scss +1 -1
- package/src/dataviews/test/dataviews.tsx +73 -6
- package/src/dataviews-picker/index.tsx +17 -7
- package/src/dataviews-picker/stories/index.story.tsx +1 -5
- package/src/dataviews-picker/test/dataviews-picker.tsx +79 -2
- package/src/field-types/date.tsx +3 -0
- package/src/field-types/datetime.tsx +3 -0
- package/src/field-types/index.tsx +4 -0
- package/src/field-types/stories/index.story.tsx +67 -6
- package/src/field-types/test/normalize-fields.ts +44 -0
- package/src/field-types/utils/get-is-valid.ts +44 -31
- package/src/field-types/utils/is-valid-date-boundary.ts +80 -0
- package/src/hooks/test/use-form-validity.ts +479 -0
- package/src/types/dataviews.ts +9 -0
- package/src/types/field-api.ts +27 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataviews-layouts/picker-table/index.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAGX,oBAAoB,EACpB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataviews-layouts/picker-table/index.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAGX,oBAAoB,EACpB,MAAM,gBAAgB,CAAC;AAgMxB,iBAAS,eAAe,CAAE,IAAI,EAAI,EACjC,OAAO,EACP,IAAI,EACJ,MAAM,EACN,SAAS,EACT,SAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,GACL,EAAE,oBAAoB,CAAE,IAAI,CAAE,2CAiR9B;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataviews-layouts/table/index.tsx"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAIX,cAAc,EACd,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataviews-layouts/table/index.tsx"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAIX,cAAc,EACd,MAAM,gBAAgB,CAAC;AAuPxB,iBAAS,SAAS,CAAE,IAAI,EAAI,EAC3B,OAAO,EACP,IAAI,EACJ,MAAM,EACN,SAAS,EACT,YAAY,EACZ,SAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,WAAW,EACX,eAAe,EACf,cAAc,EACd,IAAI,EACJ,SAAS,EACT,KAAK,GACL,EAAE,cAAc,CAAE,IAAI,CAAE,2CAoYxB;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-pagination/index.tsx"],"names":[],"mappings":"AAcA,wBAAgB,mBAAmB,+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-pagination/index.tsx"],"names":[],"mappings":"AAcA,wBAAgB,mBAAmB,+CA+GlC;;AAED,wBAA2C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface SearchProps {
|
|
2
2
|
label?: string;
|
|
3
3
|
}
|
|
4
|
-
declare const DataViewsSearch: import("react").
|
|
4
|
+
declare const DataViewsSearch: import("react").MemoExoticComponent<({ label }: SearchProps) => import("react").JSX.Element>;
|
|
5
5
|
export default DataViewsSearch;
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-search/index.tsx"],"names":[],"mappings":"AAaA,UAAU,WAAW;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-search/index.tsx"],"names":[],"mappings":"AAaA,UAAU,WAAW;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,eAAe,kDAAqC,WAAW,iCAqClE,CAAC;AAEJ,eAAe,eAAe,CAAC"}
|
|
@@ -34,8 +34,8 @@ export declare const sortValues: {
|
|
|
34
34
|
readonly desc: "descending";
|
|
35
35
|
};
|
|
36
36
|
export declare const sortLabels: {
|
|
37
|
-
asc: import("@wordpress/i18n").
|
|
38
|
-
desc: import("@wordpress/i18n").
|
|
37
|
+
asc: import("@wordpress/i18n").TransformedText<"Sort ascending">;
|
|
38
|
+
desc: import("@wordpress/i18n").TransformedText<"Sort descending">;
|
|
39
39
|
};
|
|
40
40
|
export declare const sortIcons: {
|
|
41
41
|
asc: import("react").JSX.Element;
|
|
@@ -106,8 +106,9 @@ export declare const LayoutPanel: {
|
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
108
|
export declare const LayoutRegular: {
|
|
109
|
-
render: ({ labelPosition, }: {
|
|
109
|
+
render: ({ labelPosition, disabled, }: {
|
|
110
110
|
labelPosition: "default" | "top" | "side" | "none";
|
|
111
|
+
disabled?: boolean;
|
|
111
112
|
}) => import("react").JSX.Element;
|
|
112
113
|
argTypes: {
|
|
113
114
|
labelPosition: {
|
|
@@ -117,6 +118,15 @@ export declare const LayoutRegular: {
|
|
|
117
118
|
description: string;
|
|
118
119
|
options: string[];
|
|
119
120
|
};
|
|
121
|
+
disabled: {
|
|
122
|
+
control: {
|
|
123
|
+
type: string;
|
|
124
|
+
};
|
|
125
|
+
description: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
args: {
|
|
129
|
+
disabled: boolean;
|
|
120
130
|
};
|
|
121
131
|
};
|
|
122
132
|
export declare const LayoutRow: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/dataform/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,QAAQ,MAAM,UAAU,CAAC;AAWhC,QAAA,MAAM,IAAI;;;CAGT,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,UAAU;;;;;gBARmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC1C,CAAC;AAEF,eAAO,MAAM,aAAa;;CAEzB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/dataform/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,QAAQ,MAAM,UAAU,CAAC;AAWhC,QAAA,MAAM,IAAI;;;CAGT,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,UAAU;;;;;gBARmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC1C,CAAC;AAEF,eAAO,MAAM,aAAa;;CAEzB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;kBAmIq7C,CAAC;mBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAjGp+C,CAAC;AAEF,eAAO,MAAM,aAAa;;;gBA+FurD,CAAC;;;;;;;;;;;;;;;;;;;;CA/EjtD,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAYrB,CAAC;AAEF,eAAO,MAAM,WAAW;;CAEvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDtB,CAAC;AAEF,eAAO,MAAM,UAAU;;CAEtB,CAAC;AAEF,eAAO,MAAM,WAAW;;CAEvB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
declare const LayoutRegularComponent: ({ labelPosition, }: {
|
|
1
|
+
declare const LayoutRegularComponent: ({ labelPosition, disabled, }: {
|
|
2
2
|
labelPosition: "default" | "top" | "side" | "none";
|
|
3
|
+
disabled?: boolean;
|
|
3
4
|
}) => import("react").JSX.Element;
|
|
4
5
|
export default LayoutRegularComponent;
|
|
5
6
|
//# sourceMappingURL=layout-regular.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout-regular.d.ts","sourceRoot":"","sources":["../../../src/dataform/stories/layout-regular.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"layout-regular.d.ts","sourceRoot":"","sources":["../../../src/dataform/stories/layout-regular.tsx"],"names":[],"mappings":"AA6TA,QAAA,MAAM,sBAAsB,GAAK,8BAG9B;IACF,aAAa,EAAE,SAAS,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB,gCAyEA,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/dataform/stories/validation.tsx"],"names":[],"mappings":"AA2EA,QAAA,MAAM,mBAAmB,GAAK,0DAO3B;IACF,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IACpC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EACH,SAAS,GACT,gBAAgB,GAChB,aAAa,GACb,kBAAkB,GAClB,sBAAsB,GACtB,SAAS,CAAC;CACb,
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/dataform/stories/validation.tsx"],"names":[],"mappings":"AA2EA,QAAA,MAAM,mBAAmB,GAAK,0DAO3B;IACF,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IACpC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EACH,SAAS,GACT,gBAAgB,GAChB,aAAa,GACb,kBAAkB,GAClB,sBAAsB,GACtB,SAAS,CAAC;CACb,gCAo8BA,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -26,7 +26,7 @@ type DataViewsProps<Item> = {
|
|
|
26
26
|
totalItems: number;
|
|
27
27
|
totalPages: number;
|
|
28
28
|
};
|
|
29
|
-
defaultLayouts
|
|
29
|
+
defaultLayouts?: SupportedLayouts;
|
|
30
30
|
selection?: string[];
|
|
31
31
|
onChangeSelection?: (items: string[]) => void;
|
|
32
32
|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,cAAc,CAAE,IAAI,CAAE,sCAwJxB;AAGD,QAAA,MAAM,sBAAsB,EAAgB,OAAO,SAAS,GAAG;IAC9D,iBAAiB,EAAE,OAAO,iBAAiB,CAAC;IAC5C,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,aAAa,EAAE,OAAO,aAAa,CAAC;IACpC,cAAc,EAAE,OAAO,cAAc,CAAC;IACtC,MAAM,EAAE,OAAO,eAAe,CAAC;IAC/B,cAAc,EAAE,OAAO,YAAY,CAAC;IACpC,UAAU,EAAE,OAAO,mBAAmB,CAAC;IACvC,MAAM,EAAE,OAAO,eAAe,CAAC;IAC/B,UAAU,EAAE,OAAO,2BAA2B,CAAC;IAC/C,MAAM,EAAE,OAAO,eAAe,CAAC;CAC/B,CAAC;AAaF,eAAe,sBAAsB,CAAC"}
|
|
@@ -25,7 +25,7 @@ type DataViewsPickerProps<Item> = {
|
|
|
25
25
|
totalItems: number;
|
|
26
26
|
totalPages: number;
|
|
27
27
|
};
|
|
28
|
-
defaultLayouts
|
|
28
|
+
defaultLayouts?: SupportedLayouts;
|
|
29
29
|
selection: string[];
|
|
30
30
|
onChangeSelection: (items: string[]) => void;
|
|
31
31
|
children?: ReactNode;
|
|
@@ -34,12 +34,13 @@ type DataViewsPickerProps<Item> = {
|
|
|
34
34
|
};
|
|
35
35
|
itemListLabel?: string;
|
|
36
36
|
empty?: ReactNode;
|
|
37
|
+
onReset?: (() => void) | false;
|
|
37
38
|
} & (Item extends ItemWithId ? {
|
|
38
39
|
getItemId?: (item: Item) => string;
|
|
39
40
|
} : {
|
|
40
41
|
getItemId: (item: Item) => string;
|
|
41
42
|
});
|
|
42
|
-
declare function DataViewsPicker<Item>({ view, onChangeView, fields, search, searchLabel, actions, data, getItemId, isLoading, paginationInfo, defaultLayouts: defaultLayoutsProperty, selection, onChangeSelection, children, config, itemListLabel, empty, }: DataViewsPickerProps<Item>): import("react").JSX.Element | null;
|
|
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;
|
|
43
44
|
declare const DataViewsPickerSubComponents: typeof DataViewsPicker & {
|
|
44
45
|
BulkActionToolbar: typeof DataViewsPickerFooter;
|
|
45
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;IAC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,EAAE,OAAO,YAAY,CAAC;IACpC,UAAU,EAAE,OAAO,mBAAmB,CAAC;IACvC,MAAM,EAAE,OAAO,eAAe,CAAC;IAC/B,UAAU,EAAE,OAAO,2BAA2B,CAAC;CAC/C,CAAC;AAYH,eAAe,4BAA4B,CAAC"}
|
|
@@ -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;AAEpC,eAAe,IAAI,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;AAEpC,eAAe,IAAI,CAAC;AAwKpB,eAAO,MAAM,OAAO;6EAKjB;QACF,YAAY,EAAE,MAAM,EAAE,CAAC;QACvB,iBAAiB,EAAE,OAAO,CAAC;QAC3B,SAAS,EAAE,OAAO,CAAC;QACnB,qBAAqB,EAAE,OAAO,CAAC;KAC/B;;;;;;;;;;;;;;;;;;;;;;;;;CAOA,CAAC;AAKF,eAAO,MAAM,SAAS;6EAKnB;QACF,YAAY,EAAE,MAAM,EAAE,CAAC;QACvB,iBAAiB,EAAE,OAAO,CAAC;QAC3B,SAAS,EAAE,OAAO,CAAC;QACnB,qBAAqB,EAAE,OAAO,CAAC;KAC/B;;;;;;;;;;;;;;;;;;;;;;;;;CAiFA,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare function getValueFormatted<Item>({ item, field, }: {
|
|
|
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").
|
|
12
|
+
declare function isValidCustom<Item>(item: Item, field: NormalizedField<Item>): import("@wordpress/i18n").TransformedText<"Value must be an array."> | import("@wordpress/i18n").TransformedText<"Every value must be a string."> | null;
|
|
13
13
|
declare const _default: {
|
|
14
14
|
type: "array";
|
|
15
15
|
render: typeof render;
|
|
@@ -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,GACL,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,
|
|
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,GACL,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;;;;;;;;;;;;;AAiBvD,wBAqB6B"}
|
|
@@ -9,7 +9,7 @@ declare function getValueFormatted<Item>({ item, field, }: {
|
|
|
9
9
|
item: Item;
|
|
10
10
|
field: NormalizedField<Item>;
|
|
11
11
|
}): string;
|
|
12
|
-
declare function isValidCustom<Item>(item: Item, field: NormalizedField<Item>): import("@wordpress/i18n").
|
|
12
|
+
declare function isValidCustom<Item>(item: Item, field: NormalizedField<Item>): import("@wordpress/i18n").TransformedText<"Value must be true, false, or undefined"> | null;
|
|
13
13
|
declare const _default: {
|
|
14
14
|
type: "boolean";
|
|
15
15
|
render: typeof render;
|
|
@@ -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,GACL,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
|
|
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,GACL,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;;;;;;;;;;;;;AAiBvD,wBAgB6B"}
|
|
@@ -6,7 +6,7 @@ import isValidElements from './utils/is-valid-elements';
|
|
|
6
6
|
import isValidRequired from './utils/is-valid-required';
|
|
7
7
|
import getValueFormatted from './utils/get-value-formatted-default';
|
|
8
8
|
declare function render({ item, field }: DataViewRenderFieldProps<any>): string | import("react").JSX.Element;
|
|
9
|
-
declare function isValidCustom<Item>(item: Item, field: NormalizedField<Item>): import("@wordpress/i18n").
|
|
9
|
+
declare function isValidCustom<Item>(item: Item, field: NormalizedField<Item>): import("@wordpress/i18n").TransformedText<"Value must be a valid color."> | null;
|
|
10
10
|
declare const _default: {
|
|
11
11
|
type: "color";
|
|
12
12
|
render: typeof render;
|
|
@@ -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,
|
|
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;;;;;;;;;;;;;AA4BvD,wBAqB6B"}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import type { NormalizedField, SortDirection } from '../types';
|
|
5
5
|
import isValidElements from './utils/is-valid-elements';
|
|
6
6
|
import isValidRequired from './utils/is-valid-required';
|
|
7
|
+
import { isValidMaxDate, isValidMinDate } from './utils/is-valid-date-boundary';
|
|
7
8
|
import render from './utils/render-default';
|
|
8
9
|
declare function getValueFormatted<Item>({ item, field, }: {
|
|
9
10
|
item: Item;
|
|
@@ -26,6 +27,8 @@ declare const _default: {
|
|
|
26
27
|
validate: {
|
|
27
28
|
required: typeof isValidRequired;
|
|
28
29
|
elements: typeof isValidElements;
|
|
30
|
+
min: typeof isValidMinDate;
|
|
31
|
+
max: typeof isValidMaxDate;
|
|
29
32
|
};
|
|
30
33
|
};
|
|
31
34
|
export default _default;
|
|
@@ -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,MAAM,MAAM,wBAAwB,CAAC;AAO5C,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,GACL,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
|
|
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,GACL,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;;;;;;;;;;;;;;;;;AAOvD,wBAqC6B"}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import type { NormalizedField, SortDirection } from '../types';
|
|
5
5
|
import isValidElements from './utils/is-valid-elements';
|
|
6
6
|
import isValidRequired from './utils/is-valid-required';
|
|
7
|
+
import { isValidMaxDate, isValidMinDate } from './utils/is-valid-date-boundary';
|
|
7
8
|
import render from './utils/render-default';
|
|
8
9
|
declare function getValueFormatted<Item>({ item, field, }: {
|
|
9
10
|
item: Item;
|
|
@@ -26,6 +27,8 @@ declare const _default: {
|
|
|
26
27
|
validate: {
|
|
27
28
|
required: typeof isValidRequired;
|
|
28
29
|
elements: typeof isValidElements;
|
|
30
|
+
min: typeof isValidMinDate;
|
|
31
|
+
max: typeof isValidMaxDate;
|
|
29
32
|
};
|
|
30
33
|
};
|
|
31
34
|
export default _default;
|
|
@@ -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,MAAM,MAAM,wBAAwB,CAAC;AAO5C,iBAAS,iBAAiB,CAAE,IAAI,EAAI,EACnC,IAAI,EACJ,KAAK,GACL,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
|
|
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,GACL,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;;;;;;;;;;;;;;;;;AAOvD,wBAmC6B"}
|
|
@@ -9,7 +9,7 @@ import isValidMaxLength from './utils/is-valid-max-length';
|
|
|
9
9
|
import isValidPattern from './utils/is-valid-pattern';
|
|
10
10
|
import isValidElements from './utils/is-valid-elements';
|
|
11
11
|
import getValueFormatted from './utils/get-value-formatted-default';
|
|
12
|
-
declare function isValidCustom<Item>(item: Item, field: NormalizedField<Item>): import("@wordpress/i18n").
|
|
12
|
+
declare function isValidCustom<Item>(item: Item, field: NormalizedField<Item>): import("@wordpress/i18n").TransformedText<"Value must be a valid email address."> | null;
|
|
13
13
|
declare const _default: {
|
|
14
14
|
type: "email";
|
|
15
15
|
render: typeof render;
|
|
@@ -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,
|
|
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;;;;;;;;;;;;;;;;;;;;;AAED,wBA8B6B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/field-types/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EACX,KAAK,EAEL,eAAe,EAEf,MAAM,UAAU,CAAC;AAyDlB;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAE,IAAI,EAC5C,MAAM,EAAE,KAAK,CAAE,IAAI,CAAE,EAAE,GACrB,eAAe,CAAE,IAAI,CAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/field-types/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EACX,KAAK,EAEL,eAAe,EAEf,MAAM,UAAU,CAAC;AAyDlB;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAE,IAAI,EAC5C,MAAM,EAAE,KAAK,CAAE,IAAI,CAAE,EAAE,GACrB,eAAe,CAAE,IAAI,CAAE,EAAE,CAmD3B"}
|
|
@@ -11,7 +11,7 @@ declare function getValueFormatted<Item>({ item, field, }: {
|
|
|
11
11
|
item: Item;
|
|
12
12
|
field: NormalizedField<Item>;
|
|
13
13
|
}): string;
|
|
14
|
-
declare function isValidCustom<Item>(item: Item, field: NormalizedField<Item>): import("@wordpress/i18n").
|
|
14
|
+
declare function isValidCustom<Item>(item: Item, field: NormalizedField<Item>): import("@wordpress/i18n").TransformedText<"Value must be an integer."> | null;
|
|
15
15
|
declare const _default: {
|
|
16
16
|
type: "integer";
|
|
17
17
|
render: typeof render;
|
|
@@ -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,GACL,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,
|
|
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,GACL,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;;;;;;;;;;;;;;;;;;;;;;AAED,wBAwC6B"}
|
|
@@ -11,7 +11,7 @@ declare function getValueFormatted<Item>({ item, field, }: {
|
|
|
11
11
|
item: Item;
|
|
12
12
|
field: NormalizedField<Item>;
|
|
13
13
|
}): string;
|
|
14
|
-
declare function isValidCustom<Item>(item: Item, field: NormalizedField<Item>): import("@wordpress/i18n").
|
|
14
|
+
declare function isValidCustom<Item>(item: Item, field: NormalizedField<Item>): import("@wordpress/i18n").TransformedText<"Value must be a number."> | null;
|
|
15
15
|
declare const _default: {
|
|
16
16
|
type: "number";
|
|
17
17
|
render: typeof render;
|
|
@@ -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,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35
35
|
};
|
|
36
36
|
};
|
|
37
|
+
disabled: {
|
|
38
|
+
control: {
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
37
43
|
};
|
|
38
44
|
args: {
|
|
39
45
|
type: string;
|
|
40
46
|
Edit: string;
|
|
41
47
|
asyncElements: boolean;
|
|
42
48
|
manyElements: boolean;
|
|
49
|
+
disabled: boolean;
|
|
43
50
|
};
|
|
44
51
|
};
|
|
45
52
|
export default meta;
|
|
46
53
|
type PanelTypes = 'regular' | 'panel';
|
|
47
54
|
type ControlTypes = 'default' | 'adaptiveSelect' | 'array' | 'checkbox' | 'color' | 'combobox' | 'date' | 'datetime' | 'email' | 'integer' | 'number' | 'password' | 'radio' | 'select' | 'telephone' | 'url' | 'text' | 'toggle' | 'toggleGroup';
|
|
48
55
|
export declare const AllComponent: {
|
|
49
|
-
({ type, Edit, asyncElements, manyElements, }: {
|
|
56
|
+
({ type, Edit, asyncElements, manyElements, disabled, }: {
|
|
50
57
|
type: PanelTypes;
|
|
51
58
|
Edit: ControlTypes;
|
|
52
59
|
asyncElements: boolean;
|
|
53
60
|
manyElements: boolean;
|
|
61
|
+
disabled: boolean;
|
|
54
62
|
}): import("react").JSX.Element;
|
|
55
63
|
storyName: string;
|
|
56
64
|
};
|
|
57
65
|
export declare const TextComponent: {
|
|
58
|
-
({ type, Edit, asyncElements, manyElements, }: {
|
|
66
|
+
({ type, Edit, asyncElements, manyElements, disabled, }: {
|
|
59
67
|
type: PanelTypes;
|
|
60
68
|
Edit: ControlTypes;
|
|
61
69
|
asyncElements: boolean;
|
|
62
70
|
manyElements: boolean;
|
|
71
|
+
disabled: boolean;
|
|
63
72
|
}): import("react").JSX.Element;
|
|
64
73
|
storyName: string;
|
|
65
74
|
};
|
|
66
75
|
export declare const IntegerComponent: {
|
|
67
|
-
({ type, Edit, asyncElements, manyElements, formatSeparatorThousand, }: {
|
|
76
|
+
({ type, Edit, asyncElements, manyElements, formatSeparatorThousand, disabled, }: {
|
|
68
77
|
type: PanelTypes;
|
|
69
78
|
Edit: ControlTypes;
|
|
70
79
|
asyncElements: boolean;
|
|
71
80
|
manyElements: boolean;
|
|
72
81
|
formatSeparatorThousand?: string;
|
|
82
|
+
disabled: boolean;
|
|
73
83
|
}): import("react").JSX.Element;
|
|
74
84
|
storyName: string;
|
|
75
85
|
args: {
|
|
@@ -83,7 +93,7 @@ export declare const IntegerComponent: {
|
|
|
83
93
|
};
|
|
84
94
|
};
|
|
85
95
|
export declare const NumberComponent: {
|
|
86
|
-
({ type, Edit, asyncElements, manyElements, formatSeparatorThousand, formatSeparatorDecimal, formatDecimals, }: {
|
|
96
|
+
({ type, Edit, asyncElements, manyElements, formatSeparatorThousand, formatSeparatorDecimal, formatDecimals, disabled, }: {
|
|
87
97
|
type: PanelTypes;
|
|
88
98
|
Edit: ControlTypes;
|
|
89
99
|
asyncElements: boolean;
|
|
@@ -91,6 +101,7 @@ export declare const NumberComponent: {
|
|
|
91
101
|
formatSeparatorThousand?: string;
|
|
92
102
|
formatSeparatorDecimal?: string;
|
|
93
103
|
formatDecimals?: number;
|
|
104
|
+
disabled: boolean;
|
|
94
105
|
}): import("react").JSX.Element;
|
|
95
106
|
storyName: string;
|
|
96
107
|
args: {
|
|
@@ -119,22 +130,24 @@ export declare const NumberComponent: {
|
|
|
119
130
|
};
|
|
120
131
|
};
|
|
121
132
|
export declare const BooleanComponent: {
|
|
122
|
-
({ type, Edit, asyncElements, manyElements, }: {
|
|
133
|
+
({ type, Edit, asyncElements, manyElements, disabled, }: {
|
|
123
134
|
type: PanelTypes;
|
|
124
135
|
Edit: ControlTypes;
|
|
125
136
|
asyncElements: boolean;
|
|
126
137
|
manyElements: boolean;
|
|
138
|
+
disabled: boolean;
|
|
127
139
|
}): import("react").JSX.Element;
|
|
128
140
|
storyName: string;
|
|
129
141
|
};
|
|
130
142
|
export declare const DateTimeComponent: {
|
|
131
|
-
({ type, Edit, asyncElements, manyElements, formatDatetime, formatWeekStartsOn, }: {
|
|
143
|
+
({ type, Edit, asyncElements, manyElements, formatDatetime, formatWeekStartsOn, disabled, }: {
|
|
132
144
|
type: PanelTypes;
|
|
133
145
|
Edit: ControlTypes;
|
|
134
146
|
asyncElements: boolean;
|
|
135
147
|
manyElements: boolean;
|
|
136
148
|
formatDatetime?: string;
|
|
137
149
|
formatWeekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
150
|
+
disabled: boolean;
|
|
138
151
|
}): import("react").JSX.Element;
|
|
139
152
|
storyName: string;
|
|
140
153
|
args: {
|
|
@@ -163,13 +176,14 @@ export declare const DateTimeComponent: {
|
|
|
163
176
|
};
|
|
164
177
|
};
|
|
165
178
|
export declare const DateComponent: {
|
|
166
|
-
({ type, Edit, asyncElements, manyElements, formatDate, formatWeekStartsOn, }: {
|
|
179
|
+
({ type, Edit, asyncElements, manyElements, formatDate, formatWeekStartsOn, disabled, }: {
|
|
167
180
|
type: PanelTypes;
|
|
168
181
|
Edit: ControlTypes;
|
|
169
182
|
asyncElements: boolean;
|
|
170
183
|
manyElements: boolean;
|
|
171
184
|
formatDate?: string;
|
|
172
185
|
formatWeekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
186
|
+
disabled: boolean;
|
|
173
187
|
}): import("react").JSX.Element;
|
|
174
188
|
storyName: string;
|
|
175
189
|
args: {
|
|
@@ -198,74 +212,82 @@ export declare const DateComponent: {
|
|
|
198
212
|
};
|
|
199
213
|
};
|
|
200
214
|
export declare const EmailComponent: {
|
|
201
|
-
({ type, Edit, asyncElements, manyElements, }: {
|
|
215
|
+
({ type, Edit, asyncElements, manyElements, disabled, }: {
|
|
202
216
|
type: PanelTypes;
|
|
203
217
|
Edit: ControlTypes;
|
|
204
218
|
asyncElements: boolean;
|
|
205
219
|
manyElements: boolean;
|
|
220
|
+
disabled: boolean;
|
|
206
221
|
}): import("react").JSX.Element;
|
|
207
222
|
storyName: string;
|
|
208
223
|
};
|
|
209
224
|
export declare const TelephoneComponent: {
|
|
210
|
-
({ type, Edit, asyncElements, manyElements, }: {
|
|
225
|
+
({ type, Edit, asyncElements, manyElements, disabled, }: {
|
|
211
226
|
type: PanelTypes;
|
|
212
227
|
Edit: ControlTypes;
|
|
213
228
|
asyncElements: boolean;
|
|
214
229
|
manyElements: boolean;
|
|
230
|
+
disabled: boolean;
|
|
215
231
|
}): import("react").JSX.Element;
|
|
216
232
|
storyName: string;
|
|
217
233
|
};
|
|
218
234
|
export declare const UrlComponent: {
|
|
219
|
-
({ type, Edit, asyncElements, manyElements, }: {
|
|
235
|
+
({ type, Edit, asyncElements, manyElements, disabled, }: {
|
|
220
236
|
type: PanelTypes;
|
|
221
237
|
Edit: ControlTypes;
|
|
222
238
|
asyncElements: boolean;
|
|
223
239
|
manyElements: boolean;
|
|
240
|
+
disabled: boolean;
|
|
224
241
|
}): import("react").JSX.Element;
|
|
225
242
|
storyName: string;
|
|
226
243
|
};
|
|
227
244
|
export declare const ColorComponent: {
|
|
228
|
-
({ type, Edit, asyncElements, manyElements, }: {
|
|
245
|
+
({ type, Edit, asyncElements, manyElements, disabled, }: {
|
|
229
246
|
type: PanelTypes;
|
|
230
247
|
Edit: ControlTypes;
|
|
231
248
|
asyncElements: boolean;
|
|
232
249
|
manyElements: boolean;
|
|
250
|
+
disabled: boolean;
|
|
233
251
|
}): import("react").JSX.Element;
|
|
234
252
|
storyName: string;
|
|
235
253
|
};
|
|
236
254
|
export declare const MediaComponent: {
|
|
237
|
-
({ type, Edit, asyncElements, manyElements, }: {
|
|
255
|
+
({ type, Edit, asyncElements, manyElements, disabled, }: {
|
|
238
256
|
type: PanelTypes;
|
|
239
257
|
Edit: ControlTypes;
|
|
240
258
|
asyncElements: boolean;
|
|
241
259
|
manyElements: boolean;
|
|
260
|
+
disabled: boolean;
|
|
242
261
|
}): import("react").JSX.Element;
|
|
243
262
|
storyName: string;
|
|
244
263
|
};
|
|
245
264
|
export declare const ArrayComponent: {
|
|
246
|
-
({ type, Edit, asyncElements, manyElements, }: {
|
|
265
|
+
({ type, Edit, asyncElements, manyElements, disabled, }: {
|
|
247
266
|
type: PanelTypes;
|
|
248
267
|
Edit: ControlTypes;
|
|
249
268
|
asyncElements: boolean;
|
|
250
269
|
manyElements: boolean;
|
|
270
|
+
disabled: boolean;
|
|
251
271
|
}): import("react").JSX.Element;
|
|
252
272
|
storyName: string;
|
|
253
273
|
};
|
|
254
274
|
export declare const PasswordComponent: {
|
|
255
|
-
({ type, Edit, asyncElements, manyElements, }: {
|
|
275
|
+
({ type, Edit, asyncElements, manyElements, disabled, }: {
|
|
256
276
|
type: PanelTypes;
|
|
257
277
|
Edit: ControlTypes;
|
|
258
278
|
asyncElements: boolean;
|
|
259
279
|
manyElements: boolean;
|
|
280
|
+
disabled: boolean;
|
|
260
281
|
}): import("react").JSX.Element;
|
|
261
282
|
storyName: string;
|
|
262
283
|
};
|
|
263
284
|
export declare const NoTypeComponent: {
|
|
264
|
-
({ type, Edit, asyncElements, manyElements, }: {
|
|
285
|
+
({ type, Edit, asyncElements, manyElements, disabled, }: {
|
|
265
286
|
type: PanelTypes;
|
|
266
287
|
Edit: ControlTypes;
|
|
267
288
|
asyncElements: boolean;
|
|
268
289
|
manyElements: boolean;
|
|
290
|
+
disabled: boolean;
|
|
269
291
|
}): import("react").JSX.Element;
|
|
270
292
|
storyName: string;
|
|
271
293
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/field-types/stories/index.story.tsx"],"names":[],"mappings":"AAgBA,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAI5C,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/field-types/stories/index.story.tsx"],"names":[],"mappings":"AAgBA,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAI5C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAQ,EAAE,OAAO,CAAC;KAClB;;CAeA,CAAC;AAGF,eAAO,MAAM,eAAe;6DAMzB;QACF,IAAI,EAAE,UAAU,CAAC;QACjB,IAAI,EAAE,YAAY,CAAC;QACnB,aAAa,EAAE,OAAO,CAAC;QACvB,YAAY,EAAE,OAAO,CAAC;QACtB,QAAQ,EAAE,OAAO,CAAC;KAClB;;CAgBA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-is-valid.d.ts","sourceRoot":"","sources":["../../../src/field-types/utils/get-is-valid.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"get-is-valid.d.ts","sourceRoot":"","sources":["../../../src/field-types/utils/get-is-valid.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AA8BrD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAE,IAAI,EACvC,KAAK,EAAE,KAAK,CAAE,IAAI,CAAE,EACpB,SAAS,EAAE,SAAS,CAAE,IAAI,CAAE,GAC1B,eAAe,CAAE,IAAI,CAAE,CA8EzB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal dependencies
|
|
3
|
+
*/
|
|
4
|
+
import type { NormalizedField } from '../../types';
|
|
5
|
+
export declare function isValidMinDate<Item>(item: Item, field: NormalizedField<Item>): boolean;
|
|
6
|
+
export declare function isValidMaxDate<Item>(item: Item, field: NormalizedField<Item>): boolean;
|
|
7
|
+
//# sourceMappingURL=is-valid-date-boundary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-valid-date-boundary.d.ts","sourceRoot":"","sources":["../../../src/field-types/utils/is-valid-date-boundary.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAsDnD,wBAAgB,cAAc,CAAE,IAAI,EACnC,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,GAC5B,OAAO,CAET;AAED,wBAAgB,cAAc,CAAE,IAAI,EACnC,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,GAC5B,OAAO,CAET"}
|
|
@@ -399,6 +399,14 @@ export interface ViewPickerTableProps<Item> extends Omit<ViewPickerBaseProps<Ite
|
|
|
399
399
|
export type ViewProps<Item> = ViewTableProps<Item> | ViewGridProps<Item> | ViewListProps<Item> | ViewActivityProps<Item>;
|
|
400
400
|
export type ViewPickerProps<Item> = ViewPickerGridProps<Item> | ViewPickerTableProps<Item>;
|
|
401
401
|
export interface SupportedLayouts {
|
|
402
|
+
list?: Omit<ViewList, 'type'> | true;
|
|
403
|
+
grid?: Omit<ViewGrid, 'type'> | true;
|
|
404
|
+
table?: Omit<ViewTable, 'type'> | true;
|
|
405
|
+
activity?: Omit<ViewActivity, 'type'> | true;
|
|
406
|
+
pickerGrid?: Omit<ViewPickerGrid, 'type'> | true;
|
|
407
|
+
pickerTable?: Omit<ViewPickerTable, 'type'> | true;
|
|
408
|
+
}
|
|
409
|
+
export interface NormalizedSupportedLayouts {
|
|
402
410
|
list?: Omit<ViewList, 'type'>;
|
|
403
411
|
grid?: Omit<ViewGrid, 'type'>;
|
|
404
412
|
table?: Omit<ViewTable, 'type'>;
|