@react-querybuilder/antd 6.1.4 → 6.2.0-alpha.1

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.
Files changed (34) hide show
  1. package/dist/cjs/index.js +6 -0
  2. package/dist/cjs/react-querybuilder_antd.cjs.development.js +435 -0
  3. package/dist/cjs/react-querybuilder_antd.cjs.development.js.map +1 -0
  4. package/dist/cjs/react-querybuilder_antd.cjs.production.js +2 -0
  5. package/dist/cjs/react-querybuilder_antd.cjs.production.js.map +1 -0
  6. package/dist/react-querybuilder_antd.d.ts +41 -0
  7. package/dist/react-querybuilder_antd.legacy-esm.js +515 -0
  8. package/dist/react-querybuilder_antd.legacy-esm.js.map +1 -0
  9. package/dist/react-querybuilder_antd.mjs +399 -0
  10. package/dist/react-querybuilder_antd.mjs.map +1 -0
  11. package/dist/react-querybuilder_antd.production.mjs +2 -0
  12. package/dist/react-querybuilder_antd.production.mjs.map +1 -0
  13. package/package.json +22 -27
  14. package/dist/index.cjs +0 -234
  15. package/dist/index.cjs.map +0 -1
  16. package/dist/index.mjs +0 -15043
  17. package/dist/index.mjs.map +0 -1
  18. package/dist/types/AntD.test.d.ts +0 -5
  19. package/dist/types/AntD.test.d.ts.map +0 -1
  20. package/dist/types/AntDActionElement.d.ts +0 -10
  21. package/dist/types/AntDActionElement.d.ts.map +0 -1
  22. package/dist/types/AntDDragHandle.d.ts +0 -7
  23. package/dist/types/AntDDragHandle.d.ts.map +0 -1
  24. package/dist/types/AntDNotToggle.d.ts +0 -10
  25. package/dist/types/AntDNotToggle.d.ts.map +0 -1
  26. package/dist/types/AntDValueEditor.d.ts +0 -6
  27. package/dist/types/AntDValueEditor.d.ts.map +0 -1
  28. package/dist/types/AntDValueSelector.d.ts +0 -10
  29. package/dist/types/AntDValueSelector.d.ts.map +0 -1
  30. package/dist/types/index.d.ts +0 -10
  31. package/dist/types/index.d.ts.map +0 -1
  32. package/dist/types/utils.d.ts +0 -5
  33. package/dist/types/utils.d.ts.map +0 -1
  34. package/index.d.mts +0 -4
@@ -1,5 +0,0 @@
1
- declare global {
2
- var __RQB_DEV__: boolean;
3
- }
4
- export {};
5
- //# sourceMappingURL=AntD.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AntD.test.d.ts","sourceRoot":"","sources":["../../src/AntD.test.tsx"],"names":[],"mappings":"AA0BA,OAAO,CAAC,MAAM,CAAC;IAEb,IAAI,WAAW,EAAE,OAAO,CAAC;CAC1B"}
@@ -1,10 +0,0 @@
1
- import type { ActionWithRulesProps } from '@react-querybuilder/ts';
2
- import { Button } from 'antd';
3
- import type { ComponentPropsWithoutRef } from 'react';
4
- type AntDActionProps = ActionWithRulesProps & ComponentPropsWithoutRef<typeof Button>;
5
- export declare const AntDActionElement: {
6
- ({ className, handleOnClick, label, title, disabled, disabledTranslation, testID: _testID, rules: _rules, level: _level, path: _path, context: _context, validation: _validation, ruleOrGroup: _ruleOrGroup, schema: _schema, ...extraProps }: AntDActionProps): JSX.Element;
7
- displayName: string;
8
- };
9
- export {};
10
- //# sourceMappingURL=AntDActionElement.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AntDActionElement.d.ts","sourceRoot":"","sources":["../../src/AntDActionElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAEtD,KAAK,eAAe,GAAG,oBAAoB,GAAG,wBAAwB,CAAC,OAAO,MAAM,CAAC,CAAC;AAEtF,eAAO,MAAM,iBAAiB;mPAiB3B,eAAe;;CAUjB,CAAC"}
@@ -1,7 +0,0 @@
1
- import { HolderOutlined } from '@ant-design/icons';
2
- import type { DragHandleProps } from '@react-querybuilder/ts';
3
- import type { ComponentPropsWithRef } from 'react';
4
- type AntDDragHandleProps = DragHandleProps & ComponentPropsWithRef<typeof HolderOutlined>;
5
- export declare const AntDDragHandle: import("react").ForwardRefExoticComponent<Omit<AntDDragHandleProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
6
- export {};
7
- //# sourceMappingURL=AntDDragHandle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AntDDragHandle.d.ts","sourceRoot":"","sources":["../../src/AntDDragHandle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAGnD,KAAK,mBAAmB,GAAG,eAAe,GAAG,qBAAqB,CAAC,OAAO,cAAc,CAAC,CAAC;AAE1F,eAAO,MAAM,cAAc,8HAkB1B,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { NotToggleProps } from '@react-querybuilder/ts';
2
- import { Switch } from 'antd';
3
- import type { ComponentPropsWithoutRef } from 'react';
4
- type AntDNotToggleProps = NotToggleProps & ComponentPropsWithoutRef<typeof Switch>;
5
- export declare const AntDNotToggle: {
6
- ({ className, handleOnChange, label, checked, title, disabled, path: _path, context: _context, validation: _validation, testID: _testID, schema: _schema, ...extraProps }: AntDNotToggleProps): JSX.Element;
7
- displayName: string;
8
- };
9
- export {};
10
- //# sourceMappingURL=AntDNotToggle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AntDNotToggle.d.ts","sourceRoot":"","sources":["../../src/AntDNotToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAEtD,KAAK,kBAAkB,GAAG,cAAc,GAAG,wBAAwB,CAAC,OAAO,MAAM,CAAC,CAAC;AAEnF,eAAO,MAAM,aAAa;+KAcvB,kBAAkB;;CAWpB,CAAC"}
@@ -1,6 +0,0 @@
1
- import { type ValueEditorProps } from 'react-querybuilder';
2
- export declare const AntDValueEditor: {
3
- ({ fieldData, operator, value, handleOnChange, title, className, type, inputType, values, listsAsArrays, parseNumbers, separator, valueSource: _vs, disabled, testID, selectorComponent: SelectorComponent, ...props }: ValueEditorProps): JSX.Element | null;
4
- displayName: string;
5
- };
6
- //# sourceMappingURL=AntDValueEditor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AntDValueEditor.d.ts","sourceRoot":"","sources":["../../src/AntDValueEditor.tsx"],"names":[],"mappings":"AAKA,OAAO,EAKL,KAAK,gBAAgB,EACtB,MAAM,oBAAoB,CAAC;AAK5B,eAAO,MAAM,eAAe;4NAkBzB,gBAAgB;;CA4MlB,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { VersatileSelectorProps } from '@react-querybuilder/ts';
2
- import { Select } from 'antd';
3
- import type { ComponentPropsWithoutRef } from 'react';
4
- type AntDValueSelectorProps = VersatileSelectorProps & Omit<ComponentPropsWithoutRef<typeof Select>, 'onChange' | 'defaultValue'>;
5
- export declare const AntDValueSelector: {
6
- ({ className, handleOnChange, options, value, title, disabled, multiple, listsAsArrays, testID: _testID, rules: _rules, level: _level, path: _path, context: _context, validation: _validation, operator: _operator, field: _field, fieldData: _fieldData, schema: _schema, ...extraProps }: AntDValueSelectorProps): JSX.Element;
7
- displayName: string;
8
- };
9
- export {};
10
- //# sourceMappingURL=AntDValueSelector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AntDValueSelector.d.ts","sourceRoot":"","sources":["../../src/AntDValueSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAItD,KAAK,sBAAsB,GAAG,sBAAsB,GAClD,IAAI,CAAC,wBAAwB,CAAC,OAAO,MAAM,CAAC,EAAE,UAAU,GAAG,cAAc,CAAC,CAAC;AAE7E,eAAO,MAAM,iBAAiB;iSAqB3B,sBAAsB;;CAkBxB,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { Controls } from '@react-querybuilder/ts';
2
- import { AntDActionElement } from './AntDActionElement';
3
- import { AntDDragHandle } from './AntDDragHandle';
4
- import { AntDNotToggle } from './AntDNotToggle';
5
- import { AntDValueEditor } from './AntDValueEditor';
6
- import { AntDValueSelector } from './AntDValueSelector';
7
- export { AntDActionElement, AntDDragHandle, AntDNotToggle, AntDValueEditor, AntDValueSelector };
8
- export declare const antdControlElements: Partial<Controls>;
9
- export declare const QueryBuilderAntD: import("react-querybuilder").QueryBuilderContextProvider<Record<string, any>>;
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,aAAa,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAEhG,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,QAAQ,CAgBjD,CAAC;AAEF,eAAO,MAAM,gBAAgB,+EAG3B,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { OptionList } from '@react-querybuilder/ts';
2
- import { isOptionGroupArray } from 'react-querybuilder';
3
- export { isOptionGroupArray };
4
- export declare const toOptions: (arr?: OptionList) => JSX.Element[] | null;
5
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAIxD,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAE9B,eAAO,MAAM,SAAS,SAAU,UAAU,yBAiBL,CAAC"}
package/index.d.mts DELETED
@@ -1,4 +0,0 @@
1
- import ns from './dist/index.cjs';
2
-
3
- export * from './dist/index.cjs';
4
- export default ns.default;