@destyler/qr-code 0.2.6-beta.1 → 0.2.7
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.d.mts +3 -4
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _destyler_anatomy0 from "@destyler/anatomy";
|
|
2
1
|
import { DataUrlType } from "@destyler/dom";
|
|
3
2
|
import * as _destyler_xstate0 from "@destyler/xstate";
|
|
4
3
|
import { AnyEventObject, Machine, XSend, XState } from "@destyler/xstate";
|
|
@@ -6,7 +5,7 @@ import { QrCodeGenerateOptions, QrCodeGenerateOptions as QrCodeGenerateOptions$1
|
|
|
6
5
|
import { CommonProperties, DirectionProperty, NormalizeProps, PropTypes, RequiredBy } from "@destyler/types";
|
|
7
6
|
|
|
8
7
|
//#region src/anatomy.d.ts
|
|
9
|
-
declare const anatomy:
|
|
8
|
+
declare const anatomy: any;
|
|
10
9
|
//#endregion
|
|
11
10
|
//#region src/types.d.ts
|
|
12
11
|
type ElementIds = Partial<{
|
|
@@ -92,7 +91,7 @@ declare function connect<T extends PropTypes>(state: State, send: Send, normaliz
|
|
|
92
91
|
declare function machine(userContext: UserDefinedContext): _destyler_xstate0.Machine<MachineContext, MachineState, _destyler_xstate0.AnyEventObject>;
|
|
93
92
|
//#endregion
|
|
94
93
|
//#region src/props.d.ts
|
|
95
|
-
declare const props: ("
|
|
96
|
-
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "
|
|
94
|
+
declare const props: ("value" | "ids" | "encoding" | "onValueChange" | "dir" | "id" | "getRootNode")[];
|
|
95
|
+
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "value" | "ids" | "encoding" | "onValueChange" | "dir" | "id" | "getRootNode">];
|
|
97
96
|
//#endregion
|
|
98
97
|
export { type MachineApi as Api, type UserDefinedContext as Context, type DownloadTriggerProps, type ElementIds, type MachineState, type QrCodeGenerateOptions, type QrCodeGenerateResult, type Send, type Service, type ValueChangeDetails, anatomy, connect, machine, props, splitProps };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@destyler/qr-code",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.7",
|
|
5
5
|
"description": "a component that generates a QR code based on the provided data.",
|
|
6
6
|
"author": "Elone Hoo <elonehoo@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"proxy-memoize": "^3.0.1",
|
|
26
26
|
"uqr": "^0.1.2",
|
|
27
|
-
"@destyler/
|
|
28
|
-
"@destyler/
|
|
29
|
-
"@destyler/
|
|
30
|
-
"@destyler/
|
|
31
|
-
"@destyler/
|
|
27
|
+
"@destyler/anatomy": "0.2.7",
|
|
28
|
+
"@destyler/dom": "0.2.7",
|
|
29
|
+
"@destyler/types": "0.2.7",
|
|
30
|
+
"@destyler/xstate": "0.2.7",
|
|
31
|
+
"@destyler/utils": "0.2.7"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|