@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.
- package/dist/{PromiseState-DVdsif1j.d.ts → PromiseState-e64b3707.d.ts} +1 -1
- package/dist/{StorageState-qapaHguM.d.ts → StorageState-cfd942cb.d.ts} +1 -1
- package/dist/aiem.d.mts +3 -3
- package/dist/aiem.mjs +2 -2
- package/dist/{chunk-BQSQ4L7R.mjs → chunk-5BTB7HRK.mjs} +2 -2
- package/dist/chunk-6F7H4PAA.mjs +35 -0
- package/dist/{chunk-I2RSE63R.mjs → chunk-72E76L6J.mjs} +2 -2
- package/dist/{chunk-2L5EKCYR.mjs → chunk-AVG4JG4V.mjs} +4 -4
- package/dist/chunk-BR7IWH2E.mjs +1284 -0
- package/dist/chunk-BR7IWH2E.mjs.map +1 -0
- package/dist/{chunk-SA53R6TL.mjs → chunk-KIS52LFU.mjs} +7 -7
- package/dist/{chunk-SA53R6TL.mjs.map → chunk-KIS52LFU.mjs.map} +1 -1
- package/dist/{chunk-FWK5VZHE.mjs → chunk-NKGQRF5D.mjs} +3 -3
- package/dist/{chunk-BAXWSAXB.mjs → chunk-SPFKGNUY.mjs} +364 -388
- package/dist/chunk-SPFKGNUY.mjs.map +1 -0
- package/dist/{chunk-WWCB4WOQ.mjs → chunk-WMV5O3PI.mjs} +4 -4
- package/dist/chunk-WMV5O3PI.mjs.map +1 -0
- package/dist/dev.d.mts +1 -1
- package/dist/dev.mjs +2 -2
- package/dist/experimental.d.mts +5 -5
- package/dist/experimental.mjs +3 -3
- package/dist/form.d.mts +14 -14
- package/dist/form.mjs +3 -3
- package/dist/form.mjs.map +1 -1
- package/dist/{index-CUKoRIdy.d.ts → index-38be834f.d.ts} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +6 -6
- package/dist/inspector.d.mts +1 -1
- package/dist/inspector.mjs +1 -1
- package/dist/jsoncomponent.d.mts +1 -1
- package/dist/jsoncomponent.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 +8 -8
- package/dist/plugins.mjs +5 -5
- package/dist/{root-BPMUmS6H.d.ts → root-218afa4f.d.ts} +1 -1
- package/dist/ui.mjs +3 -3
- package/dist/utils.d.mts +19 -100
- package/dist/utils.mjs +1 -1
- package/dist/wallet.d.mts +4 -4
- package/dist/wallet.mjs +7 -7
- package/package.json +175 -174
- package/dist/chunk-4KRVA5CB.mjs +0 -23690
- package/dist/chunk-4KRVA5CB.mjs.map +0 -1
- package/dist/chunk-BAXWSAXB.mjs.map +0 -1
- package/dist/chunk-VIK2VI34.mjs +0 -69
- package/dist/chunk-WWCB4WOQ.mjs.map +0 -1
- /package/dist/{PaginationState-Bmrrw0ky.d.ts → PaginationState-c19e621a.d.ts} +0 -0
- /package/dist/{chunk-BQSQ4L7R.mjs.map → chunk-5BTB7HRK.mjs.map} +0 -0
- /package/dist/{chunk-VIK2VI34.mjs.map → chunk-6F7H4PAA.mjs.map} +0 -0
- /package/dist/{chunk-I2RSE63R.mjs.map → chunk-72E76L6J.mjs.map} +0 -0
- /package/dist/{chunk-2L5EKCYR.mjs.map → chunk-AVG4JG4V.mjs.map} +0 -0
- /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-
|
|
6
|
+
import { T as ThemeType } from './index-38be834f.js';
|
|
7
7
|
import { EditorProps } from '@monaco-editor/react';
|
|
8
|
-
import { S as Store } from './root-
|
|
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):
|
|
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) =>
|
|
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):
|
|
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):
|
|
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):
|
|
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,
|
|
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-
|
|
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-
|
|
6
|
-
import { __objRest, __spreadValues, __spreadProps } from './chunk-
|
|
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';
|