@dappworks/kit 0.4.130 → 0.4.132
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-b0cc408e.d.ts → PromiseState-yojg0WLR.d.ts} +3 -3
- package/dist/aiem.d.mts +3 -3
- package/dist/aiem.mjs +11 -23
- package/dist/aiem.mjs.map +1 -1
- package/dist/{chunk-WYGQ3Y4R.mjs → chunk-AIZ7XDNV.mjs} +14 -14
- package/dist/chunk-AIZ7XDNV.mjs.map +1 -0
- package/dist/{chunk-WT2ARRCR.mjs → chunk-HRYH37UI.mjs} +2 -2
- package/dist/{chunk-PPYYRQDD.mjs → chunk-QWHU3HBK.mjs} +2 -2
- package/dist/{chunk-6F7H4PAA.mjs → chunk-R4SQKVDQ.mjs} +1 -1
- package/dist/{chunk-7FF4BCFW.mjs → chunk-SVPD6PC6.mjs} +4 -4
- package/dist/{chunk-DZMNL4BZ.mjs → chunk-WS43BV7Y.mjs} +2 -2
- package/dist/{chunk-HRWHDF2F.mjs → chunk-XJMRAPHI.mjs} +7 -7
- package/dist/{chunk-HRWHDF2F.mjs.map → chunk-XJMRAPHI.mjs.map} +1 -1
- package/dist/dev.d.mts +1 -1
- package/dist/dev.mjs +2 -2
- package/dist/experimental.d.mts +2 -2
- package/dist/experimental.mjs +3 -3
- package/dist/form.d.mts +5 -5
- package/dist/form.mjs +5 -5
- package/dist/form.mjs.map +1 -1
- package/dist/{index-38be834f.d.ts → index-CUKoRIdy.d.ts} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +5 -5
- 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 +3 -3
- 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 +8 -3
- 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-WT2ARRCR.mjs.map → chunk-HRYH37UI.mjs.map} +0 -0
- /package/dist/{chunk-PPYYRQDD.mjs.map → chunk-QWHU3HBK.mjs.map} +0 -0
- /package/dist/{chunk-6F7H4PAA.mjs.map → chunk-R4SQKVDQ.mjs.map} +0 -0
- /package/dist/{chunk-7FF4BCFW.mjs.map → chunk-SVPD6PC6.mjs.map} +0 -0
- /package/dist/{chunk-DZMNL4BZ.mjs.map → chunk-WS43BV7Y.mjs.map} +0 -0
package/dist/experimental.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PromiseState } from './chunk-
|
|
1
|
+
import { PromiseState } from './chunk-QWHU3HBK.mjs';
|
|
2
2
|
import './chunk-4YCP5CJ4.mjs';
|
|
3
|
-
import { RootStore } from './chunk-
|
|
3
|
+
import { RootStore } from './chunk-XJMRAPHI.mjs';
|
|
4
4
|
import { _ } from './chunk-MGU3KYGC.mjs';
|
|
5
|
-
import { __objRest, __spreadValues, __spreadProps } from './chunk-
|
|
5
|
+
import { __objRest, __spreadValues, __spreadProps } from './chunk-R4SQKVDQ.mjs';
|
|
6
6
|
import React 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 { ButtonProps, TabsProps, 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, R as RootStore } from './root-
|
|
8
|
+
import { S as Store, R as RootStore } from './root-C3lZnoCI.js';
|
|
9
9
|
import EventEmitter from 'events';
|
|
10
10
|
import 'typed-emitter';
|
|
11
11
|
|
|
@@ -310,7 +310,7 @@ declare class ComplexFormModalStore<T extends FormDataType> implements Store {
|
|
|
310
310
|
modalSize: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full' | 'xs' | '3xl' | '4xl' | '5xl';
|
|
311
311
|
scrollBehavior?: 'normal' | 'inside' | 'outside';
|
|
312
312
|
isDismissable: boolean;
|
|
313
|
-
event: EventEmitter
|
|
313
|
+
event: EventEmitter<[never]>;
|
|
314
314
|
onBatchSubmit?: (data: T, setLoading?: Dispatch<SetStateAction<boolean>>) => void;
|
|
315
315
|
onSet?: (v: FormDataOfKey<T>, form: JSONSchemaFormState<FormDataOfKey<T>, UiSchema>) => FormDataOfKey<T>;
|
|
316
316
|
onChange?: (data: Partial<T>) => void;
|
|
@@ -340,7 +340,7 @@ declare class FormModalStore<T = {
|
|
|
340
340
|
modalSize: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full' | 'xs' | '3xl' | '4xl' | '5xl';
|
|
341
341
|
scrollBehavior?: 'normal' | 'inside' | 'outside';
|
|
342
342
|
closeOnOverlayClick: boolean;
|
|
343
|
-
event: EventEmitter
|
|
343
|
+
event: EventEmitter<[never]>;
|
|
344
344
|
onAfterSubmit?: (data: T) => void;
|
|
345
345
|
constructor(args?: Partial<FormModalStore>);
|
|
346
346
|
setData(v: Partial<FormModalStore>): void;
|
|
@@ -413,4 +413,4 @@ declare class JSONViewPlugin implements Store {
|
|
|
413
413
|
static JSONView: (props: JSONViewType) => React.JSX.Element;
|
|
414
414
|
}
|
|
415
415
|
|
|
416
|
-
export { CheckboxWidget, CheckboxWidgetProps, CheckboxWidgetUIOptions, ComplexFormModalStore, DatePickerWidget, DatePickerWidgetProps, DatePickerWidgetUIOptions, EditorWidget, EditorWidgetProps, EditorWidgetUIOptions, FieldLayoutType, FormConfigType, FormDataOfKey, FormDataType, FormKey, FormLayoutType, FormModalStore, InputWidget, InputWidgetProps, InputWidgetUIOptions, JSONDataType, JSONForm, JSONFormProps, JSONSchemaForm, JSONViewPlugin, JSONViewType, LayoutConfigType, LayoutType, MultipleSelectWidget, MultipleSelectWidgetProps, MultipleSelectWidgetUIOptions, SelectWidget, SelectWidgetProps, SelectWidgetUIOptions, TextareaWidget, TextareaWidgetProps, TextareaWidgetUIOptions, getComplexFormData, getFormData, getFormState, getSimpleFormData };
|
|
416
|
+
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, type JSONDataType, JSONForm, type JSONFormProps, JSONSchemaForm, JSONViewPlugin, type JSONViewType, 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,10 +1,10 @@
|
|
|
1
1
|
import { getStyle } from './chunk-5SFAINN6.mjs';
|
|
2
|
-
import { useStore } from './chunk-
|
|
3
|
-
import { RootStore } from './chunk-
|
|
2
|
+
import { useStore } from './chunk-WS43BV7Y.mjs';
|
|
3
|
+
import { RootStore } from './chunk-XJMRAPHI.mjs';
|
|
4
4
|
import { helper } from './chunk-Q3AD5RHQ.mjs';
|
|
5
5
|
import { _ } from './chunk-MGU3KYGC.mjs';
|
|
6
|
-
import { cn } from './chunk-
|
|
7
|
-
import { __objRest, __spreadValues, __spreadProps } from './chunk-
|
|
6
|
+
import { cn } from './chunk-AIZ7XDNV.mjs';
|
|
7
|
+
import { __objRest, __spreadValues, __spreadProps } from './chunk-R4SQKVDQ.mjs';
|
|
8
8
|
import React7, { useEffect, useMemo, useState, useRef, useCallback, createRef } from 'react';
|
|
9
9
|
import { Modal, ModalContent, ModalHeader, ModalBody, Checkbox, Input, Select, SelectItem, Button, Textarea, DatePicker, Chip, Card, Tabs, Tab } from '@nextui-org/react';
|
|
10
10
|
import { Check, ChevronUp, ChevronDown } from 'lucide-react';
|
|
@@ -284,7 +284,7 @@ function MultipleSelectWidget(props) {
|
|
|
284
284
|
);
|
|
285
285
|
}
|
|
286
286
|
function DefaultRenderValue(items) {
|
|
287
|
-
return /* @__PURE__ */ React7.createElement("div", { className: "flex flex-wrap gap-
|
|
287
|
+
return /* @__PURE__ */ React7.createElement("div", { className: "flex flex-wrap gap-1" }, items.map((item) => /* @__PURE__ */ React7.createElement(Chip, { className: "rounded-sm h-auto py-[2px] text-xs", color: "secondary", size: "sm", key: item.key }, item.textValue)));
|
|
288
288
|
}
|
|
289
289
|
var EditorWidget = ({ label, options = {}, value, required, uiSchema, disabled, onChange }) => {
|
|
290
290
|
const { editorHeight = "200px", readOnly = false, language = "json", jsonStrSpace, languageSelectorOptions = [], labelClassName, description, descriptionClassName, editorBoxClassName, errMsgClassName, onChangeLanguage, onRun, onMount } = options;
|