@dappworks/kit 0.4.169 → 0.4.171
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/{PromiseState-23a1c20b.d.ts → PromiseState-DdfQCVl2.d.ts} +3 -3
- package/dist/aiem.d.mts +4 -3
- package/dist/aiem.mjs +14 -26
- package/dist/aiem.mjs.map +1 -1
- package/dist/{chunk-J5PZWR2P.mjs → chunk-3O7QI47S.mjs} +2 -2
- package/dist/{chunk-WYGQ3Y4R.mjs → chunk-AIZ7XDNV.mjs} +14 -14
- package/dist/chunk-AIZ7XDNV.mjs.map +1 -0
- package/dist/{chunk-TCBVVRV2.mjs → chunk-GKK6EXKY.mjs} +4 -4
- package/dist/{chunk-3D5MLYHP.mjs → chunk-OISBIKAQ.mjs} +2 -2
- package/dist/{chunk-6F7H4PAA.mjs → chunk-R4SQKVDQ.mjs} +1 -1
- package/dist/{chunk-IDKGZ5T4.mjs → chunk-XSGTWROT.mjs} +7 -7
- package/dist/{chunk-IDKGZ5T4.mjs.map → chunk-XSGTWROT.mjs.map} +1 -1
- package/dist/dev.d.mts +1 -1
- package/dist/dev.mjs +2 -2
- package/dist/experimental.d.mts +9 -7
- package/dist/experimental.mjs +3 -3
- package/dist/form.d.mts +5 -5
- package/dist/form.mjs +3 -3
- package/dist/{index-38be834f.d.ts → index-CUKoRIdy.d.ts} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +4 -4
- package/dist/inspector.d.mts +1 -1
- package/dist/inspector.mjs +1 -1
- package/dist/jsontable.d.mts +2 -2
- package/dist/jsontable.mjs +4 -4
- package/dist/metrics.d.mts +1 -1
- package/dist/metrics.mjs +4 -4
- package/dist/plugins.d.mts +7 -7
- package/dist/plugins.mjs +3 -3
- package/dist/{root-766ae985.d.ts → root-C3lZnoCI.d.ts} +1 -1
- package/dist/ui.mjs +3 -3
- package/dist/utils.d.mts +9 -4
- package/dist/utils.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-WYGQ3Y4R.mjs.map +0 -1
- /package/dist/{PaginationState-c19e621a.d.ts → PaginationState-Bmrrw0ky.d.ts} +0 -0
- /package/dist/{chunk-J5PZWR2P.mjs.map → chunk-3O7QI47S.mjs.map} +0 -0
- /package/dist/{chunk-TCBVVRV2.mjs.map → chunk-GKK6EXKY.mjs.map} +0 -0
- /package/dist/{chunk-3D5MLYHP.mjs.map → chunk-OISBIKAQ.mjs.map} +0 -0
- /package/dist/{chunk-6F7H4PAA.mjs.map → chunk-R4SQKVDQ.mjs.map} +0 -0
package/dist/experimental.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PromiseState } from './chunk-
|
|
1
|
+
import { PromiseState } from './chunk-OISBIKAQ.mjs';
|
|
2
2
|
import './chunk-IMOLRP7I.mjs';
|
|
3
|
-
import { RootStore } from './chunk-
|
|
3
|
+
import { RootStore } from './chunk-XSGTWROT.mjs';
|
|
4
4
|
import { _ } from './chunk-K7LFG5BA.mjs';
|
|
5
|
-
import { __objRest, __spreadValues, __spreadProps } from './chunk-
|
|
5
|
+
import { __objRest, __spreadValues, __spreadProps } from './chunk-R4SQKVDQ.mjs';
|
|
6
6
|
import React2 from 'react';
|
|
7
7
|
import { makeAutoObservable, toJS, observable } from 'mobx';
|
|
8
8
|
import axios from 'axios';
|
package/dist/form.d.mts
CHANGED
|
@@ -3,9 +3,9 @@ import { TabsProps, ButtonProps, CheckboxProps, SlotsToClasses, InputSlots, Inpu
|
|
|
3
3
|
import { UiSchema, RJSFSchema, WidgetProps, Widget } from '@rjsf/utils';
|
|
4
4
|
import * as _rjsf_validator_ajv8_lib_validator from '@rjsf/validator-ajv8/lib/validator';
|
|
5
5
|
import Form, { IChangeEvent } from '@rjsf/core';
|
|
6
|
-
import { T as ThemeType } from './index-
|
|
6
|
+
import { T as ThemeType } from './index-CUKoRIdy.js';
|
|
7
7
|
import { EditorProps } from '@monaco-editor/react';
|
|
8
|
-
import { S as Store } from './root-
|
|
8
|
+
import { S as Store } from './root-C3lZnoCI.js';
|
|
9
9
|
import EventEmitter from 'events';
|
|
10
10
|
import 'typed-emitter';
|
|
11
11
|
|
|
@@ -320,7 +320,7 @@ declare class ComplexFormModalStore<T extends FormDataType> implements Store {
|
|
|
320
320
|
modalSize: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full' | 'xs' | '3xl' | '4xl' | '5xl';
|
|
321
321
|
scrollBehavior?: 'normal' | 'inside' | 'outside';
|
|
322
322
|
isDismissable: boolean;
|
|
323
|
-
event: EventEmitter
|
|
323
|
+
event: EventEmitter<[never]>;
|
|
324
324
|
onBatchSubmit?: (data: T, setLoading?: Dispatch<SetStateAction<boolean>>) => void;
|
|
325
325
|
onSet?: (v: FormDataOfKey<T>, form: JSONSchemaFormState<FormDataOfKey<T>, UiSchema>) => FormDataOfKey<T>;
|
|
326
326
|
onChange?: (data: Partial<T>) => void;
|
|
@@ -350,7 +350,7 @@ declare class FormModalStore<T = {
|
|
|
350
350
|
modalSize: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full' | 'xs' | '3xl' | '4xl' | '5xl';
|
|
351
351
|
scrollBehavior?: 'normal' | 'inside' | 'outside';
|
|
352
352
|
closeOnOverlayClick: boolean;
|
|
353
|
-
event: EventEmitter
|
|
353
|
+
event: EventEmitter<[never]>;
|
|
354
354
|
onAfterSubmit?: (data: T) => void;
|
|
355
355
|
constructor(args?: Partial<FormModalStore>);
|
|
356
356
|
setData(v: Partial<FormModalStore>): void;
|
|
@@ -372,4 +372,4 @@ declare function getSimpleFormData<T>(data: T, metadata: {
|
|
|
372
372
|
[key: string]: any;
|
|
373
373
|
} & Partial<JSONSchemaFormState<any>>, config: Partial<FormModalStore>, onSet?: (v: T, form: JSONSchemaFormState<T, UiSchema>) => T, theme?: ThemeType): Promise<T>;
|
|
374
374
|
|
|
375
|
-
export { CheckboxWidget, CheckboxWidgetProps, CheckboxWidgetUIOptions, ComplexFormModalStore, DatePickerWidget, DatePickerWidgetProps, DatePickerWidgetUIOptions, EditorWidget, EditorWidgetProps, EditorWidgetUIOptions, FieldLayoutType, FormConfigType, FormDataOfKey, FormDataType, FormKey, FormLayoutType, FormModalStore, InputWidget, InputWidgetProps, InputWidgetUIOptions, JSONForm, JSONFormProps, JSONSchemaForm, LayoutConfigType, LayoutType, MultipleSelectWidget, MultipleSelectWidgetProps, MultipleSelectWidgetUIOptions, SelectWidget, SelectWidgetProps, SelectWidgetUIOptions, TextareaWidget, TextareaWidgetProps, TextareaWidgetUIOptions, getComplexFormData, getFormData, getFormState, getSimpleFormData };
|
|
375
|
+
export { CheckboxWidget, type CheckboxWidgetProps, type CheckboxWidgetUIOptions, ComplexFormModalStore, DatePickerWidget, type DatePickerWidgetProps, type DatePickerWidgetUIOptions, EditorWidget, type EditorWidgetProps, type EditorWidgetUIOptions, type FieldLayoutType, type FormConfigType, type FormDataOfKey, type FormDataType, type FormKey, type FormLayoutType, FormModalStore, InputWidget, type InputWidgetProps, type InputWidgetUIOptions, JSONForm, type JSONFormProps, JSONSchemaForm, type LayoutConfigType, type LayoutType, MultipleSelectWidget, type MultipleSelectWidgetProps, type MultipleSelectWidgetUIOptions, SelectWidget, type SelectWidgetProps, type SelectWidgetUIOptions, TextareaWidget, type TextareaWidgetProps, type TextareaWidgetUIOptions, getComplexFormData, getFormData, getFormState, getSimpleFormData };
|
package/dist/form.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getStyle } from './chunk-K73JTEJQ.mjs';
|
|
2
|
-
import { useStore, RootStore } from './chunk-
|
|
2
|
+
import { useStore, RootStore } from './chunk-XSGTWROT.mjs';
|
|
3
3
|
import { helper } from './chunk-UPGWJHSO.mjs';
|
|
4
4
|
import { _ } from './chunk-K7LFG5BA.mjs';
|
|
5
|
-
import { cn } from './chunk-
|
|
6
|
-
import { __objRest, __spreadValues, __spreadProps } from './chunk-
|
|
5
|
+
import { cn } from './chunk-AIZ7XDNV.mjs';
|
|
6
|
+
import { __objRest, __spreadValues, __spreadProps } from './chunk-R4SQKVDQ.mjs';
|
|
7
7
|
import React7, { useEffect, useMemo, useState, useRef, useCallback, createRef } from 'react';
|
|
8
8
|
import { Modal, ModalContent, ModalHeader, ModalBody, Checkbox, Input, Select, SelectItem, Button, Textarea, DatePicker, Chip, Card, Tabs, Tab } from '@nextui-org/react';
|
|
9
9
|
import { Check, ChevronUp, ChevronDown } from 'lucide-react';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { R as RootStore, E as EventMap } from './root-
|
|
2
|
-
export { B as BaseState, c as BooleanState, N as NumberState, S as Store, a as StoreClass, b as StringState, V as ValueState } from './root-
|
|
3
|
-
export { P as PromiseState } from './PromiseState-
|
|
1
|
+
import { R as RootStore, E as EventMap } from './root-C3lZnoCI.js';
|
|
2
|
+
export { B as BaseState, c as BooleanState, N as NumberState, S as Store, a as StoreClass, b as StringState, V as ValueState } from './root-C3lZnoCI.js';
|
|
3
|
+
export { P as PromiseState } from './PromiseState-DdfQCVl2.js';
|
|
4
4
|
import * as mobx from 'mobx';
|
|
5
5
|
import BigNumber from 'bignumber.js';
|
|
6
|
-
export { P as PaginationState } from './PaginationState-
|
|
6
|
+
export { P as PaginationState } from './PaginationState-Bmrrw0ky.js';
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import 'typed-emitter';
|
|
9
9
|
import 'events';
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { BooleanState, NumberState, PromiseState, Store, StringState, ValueState } from './chunk-
|
|
1
|
+
export { BooleanState, NumberState, PromiseState, Store, StringState, ValueState } from './chunk-OISBIKAQ.mjs';
|
|
2
2
|
import './chunk-IMOLRP7I.mjs';
|
|
3
|
-
import { RootStore } from './chunk-
|
|
4
|
-
export { RootStore, rootStore, useStore } from './chunk-
|
|
3
|
+
import { RootStore } from './chunk-XSGTWROT.mjs';
|
|
4
|
+
export { RootStore, rootStore, useStore } from './chunk-XSGTWROT.mjs';
|
|
5
5
|
import { helper } from './chunk-UPGWJHSO.mjs';
|
|
6
6
|
export { PaginationState } from './chunk-ONVPCAMQ.mjs';
|
|
7
7
|
import './chunk-K7LFG5BA.mjs';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-R4SQKVDQ.mjs';
|
|
9
9
|
import { observable, makeAutoObservable } from 'mobx';
|
|
10
10
|
import BigNumber2 from 'bignumber.js';
|
|
11
11
|
import React from 'react';
|
package/dist/inspector.d.mts
CHANGED
package/dist/inspector.mjs
CHANGED
package/dist/jsontable.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SpinnerProps, PaginationProps } from '@nextui-org/react';
|
|
3
|
-
import { P as PaginationState } from './PaginationState-
|
|
3
|
+
import { P as PaginationState } from './PaginationState-Bmrrw0ky.js';
|
|
4
4
|
|
|
5
5
|
type TableClassNames = {
|
|
6
6
|
table?: string;
|
|
@@ -111,4 +111,4 @@ interface JSONTableProps<T extends Record<string, any>> {
|
|
|
111
111
|
}
|
|
112
112
|
declare const JSONTable: <T extends Record<string, any>>(props: JSONTableProps<T>) => React.JSX.Element;
|
|
113
113
|
|
|
114
|
-
export { CardOptions, CollapsedTableConfig, ColumnOptions, HeaderKeys, JSONTable, LoadingOptions, SortingUIOptions };
|
|
114
|
+
export { type CardOptions, type CollapsedTableConfig, type ColumnOptions, type HeaderKeys, JSONTable, type LoadingOptions, type SortingUIOptions };
|
package/dist/jsontable.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { JSONTable } from './chunk-
|
|
1
|
+
export { JSONTable } from './chunk-GKK6EXKY.mjs';
|
|
2
2
|
import './chunk-ONVPCAMQ.mjs';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-3O7QI47S.mjs';
|
|
4
4
|
import './chunk-K7LFG5BA.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-AIZ7XDNV.mjs';
|
|
6
|
+
import './chunk-R4SQKVDQ.mjs';
|
|
7
7
|
//# sourceMappingURL=out.js.map
|
|
8
8
|
//# sourceMappingURL=jsontable.mjs.map
|
package/dist/metrics.d.mts
CHANGED
package/dist/metrics.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { JSONTable } from './chunk-
|
|
1
|
+
import { JSONTable } from './chunk-GKK6EXKY.mjs';
|
|
2
2
|
import './chunk-ONVPCAMQ.mjs';
|
|
3
|
-
import { SkeletonBox } from './chunk-
|
|
3
|
+
import { SkeletonBox } from './chunk-3O7QI47S.mjs';
|
|
4
4
|
import './chunk-K7LFG5BA.mjs';
|
|
5
|
-
import { cn } from './chunk-
|
|
6
|
-
import { __spreadValues } from './chunk-
|
|
5
|
+
import { cn } from './chunk-AIZ7XDNV.mjs';
|
|
6
|
+
import { __spreadValues } from './chunk-R4SQKVDQ.mjs';
|
|
7
7
|
import React8 from 'react';
|
|
8
8
|
import { Grid, Col, BarChart, LineChart, AreaChart, DonutChart, Text } from '@tremor/react';
|
|
9
9
|
import { Card } from '@nextui-org/react';
|
package/dist/plugins.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { S as Store } from './root-
|
|
1
|
+
import { S as Store } from './root-C3lZnoCI.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { SlotsToClasses, ModalSlots, ButtonProps, SpinnerProps } from '@nextui-org/react';
|
|
4
|
-
import { T as ThemeType } from './index-
|
|
4
|
+
import { T as ThemeType } from './index-CUKoRIdy.js';
|
|
5
5
|
import * as react_hot_toast from 'react-hot-toast';
|
|
6
|
-
import { P as PromiseState } from './PromiseState-
|
|
6
|
+
import { P as PromiseState } from './PromiseState-DdfQCVl2.js';
|
|
7
7
|
import 'typed-emitter';
|
|
8
8
|
import 'events';
|
|
9
9
|
|
|
@@ -30,10 +30,10 @@ declare class ConfirmStore implements Store {
|
|
|
30
30
|
declare class ToastPlugin implements Store {
|
|
31
31
|
sid: string;
|
|
32
32
|
provider: () => React.JSX.Element;
|
|
33
|
-
success: (message: react_hot_toast.Renderable | react_hot_toast.ValueFunction<react_hot_toast.Renderable, react_hot_toast.Toast>, options?:
|
|
34
|
-
error: (message: react_hot_toast.Renderable | react_hot_toast.ValueFunction<react_hot_toast.Renderable, react_hot_toast.Toast>, options?:
|
|
35
|
-
loading: (message: react_hot_toast.Renderable | react_hot_toast.ValueFunction<react_hot_toast.Renderable, react_hot_toast.Toast>, options?:
|
|
36
|
-
custom: (message: react_hot_toast.Renderable | react_hot_toast.ValueFunction<react_hot_toast.Renderable, react_hot_toast.Toast>, options?:
|
|
33
|
+
success: (message: react_hot_toast.Renderable | react_hot_toast.ValueFunction<react_hot_toast.Renderable, react_hot_toast.Toast>, options?: react_hot_toast.ToastOptions) => string;
|
|
34
|
+
error: (message: react_hot_toast.Renderable | react_hot_toast.ValueFunction<react_hot_toast.Renderable, react_hot_toast.Toast>, options?: react_hot_toast.ToastOptions) => string;
|
|
35
|
+
loading: (message: react_hot_toast.Renderable | react_hot_toast.ValueFunction<react_hot_toast.Renderable, react_hot_toast.Toast>, options?: react_hot_toast.ToastOptions) => string;
|
|
36
|
+
custom: (message: react_hot_toast.Renderable | react_hot_toast.ValueFunction<react_hot_toast.Renderable, react_hot_toast.Toast>, options?: react_hot_toast.ToastOptions) => string;
|
|
37
37
|
dismiss: (toastId?: string) => void;
|
|
38
38
|
remove: (toastId?: string) => void;
|
|
39
39
|
promise: <T>(promise: Promise<T>, msgs: {
|
package/dist/plugins.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { ToastPlugin } from './chunk-IMOLRP7I.mjs';
|
|
2
2
|
import { getStyle } from './chunk-K73JTEJQ.mjs';
|
|
3
|
-
import { useStore, rootStore } from './chunk-
|
|
3
|
+
import { useStore, rootStore } from './chunk-XSGTWROT.mjs';
|
|
4
4
|
import './chunk-K7LFG5BA.mjs';
|
|
5
|
-
import { cn } from './chunk-
|
|
6
|
-
import { __spreadProps, __spreadValues } from './chunk-
|
|
5
|
+
import { cn } from './chunk-AIZ7XDNV.mjs';
|
|
6
|
+
import { __spreadProps, __spreadValues } from './chunk-R4SQKVDQ.mjs';
|
|
7
7
|
import { makeAutoObservable, makeObservable } from 'mobx';
|
|
8
8
|
import React5 from 'react';
|
|
9
9
|
import { observer } from 'mobx-react-lite';
|
|
@@ -106,4 +106,4 @@ declare class RootStore<T extends EventMap = any> {
|
|
|
106
106
|
}, ann?: any): T;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export { BaseState as B, EventMap as E, NumberState as N, RootStore as R, Store as S, ValueState as V, StoreClass as a, StringState as b, BooleanState as c };
|
|
109
|
+
export { type BaseState as B, type EventMap as E, NumberState as N, RootStore as R, Store as S, ValueState as V, type StoreClass as a, StringState as b, BooleanState as c };
|
package/dist/ui.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { SkeletonBox } from './chunk-
|
|
2
|
-
import { cn } from './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { SkeletonBox } from './chunk-3O7QI47S.mjs';
|
|
2
|
+
import { cn } from './chunk-AIZ7XDNV.mjs';
|
|
3
|
+
import './chunk-R4SQKVDQ.mjs';
|
|
4
4
|
import React, { useState, useEffect } from 'react';
|
|
5
5
|
import { Card } from '@nextui-org/react';
|
|
6
6
|
import copyToClipboard from 'copy-to-clipboard';
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _dexie from 'dexie';
|
|
2
|
-
import { Table } from 'dexie';
|
|
3
1
|
import DataLoader from 'dataloader';
|
|
2
|
+
import { Table } from 'dexie';
|
|
4
3
|
import BigNumber from 'bignumber.js';
|
|
5
4
|
|
|
6
5
|
declare class DexieCache {
|
|
@@ -10,7 +9,13 @@ declare class DexieCache {
|
|
|
10
9
|
value: any;
|
|
11
10
|
expiration: number;
|
|
12
11
|
};
|
|
13
|
-
},
|
|
12
|
+
}, any, {
|
|
13
|
+
key: string;
|
|
14
|
+
value: {
|
|
15
|
+
value: any;
|
|
16
|
+
expiration: number;
|
|
17
|
+
};
|
|
18
|
+
}>;
|
|
14
19
|
kv_get: DataLoader<string, {
|
|
15
20
|
value: any;
|
|
16
21
|
expiration: number;
|
|
@@ -54,7 +59,7 @@ declare const helper: {
|
|
|
54
59
|
};
|
|
55
60
|
promise: {
|
|
56
61
|
sleep(ms: any): Promise<unknown>;
|
|
57
|
-
runAsync<T, U = Error>(promise: Promise<T>): Promise<[U, T]>;
|
|
62
|
+
runAsync<T, U = Error>(promise: Promise<T>): Promise<[U | null, T | null]>;
|
|
58
63
|
};
|
|
59
64
|
object: {
|
|
60
65
|
crawlObject(object: any, options: any): any;
|
package/dist/utils.mjs
CHANGED