@fuf-stack/megapixels 0.10.0 → 0.10.2

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.
@@ -1,442 +0,0 @@
1
- import { TVClassName } from "@fuf-stack/pixel-utils";
2
- import { ReactNode } from "react";
3
- import { vInfer } from "@fuf-stack/veto";
4
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
5
- import * as _$_fuf_stack_veto_dist_types_d_CNPgNK_V0 from "@fuf-stack/veto/dist/types.d-CNPgNK-V";
6
-
7
- //#region src/Filter/filters/checkboxes/schema.d.ts
8
- /** configuration of the filter */
9
- declare const config$1: _$_fuf_stack_veto_dist_types_d_CNPgNK_V0.q<{
10
- /**
11
- * Human‑readable label used in the UI (e.g. label and modal header).
12
- * Example: "Snacks", "Mood"
13
- */
14
- text: _$_fuf_stack_veto_dist_types_d_CNPgNK_V0.h;
15
- /**
16
- * Options rendered as multiple checkboxes. Each option needs a `label`
17
- * (what the user sees) and a `value` (what is written into the form state).
18
- * Label can be a string, React node, or a function that receives mode
19
- * ('form' or 'display') and returns a React node.
20
- */
21
- options: _$_fuf_stack_veto_dist_types_d_CNPgNK_V0.c<_$_fuf_stack_veto_dist_types_d_CNPgNK_V0.q<{
22
- label: _$_fuf_stack_veto_dist_types_d_CNPgNK_V0.b;
23
- value: _$_fuf_stack_veto_dist_types_d_CNPgNK_V0.h;
24
- }, "strict", _$_fuf_stack_veto_dist_types_d_CNPgNK_V0.Z, {
25
- value: string;
26
- label?: any;
27
- }, {
28
- value: string;
29
- label?: any;
30
- }>, "many">;
31
- }, "strict", _$_fuf_stack_veto_dist_types_d_CNPgNK_V0.Z, {
32
- text: string;
33
- options: {
34
- value: string;
35
- label?: any;
36
- }[];
37
- }, {
38
- text: string;
39
- options: {
40
- value: string;
41
- label?: any;
42
- }[];
43
- }>;
44
- /** Type-safe Config that overrides label to support ReactNode or function */
45
- type Config = Omit<vInfer<typeof config$1>, 'options'> & {
46
- options: {
47
- label: ReactNode | ((mode: 'form' | 'display') => ReactNode);
48
- value: string;
49
- }[];
50
- };
51
- //#endregion
52
- //#region ../../node_modules/.pnpm/tailwind-merge@3.3.1/node_modules/tailwind-merge/dist/types.d.ts
53
- /**
54
- * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
55
- *
56
- * Specifically:
57
- * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
58
- * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
59
- *
60
- * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
61
- */
62
- type ClassNameValue = ClassNameArray | string | null | undefined | 0 | 0n | false;
63
- type ClassNameArray = ClassNameValue[];
64
- //#endregion
65
- //#region ../../node_modules/.pnpm/tailwind-variants@2.0.1_tailwind-merge@3.3.1_tailwindcss@4.2.2/node_modules/tailwind-variants/dist/index.d.ts
66
- type ClassProp<V extends unknown = ClassNameValue> = {
67
- class?: V;
68
- className?: never;
69
- } | {
70
- class?: never;
71
- className?: V;
72
- };
73
- type TVBaseName = "base";
74
- type TVSlots = Record<string, ClassNameValue> | undefined;
75
- /**
76
- * ----------------------------------------------------------------------
77
- * Utils
78
- * ----------------------------------------------------------------------
79
- */
80
- type StringToBoolean<T> = T extends "true" | "false" ? boolean : T;
81
- /**
82
- * ----------------------------------------------------------------------
83
- * TV Types
84
- * ----------------------------------------------------------------------
85
- */
86
- type TVSlotsWithBase<S extends TVSlots, B extends ClassNameValue> = B extends undefined ? keyof S : keyof S | TVBaseName;
87
- type SlotsClassValue<S extends TVSlots, B extends ClassNameValue> = { [K in TVSlotsWithBase<S, B>]?: ClassNameValue };
88
- type TVVariantsDefault<S extends TVSlots, B extends ClassNameValue> = S extends undefined ? {} : {
89
- [key: string]: {
90
- [key: string]: S extends TVSlots ? SlotsClassValue<S, B> | ClassNameValue : ClassNameValue;
91
- };
92
- };
93
- type TVVariants<S extends TVSlots | undefined, B extends ClassNameValue | undefined = undefined, EV extends TVVariants<ES> | undefined = undefined, ES extends TVSlots | undefined = undefined> = EV extends undefined ? TVVariantsDefault<S, B> : { [K in keyof EV]: { [K2 in keyof EV[K]]: S extends TVSlots ? SlotsClassValue<S, B> | ClassNameValue : ClassNameValue } } | TVVariantsDefault<S, B>;
94
- type TVCompoundVariants<V extends TVVariants<S>, S extends TVSlots, B extends ClassNameValue, EV extends TVVariants<ES>, ES extends TVSlots> = Array<{ [K in keyof V | keyof EV]?: (K extends keyof V ? StringToBoolean<keyof V[K]> : never) | (K extends keyof EV ? StringToBoolean<keyof EV[K]> : never) | (K extends keyof V ? StringToBoolean<keyof V[K]>[] : never) } & ClassProp<SlotsClassValue<S, B> | ClassNameValue>>;
95
- type TVCompoundSlots<V extends TVVariants<S>, S extends TVSlots, B extends ClassNameValue> = Array<V extends undefined ? {
96
- slots: Array<TVSlotsWithBase<S, B>>;
97
- } & ClassProp : {
98
- slots: Array<TVSlotsWithBase<S, B>>;
99
- } & { [K in keyof V]?: StringToBoolean<keyof V[K]> | StringToBoolean<keyof V[K]>[] } & ClassProp>;
100
- type TVDefaultVariants<V extends TVVariants<S>, S extends TVSlots, EV extends TVVariants<ES>, ES extends TVSlots> = { [K in keyof V | keyof EV]?: (K extends keyof V ? StringToBoolean<keyof V[K]> : never) | (K extends keyof EV ? StringToBoolean<keyof EV[K]> : never) };
101
- type TVProps<V extends TVVariants<S>, S extends TVSlots, EV extends TVVariants<ES>, ES extends TVSlots> = EV extends undefined ? V extends undefined ? ClassProp<ClassNameValue> : { [K in keyof V]?: StringToBoolean<keyof V[K]> | undefined } & ClassProp<ClassNameValue> : V extends undefined ? { [K in keyof EV]?: StringToBoolean<keyof EV[K]> | undefined } & ClassProp<ClassNameValue> : { [K in keyof V | keyof EV]?: (K extends keyof V ? StringToBoolean<keyof V[K]> : never) | (K extends keyof EV ? StringToBoolean<keyof EV[K]> : never) | undefined } & ClassProp<ClassNameValue>;
102
- type TVVariantKeys<V extends TVVariants<S>, S extends TVSlots> = V extends Object ? Array<keyof V> : undefined;
103
- type TVReturnProps<V extends TVVariants<S>, S extends TVSlots, B extends ClassNameValue, EV extends TVVariants<ES>, ES extends TVSlots, // @ts-expect-error
104
- E extends TVReturnType = undefined> = {
105
- extend: E;
106
- base: B;
107
- slots: S;
108
- variants: V;
109
- defaultVariants: TVDefaultVariants<V, S, EV, ES>;
110
- compoundVariants: TVCompoundVariants<V, S, B, EV, ES>;
111
- compoundSlots: TVCompoundSlots<V, S, B>;
112
- variantKeys: TVVariantKeys<V, S>;
113
- };
114
- type HasSlots<S extends TVSlots, ES extends TVSlots> = S extends undefined ? ES extends undefined ? false : true : true;
115
- type TVReturnType<V extends TVVariants<S>, S extends TVSlots, B extends ClassNameValue, EV extends TVVariants<ES>, ES extends TVSlots, // @ts-expect-error
116
- E extends TVReturnType = undefined> = {
117
- (props?: TVProps<V, S, EV, ES>): HasSlots<S, ES> extends true ? { [K in keyof (ES extends undefined ? {} : ES)]: (slotProps?: TVProps<V, S, EV, ES>) => string } & { [K in keyof (S extends undefined ? {} : S)]: (slotProps?: TVProps<V, S, EV, ES>) => string } & { [K in TVSlotsWithBase<{}, B>]: (slotProps?: TVProps<V, S, EV, ES>) => string } : string;
118
- } & TVReturnProps<V, S, B, EV, ES, E>;
119
- //#endregion
120
- //#region src/Filter/filters/types.d.ts
121
- /**
122
- * FilterDefinition
123
- *
124
- * Declarative description of a filter. A FilterDefinition is not used
125
- * directly by the UI. Instead, it is passed to `createFilter` to produce a
126
- * concrete, runtime `FilterInstance` for a specific usage (with name/icon and
127
- * optional config overrides).
128
- *
129
- * @typeParam Config - The configuration object shape for this filter
130
- * @typeParam Value - The runtime value type produced/consumed by this filter
131
- */
132
- interface FilterDefinition<Config, Value> {
133
- components: {
134
- /**
135
- * Display component rendered inside the filter chip. Receives the current
136
- * filter `value` and the merged `config`.
137
- */
138
- Display: (props: {
139
- value: Value;
140
- config: Config;
141
- }) => ReactNode;
142
- /**
143
- * Form component rendered inside the modal. Receives the fully-qualified
144
- * field name and the merged, validated `config`.
145
- */
146
- Form: (props: {
147
- fieldName: string;
148
- config: Config;
149
- }) => ReactNode;
150
- };
151
- defaults: {
152
- /** Baseline configuration for the filter; can be overridden per usage */config: Config; /** Initial form value seeded when a filter is added */
153
- value: Value;
154
- };
155
- /**
156
- * Validation factory returning an ex-validator schema for the value shape.
157
- * Receives the (merged) `config` so the schema can depend on configuration.
158
- */
159
- validation: (config?: Config) => unknown;
160
- }
161
- /**
162
- * FilterFactory
163
- *
164
- * A filter exports a factory that, given name/icon and optional config
165
- * overrides, returns a concrete FilterInstance with merged config and a
166
- * computed defaultValue.
167
- *
168
- * @typeParam Config - Configuration object shape for the filter
169
- * @typeParam Value - Runtime value type for the filter
170
- */
171
- type FilterFactory<Config, Value> = (args: {
172
- /** Per-usage configuration overrides merged with `defaults.config` */config?: Partial<Config>; /** Optional icon element shown in menus/labels */
173
- icon?: ReactNode; /** Logical field name under `filter.{name}` */
174
- name: string;
175
- }) => FilterInstance<Config, Value>;
176
- /**
177
- * FilterInstance
178
- *
179
- * Runtime instance created by merging a filter's defaults with usage
180
- * overrides and attaching name/icon for UI.
181
- *
182
- * This is the only shape used by the rendering layer and context.
183
- *
184
- * @typeParam Config - Effective configuration object shape
185
- * @typeParam Value - Effective value type for the filter
186
- */
187
- interface FilterInstance<Config, Value> {
188
- /** UI components (Form/Display) provided by the filter */
189
- components: FilterDefinition<Config, Value>['components'];
190
- /** Merged configuration (`defaults.config` overlaid with per-usage overrides) */
191
- config: Config;
192
- /** Initial form value to seed when adding this filter */
193
- defaultValue: Value;
194
- /** Optional icon element used in menus/labels */
195
- icon?: ReactNode;
196
- /** Logical field name under `filter.{name}` */
197
- name: string;
198
- /** ex-validator schema factory for the value; typically closure over config */
199
- validation: (config?: Config) => unknown;
200
- }
201
- /**
202
- * FiltersConfiguration
203
- *
204
- * Top-level collection of instantiated filters used by the Filter component
205
- * and FiltersContext. Each entry is a concrete FilterInstance (already created
206
- * via a filter factory), carrying its merged config, default value, UI
207
- * components, and validate function.
208
- */
209
- type FiltersConfiguration = FilterInstance<any, any>[];
210
- /**
211
- * FilterDisplayProps
212
- *
213
- * Props provided to a filter's Display component. Derived from an active
214
- * FilterInstance at runtime.
215
- *
216
- * @typeParam Config - Effective configuration type for the instance
217
- * @typeParam Value - Effective value type for the instance
218
- */
219
- interface FilterDisplayProps<Config, Value> {
220
- /** Merged configuration for the filter instance */
221
- config: Config;
222
- /** Current (possibly partial) value for the filter instance */
223
- value: Value;
224
- }
225
- /**
226
- * FilterFormProps
227
- *
228
- * Props provided to a filter's Form component. The `fieldName` is the
229
- * fully-qualified path in the host form, and the `config` is the instance's
230
- * merged configuration.
231
- *
232
- * @typeParam Config - Effective configuration type for the instance
233
- */
234
- interface FilterFormProps<Config> {
235
- /** Merged configuration for the filter instance */
236
- config: Config;
237
- /** Fully-qualified form field path (e.g., `filter.status`) */
238
- fieldName: string;
239
- }
240
- //#endregion
241
- //#region src/Filter/Subcomponents/SearchInput.d.ts
242
- type SearchConfiguration = boolean | {
243
- /** Placeholder shown in the search input */placeholder?: string;
244
- };
245
- //#endregion
246
- //#region src/Filter/Filter.d.ts
247
- declare const filterVariants: TVReturnType<{
248
- [key: string]: {
249
- [key: string]: ClassNameValue | {
250
- base?: ClassNameValue;
251
- addFilterMenuButton?: ClassNameValue;
252
- addFilterMenuItem?: ClassNameValue;
253
- activeFilterLabel?: ClassNameValue;
254
- filterModalBody?: ClassNameValue;
255
- filterModalHeader?: ClassNameValue;
256
- filterModalFooter?: ClassNameValue;
257
- form?: ClassNameValue;
258
- searchInput?: ClassNameValue;
259
- searchInputWrapper?: ClassNameValue;
260
- searchMotionDiv?: ClassNameValue;
261
- searchShowButton?: ClassNameValue;
262
- searchSubmitButton?: ClassNameValue;
263
- searchWrapper?: ClassNameValue;
264
- };
265
- };
266
- } | {
267
- [x: string]: {
268
- [x: string]: ClassNameValue | {
269
- base?: ClassNameValue;
270
- addFilterMenuButton?: ClassNameValue;
271
- addFilterMenuItem?: ClassNameValue;
272
- activeFilterLabel?: ClassNameValue;
273
- filterModalBody?: ClassNameValue;
274
- filterModalHeader?: ClassNameValue;
275
- filterModalFooter?: ClassNameValue;
276
- form?: ClassNameValue;
277
- searchInput?: ClassNameValue;
278
- searchInputWrapper?: ClassNameValue;
279
- searchMotionDiv?: ClassNameValue;
280
- searchShowButton?: ClassNameValue;
281
- searchSubmitButton?: ClassNameValue;
282
- searchWrapper?: ClassNameValue;
283
- };
284
- };
285
- } | {}, {
286
- base: string;
287
- addFilterMenuButton: string;
288
- addFilterMenuItem: string;
289
- activeFilterLabel: string;
290
- filterModalBody: string;
291
- filterModalHeader: string;
292
- filterModalFooter: string;
293
- form: string;
294
- searchInput: string;
295
- searchInputWrapper: string;
296
- searchMotionDiv: string;
297
- searchShowButton: string;
298
- searchSubmitButton: string;
299
- searchWrapper: string;
300
- }, undefined, {
301
- [key: string]: {
302
- [key: string]: ClassNameValue | {
303
- base?: ClassNameValue;
304
- addFilterMenuButton?: ClassNameValue;
305
- addFilterMenuItem?: ClassNameValue;
306
- activeFilterLabel?: ClassNameValue;
307
- filterModalBody?: ClassNameValue;
308
- filterModalHeader?: ClassNameValue;
309
- filterModalFooter?: ClassNameValue;
310
- form?: ClassNameValue;
311
- searchInput?: ClassNameValue;
312
- searchInputWrapper?: ClassNameValue;
313
- searchMotionDiv?: ClassNameValue;
314
- searchShowButton?: ClassNameValue;
315
- searchSubmitButton?: ClassNameValue;
316
- searchWrapper?: ClassNameValue;
317
- };
318
- };
319
- } | {}, {
320
- base: string;
321
- addFilterMenuButton: string;
322
- addFilterMenuItem: string;
323
- activeFilterLabel: string;
324
- filterModalBody: string;
325
- filterModalHeader: string;
326
- filterModalFooter: string;
327
- form: string;
328
- searchInput: string;
329
- searchInputWrapper: string;
330
- searchMotionDiv: string;
331
- searchShowButton: string;
332
- searchSubmitButton: string;
333
- searchWrapper: string;
334
- }, TVReturnType<unknown, {
335
- base: string;
336
- addFilterMenuButton: string;
337
- addFilterMenuItem: string;
338
- activeFilterLabel: string;
339
- filterModalBody: string;
340
- filterModalHeader: string;
341
- filterModalFooter: string;
342
- form: string;
343
- searchInput: string;
344
- searchInputWrapper: string;
345
- searchMotionDiv: string;
346
- searchShowButton: string;
347
- searchSubmitButton: string;
348
- searchWrapper: string;
349
- }, undefined, unknown, unknown, undefined>>;
350
- type ClassName = TVClassName<typeof filterVariants>;
351
- interface FilterValues {
352
- search?: string;
353
- filter?: string | Record<string, unknown> | null;
354
- }
355
- type FilterChildRenderFn = (values: {
356
- search?: string;
357
- filter?: Record<string, unknown>;
358
- }) => ReactNode;
359
- /**
360
- * Filter
361
- *
362
- * Controlled, form-driven filter UI.
363
- *
364
- * Responsibilities
365
- * - Derives initial form values from the controlled `values` prop
366
- * - Builds a composite validation schema from the filter registry (and optional search)
367
- * - Exposes ergonomic UI: active filters list, add/remove actions, and per-filter modal
368
- * - Commits changes by invoking the controlled `onChange` callback on submit
369
- *
370
- * Structure
371
- * - Owns an ex-forms `Form` that wraps the entire filter experience
372
- * - Optionally renders a search input bound to the `search` field
373
- * - Renders ActiveFilters, AddFilterMenu, and FilterModal inside a shared context
374
- * - Optionally renders children as a render-prop with the resolved `values`
375
- */
376
- interface FilterProps {
377
- /** Optional render-prop that receives the resolved, controlled values */
378
- children?: FilterChildRenderFn;
379
- /** CSS class name */
380
- className?: ClassName;
381
- /** Configuration of the filter */
382
- config: {
383
- /**
384
- * Declarative filter configuration. Each entry ties a logical name to a
385
- * registry filter type and (optionally) per-usage config overrides.
386
- */
387
- filters: FiltersConfiguration; /** Optional configuration for search field */
388
- search?: SearchConfiguration;
389
- };
390
- /** ex-forms form instance name. Defaults to "filterComponentForm". */
391
- formName?: string;
392
- /** Controlled setter invoked on submit with the next canonical values */
393
- onChange: (nextValues: FilterValues) => void;
394
- /** Controlled committed state: the canonical `search` and `filter` values */
395
- values: FilterValues;
396
- }
397
- /**
398
- * Renders the filter UI bound to a single ex-forms `Form`.
399
- * The form is the source of truth during user interaction; the committed
400
- * state is controlled by the parent via `values`/`onChange`.
401
- */
402
- declare const Filter: ({
403
- children,
404
- className,
405
- config,
406
- formName,
407
- onChange,
408
- values
409
- }: FilterProps) => _$react_jsx_runtime0.JSX.Element;
410
- //#endregion
411
- //#region src/Filter/filters/createFilter.d.ts
412
- /**
413
- * createFilter
414
- *
415
- * Builds a filter factory from a static FilterDefinition. The returned factory
416
- * accepts a usage descriptor (name/icon and optional partial config) and
417
- * produces a concrete FilterInstance with:
418
- * - merged config (shallow: definition.defaults.config overlaid by overrides)
419
- * - Form/Display components
420
- * - validate function (forwarded from the definition)
421
- * - defaultValue (forwarded from the definition)
422
- * - name and icon for UI integration
423
- *
424
- * @typeParam Config - Configuration object shape for the filter
425
- * @typeParam Value - Runtime value type for the filter
426
- * @param definition - Static description of the filter (components, defaults, validate)
427
- * @returns FilterFactory that creates FilterInstance<Config, Value>
428
- */
429
- declare const createFilter: <Config, Value>(definition: FilterDefinition<Config, Value>) => FilterFactory<Config, Value>;
430
- //#endregion
431
- //#region src/Filter/index.d.ts
432
- declare const filters: {
433
- boolean: FilterFactory<{
434
- text: string;
435
- textPrefix?: string | undefined;
436
- textNoWord?: string | undefined;
437
- }, boolean | undefined>;
438
- checkboxes: FilterFactory<Config, string[]>;
439
- };
440
- //#endregion
441
- export { FilterProps as a, FilterDefinition as c, FilterFormProps as d, FilterInstance as f, FilterChildRenderFn as i, FilterDisplayProps as l, createFilter as n, FilterValues as o, FiltersConfiguration as p, Filter as r, filterVariants as s, filters as t, FilterFactory as u };
442
- //# sourceMappingURL=index-CCYYLtUy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-CCYYLtUy.d.ts","names":["ClassNameValue","ClassNameArray","twJoin","classLists","Config","ClassGroupIds","ThemeGroupIds","ConfigStaticPart","ConfigGroupsPart","ExperimentalParseClassNameParam","ParsedClassName","cacheSize","prefix","experimentalParseClassName","param","className","parseClassName","isExternal","modifiers","hasImportantModifier","baseClassName","maybePostfixModifierPosition","ThemeObject","NoInfer","ClassGroup","Record","Partial","theme","classGroups","conflictingClassGroups","conflictingClassGroupModifiers","orderSensitiveModifiers","ConfigExtension","PartialPartial","override","extend","T","P","ClassDefinition","ClassValidator","ThemeGetter","ClassObject","classPart","AnyThemeGroupIds","AnyClassGroupIds","isThemeGetter","DefaultThemeGroupIds","DefaultClassGroupIds","AnyConfig","CreateConfigFirst","CreateConfigSubsequent$1","config","TailwindMerge","createTailwindMerge","createConfigFirst","createConfigRest","getDefaultConfig","animate","aspect","blur","value","breakpoint","color","container","ease","font","leading","perspective","radius","shadow","spacing","text","tracking","columns","box","display","sr","float","clear","isolation","object","overflow","overscroll","position","inset","start","end","top","right","bottom","left","visibility","z","basis","flex","grow","shrink","order","col","span","row","gap","justify","content","items","baseline","self","p","px","py","ps","pe","pt","pr","pb","pl","m","mx","my","ms","me","mt","mr","mb","ml","size","w","screen","h","list","placeholder","decoration","indent","align","whitespace","break","wrap","hyphens","bg","repeat","linear","to","radial","conic","from","via","rounded","border","divide","outline","ring","opacity","mask","closest","farthest","filter","brightness","contrast","grayscale","invert","saturate","sepia","table","caption","transition","duration","delay","backface","rotate","scale","skew","transform","origin","translate","accent","appearance","caret","scheme","cursor","resize","scroll","snap","touch","select","fill","stroke","CreateConfigSubsequent","extendTailwindMerge","AdditionalClassGroupIds","AdditionalThemeGroupIds","configExtension","createConfig","fromTheme","DefaultThemeGroupIdsInner","key","mergeConfigs","baseConfig","twMerge","isFraction","isNumber","isInteger","isPercent","isTshirtSize","isAny","isAnyNonArbitrary","isArbitrarySize","isArbitraryValue","isArbitraryLength","isArbitraryNumber","isArbitraryPosition","isArbitraryImage","isArbitraryShadow","isArbitraryVariable","isArbitraryVariableLength","isArbitraryVariableFamilyName","isArbitraryVariablePosition","isArbitraryVariableSize","isArbitraryVariableImage","isArbitraryVariableShadow","validators_d_isAny","validators_d_isAnyNonArbitrary","validators_d_isArbitraryImage","validators_d_isArbitraryLength","validators_d_isArbitraryNumber","validators_d_isArbitraryPosition","validators_d_isArbitraryShadow","validators_d_isArbitrarySize","validators_d_isArbitraryValue","validators_d_isArbitraryVariable","validators_d_isArbitraryVariableFamilyName","validators_d_isArbitraryVariableImage","validators_d_isArbitraryVariableLength","validators_d_isArbitraryVariablePosition","validators_d_isArbitraryVariableShadow","validators_d_isArbitraryVariableSize","validators_d_isFraction","validators_d_isInteger","validators_d_isNumber","validators_d_isPercent","validators_d_isTshirtSize","validators_d","validators","ExperimentalParsedClassName","ClassNameValue","ClassValue","TVConfig","TWMConfig","ClassProp","V","class","className","TVBaseName","TVScreens","TVSlots","Record","OmitUndefined","T","StringToBoolean","CnOptions","CnReturn","cnBase","classes","cn","config","isTrueOrArray","WithInitialScreen","Array","TVSlotsWithBase","S","B","SlotsClassValue","K","TVVariantsDefault","key","TVVariants","EV","ES","K2","TVCompoundVariants","TVCompoundSlots","slots","TVDefaultVariants","TVScreenPropsValue","Screen","TVProps","TVVariantKeys","Object","TVReturnProps","E","TVReturnType","extend","base","variants","defaultVariants","compoundVariants","compoundSlots","variantKeys","HasSlots","props","slotProps","TV","CV","DV","options","CreateTV","tv","createTV","defaultConfig","VariantProps","Component","Parameters","Omit","args"],"sources":["../src/Filter/filters/checkboxes/schema.ts","../../../node_modules/.pnpm/tailwind-merge@3.3.1/node_modules/tailwind-merge/dist/types.d.ts","../../../node_modules/.pnpm/tailwind-variants@2.0.1_tailwind-merge@3.3.1_tailwindcss@4.2.2/node_modules/tailwind-variants/dist/index.d.ts","../src/Filter/filters/types.ts","../src/Filter/Subcomponents/SearchInput.tsx","../src/Filter/Filter.tsx","../src/Filter/filters/createFilter.ts","../src/Filter/index.ts"],"x_google_ignoreList":[1,2],"mappings":";;;;;;;;cAMa,QAAA,2CAAM,CAAA;;;;AAAnB;QAaE,wCAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAGU,MAAA,GAAS,IAAA,CAAK,MAAA,QAAc,QAAA;EACtC,OAAA;IACE,KAAA,EAAO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