@zeng-alt/formkit-form-builder 0.1.0 → 0.1.1
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/README.md +13 -6
- package/dist/index.cjs +3 -3
- package/dist/index.mjs +1892 -3428
- package/dist/src/components/ui/button/CustomButton.d.ts +5 -0
- package/dist/src/components/ui/formkit/NaiveAvatar.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveCascader.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveCheckbox.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveCheckboxGroup.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveColorPicker.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveDatePicker.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveDivider.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveMention.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveNumberInput.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveRadioGroup.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveRate.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveSelect.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveSlider.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveSwitch.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveTextInput.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveTextarea.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveTimePicker.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveTreeSelect.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveTypographyA.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveTypographyBlockquote.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveTypographyHeader.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveTypographyHr.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveTypographyLi.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveTypographyOl.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveTypographyP.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveTypographyText.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveTypographyUl.d.ts +6 -0
- package/dist/src/components/ui/formkit/NaiveUpload.d.ts +6 -0
- package/dist/src/composables/form-fields.d.ts +1 -0
- package/dist/src/formkit.config.d.ts +11 -0
- package/dist/src/formkit.theme.d.ts +26 -0
- package/dist/style.css +1 -2
- package/package.json +5 -6
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
context: any;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormKitFrameworkContext } from '@formkit/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: FormKitFrameworkContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -785,6 +785,7 @@ export declare function useFormField(): {
|
|
|
785
785
|
useExpressionValue: WritableComputedRef<boolean, boolean>;
|
|
786
786
|
valueExpression: WritableComputedRef<string, string>;
|
|
787
787
|
label: WritableComputedRef<any, string>;
|
|
788
|
+
buttonText: WritableComputedRef<string, string>;
|
|
788
789
|
placeholder: WritableComputedRef<any, string>;
|
|
789
790
|
fieldValue: WritableComputedRef<string, string>;
|
|
790
791
|
updateValidationString: (value: string, active?: boolean) => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: Partial<Omit<import('@formkit/core').FormKitContext, "children" | "plugins" | "config" | "hook"> & {
|
|
2
|
+
config: Partial<import('@formkit/core').FormKitConfig>;
|
|
3
|
+
props: Partial<import('@formkit/core').FormKitProps>;
|
|
4
|
+
children: import('@formkit/core').FormKitNode[] | Set<import('@formkit/core').FormKitNode>;
|
|
5
|
+
index?: number;
|
|
6
|
+
sync: boolean;
|
|
7
|
+
plugins: import('@formkit/core').FormKitPlugin[];
|
|
8
|
+
alias: string;
|
|
9
|
+
schemaAlias: string;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { FormKitNode } from '@formkit/core';
|
|
2
|
+
/**
|
|
3
|
+
* @privateRemarks
|
|
4
|
+
* This theme file has been edited manually and is no longer able to be updated
|
|
5
|
+
* by the cli tool. If you need to make changes to this theme, please make sure
|
|
6
|
+
* to edit the `formkit.theme.ts` file instead.
|
|
7
|
+
*
|
|
8
|
+
* @variables - radius=rounded-xl,accentColor=green,colorTemperature=stone,spacing=1.5,scale=sm,inputShadow=shadow-md,baseColorShade=600,borderShadeLightMode=400,borderShadeDarkMode=800,inputMaxWidth=max-w-[24em],tagRadius=rounded,swatchRadius=rounded
|
|
9
|
+
* @theme - form-forge-custom
|
|
10
|
+
**/
|
|
11
|
+
/**
|
|
12
|
+
* This is the theme function itself, it should be imported and used as the
|
|
13
|
+
* config.rootClasses function. For example:
|
|
14
|
+
*
|
|
15
|
+
* ```js
|
|
16
|
+
* import { theme } from './formkit.theme'
|
|
17
|
+
* import { defineFormKitConfig } from '@formkit/vue'
|
|
18
|
+
*
|
|
19
|
+
* export default defineFormKitConfig({
|
|
20
|
+
* config: {
|
|
21
|
+
* rootClasses: theme
|
|
22
|
+
* }
|
|
23
|
+
* })
|
|
24
|
+
* ```
|
|
25
|
+
**/
|
|
26
|
+
export declare function rootClasses(sectionName: string, node: FormKitNode): Record<string, boolean>;
|