@dappworks/kit 0.5.34 → 0.5.36

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 (55) hide show
  1. package/dist/{PromiseState-DVdsif1j.d.ts → PromiseState-e64b3707.d.ts} +1 -1
  2. package/dist/{StorageState-qapaHguM.d.ts → StorageState-cfd942cb.d.ts} +1 -1
  3. package/dist/aiem.d.mts +3 -3
  4. package/dist/aiem.mjs +2 -2
  5. package/dist/{chunk-BQSQ4L7R.mjs → chunk-5BTB7HRK.mjs} +2 -2
  6. package/dist/chunk-6F7H4PAA.mjs +35 -0
  7. package/dist/{chunk-I2RSE63R.mjs → chunk-72E76L6J.mjs} +2 -2
  8. package/dist/{chunk-2L5EKCYR.mjs → chunk-AVG4JG4V.mjs} +4 -4
  9. package/dist/chunk-BR7IWH2E.mjs +1284 -0
  10. package/dist/chunk-BR7IWH2E.mjs.map +1 -0
  11. package/dist/{chunk-SA53R6TL.mjs → chunk-KIS52LFU.mjs} +7 -7
  12. package/dist/{chunk-SA53R6TL.mjs.map → chunk-KIS52LFU.mjs.map} +1 -1
  13. package/dist/{chunk-FWK5VZHE.mjs → chunk-NKGQRF5D.mjs} +3 -3
  14. package/dist/{chunk-BAXWSAXB.mjs → chunk-SPFKGNUY.mjs} +364 -388
  15. package/dist/chunk-SPFKGNUY.mjs.map +1 -0
  16. package/dist/{chunk-WWCB4WOQ.mjs → chunk-WMV5O3PI.mjs} +4 -4
  17. package/dist/chunk-WMV5O3PI.mjs.map +1 -0
  18. package/dist/dev.d.mts +1 -1
  19. package/dist/dev.mjs +2 -2
  20. package/dist/experimental.d.mts +5 -5
  21. package/dist/experimental.mjs +3 -3
  22. package/dist/form.d.mts +14 -14
  23. package/dist/form.mjs +3 -3
  24. package/dist/form.mjs.map +1 -1
  25. package/dist/{index-CUKoRIdy.d.ts → index-38be834f.d.ts} +1 -1
  26. package/dist/index.d.mts +5 -5
  27. package/dist/index.mjs +6 -6
  28. package/dist/inspector.d.mts +1 -1
  29. package/dist/inspector.mjs +1 -1
  30. package/dist/jsoncomponent.d.mts +1 -1
  31. package/dist/jsoncomponent.mjs +1 -1
  32. package/dist/jsontable.d.mts +2 -2
  33. package/dist/jsontable.mjs +4 -4
  34. package/dist/metrics.d.mts +1 -1
  35. package/dist/metrics.mjs +4 -4
  36. package/dist/plugins.d.mts +8 -8
  37. package/dist/plugins.mjs +5 -5
  38. package/dist/{root-BPMUmS6H.d.ts → root-218afa4f.d.ts} +1 -1
  39. package/dist/ui.mjs +3 -3
  40. package/dist/utils.d.mts +19 -100
  41. package/dist/utils.mjs +1 -1
  42. package/dist/wallet.d.mts +4 -4
  43. package/dist/wallet.mjs +7 -7
  44. package/package.json +175 -174
  45. package/dist/chunk-4KRVA5CB.mjs +0 -23690
  46. package/dist/chunk-4KRVA5CB.mjs.map +0 -1
  47. package/dist/chunk-BAXWSAXB.mjs.map +0 -1
  48. package/dist/chunk-VIK2VI34.mjs +0 -69
  49. package/dist/chunk-WWCB4WOQ.mjs.map +0 -1
  50. /package/dist/{PaginationState-Bmrrw0ky.d.ts → PaginationState-c19e621a.d.ts} +0 -0
  51. /package/dist/{chunk-BQSQ4L7R.mjs.map → chunk-5BTB7HRK.mjs.map} +0 -0
  52. /package/dist/{chunk-VIK2VI34.mjs.map → chunk-6F7H4PAA.mjs.map} +0 -0
  53. /package/dist/{chunk-I2RSE63R.mjs.map → chunk-72E76L6J.mjs.map} +0 -0
  54. /package/dist/{chunk-2L5EKCYR.mjs.map → chunk-AVG4JG4V.mjs.map} +0 -0
  55. /package/dist/{chunk-FWK5VZHE.mjs.map → chunk-NKGQRF5D.mjs.map} +0 -0
package/dist/form.d.mts CHANGED
@@ -1,11 +1,11 @@
1
- import React$1, { Dispatch, SetStateAction, ReactNode } from 'react';
1
+ import React$1, { Dispatch, SetStateAction, JSX as JSX$1, ReactNode } from 'react';
2
2
  import { ButtonProps, TabsProps, 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';
5
5
  import Form, { IChangeEvent } from '@rjsf/core';
6
- import { T as ThemeType } from './index-CUKoRIdy.js';
6
+ import { T as ThemeType } from './index-38be834f.js';
7
7
  import { EditorProps } from '@monaco-editor/react';
8
- import { S as Store } from './root-BPMUmS6H.js';
8
+ import { S as Store } from './root-218afa4f.js';
9
9
  import EventEmitter from 'events';
10
10
  import 'typed-emitter';
11
11
 
@@ -162,10 +162,10 @@ interface CheckboxWidgetProps extends WidgetProps {
162
162
  options: Options$6;
163
163
  }
164
164
  interface CheckboxWidgetUIOptions {
165
- "ui:widget": (props: CheckboxWidgetProps) => JSX.Element;
165
+ "ui:widget": (props: CheckboxWidgetProps) => JSX$1.Element;
166
166
  "ui:options": Options$6;
167
167
  }
168
- declare function CheckboxWidget({ onChange, options, label, value, disabled, uiSchema }: CheckboxWidgetProps): React$1.JSX.Element;
168
+ declare function CheckboxWidget({ onChange, options, label, value, disabled, uiSchema }: CheckboxWidgetProps): JSX$1.Element;
169
169
 
170
170
  type Options$5 = {
171
171
  editorHeight?: string;
@@ -189,10 +189,10 @@ interface EditorWidgetProps extends WidgetProps {
189
189
  options: Options$5;
190
190
  }
191
191
  type EditorWidgetUIOptions = {
192
- "ui:widget": (props: EditorWidgetProps) => JSX.Element;
192
+ "ui:widget": (props: EditorWidgetProps) => JSX$1.Element;
193
193
  "ui:options": Options$5;
194
194
  };
195
- declare const EditorWidget: ({ label, options, value, required, uiSchema, disabled, onChange }: EditorWidgetProps) => React$1.JSX.Element;
195
+ declare const EditorWidget: ({ label, options, value, required, uiSchema, disabled, onChange }: EditorWidgetProps) => JSX$1.Element;
196
196
 
197
197
  type Options$4 = {
198
198
  className?: string;
@@ -235,10 +235,10 @@ interface SelectWidgetProps extends WidgetProps {
235
235
  options: Options$3;
236
236
  }
237
237
  interface SelectWidgetUIOptions {
238
- "ui:widget": (props: SelectWidgetProps) => JSX.Element;
238
+ "ui:widget": (props: SelectWidgetProps) => JSX$1.Element;
239
239
  "ui:options": Options$3;
240
240
  }
241
- declare function SelectWidget(props: SelectWidgetProps): React$1.JSX.Element;
241
+ declare function SelectWidget(props: SelectWidgetProps): JSX$1.Element;
242
242
 
243
243
  type Options$2 = {
244
244
  className?: string;
@@ -258,10 +258,10 @@ interface MultipleSelectWidgetProps extends WidgetProps {
258
258
  options: Options$2;
259
259
  }
260
260
  interface MultipleSelectWidgetUIOptions {
261
- 'ui:widget': (props: MultipleSelectWidgetProps) => JSX.Element;
261
+ 'ui:widget': (props: MultipleSelectWidgetProps) => JSX$1.Element;
262
262
  'ui:options': Options$2;
263
263
  }
264
- declare function MultipleSelectWidget(props: MultipleSelectWidgetProps): React$1.JSX.Element;
264
+ declare function MultipleSelectWidget(props: MultipleSelectWidgetProps): JSX$1.Element;
265
265
 
266
266
  type Options$1 = {
267
267
  className?: string;
@@ -282,10 +282,10 @@ interface TextareaWidgetProps extends WidgetProps {
282
282
  options: Options$1;
283
283
  }
284
284
  interface TextareaWidgetUIOptions {
285
- 'ui:widget': (props: TextareaWidgetProps) => JSX.Element;
285
+ 'ui:widget': (props: TextareaWidgetProps) => JSX$1.Element;
286
286
  'ui:options': Options$1;
287
287
  }
288
- declare function TextareaWidget(props: TextareaWidgetProps): React$1.JSX.Element;
288
+ declare function TextareaWidget(props: TextareaWidgetProps): JSX$1.Element;
289
289
 
290
290
  type Options = {
291
291
  className?: string;
@@ -381,4 +381,4 @@ declare function getSimpleFormData<T>(data: T, metadata: {
381
381
  [key: string]: any;
382
382
  } & Partial<JSONSchemaFormState<any>>, config: Partial<FormModalStore>, onSet?: (v: T, form: JSONSchemaFormState<T, UiSchema>) => T, theme?: ThemeType): Promise<T>;
383
383
 
384
- export { CheckboxWidget, type CheckboxWidgetProps, type CheckboxWidgetUIOptions, ComplexFormModalStore, DatePickerWidget, type DatePickerWidgetProps, type DatePickerWidgetUIOptions, EditorWidget, type EditorWidgetProps, type EditorWidgetUIOptions, type FormConfigType, type FormDataOfKey, type FormDataType, type FormKey, 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 };
384
+ export { CheckboxWidget, CheckboxWidgetProps, CheckboxWidgetUIOptions, ComplexFormModalStore, DatePickerWidget, DatePickerWidgetProps, DatePickerWidgetUIOptions, EditorWidget, EditorWidgetProps, EditorWidgetUIOptions, FormConfigType, FormDataOfKey, FormDataType, FormKey, FormModalStore, InputWidget, InputWidgetProps, InputWidgetUIOptions, JSONForm, JSONFormProps, JSONSchemaForm, LayoutConfigType, LayoutType, MultipleSelectWidget, MultipleSelectWidgetProps, MultipleSelectWidgetUIOptions, SelectWidget, SelectWidgetProps, SelectWidgetUIOptions, TextareaWidget, TextareaWidgetProps, TextareaWidgetUIOptions, getComplexFormData, getFormData, getFormState, getSimpleFormData };
package/dist/form.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import { getStyle } from './chunk-R66SHRQE.mjs';
2
- import { useStore, RootStore } from './chunk-SA53R6TL.mjs';
2
+ import { useStore, RootStore } from './chunk-KIS52LFU.mjs';
3
3
  import { helper } from './chunk-7WJMHFRA.mjs';
4
4
  import { _ } from './chunk-2PD23V7H.mjs';
5
- import { cn } from './chunk-BAXWSAXB.mjs';
6
- import { __objRest, __spreadValues, __spreadProps } from './chunk-VIK2VI34.mjs';
5
+ import { cn } from './chunk-SPFKGNUY.mjs';
6
+ import { __objRest, __spreadValues, __spreadProps } from './chunk-6F7H4PAA.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';