@timeax/form-palette 0.1.2 → 0.1.3
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/{variant-BGkGWsSy.d.mts → core-BD0ObjuE.d.mts} +2756 -2749
- package/dist/{variant-B_L0opEi.d.ts → core-q_p0E4W9.d.ts} +2756 -2749
- package/dist/extra.d.mts +2 -2
- package/dist/extra.d.ts +2 -2
- package/dist/extra.js +13 -6
- package/dist/extra.js.map +1 -1
- package/dist/extra.mjs +13 -6
- package/dist/extra.mjs.map +1 -1
- package/dist/index.d.mts +14 -3
- package/dist/index.d.ts +14 -3
- package/dist/index.js +1679 -1662
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1679 -1662
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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 {
|
|
4
|
-
export {
|
|
3
|
+
import { Q as ListerDefinition, U as ListerRuntimeState, W as ListerProviderHost, X as PresetMap, Y as ListerStoreState, Z as ListerSessionId, _ as ListerId, $ as ListerSearchMode, a0 as ListerSearchTarget, a1 as ListerSearchPayload, a2 as ListerFilterCtx, a3 as ListerFilterOption, a4 as ListerMode, a5 as ListerApi, a6 as ShadcnJsonEditorProps, a7 as JsonEditorIndexHandle } from './core-BD0ObjuE.mjs';
|
|
4
|
+
export { ac as ListerChangeEvent, aw as ListerDetails, am as ListerFilterApply, al as ListerFilterApplyMode, an as ListerFilterBindKey, ap as ListerFilterGroupOption, ao as ListerFilterInput, ar as ListerFilterInputOption, as as ListerFilterSpec, aq as ListerFilterValueOption, ae as ListerLogCode, af as ListerLogEntry, ad as ListerLogLevel, ai as ListerMapping, ax as ListerOpenOptions, a8 as ListerOpenReason, ay as ListerOpenResult, ah as ListerOption, av as ListerOptionsForMode, ag as ListerPermissionCtx, au as ListerRawForMode, ak as ListerSearchSpec, aD as ListerSessionState, aj as ListerSource, at as ListerValueForMode, ab as OpenAnchor, aB as PresetFilters, aC as PresetMeta, az as PresetRaw, aA as PresetValue, aa as Resolver, a9 as Selector } from './core-BD0ObjuE.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 {
|
|
4
|
-
export {
|
|
3
|
+
import { Q as ListerDefinition, U as ListerRuntimeState, W as ListerProviderHost, X as PresetMap, Y as ListerStoreState, Z as ListerSessionId, _ as ListerId, $ as ListerSearchMode, a0 as ListerSearchTarget, a1 as ListerSearchPayload, a2 as ListerFilterCtx, a3 as ListerFilterOption, a4 as ListerMode, a5 as ListerApi, a6 as ShadcnJsonEditorProps, a7 as JsonEditorIndexHandle } from './core-q_p0E4W9.js';
|
|
4
|
+
export { ac as ListerChangeEvent, aw as ListerDetails, am as ListerFilterApply, al as ListerFilterApplyMode, an as ListerFilterBindKey, ap as ListerFilterGroupOption, ao as ListerFilterInput, ar as ListerFilterInputOption, as as ListerFilterSpec, aq as ListerFilterValueOption, ae as ListerLogCode, af as ListerLogEntry, ad as ListerLogLevel, ai as ListerMapping, ax as ListerOpenOptions, a8 as ListerOpenReason, ay as ListerOpenResult, ah as ListerOption, av as ListerOptionsForMode, ag as ListerPermissionCtx, au as ListerRawForMode, ak as ListerSearchSpec, aD as ListerSessionState, aj as ListerSource, at as ListerValueForMode, ab as OpenAnchor, aB as PresetFilters, aC as PresetMeta, az as PresetRaw, aA as PresetValue, aa as Resolver, a9 as Selector } from './core-q_p0E4W9.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './adapter-CvjXO9Gi.js';
|
|
7
7
|
import '@inertiajs/core';
|
package/dist/extra.js
CHANGED
|
@@ -4488,6 +4488,10 @@ var twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
|
|
|
4488
4488
|
function cn(...inputs) {
|
|
4489
4489
|
return twMerge(clsx(inputs));
|
|
4490
4490
|
}
|
|
4491
|
+
function toArray2(v2) {
|
|
4492
|
+
if (v2 == null) return [];
|
|
4493
|
+
return Array.isArray(v2) ? v2 : [v2];
|
|
4494
|
+
}
|
|
4491
4495
|
function Popover({
|
|
4492
4496
|
...props
|
|
4493
4497
|
}) {
|
|
@@ -19243,10 +19247,6 @@ function pickerBtnSize(size) {
|
|
|
19243
19247
|
return "h-7 w-7";
|
|
19244
19248
|
}
|
|
19245
19249
|
}
|
|
19246
|
-
function toArray2(v2) {
|
|
19247
|
-
if (v2 == null) return [];
|
|
19248
|
-
return Array.isArray(v2) ? v2 : [v2];
|
|
19249
|
-
}
|
|
19250
19250
|
function normaliseFileLike(input) {
|
|
19251
19251
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
19252
19252
|
const asAny = input;
|
|
@@ -19404,6 +19404,7 @@ var ShadcnFileVariant = React__namespace.forwardRef(function ShadcnFileVariant2(
|
|
|
19404
19404
|
formatFileName,
|
|
19405
19405
|
formatFileSize = formatSizeDefault,
|
|
19406
19406
|
placeholder = "Select file...",
|
|
19407
|
+
asRaw,
|
|
19407
19408
|
className,
|
|
19408
19409
|
custom,
|
|
19409
19410
|
dropAreaClassName,
|
|
@@ -24695,7 +24696,8 @@ function useField(options) {
|
|
|
24695
24696
|
readOnly: readOnlyProp = false,
|
|
24696
24697
|
validate,
|
|
24697
24698
|
getOriginalValue,
|
|
24698
|
-
onValueChange
|
|
24699
|
+
onValueChange,
|
|
24700
|
+
onSubmit
|
|
24699
24701
|
} = options;
|
|
24700
24702
|
const ref = React__namespace.useRef(null);
|
|
24701
24703
|
const stateRef = React__namespace.useRef({
|
|
@@ -24782,6 +24784,7 @@ function useField(options) {
|
|
|
24782
24784
|
main,
|
|
24783
24785
|
ignore,
|
|
24784
24786
|
required,
|
|
24787
|
+
onSubmit,
|
|
24785
24788
|
ref,
|
|
24786
24789
|
get defaultValue() {
|
|
24787
24790
|
return stateRef.current.original;
|
|
@@ -24815,7 +24818,8 @@ function useField(options) {
|
|
|
24815
24818
|
if (onValueChange) {
|
|
24816
24819
|
onValueChange(value2, old, variant);
|
|
24817
24820
|
}
|
|
24818
|
-
}
|
|
24821
|
+
},
|
|
24822
|
+
variant: options.variant
|
|
24819
24823
|
// Flags not directly on the Field interface but used via `as any`
|
|
24820
24824
|
// in core-provider (getValue/setValue/reset).
|
|
24821
24825
|
};
|
|
@@ -25180,6 +25184,7 @@ function InputField(props) {
|
|
|
25180
25184
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
25181
25185
|
const {
|
|
25182
25186
|
variant,
|
|
25187
|
+
onSubmit,
|
|
25183
25188
|
// Field identity / wiring
|
|
25184
25189
|
name,
|
|
25185
25190
|
bind,
|
|
@@ -25311,6 +25316,8 @@ function InputField(props) {
|
|
|
25311
25316
|
alias,
|
|
25312
25317
|
main,
|
|
25313
25318
|
ignore,
|
|
25319
|
+
onSubmit,
|
|
25320
|
+
variant,
|
|
25314
25321
|
required,
|
|
25315
25322
|
defaultValue,
|
|
25316
25323
|
validate
|