@react-querybuilder/antd 5.4.1 → 6.0.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.
- package/dist/index.cjs +191 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +15203 -0
- package/dist/index.mjs.map +1 -0
- package/dist/types/{src/AntD.test.d.ts → AntD.test.d.ts} +1 -0
- package/dist/types/AntD.test.d.ts.map +1 -0
- package/dist/types/{src/AntDActionElement.d.ts → AntDActionElement.d.ts} +1 -0
- package/dist/types/AntDActionElement.d.ts.map +1 -0
- package/dist/types/{src/AntDDragHandle.d.ts → AntDDragHandle.d.ts} +2 -1
- package/dist/types/AntDDragHandle.d.ts.map +1 -0
- package/dist/types/{src/AntDNotToggle.d.ts → AntDNotToggle.d.ts} +1 -0
- package/dist/types/AntDNotToggle.d.ts.map +1 -0
- package/dist/types/AntDValueEditor.d.ts +6 -0
- package/dist/types/AntDValueEditor.d.ts.map +1 -0
- package/dist/types/{src/AntDValueSelector.d.ts → AntDValueSelector.d.ts} +1 -0
- package/dist/types/AntDValueSelector.d.ts.map +1 -0
- package/dist/types/{src/index.d.ts → index.d.ts} +1 -1
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/{src/utils.d.ts → utils.d.ts} +1 -0
- package/dist/types/utils.d.ts.map +1 -0
- package/index.d.mts +4 -0
- package/package.json +27 -12
- package/dist/index.cjs.js +0 -316
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.es.js +0 -34159
- package/dist/index.es.js.map +0 -1
- package/dist/types/src/AntDValueEditor.d.ts +0 -5
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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;kOAgB3B,eAAe;;CAUjB,CAAC"}
|
|
@@ -2,5 +2,6 @@ import { HolderOutlined } from '@ant-design/icons';
|
|
|
2
2
|
import type { DragHandleProps } from '@react-querybuilder/ts';
|
|
3
3
|
import type { ComponentPropsWithRef } from 'react';
|
|
4
4
|
type AntDDragHandleProps = DragHandleProps & ComponentPropsWithRef<typeof HolderOutlined>;
|
|
5
|
-
export declare const AntDDragHandle: import("react").ForwardRefExoticComponent<Pick<AntDDragHandleProps, "
|
|
5
|
+
export declare const AntDDragHandle: import("react").ForwardRefExoticComponent<Pick<AntDDragHandleProps, "cite" | "data" | "form" | "slot" | "span" | "style" | "summary" | "pattern" | "children" | "type" | "onClick" | "value" | "controls" | "id" | "max" | "min" | "name" | "prefix" | "default" | "key" | "size" | "multiple" | "onChange" | "checked" | keyof DragHandleProps | "color" | "hidden" | "placeholder" | "formAction" | "formMethod" | "formNoValidate" | "formTarget" | "defaultValue" | "is" | "list" | "download" | "href" | "hrefLang" | "media" | "rel" | "target" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "formEncType" | "step" | "shape" | "required" | "high" | "low" | "height" | "width" | "start" | "open" | "content" | "rotate" | "acceptCharset" | "action" | "method" | "noValidate" | "async" | "manifest" | "wrap" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "coords" | "crossOrigin" | "dateTime" | "defer" | "encType" | "frameBorder" | "headers" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "minLength" | "muted" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | "spin" | "twoToneColor"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
6
6
|
export {};
|
|
7
|
+
//# sourceMappingURL=AntDDragHandle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,m2LAiB1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
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;8JAavB,kBAAkB;;CAWpB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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;;CA8MlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
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;gRAoB3B,sBAAsB;;CAkBxB,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { AntDDragHandle } from './AntDDragHandle';
|
|
|
4
4
|
import { AntDNotToggle } from './AntDNotToggle';
|
|
5
5
|
import { AntDValueEditor } from './AntDValueEditor';
|
|
6
6
|
import { AntDValueSelector } from './AntDValueSelector';
|
|
7
|
-
export { version } from '../package.json';
|
|
8
7
|
export { AntDActionElement, AntDDragHandle, AntDNotToggle, AntDValueEditor, AntDValueSelector };
|
|
9
8
|
export declare const antdControlElements: Partial<Controls>;
|
|
10
9
|
export declare const QueryBuilderAntD: import("react-querybuilder").QueryBuilderContextProvider<Record<string, any>>;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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
ADDED
package/package.json
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-querybuilder/antd",
|
|
3
3
|
"description": "Custom Ant Design components for react-querybuilder",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "6.0.0-alpha.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"main": "dist/index.cjs
|
|
9
|
-
"module": "dist/index.
|
|
10
|
-
"
|
|
8
|
+
"main": "dist/index.cjs",
|
|
9
|
+
"module": "dist/index.mjs",
|
|
10
|
+
"exports": {
|
|
11
|
+
"./package.json": "./package.json",
|
|
12
|
+
".": {
|
|
13
|
+
"import": {
|
|
14
|
+
"types": "./index.d.mts",
|
|
15
|
+
"default": "./dist/index.mjs"
|
|
16
|
+
},
|
|
17
|
+
"require": {
|
|
18
|
+
"types": "./dist/types/index.d.ts",
|
|
19
|
+
"default": "./dist/index.cjs"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"types": "dist/types/index.d.ts",
|
|
11
24
|
"files": [
|
|
12
|
-
"dist"
|
|
25
|
+
"dist",
|
|
26
|
+
"index.d.mts"
|
|
13
27
|
],
|
|
14
28
|
"repository": {
|
|
15
29
|
"type": "git",
|
|
@@ -25,18 +39,19 @@
|
|
|
25
39
|
"typecheck:watch": "yarn typecheck --watch"
|
|
26
40
|
},
|
|
27
41
|
"devDependencies": {
|
|
28
|
-
"@ant-design/icons": "^
|
|
29
|
-
"@react-querybuilder/ts": "^
|
|
42
|
+
"@ant-design/icons": "^5.0.1",
|
|
43
|
+
"@react-querybuilder/ts": "^6.0.0-alpha.1",
|
|
30
44
|
"@testing-library/react": "^13.4.0",
|
|
31
|
-
"@types/react": "^18.0.
|
|
32
|
-
"@vitejs/plugin-react": "^3.0
|
|
33
|
-
"antd": "^5.1.
|
|
45
|
+
"@types/react": "^18.0.27",
|
|
46
|
+
"@vitejs/plugin-react-swc": "^3.1.0",
|
|
47
|
+
"antd": "^5.1.6",
|
|
34
48
|
"dayjs": "^1.11.7",
|
|
35
49
|
"rc-picker": "^3.1.4",
|
|
36
50
|
"rc-select": "^14.2.0",
|
|
37
51
|
"react": "^18.2.0",
|
|
38
52
|
"react-dom": "^18.2.0",
|
|
39
|
-
"react-querybuilder": "^
|
|
53
|
+
"react-querybuilder": "^6.0.0-alpha.1",
|
|
54
|
+
"rollup-plugin-visualizer": "^5.9.0",
|
|
40
55
|
"typescript": "^4.9.4",
|
|
41
56
|
"vite": "^4.0.4"
|
|
42
57
|
},
|
|
@@ -45,5 +60,5 @@
|
|
|
45
60
|
"antd": ">=4.10.0",
|
|
46
61
|
"react": ">=16.8.0"
|
|
47
62
|
},
|
|
48
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "46cba489e5917a947b6f851cac67c602e2d50955"
|
|
49
64
|
}
|