@timeax/form-palette 0.1.21 → 0.1.22
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.
|
@@ -2116,7 +2116,7 @@ type NormalizedTreeItem = {
|
|
|
2116
2116
|
raw: TreeSelectOption;
|
|
2117
2117
|
};
|
|
2118
2118
|
|
|
2119
|
-
type BadgeVariant$
|
|
2119
|
+
type BadgeVariant$3 = "default" | "secondary" | "destructive" | "outline";
|
|
2120
2120
|
type TreeSelectBaseProps = Pick<VariantBaseProps<TreeValue>, "value" | "onValue" | "error" | "disabled" | "readOnly" | "size" | "density"> & {
|
|
2121
2121
|
options?: TreeSelectOption[];
|
|
2122
2122
|
/**
|
|
@@ -2196,7 +2196,7 @@ type TreeSelectButtonModeProps = {
|
|
|
2196
2196
|
*/
|
|
2197
2197
|
selectedBadge?: boolean;
|
|
2198
2198
|
selectedBadgeHiddenWhenZero?: boolean;
|
|
2199
|
-
selectedBadgeVariant?: BadgeVariant$
|
|
2199
|
+
selectedBadgeVariant?: BadgeVariant$3;
|
|
2200
2200
|
selectedBadgeClassName?: string;
|
|
2201
2201
|
selectedBadgePlacement?: "end" | "corner";
|
|
2202
2202
|
leadingIcons?: never;
|
|
@@ -2260,7 +2260,7 @@ type CustomFileLoader = (ctx: {
|
|
|
2260
2260
|
current: FileItem[];
|
|
2261
2261
|
allowedTypes?: string[];
|
|
2262
2262
|
}) => Promise<CustomFileLoaderResult> | CustomFileLoaderResult;
|
|
2263
|
-
type BadgeVariant$
|
|
2263
|
+
type BadgeVariant$2 = React.ComponentProps<typeof Badge>["variant"];
|
|
2264
2264
|
type FileVariantExtras = {
|
|
2265
2265
|
accept?: string | string[];
|
|
2266
2266
|
maxFiles?: number;
|
|
@@ -2347,7 +2347,7 @@ type FileButtonModeProps = {
|
|
|
2347
2347
|
/** Selected-count badge (mode="button" only) */
|
|
2348
2348
|
selectedBadge?: boolean;
|
|
2349
2349
|
selectedBadgeHiddenWhenZero?: boolean;
|
|
2350
|
-
selectedBadgeVariant?: BadgeVariant$
|
|
2350
|
+
selectedBadgeVariant?: BadgeVariant$2;
|
|
2351
2351
|
selectedBadgeClassName?: string;
|
|
2352
2352
|
selectedBadgePlacement?: "end" | "corner";
|
|
2353
2353
|
leadingIcons?: never;
|
|
@@ -3562,7 +3562,7 @@ type IconGroup = {
|
|
|
3562
3562
|
label: string;
|
|
3563
3563
|
prefixes: string[];
|
|
3564
3564
|
};
|
|
3565
|
-
type BadgeVariant = React.ComponentProps<typeof Badge>["variant"];
|
|
3565
|
+
type BadgeVariant$1 = React.ComponentProps<typeof Badge>["variant"];
|
|
3566
3566
|
type IconValue = string | string[] | null | undefined;
|
|
3567
3567
|
type IconVariantBaseProps = Pick<VariantBaseProps<IconValue>, "value" | "onValue" | "error" | "disabled" | "readOnly" | "size" | "density"> & {
|
|
3568
3568
|
/** When true, form value becomes string[]; else string */
|
|
@@ -3613,7 +3613,7 @@ type IconButtonModeProps = {
|
|
|
3613
3613
|
/** Selected-count badge (mode="button" only) */
|
|
3614
3614
|
selectedBadge?: boolean;
|
|
3615
3615
|
selectedBadgeHiddenWhenZero?: boolean;
|
|
3616
|
-
selectedBadgeVariant?: BadgeVariant;
|
|
3616
|
+
selectedBadgeVariant?: BadgeVariant$1;
|
|
3617
3617
|
selectedBadgeClassName?: string;
|
|
3618
3618
|
selectedBadgePlacement?: "end" | "corner";
|
|
3619
3619
|
leadingIcons?: never;
|
|
@@ -3628,6 +3628,97 @@ type IconButtonModeProps = {
|
|
|
3628
3628
|
};
|
|
3629
3629
|
type ShadcnIconVariantProps = IconVariantBaseProps & (IconDefaultModeProps | IconButtonModeProps);
|
|
3630
3630
|
|
|
3631
|
+
type ImageValue = File | string;
|
|
3632
|
+
/** Raw field value (what the field/defaultValue supports) */
|
|
3633
|
+
type ImageIconRawValue = string | File;
|
|
3634
|
+
/** Internal structured values (still accepted for backwards-compat) */
|
|
3635
|
+
type ImageIconValue = {
|
|
3636
|
+
kind: "icon";
|
|
3637
|
+
icon: string;
|
|
3638
|
+
} | {
|
|
3639
|
+
kind: "image";
|
|
3640
|
+
image: ImageValue;
|
|
3641
|
+
name?: string;
|
|
3642
|
+
};
|
|
3643
|
+
/** What the component accepts as `value` */
|
|
3644
|
+
type ImageIconInputValue = ImageIconRawValue | ImageIconRawValue[] | ImageIconValue | ImageIconValue[] | null | undefined;
|
|
3645
|
+
/** What the component emits via `onValue` */
|
|
3646
|
+
type ImageIconFieldValue = ImageIconRawValue | ImageIconRawValue[] | null | undefined;
|
|
3647
|
+
type BadgeVariant = React.ComponentProps<typeof Badge>["variant"];
|
|
3648
|
+
type ImageIconVariantBaseProps = Pick<VariantBaseProps<ImageIconFieldValue>, "onValue" | "error" | "disabled" | "readOnly" | "size" | "density"> & {
|
|
3649
|
+
value?: ImageIconInputValue;
|
|
3650
|
+
multiple?: boolean;
|
|
3651
|
+
iconUrl?: string;
|
|
3652
|
+
iconGroups?: IconGroup[];
|
|
3653
|
+
allowedIconGroupIds?: string[];
|
|
3654
|
+
iconMaxRender?: number;
|
|
3655
|
+
accept?: string | string[];
|
|
3656
|
+
maxFiles?: number;
|
|
3657
|
+
maxTotalSize?: number;
|
|
3658
|
+
customLoader?: CustomFileLoader | boolean;
|
|
3659
|
+
mergeMode?: "append" | "replace";
|
|
3660
|
+
formatFileName?: (item: FileItem) => React.ReactNode;
|
|
3661
|
+
formatFileSize?: (size?: number) => React.ReactNode;
|
|
3662
|
+
/**
|
|
3663
|
+
* Convert FileItem (esp native File) into a persisted string value if possible.
|
|
3664
|
+
* Falls back to:
|
|
3665
|
+
* - item.url
|
|
3666
|
+
* - item.path
|
|
3667
|
+
* - native File object
|
|
3668
|
+
*/
|
|
3669
|
+
formatFileValue?: (file: FileItem) => string | undefined;
|
|
3670
|
+
placeholder?: string;
|
|
3671
|
+
className?: string;
|
|
3672
|
+
triggerClassName?: string;
|
|
3673
|
+
popoverClassName?: string;
|
|
3674
|
+
showCheckboxes?: boolean;
|
|
3675
|
+
};
|
|
3676
|
+
type DefaultModeProps = {
|
|
3677
|
+
mode?: "default";
|
|
3678
|
+
leadingIcons?: React.ReactNode[];
|
|
3679
|
+
trailingIcons?: React.ReactNode[];
|
|
3680
|
+
icon?: React.ReactNode;
|
|
3681
|
+
leadingControl?: React.ReactNode;
|
|
3682
|
+
trailingControl?: React.ReactNode;
|
|
3683
|
+
leadingControlClassName?: string;
|
|
3684
|
+
trailingControlClassName?: string;
|
|
3685
|
+
joinControls?: boolean;
|
|
3686
|
+
extendBoxToControls?: boolean;
|
|
3687
|
+
button?: never;
|
|
3688
|
+
children?: never;
|
|
3689
|
+
selectedBadge?: never;
|
|
3690
|
+
selectedBadgeHiddenWhenZero?: never;
|
|
3691
|
+
selectedBadgeVariant?: never;
|
|
3692
|
+
selectedBadgeClassName?: never;
|
|
3693
|
+
selectedBadgePlacement?: never;
|
|
3694
|
+
};
|
|
3695
|
+
type ButtonTrigger = React.ReactNode | ((ctx: {
|
|
3696
|
+
open: boolean;
|
|
3697
|
+
items: ImageIconValue[];
|
|
3698
|
+
selectedCount: number;
|
|
3699
|
+
disabled: boolean;
|
|
3700
|
+
}) => React.ReactNode);
|
|
3701
|
+
type ButtonModeProps = {
|
|
3702
|
+
mode: "button";
|
|
3703
|
+
button?: ButtonTrigger;
|
|
3704
|
+
children?: ButtonTrigger;
|
|
3705
|
+
selectedBadge?: boolean;
|
|
3706
|
+
selectedBadgeHiddenWhenZero?: boolean;
|
|
3707
|
+
selectedBadgeVariant?: BadgeVariant;
|
|
3708
|
+
selectedBadgeClassName?: string;
|
|
3709
|
+
selectedBadgePlacement?: "end" | "corner";
|
|
3710
|
+
leadingIcons?: never;
|
|
3711
|
+
trailingIcons?: never;
|
|
3712
|
+
icon?: never;
|
|
3713
|
+
leadingControl?: never;
|
|
3714
|
+
trailingControl?: never;
|
|
3715
|
+
leadingControlClassName?: never;
|
|
3716
|
+
trailingControlClassName?: never;
|
|
3717
|
+
joinControls?: never;
|
|
3718
|
+
extendBoxToControls?: never;
|
|
3719
|
+
};
|
|
3720
|
+
type ShadcnImageIconVariantProps = ImageIconVariantBaseProps & (DefaultModeProps | ButtonModeProps);
|
|
3721
|
+
|
|
3631
3722
|
/**
|
|
3632
3723
|
* Helper type for a single variant registry entry.
|
|
3633
3724
|
*
|
|
@@ -3686,7 +3777,7 @@ interface Variants<H = unknown> {
|
|
|
3686
3777
|
'json-editor': VariantEntry<JsonObject | undefined, ShadcnJsonEditorProps>;
|
|
3687
3778
|
lister: VariantEntry<any | undefined, ListerVariantProps<any>>;
|
|
3688
3779
|
icon: VariantEntry<any, ShadcnIconVariantProps>;
|
|
3689
|
-
'image-icon': VariantEntry<any,
|
|
3780
|
+
'image-icon': VariantEntry<any, ShadcnImageIconVariantProps>;
|
|
3690
3781
|
}
|
|
3691
3782
|
/**
|
|
3692
3783
|
* Union of all variant keys.
|
|
@@ -2116,7 +2116,7 @@ type NormalizedTreeItem = {
|
|
|
2116
2116
|
raw: TreeSelectOption;
|
|
2117
2117
|
};
|
|
2118
2118
|
|
|
2119
|
-
type BadgeVariant$
|
|
2119
|
+
type BadgeVariant$3 = "default" | "secondary" | "destructive" | "outline";
|
|
2120
2120
|
type TreeSelectBaseProps = Pick<VariantBaseProps<TreeValue>, "value" | "onValue" | "error" | "disabled" | "readOnly" | "size" | "density"> & {
|
|
2121
2121
|
options?: TreeSelectOption[];
|
|
2122
2122
|
/**
|
|
@@ -2196,7 +2196,7 @@ type TreeSelectButtonModeProps = {
|
|
|
2196
2196
|
*/
|
|
2197
2197
|
selectedBadge?: boolean;
|
|
2198
2198
|
selectedBadgeHiddenWhenZero?: boolean;
|
|
2199
|
-
selectedBadgeVariant?: BadgeVariant$
|
|
2199
|
+
selectedBadgeVariant?: BadgeVariant$3;
|
|
2200
2200
|
selectedBadgeClassName?: string;
|
|
2201
2201
|
selectedBadgePlacement?: "end" | "corner";
|
|
2202
2202
|
leadingIcons?: never;
|
|
@@ -2260,7 +2260,7 @@ type CustomFileLoader = (ctx: {
|
|
|
2260
2260
|
current: FileItem[];
|
|
2261
2261
|
allowedTypes?: string[];
|
|
2262
2262
|
}) => Promise<CustomFileLoaderResult> | CustomFileLoaderResult;
|
|
2263
|
-
type BadgeVariant$
|
|
2263
|
+
type BadgeVariant$2 = React.ComponentProps<typeof Badge>["variant"];
|
|
2264
2264
|
type FileVariantExtras = {
|
|
2265
2265
|
accept?: string | string[];
|
|
2266
2266
|
maxFiles?: number;
|
|
@@ -2347,7 +2347,7 @@ type FileButtonModeProps = {
|
|
|
2347
2347
|
/** Selected-count badge (mode="button" only) */
|
|
2348
2348
|
selectedBadge?: boolean;
|
|
2349
2349
|
selectedBadgeHiddenWhenZero?: boolean;
|
|
2350
|
-
selectedBadgeVariant?: BadgeVariant$
|
|
2350
|
+
selectedBadgeVariant?: BadgeVariant$2;
|
|
2351
2351
|
selectedBadgeClassName?: string;
|
|
2352
2352
|
selectedBadgePlacement?: "end" | "corner";
|
|
2353
2353
|
leadingIcons?: never;
|
|
@@ -3562,7 +3562,7 @@ type IconGroup = {
|
|
|
3562
3562
|
label: string;
|
|
3563
3563
|
prefixes: string[];
|
|
3564
3564
|
};
|
|
3565
|
-
type BadgeVariant = React.ComponentProps<typeof Badge>["variant"];
|
|
3565
|
+
type BadgeVariant$1 = React.ComponentProps<typeof Badge>["variant"];
|
|
3566
3566
|
type IconValue = string | string[] | null | undefined;
|
|
3567
3567
|
type IconVariantBaseProps = Pick<VariantBaseProps<IconValue>, "value" | "onValue" | "error" | "disabled" | "readOnly" | "size" | "density"> & {
|
|
3568
3568
|
/** When true, form value becomes string[]; else string */
|
|
@@ -3613,7 +3613,7 @@ type IconButtonModeProps = {
|
|
|
3613
3613
|
/** Selected-count badge (mode="button" only) */
|
|
3614
3614
|
selectedBadge?: boolean;
|
|
3615
3615
|
selectedBadgeHiddenWhenZero?: boolean;
|
|
3616
|
-
selectedBadgeVariant?: BadgeVariant;
|
|
3616
|
+
selectedBadgeVariant?: BadgeVariant$1;
|
|
3617
3617
|
selectedBadgeClassName?: string;
|
|
3618
3618
|
selectedBadgePlacement?: "end" | "corner";
|
|
3619
3619
|
leadingIcons?: never;
|
|
@@ -3628,6 +3628,97 @@ type IconButtonModeProps = {
|
|
|
3628
3628
|
};
|
|
3629
3629
|
type ShadcnIconVariantProps = IconVariantBaseProps & (IconDefaultModeProps | IconButtonModeProps);
|
|
3630
3630
|
|
|
3631
|
+
type ImageValue = File | string;
|
|
3632
|
+
/** Raw field value (what the field/defaultValue supports) */
|
|
3633
|
+
type ImageIconRawValue = string | File;
|
|
3634
|
+
/** Internal structured values (still accepted for backwards-compat) */
|
|
3635
|
+
type ImageIconValue = {
|
|
3636
|
+
kind: "icon";
|
|
3637
|
+
icon: string;
|
|
3638
|
+
} | {
|
|
3639
|
+
kind: "image";
|
|
3640
|
+
image: ImageValue;
|
|
3641
|
+
name?: string;
|
|
3642
|
+
};
|
|
3643
|
+
/** What the component accepts as `value` */
|
|
3644
|
+
type ImageIconInputValue = ImageIconRawValue | ImageIconRawValue[] | ImageIconValue | ImageIconValue[] | null | undefined;
|
|
3645
|
+
/** What the component emits via `onValue` */
|
|
3646
|
+
type ImageIconFieldValue = ImageIconRawValue | ImageIconRawValue[] | null | undefined;
|
|
3647
|
+
type BadgeVariant = React.ComponentProps<typeof Badge>["variant"];
|
|
3648
|
+
type ImageIconVariantBaseProps = Pick<VariantBaseProps<ImageIconFieldValue>, "onValue" | "error" | "disabled" | "readOnly" | "size" | "density"> & {
|
|
3649
|
+
value?: ImageIconInputValue;
|
|
3650
|
+
multiple?: boolean;
|
|
3651
|
+
iconUrl?: string;
|
|
3652
|
+
iconGroups?: IconGroup[];
|
|
3653
|
+
allowedIconGroupIds?: string[];
|
|
3654
|
+
iconMaxRender?: number;
|
|
3655
|
+
accept?: string | string[];
|
|
3656
|
+
maxFiles?: number;
|
|
3657
|
+
maxTotalSize?: number;
|
|
3658
|
+
customLoader?: CustomFileLoader | boolean;
|
|
3659
|
+
mergeMode?: "append" | "replace";
|
|
3660
|
+
formatFileName?: (item: FileItem) => React.ReactNode;
|
|
3661
|
+
formatFileSize?: (size?: number) => React.ReactNode;
|
|
3662
|
+
/**
|
|
3663
|
+
* Convert FileItem (esp native File) into a persisted string value if possible.
|
|
3664
|
+
* Falls back to:
|
|
3665
|
+
* - item.url
|
|
3666
|
+
* - item.path
|
|
3667
|
+
* - native File object
|
|
3668
|
+
*/
|
|
3669
|
+
formatFileValue?: (file: FileItem) => string | undefined;
|
|
3670
|
+
placeholder?: string;
|
|
3671
|
+
className?: string;
|
|
3672
|
+
triggerClassName?: string;
|
|
3673
|
+
popoverClassName?: string;
|
|
3674
|
+
showCheckboxes?: boolean;
|
|
3675
|
+
};
|
|
3676
|
+
type DefaultModeProps = {
|
|
3677
|
+
mode?: "default";
|
|
3678
|
+
leadingIcons?: React.ReactNode[];
|
|
3679
|
+
trailingIcons?: React.ReactNode[];
|
|
3680
|
+
icon?: React.ReactNode;
|
|
3681
|
+
leadingControl?: React.ReactNode;
|
|
3682
|
+
trailingControl?: React.ReactNode;
|
|
3683
|
+
leadingControlClassName?: string;
|
|
3684
|
+
trailingControlClassName?: string;
|
|
3685
|
+
joinControls?: boolean;
|
|
3686
|
+
extendBoxToControls?: boolean;
|
|
3687
|
+
button?: never;
|
|
3688
|
+
children?: never;
|
|
3689
|
+
selectedBadge?: never;
|
|
3690
|
+
selectedBadgeHiddenWhenZero?: never;
|
|
3691
|
+
selectedBadgeVariant?: never;
|
|
3692
|
+
selectedBadgeClassName?: never;
|
|
3693
|
+
selectedBadgePlacement?: never;
|
|
3694
|
+
};
|
|
3695
|
+
type ButtonTrigger = React.ReactNode | ((ctx: {
|
|
3696
|
+
open: boolean;
|
|
3697
|
+
items: ImageIconValue[];
|
|
3698
|
+
selectedCount: number;
|
|
3699
|
+
disabled: boolean;
|
|
3700
|
+
}) => React.ReactNode);
|
|
3701
|
+
type ButtonModeProps = {
|
|
3702
|
+
mode: "button";
|
|
3703
|
+
button?: ButtonTrigger;
|
|
3704
|
+
children?: ButtonTrigger;
|
|
3705
|
+
selectedBadge?: boolean;
|
|
3706
|
+
selectedBadgeHiddenWhenZero?: boolean;
|
|
3707
|
+
selectedBadgeVariant?: BadgeVariant;
|
|
3708
|
+
selectedBadgeClassName?: string;
|
|
3709
|
+
selectedBadgePlacement?: "end" | "corner";
|
|
3710
|
+
leadingIcons?: never;
|
|
3711
|
+
trailingIcons?: never;
|
|
3712
|
+
icon?: never;
|
|
3713
|
+
leadingControl?: never;
|
|
3714
|
+
trailingControl?: never;
|
|
3715
|
+
leadingControlClassName?: never;
|
|
3716
|
+
trailingControlClassName?: never;
|
|
3717
|
+
joinControls?: never;
|
|
3718
|
+
extendBoxToControls?: never;
|
|
3719
|
+
};
|
|
3720
|
+
type ShadcnImageIconVariantProps = ImageIconVariantBaseProps & (DefaultModeProps | ButtonModeProps);
|
|
3721
|
+
|
|
3631
3722
|
/**
|
|
3632
3723
|
* Helper type for a single variant registry entry.
|
|
3633
3724
|
*
|
|
@@ -3686,7 +3777,7 @@ interface Variants<H = unknown> {
|
|
|
3686
3777
|
'json-editor': VariantEntry<JsonObject | undefined, ShadcnJsonEditorProps>;
|
|
3687
3778
|
lister: VariantEntry<any | undefined, ListerVariantProps<any>>;
|
|
3688
3779
|
icon: VariantEntry<any, ShadcnIconVariantProps>;
|
|
3689
|
-
'image-icon': VariantEntry<any,
|
|
3780
|
+
'image-icon': VariantEntry<any, ShadcnImageIconVariantProps>;
|
|
3690
3781
|
}
|
|
3691
3782
|
/**
|
|
3692
3783
|
* Union of all variant keys.
|
package/dist/extra.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { Q as ListerSearchPayload, U as ListerId, W as ListerDefinition, X as ListerOption, Y as PresetMap, Z as ListerApi, _ as ListerStoreState, $ as ListerSessionId, a0 as ListerSearchTarget, a1 as ListerSearchMode, a2 as ListerFilterCtx, a3 as ListerDetails, a4 as ListerProviderHost, a5 as ListerRuntimeState, a6 as ShadcnJsonEditorProps, a7 as JsonEditorIndexHandle } from './core-
|
|
4
|
-
export { ad as ListerChangeEvent, am as ListerFilterApply, al as ListerFilterApplyMode, an as ListerFilterBindKey, ap as ListerFilterGroupOption, ao as ListerFilterInput, ar as ListerFilterInputOption, as as ListerFilterOption, at as ListerFilterSpec, aq as ListerFilterValueOption, af as ListerLogCode, ag as ListerLogEntry, ae as ListerLogLevel, ai as ListerMapping, a8 as ListerMode, ax as ListerOpenOptions, a9 as ListerOpenReason, ay as ListerOpenResult, aw as ListerOptionsForMode, ah as ListerPermissionCtx, av as ListerRawForMode, ak as ListerSearchSpec, aD as ListerSessionState, aj as ListerSource, au as ListerValueForMode, ac as OpenAnchor, aB as PresetFilters, aC as PresetMeta, az as PresetRaw, aA as PresetValue, ab as Resolver, aa as Selector } from './core-
|
|
3
|
+
import { Q as ListerSearchPayload, U as ListerId, W as ListerDefinition, X as ListerOption, Y as PresetMap, Z as ListerApi, _ as ListerStoreState, $ as ListerSessionId, a0 as ListerSearchTarget, a1 as ListerSearchMode, a2 as ListerFilterCtx, a3 as ListerDetails, a4 as ListerProviderHost, a5 as ListerRuntimeState, a6 as ShadcnJsonEditorProps, a7 as JsonEditorIndexHandle } from './core-LqBlzmUb.mjs';
|
|
4
|
+
export { ad as ListerChangeEvent, am as ListerFilterApply, al as ListerFilterApplyMode, an as ListerFilterBindKey, ap as ListerFilterGroupOption, ao as ListerFilterInput, ar as ListerFilterInputOption, as as ListerFilterOption, at as ListerFilterSpec, aq as ListerFilterValueOption, af as ListerLogCode, ag as ListerLogEntry, ae as ListerLogLevel, ai as ListerMapping, a8 as ListerMode, ax as ListerOpenOptions, a9 as ListerOpenReason, ay as ListerOpenResult, aw as ListerOptionsForMode, ah as ListerPermissionCtx, av as ListerRawForMode, ak as ListerSearchSpec, aD as ListerSessionState, aj as ListerSource, au as ListerValueForMode, ac as OpenAnchor, aB as PresetFilters, aC as PresetMeta, az as PresetRaw, aA as PresetValue, ab as Resolver, aa as Selector } from './core-LqBlzmUb.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './adapter-CvjXO9Gi.mjs';
|
|
7
7
|
import '@inertiajs/core';
|
package/dist/extra.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { Q as ListerSearchPayload, U as ListerId, W as ListerDefinition, X as ListerOption, Y as PresetMap, Z as ListerApi, _ as ListerStoreState, $ as ListerSessionId, a0 as ListerSearchTarget, a1 as ListerSearchMode, a2 as ListerFilterCtx, a3 as ListerDetails, a4 as ListerProviderHost, a5 as ListerRuntimeState, a6 as ShadcnJsonEditorProps, a7 as JsonEditorIndexHandle } from './core-
|
|
4
|
-
export { ad as ListerChangeEvent, am as ListerFilterApply, al as ListerFilterApplyMode, an as ListerFilterBindKey, ap as ListerFilterGroupOption, ao as ListerFilterInput, ar as ListerFilterInputOption, as as ListerFilterOption, at as ListerFilterSpec, aq as ListerFilterValueOption, af as ListerLogCode, ag as ListerLogEntry, ae as ListerLogLevel, ai as ListerMapping, a8 as ListerMode, ax as ListerOpenOptions, a9 as ListerOpenReason, ay as ListerOpenResult, aw as ListerOptionsForMode, ah as ListerPermissionCtx, av as ListerRawForMode, ak as ListerSearchSpec, aD as ListerSessionState, aj as ListerSource, au as ListerValueForMode, ac as OpenAnchor, aB as PresetFilters, aC as PresetMeta, az as PresetRaw, aA as PresetValue, ab as Resolver, aa as Selector } from './core-
|
|
3
|
+
import { Q as ListerSearchPayload, U as ListerId, W as ListerDefinition, X as ListerOption, Y as PresetMap, Z as ListerApi, _ as ListerStoreState, $ as ListerSessionId, a0 as ListerSearchTarget, a1 as ListerSearchMode, a2 as ListerFilterCtx, a3 as ListerDetails, a4 as ListerProviderHost, a5 as ListerRuntimeState, a6 as ShadcnJsonEditorProps, a7 as JsonEditorIndexHandle } from './core-DFOt5Ha-.js';
|
|
4
|
+
export { ad as ListerChangeEvent, am as ListerFilterApply, al as ListerFilterApplyMode, an as ListerFilterBindKey, ap as ListerFilterGroupOption, ao as ListerFilterInput, ar as ListerFilterInputOption, as as ListerFilterOption, at as ListerFilterSpec, aq as ListerFilterValueOption, af as ListerLogCode, ag as ListerLogEntry, ae as ListerLogLevel, ai as ListerMapping, a8 as ListerMode, ax as ListerOpenOptions, a9 as ListerOpenReason, ay as ListerOpenResult, aw as ListerOptionsForMode, ah as ListerPermissionCtx, av as ListerRawForMode, ak as ListerSearchSpec, aD as ListerSessionState, aj as ListerSource, au as ListerValueForMode, ac as OpenAnchor, aB as PresetFilters, aC as PresetMeta, az as PresetRaw, aA as PresetValue, ab as Resolver, aa as Selector } from './core-DFOt5Ha-.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './adapter-CvjXO9Gi.js';
|
|
7
7
|
import '@inertiajs/core';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as Dict, C as CoreProps, a as CoreContext, F as Field, V as VariantKey, L as LabelPlacement, S as SublabelPlacement, b as DescriptionPlacement, H as HelpTextPlacement, E as ErrorTextPlacement, c as SlotPlacement, d as FieldSize, e as FieldDensity, f as ValidateResult, g as ChangeDetail, h as VariantValueFor, i as VariantPropsFor, j as VariantModule, P as PhoneCountry, k as PasswordDefinitionMap, l as CustomFileLoader, m as FileItem } from './core-
|
|
2
|
-
export { B as BaseProps, s as ButtonRef, z as EffectiveFieldLayout, y as FieldLayoutConfig, x as FieldOrdering, w as FieldRootId, u as FieldRoots, v as FieldSlotId, t as FieldSlots, p as FormProps, n as InferFromSchema, I as InputNumber, r as InputStore, A as LayoutResolveContext, G as LayoutResolver, R as RelativeRootsMap, o as SubmitEvent, T as Textarea, q as ValuesResult, J as VariantEntry, N as VariantLayoutDefaults, O as VariantModuleFor, M as VariantValidateFn, K as Variants } from './core-
|
|
1
|
+
import { D as Dict, C as CoreProps, a as CoreContext, F as Field, V as VariantKey, L as LabelPlacement, S as SublabelPlacement, b as DescriptionPlacement, H as HelpTextPlacement, E as ErrorTextPlacement, c as SlotPlacement, d as FieldSize, e as FieldDensity, f as ValidateResult, g as ChangeDetail, h as VariantValueFor, i as VariantPropsFor, j as VariantModule, P as PhoneCountry, k as PasswordDefinitionMap, l as CustomFileLoader, m as FileItem } from './core-LqBlzmUb.mjs';
|
|
2
|
+
export { B as BaseProps, s as ButtonRef, z as EffectiveFieldLayout, y as FieldLayoutConfig, x as FieldOrdering, w as FieldRootId, u as FieldRoots, v as FieldSlotId, t as FieldSlots, p as FormProps, n as InferFromSchema, I as InputNumber, r as InputStore, A as LayoutResolveContext, G as LayoutResolver, R as RelativeRootsMap, o as SubmitEvent, T as Textarea, q as ValuesResult, J as VariantEntry, N as VariantLayoutDefaults, O as VariantModuleFor, M as VariantValidateFn, K as Variants } from './core-LqBlzmUb.mjs';
|
|
3
3
|
import { A as AdapterKey } from './adapter-CvjXO9Gi.mjs';
|
|
4
4
|
export { a as AdapterCallbacks, c as AdapterConfig, h as AdapterError, d as AdapterFactory, g as AdapterOk, f as AdapterProps, b as AdapterResult, i as AdapterSubmit, e as Adapters, M as Method, N as NamedAdapterConfig, j as NamedAdapterFactory } from './adapter-CvjXO9Gi.mjs';
|
|
5
5
|
export { createAxiosAdapter, createInertiaAdapter, getAdapter, hasAdapter, localAdapter, registerAdapter, registerAllAdapters, registerAxiosAdapter, registerInertiaAdapter, registerKnownAdapter } from './adapters.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as Dict, C as CoreProps, a as CoreContext, F as Field, V as VariantKey, L as LabelPlacement, S as SublabelPlacement, b as DescriptionPlacement, H as HelpTextPlacement, E as ErrorTextPlacement, c as SlotPlacement, d as FieldSize, e as FieldDensity, f as ValidateResult, g as ChangeDetail, h as VariantValueFor, i as VariantPropsFor, j as VariantModule, P as PhoneCountry, k as PasswordDefinitionMap, l as CustomFileLoader, m as FileItem } from './core-
|
|
2
|
-
export { B as BaseProps, s as ButtonRef, z as EffectiveFieldLayout, y as FieldLayoutConfig, x as FieldOrdering, w as FieldRootId, u as FieldRoots, v as FieldSlotId, t as FieldSlots, p as FormProps, n as InferFromSchema, I as InputNumber, r as InputStore, A as LayoutResolveContext, G as LayoutResolver, R as RelativeRootsMap, o as SubmitEvent, T as Textarea, q as ValuesResult, J as VariantEntry, N as VariantLayoutDefaults, O as VariantModuleFor, M as VariantValidateFn, K as Variants } from './core-
|
|
1
|
+
import { D as Dict, C as CoreProps, a as CoreContext, F as Field, V as VariantKey, L as LabelPlacement, S as SublabelPlacement, b as DescriptionPlacement, H as HelpTextPlacement, E as ErrorTextPlacement, c as SlotPlacement, d as FieldSize, e as FieldDensity, f as ValidateResult, g as ChangeDetail, h as VariantValueFor, i as VariantPropsFor, j as VariantModule, P as PhoneCountry, k as PasswordDefinitionMap, l as CustomFileLoader, m as FileItem } from './core-DFOt5Ha-.js';
|
|
2
|
+
export { B as BaseProps, s as ButtonRef, z as EffectiveFieldLayout, y as FieldLayoutConfig, x as FieldOrdering, w as FieldRootId, u as FieldRoots, v as FieldSlotId, t as FieldSlots, p as FormProps, n as InferFromSchema, I as InputNumber, r as InputStore, A as LayoutResolveContext, G as LayoutResolver, R as RelativeRootsMap, o as SubmitEvent, T as Textarea, q as ValuesResult, J as VariantEntry, N as VariantLayoutDefaults, O as VariantModuleFor, M as VariantValidateFn, K as Variants } from './core-DFOt5Ha-.js';
|
|
3
3
|
import { A as AdapterKey } from './adapter-CvjXO9Gi.js';
|
|
4
4
|
export { a as AdapterCallbacks, c as AdapterConfig, h as AdapterError, d as AdapterFactory, g as AdapterOk, f as AdapterProps, b as AdapterResult, i as AdapterSubmit, e as Adapters, M as Method, N as NamedAdapterConfig, j as NamedAdapterFactory } from './adapter-CvjXO9Gi.js';
|
|
5
5
|
export { createAxiosAdapter, createInertiaAdapter, getAdapter, hasAdapter, localAdapter, registerAdapter, registerAllAdapters, registerAxiosAdapter, registerInertiaAdapter, registerKnownAdapter } from './adapters.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timeax/form-palette",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.22",
|
|
5
5
|
"description": "This package extracts and standardizes the **form + input + variant system** from an existing Laravel/Inertia/React project into a **reusable, framework-friendly** library",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"Form",
|