@dappworks/kit 0.4.175 → 0.4.177

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 (46) hide show
  1. package/dist/StorageState-qzikHBY8.d.ts +66 -0
  2. package/dist/aiem.d.mts +4 -4
  3. package/dist/aiem.mjs +3 -1228
  4. package/dist/aiem.mjs.map +1 -1
  5. package/dist/chunk-2EXDWOHY.mjs +58 -0
  6. package/dist/chunk-3DOB34HY.mjs +292 -0
  7. package/dist/chunk-3DOB34HY.mjs.map +1 -0
  8. package/dist/{chunk-3O7QI47S.mjs → chunk-3HD22664.mjs} +2 -2
  9. package/dist/chunk-5JMONDHE.mjs +436 -0
  10. package/dist/chunk-5JMONDHE.mjs.map +1 -0
  11. package/dist/chunk-L6XS2K2K.mjs +76 -0
  12. package/dist/chunk-L6XS2K2K.mjs.map +1 -0
  13. package/dist/{chunk-AIZ7XDNV.mjs → chunk-TQNAAA4I.mjs} +22 -21
  14. package/dist/chunk-TQNAAA4I.mjs.map +1 -0
  15. package/dist/{chunk-GKK6EXKY.mjs → chunk-XSLAZWOE.mjs} +4 -4
  16. package/dist/dev.d.mts +3 -3
  17. package/dist/dev.mjs +2 -2
  18. package/dist/experimental.d.mts +3 -3
  19. package/dist/experimental.mjs +1 -1
  20. package/dist/form.d.mts +15 -15
  21. package/dist/form.mjs +2 -2
  22. package/dist/form.mjs.map +1 -1
  23. package/dist/index.d.mts +6 -67
  24. package/dist/index.mjs +3 -291
  25. package/dist/index.mjs.map +1 -1
  26. package/dist/inspector.d.mts +2 -2
  27. package/dist/inspector.mjs +1 -1
  28. package/dist/jsontable.d.mts +8 -8
  29. package/dist/jsontable.mjs +4 -4
  30. package/dist/metrics.d.mts +15 -15
  31. package/dist/metrics.mjs +4 -4
  32. package/dist/plugins.d.mts +11 -11
  33. package/dist/plugins.mjs +21 -83
  34. package/dist/plugins.mjs.map +1 -1
  35. package/dist/ui.d.mts +7 -7
  36. package/dist/ui.mjs +3 -3
  37. package/dist/utils.mjs +1 -1
  38. package/dist/wallet.d.mts +152 -0
  39. package/dist/wallet.mjs +3631 -0
  40. package/dist/wallet.mjs.map +1 -0
  41. package/package.json +13 -3
  42. package/dist/chunk-AIZ7XDNV.mjs.map +0 -1
  43. package/dist/chunk-R4SQKVDQ.mjs +0 -35
  44. /package/dist/{chunk-R4SQKVDQ.mjs.map → chunk-2EXDWOHY.mjs.map} +0 -0
  45. /package/dist/{chunk-3O7QI47S.mjs.map → chunk-3HD22664.mjs.map} +0 -0
  46. /package/dist/{chunk-GKK6EXKY.mjs.map → chunk-XSLAZWOE.mjs.map} +0 -0
package/dist/form.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import React$1, { Dispatch, SetStateAction, ReactNode } from 'react';
1
+ import React__default, { Dispatch, SetStateAction, ReactNode } from 'react';
2
2
  import { TabsProps, ButtonProps, CheckboxProps, SlotsToClasses, InputSlots, InputProps, SelectSlots, SelectProps, SelectedItems, DatePickerProps, ModalSlots } from '@nextui-org/react';
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';
@@ -54,13 +54,13 @@ type SubmitButtonProps<T> = ButtonProps & {
54
54
  };
55
55
  type CombFormsCustomRender<T> = (formStates: {
56
56
  [F in keyof T]?: JSONSchemaFormState<FormDataOfKey<T>, UiSchema>;
57
- }) => React$1.ReactNode;
57
+ }) => React__default.ReactNode;
58
58
  type CombFormsCustomRenderMap<T> = {
59
59
  Top?: CombFormsCustomRender<T>;
60
60
  SubmitButtonBefore?: CombFormsCustomRender<T>;
61
61
  SubmitButtonAfter?: CombFormsCustomRender<T>;
62
62
  };
63
- type SubformCustomRender<T> = (formKey: FormKey<T>, formState: JSONSchemaFormState<FormDataOfKey<T>, UiSchema>) => React$1.ReactNode;
63
+ type SubformCustomRender<T> = (formKey: FormKey<T>, formState: JSONSchemaFormState<FormDataOfKey<T>, UiSchema>) => React__default.ReactNode;
64
64
  type SubformCustomRenderMap<T> = {
65
65
  Top?: SubformCustomRender<T>;
66
66
  SubmitButtonBefore?: SubformCustomRender<T>;
@@ -139,7 +139,7 @@ type JSONFormProps<T = FormDataType> = {
139
139
  onBatchSubmit?: (formData: T, setLoading: Dispatch<SetStateAction<boolean>>) => void;
140
140
  };
141
141
  };
142
- declare const JSONForm: <T extends FormDataType>(props: JSONFormProps<T>) => React$1.JSX.Element;
142
+ declare const JSONForm: <T extends FormDataType>(props: JSONFormProps<T>) => React__default.JSX.Element;
143
143
 
144
144
  type Options$6 = {
145
145
  className?: string;
@@ -156,7 +156,7 @@ interface CheckboxWidgetUIOptions {
156
156
  "ui:widget": (props: CheckboxWidgetProps) => JSX.Element;
157
157
  "ui:options": Options$6;
158
158
  }
159
- declare function CheckboxWidget({ onChange, options, label, value, disabled, uiSchema }: CheckboxWidgetProps): React$1.JSX.Element;
159
+ declare function CheckboxWidget({ onChange, options, label, value, disabled, uiSchema }: CheckboxWidgetProps): React__default.JSX.Element;
160
160
 
161
161
  type Options$5 = {
162
162
  editorHeight?: string;
@@ -183,7 +183,7 @@ type EditorWidgetUIOptions = {
183
183
  "ui:widget": (props: EditorWidgetProps) => JSX.Element;
184
184
  "ui:options": Options$5;
185
185
  };
186
- declare const EditorWidget: ({ label, options, value, required, uiSchema, disabled, onChange }: EditorWidgetProps) => React$1.JSX.Element;
186
+ declare const EditorWidget: ({ label, options, value, required, uiSchema, disabled, onChange }: EditorWidgetProps) => React__default.JSX.Element;
187
187
 
188
188
  type Options$4 = {
189
189
  className?: string;
@@ -208,7 +208,7 @@ interface InputWidgetUIOptions {
208
208
  "ui:widget": (props: InputWidgetProps) => JSX.Element;
209
209
  "ui:options": Options$4;
210
210
  }
211
- declare function InputWidget(props: InputWidgetProps): React$1.JSX.Element;
211
+ declare function InputWidget(props: InputWidgetProps): React__default.JSX.Element;
212
212
 
213
213
  type Options$3 = {
214
214
  className?: string;
@@ -229,7 +229,7 @@ interface SelectWidgetUIOptions {
229
229
  "ui:widget": (props: SelectWidgetProps) => JSX.Element;
230
230
  "ui:options": Options$3;
231
231
  }
232
- declare function SelectWidget(props: SelectWidgetProps): React$1.JSX.Element;
232
+ declare function SelectWidget(props: SelectWidgetProps): React__default.JSX.Element;
233
233
 
234
234
  type Options$2 = {
235
235
  className?: string;
@@ -243,7 +243,7 @@ type Options$2 = {
243
243
  renderValue?: (items: SelectedItems<{
244
244
  label: string;
245
245
  value: string;
246
- }>) => React$1.ReactNode;
246
+ }>) => React__default.ReactNode;
247
247
  };
248
248
  interface MultipleSelectWidgetProps extends WidgetProps {
249
249
  options: Options$2;
@@ -252,7 +252,7 @@ interface MultipleSelectWidgetUIOptions {
252
252
  'ui:widget': (props: MultipleSelectWidgetProps) => JSX.Element;
253
253
  'ui:options': Options$2;
254
254
  }
255
- declare function MultipleSelectWidget(props: MultipleSelectWidgetProps): React$1.JSX.Element;
255
+ declare function MultipleSelectWidget(props: MultipleSelectWidgetProps): React__default.JSX.Element;
256
256
 
257
257
  type Options$1 = {
258
258
  className?: string;
@@ -276,7 +276,7 @@ interface TextareaWidgetUIOptions {
276
276
  'ui:widget': (props: TextareaWidgetProps) => JSX.Element;
277
277
  'ui:options': Options$1;
278
278
  }
279
- declare function TextareaWidget(props: TextareaWidgetProps): React$1.JSX.Element;
279
+ declare function TextareaWidget(props: TextareaWidgetProps): React__default.JSX.Element;
280
280
 
281
281
  type Options = {
282
282
  className?: string;
@@ -296,19 +296,19 @@ interface DatePickerWidgetUIOptions {
296
296
  'ui:widget': (props: DatePickerWidgetProps) => string | Widget<any, RJSFSchema, any> | undefined;
297
297
  'ui:options': Options;
298
298
  }
299
- declare function DatePickerWidget({ label, options, value, required, disabled, uiSchema, onChange }: DatePickerWidgetProps): React$1.JSX.Element;
299
+ declare function DatePickerWidget({ label, options, value, required, disabled, uiSchema, onChange }: DatePickerWidgetProps): React__default.JSX.Element;
300
300
 
301
301
  interface Props {
302
302
  formState: JSONSchemaFormState<any>;
303
303
  children?: any;
304
304
  }
305
- declare const JSONSchemaForm: (({ children, formState }: Props) => React$1.JSX.Element) & {
305
+ declare const JSONSchemaForm: (({ children, formState }: Props) => React__default.JSX.Element) & {
306
306
  displayName: string;
307
307
  };
308
308
 
309
309
  declare class ComplexFormModalStore<T extends FormDataType> implements Store {
310
310
  sid: string;
311
- provider: () => React$1.JSX.Element;
311
+ provider: () => React__default.JSX.Element;
312
312
  isOpen: boolean;
313
313
  title: string;
314
314
  formData?: T;
@@ -340,7 +340,7 @@ declare class FormModalStore<T = {
340
340
  [key: string]: any;
341
341
  }> implements Store {
342
342
  sid: string;
343
- provider: () => React$1.JSX.Element;
343
+ provider: () => React__default.JSX.Element;
344
344
  isOpen: boolean;
345
345
  title: string;
346
346
  form: JSONSchemaFormState<T>;
package/dist/form.mjs CHANGED
@@ -2,8 +2,8 @@ import { getStyle } from './chunk-K73JTEJQ.mjs';
2
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-AIZ7XDNV.mjs';
6
- import { __objRest, __spreadValues, __spreadProps } from './chunk-R4SQKVDQ.mjs';
5
+ import { cn } from './chunk-TQNAAA4I.mjs';
6
+ import { __objRest, __spreadValues, __spreadProps } from './chunk-2EXDWOHY.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';