@ousi-ui/vue 0.3.1 → 0.4.0
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/index.cjs +3 -2
- package/dist/index.d.ts +302 -32
- package/dist/index.mjs +8747 -7806
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ import { PublicProps } from 'vue';
|
|
|
19
19
|
import { Ref } from 'vue';
|
|
20
20
|
import { Strategy } from '@floating-ui/vue';
|
|
21
21
|
import { VNodeProps } from 'vue';
|
|
22
|
+
import { WritableComputedRef } from 'vue';
|
|
22
23
|
|
|
23
24
|
declare const __VLS_component: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
25
|
click: (event: MouseEvent) => any;
|
|
@@ -297,7 +298,6 @@ onChange?: ((date: CalendarDate | null) => any) | undefined;
|
|
|
297
298
|
}>, {
|
|
298
299
|
disabled: boolean;
|
|
299
300
|
readonly: boolean;
|
|
300
|
-
locale: string;
|
|
301
301
|
showOutsideDays: boolean;
|
|
302
302
|
showYearPicker: boolean;
|
|
303
303
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -382,25 +382,45 @@ showControls: boolean;
|
|
|
382
382
|
showSummary: boolean;
|
|
383
383
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
384
384
|
|
|
385
|
-
declare const __VLS_component_44: DefineComponent<TableProps, {
|
|
385
|
+
declare const __VLS_component_44: DefineComponent<TableProps, {
|
|
386
|
+
exportCSV: typeof exportCSV;
|
|
387
|
+
toggleColumn: typeof toggleColumn;
|
|
388
|
+
hiddenColumns: WritableComputedRef<Set<string>, Set<string>>;
|
|
389
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
386
390
|
selectionChange: (keys: Set<string>) => any;
|
|
387
|
-
sortChange: (descriptor: SortDescriptor) => any;
|
|
391
|
+
sortChange: (descriptor: SortDescriptor | SortDescriptor[]) => any;
|
|
392
|
+
expansionChange: (keys: Set<string>) => any;
|
|
393
|
+
"update:hiddenColumns": (keys: Set<string>) => any;
|
|
388
394
|
rowAction: (key: string) => any;
|
|
395
|
+
rowContextMenu: (row: Record<string, any>, event: MouseEvent) => any;
|
|
396
|
+
columnContextMenu: (column: TableColumn, event: MouseEvent) => any;
|
|
389
397
|
}, string, PublicProps, Readonly<TableProps> & Readonly<{
|
|
390
398
|
onSelectionChange?: ((keys: Set<string>) => any) | undefined;
|
|
391
|
-
onSortChange?: ((descriptor: SortDescriptor) => any) | undefined;
|
|
399
|
+
onSortChange?: ((descriptor: SortDescriptor | SortDescriptor[]) => any) | undefined;
|
|
400
|
+
onExpansionChange?: ((keys: Set<string>) => any) | undefined;
|
|
401
|
+
"onUpdate:hiddenColumns"?: ((keys: Set<string>) => any) | undefined;
|
|
392
402
|
onRowAction?: ((key: string) => any) | undefined;
|
|
403
|
+
onRowContextMenu?: ((row: Record<string, any>, event: MouseEvent) => any) | undefined;
|
|
404
|
+
onColumnContextMenu?: ((column: TableColumn, event: MouseEvent) => any) | undefined;
|
|
393
405
|
}>, {
|
|
394
406
|
variant: TableVariant;
|
|
395
407
|
shadow: TableShadow;
|
|
396
408
|
selectionMode: SelectionMode_2;
|
|
397
409
|
isLoading: boolean;
|
|
410
|
+
stickyHeader: boolean;
|
|
411
|
+
density: TableDensity;
|
|
398
412
|
rowKey: string;
|
|
413
|
+
showSelectionColumn: boolean;
|
|
414
|
+
multiSort: boolean;
|
|
415
|
+
manualSort: boolean;
|
|
399
416
|
loadingRows: number;
|
|
400
417
|
emptyContent: string;
|
|
401
418
|
showFooter: boolean;
|
|
402
419
|
allowsResizing: boolean;
|
|
403
|
-
|
|
420
|
+
expandable: boolean;
|
|
421
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
422
|
+
tableRef: HTMLTableElement;
|
|
423
|
+
}, HTMLDivElement>;
|
|
404
424
|
|
|
405
425
|
declare const __VLS_component_45: DefineComponent<ScrollShadowProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ScrollShadowProps> & Readonly<{}>, {
|
|
406
426
|
size: number;
|
|
@@ -1113,10 +1133,21 @@ declare function __VLS_template_44(): {
|
|
|
1113
1133
|
value: any;
|
|
1114
1134
|
column: TableColumn;
|
|
1115
1135
|
}) => any>> & {
|
|
1136
|
+
toolbar?(_: {
|
|
1137
|
+
hiddenColumns: Set<string>;
|
|
1138
|
+
toggleColumn: typeof toggleColumn;
|
|
1139
|
+
exportCsv: typeof exportCSV;
|
|
1140
|
+
}): any;
|
|
1116
1141
|
empty?(_: {}): any;
|
|
1142
|
+
'expanded-row'?(_: {
|
|
1143
|
+
row: Record<string, any>;
|
|
1144
|
+
close: () => void;
|
|
1145
|
+
}): any;
|
|
1117
1146
|
footer?(_: {}): any;
|
|
1118
1147
|
};
|
|
1119
|
-
refs: {
|
|
1148
|
+
refs: {
|
|
1149
|
+
tableRef: HTMLTableElement;
|
|
1150
|
+
};
|
|
1120
1151
|
rootEl: HTMLDivElement;
|
|
1121
1152
|
};
|
|
1122
1153
|
|
|
@@ -2093,6 +2124,12 @@ export declare const animatedNumberTheme = "inline-flex items-baseline tabular-n
|
|
|
2093
2124
|
|
|
2094
2125
|
export declare type AnimatedNumberTrend = 'auto' | 'up' | 'down';
|
|
2095
2126
|
|
|
2127
|
+
/**
|
|
2128
|
+
* Internal — applies initial values from the plugin install hook.
|
|
2129
|
+
* Public consumers should write via `useOusiConfig()` instead.
|
|
2130
|
+
*/
|
|
2131
|
+
export declare function applyOusiConfig(init: OusiConfigInit): void;
|
|
2132
|
+
|
|
2096
2133
|
export declare const aspectRatioInnerTheme = "absolute inset-0";
|
|
2097
2134
|
|
|
2098
2135
|
export declare interface AspectRatioProps {
|
|
@@ -2418,8 +2455,11 @@ export declare interface CalendarProps {
|
|
|
2418
2455
|
unavailableDates?: CalendarDate[];
|
|
2419
2456
|
/** Days with indicators (dots). */
|
|
2420
2457
|
indicatorDays?: number[];
|
|
2421
|
-
/** Locale for month/day names. */
|
|
2458
|
+
/** Locale for month/day names. Falls back to the global config (useOusiConfig). */
|
|
2422
2459
|
locale?: string;
|
|
2460
|
+
/** First day of the week — 0=Sunday, 1=Monday, ..., 6=Saturday. Falls back
|
|
2461
|
+
* to the global config, then to a locale-region heuristic. */
|
|
2462
|
+
firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
2423
2463
|
/** Show days from previous/next month. */
|
|
2424
2464
|
showOutsideDays?: boolean;
|
|
2425
2465
|
/** Enable year picker overlay. */
|
|
@@ -2772,6 +2812,10 @@ export declare const codeBlockToggleTheme: string;
|
|
|
2772
2812
|
|
|
2773
2813
|
export declare type CodeBlockVariant = 'primary' | 'secondary';
|
|
2774
2814
|
|
|
2815
|
+
declare function collapse(key: string): void;
|
|
2816
|
+
|
|
2817
|
+
declare function collapseAll(): void;
|
|
2818
|
+
|
|
2775
2819
|
export declare const collapsibleContentTheme = "overflow-hidden";
|
|
2776
2820
|
|
|
2777
2821
|
export declare interface CollapsibleEmits {
|
|
@@ -3065,6 +3109,10 @@ export declare interface DateFieldProps {
|
|
|
3065
3109
|
min?: DateFieldValue;
|
|
3066
3110
|
/** Maximum allowed date. */
|
|
3067
3111
|
max?: DateFieldValue;
|
|
3112
|
+
/** Visual variant. Defaults to 'primary'. */
|
|
3113
|
+
variant?: DateFieldVariant;
|
|
3114
|
+
/** Size of the field. Defaults to 'md'. */
|
|
3115
|
+
size?: DateFieldSize;
|
|
3068
3116
|
/** Elevation shadow. Defaults to 'xs'. */
|
|
3069
3117
|
shadow?: DateFieldShadow;
|
|
3070
3118
|
/** Enable tactile press animation (scale on focus). Defaults to false. */
|
|
@@ -3085,13 +3133,19 @@ export declare function dateFieldSegmentTheme(focused: boolean): string;
|
|
|
3085
3133
|
|
|
3086
3134
|
declare type DateFieldShadow = 'none' | 'xs' | 'sm' | 'md';
|
|
3087
3135
|
|
|
3136
|
+
declare type DateFieldSize = 'sm' | 'md' | 'lg';
|
|
3137
|
+
|
|
3088
3138
|
export declare interface DateFieldValue {
|
|
3089
3139
|
year: number;
|
|
3090
3140
|
month: number;
|
|
3091
3141
|
day: number;
|
|
3092
3142
|
}
|
|
3093
3143
|
|
|
3144
|
+
declare type DateFieldVariant = 'primary' | 'secondary';
|
|
3145
|
+
|
|
3094
3146
|
export declare const dateFieldWrapperTheme: (props?: ({
|
|
3147
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
3148
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
3095
3149
|
shadow?: "none" | "sm" | "md" | "xs" | null | undefined;
|
|
3096
3150
|
animated?: boolean | null | undefined;
|
|
3097
3151
|
} & ClassProp) | undefined) => string;
|
|
@@ -3151,6 +3205,8 @@ export declare interface DatePickerProps {
|
|
|
3151
3205
|
required?: boolean;
|
|
3152
3206
|
/** Visual variant of the field. Defaults to 'primary'. */
|
|
3153
3207
|
variant?: 'primary' | 'secondary';
|
|
3208
|
+
/** Size of the field. Defaults to 'md'. */
|
|
3209
|
+
size?: DatePickerSize;
|
|
3154
3210
|
/** Elevation shadow on the trigger. Defaults to 'xs'. */
|
|
3155
3211
|
shadow?: DatePickerShadow;
|
|
3156
3212
|
/** Enable tactile press animation (scale on focus). Defaults to false. */
|
|
@@ -3161,9 +3217,12 @@ export declare interface DatePickerProps {
|
|
|
3161
3217
|
|
|
3162
3218
|
declare type DatePickerShadow = 'none' | 'xs' | 'sm' | 'md';
|
|
3163
3219
|
|
|
3220
|
+
declare type DatePickerSize = 'sm' | 'md' | 'lg';
|
|
3221
|
+
|
|
3164
3222
|
/** Trigger row — unified field container for segments + icon. Owns ALL field chrome. */
|
|
3165
3223
|
export declare const datePickerTriggerTheme: (props?: ({
|
|
3166
3224
|
variant?: "primary" | "secondary" | null | undefined;
|
|
3225
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
3167
3226
|
shadow?: "none" | "sm" | "md" | "xs" | null | undefined;
|
|
3168
3227
|
animated?: boolean | null | undefined;
|
|
3169
3228
|
} & ClassProp) | undefined) => string;
|
|
@@ -3231,6 +3290,8 @@ export declare interface DateRangePickerProps {
|
|
|
3231
3290
|
required?: boolean;
|
|
3232
3291
|
/** Visual variant of the field. Defaults to 'primary'. */
|
|
3233
3292
|
variant?: 'primary' | 'secondary';
|
|
3293
|
+
/** Size of the field. Defaults to 'md'. */
|
|
3294
|
+
size?: DateRangePickerSize;
|
|
3234
3295
|
/** Elevation shadow on the trigger. Defaults to 'xs'. */
|
|
3235
3296
|
shadow?: DateRangePickerShadow;
|
|
3236
3297
|
/** Enable tactile press animation (scale on focus). Defaults to false. */
|
|
@@ -3244,9 +3305,12 @@ export declare const dateRangePickerSeparatorTheme = "px-1.5 text-ousi-field-pla
|
|
|
3244
3305
|
|
|
3245
3306
|
declare type DateRangePickerShadow = 'none' | 'xs' | 'sm' | 'md';
|
|
3246
3307
|
|
|
3308
|
+
declare type DateRangePickerSize = 'sm' | 'md' | 'lg';
|
|
3309
|
+
|
|
3247
3310
|
/** Trigger row — unified field for start segments + separator + end segments + icon. */
|
|
3248
3311
|
export declare const dateRangePickerTriggerTheme: (props?: ({
|
|
3249
3312
|
variant?: "primary" | "secondary" | null | undefined;
|
|
3313
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
3250
3314
|
shadow?: "none" | "sm" | "md" | "xs" | null | undefined;
|
|
3251
3315
|
animated?: boolean | null | undefined;
|
|
3252
3316
|
} & ClassProp) | undefined) => string;
|
|
@@ -3472,6 +3536,15 @@ export declare interface ElasticSliderProps {
|
|
|
3472
3536
|
|
|
3473
3537
|
export declare type ElasticSliderSize = 'sm' | 'md' | 'lg';
|
|
3474
3538
|
|
|
3539
|
+
declare function expand(key: string): void;
|
|
3540
|
+
|
|
3541
|
+
declare function expandAll(): void;
|
|
3542
|
+
|
|
3543
|
+
declare function exportCSV(options?: {
|
|
3544
|
+
filename?: string;
|
|
3545
|
+
includeHidden?: boolean;
|
|
3546
|
+
}): void;
|
|
3547
|
+
|
|
3475
3548
|
export declare const fileUploadAreaTheme: (props?: ({
|
|
3476
3549
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
3477
3550
|
active?: boolean | null | undefined;
|
|
@@ -3534,6 +3607,8 @@ export declare type FileUploadVariant = 'area' | 'inline';
|
|
|
3534
3607
|
|
|
3535
3608
|
declare function fire(): void;
|
|
3536
3609
|
|
|
3610
|
+
declare function focusKey(key: string): void;
|
|
3611
|
+
|
|
3537
3612
|
declare interface FormContext {
|
|
3538
3613
|
/** Server-side validation errors keyed by field name. */
|
|
3539
3614
|
validationErrors: Ref<Record<string, string | string[]>>;
|
|
@@ -3566,6 +3641,19 @@ export declare interface FormProps {
|
|
|
3566
3641
|
class?: string;
|
|
3567
3642
|
}
|
|
3568
3643
|
|
|
3644
|
+
/**
|
|
3645
|
+
* Derive the first day of the week from a BCP 47 locale tag. Uses the
|
|
3646
|
+
* experimental `Intl.Locale#getWeekInfo()` when available (Chromium-based
|
|
3647
|
+
* browsers), falling back to a CLDR-derived region map otherwise.
|
|
3648
|
+
*/
|
|
3649
|
+
export declare function getFirstDayOfWeekForLocale(locale: string): WeekDay;
|
|
3650
|
+
|
|
3651
|
+
/**
|
|
3652
|
+
* Derive `hour12` for a locale via Intl. Returns the locale's natural choice
|
|
3653
|
+
* unless the config explicitly overrides it.
|
|
3654
|
+
*/
|
|
3655
|
+
export declare function getHour12ForLocale(locale: string): boolean;
|
|
3656
|
+
|
|
3569
3657
|
export declare type GradientTextPreset = 'aurora' | 'sunset' | 'ocean' | 'candy' | 'neon';
|
|
3570
3658
|
|
|
3571
3659
|
export declare interface GradientTextProps {
|
|
@@ -4282,10 +4370,11 @@ change: (value: DateFieldValue | null) => any;
|
|
|
4282
4370
|
onChange?: ((value: DateFieldValue | null) => any) | undefined;
|
|
4283
4371
|
"onUpdate:modelValue"?: ((value: DateFieldValue | null) => any) | undefined;
|
|
4284
4372
|
}>, {
|
|
4373
|
+
variant: DateFieldVariant;
|
|
4374
|
+
size: DateFieldSize;
|
|
4285
4375
|
shadow: DateFieldShadow;
|
|
4286
4376
|
disabled: boolean;
|
|
4287
4377
|
animated: boolean;
|
|
4288
|
-
locale: string;
|
|
4289
4378
|
granularity: DateFieldGranularity;
|
|
4290
4379
|
readOnly: boolean;
|
|
4291
4380
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -4298,13 +4387,13 @@ onChange?: ((value: DateFieldValue | null) => any) | undefined;
|
|
|
4298
4387
|
"onUpdate:modelValue"?: ((value: DateFieldValue | null) => any) | undefined;
|
|
4299
4388
|
}>, {
|
|
4300
4389
|
variant: "primary" | "secondary";
|
|
4390
|
+
size: DatePickerSize;
|
|
4301
4391
|
shadow: DatePickerShadow;
|
|
4302
4392
|
disabled: boolean;
|
|
4303
4393
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
4304
4394
|
animated: boolean;
|
|
4305
4395
|
required: boolean;
|
|
4306
4396
|
readonly: boolean;
|
|
4307
|
-
locale: string;
|
|
4308
4397
|
showOutsideDays: boolean;
|
|
4309
4398
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
4310
4399
|
triggerRef: HTMLDivElement;
|
|
@@ -4319,13 +4408,13 @@ onChange?: ((value: DateRangeValue | null) => any) | undefined;
|
|
|
4319
4408
|
"onUpdate:modelValue"?: ((value: DateRangeValue | null) => any) | undefined;
|
|
4320
4409
|
}>, {
|
|
4321
4410
|
variant: "primary" | "secondary";
|
|
4411
|
+
size: DateRangePickerSize;
|
|
4322
4412
|
shadow: DateRangePickerShadow;
|
|
4323
4413
|
disabled: boolean;
|
|
4324
4414
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
4325
4415
|
animated: boolean;
|
|
4326
4416
|
required: boolean;
|
|
4327
4417
|
readonly: boolean;
|
|
4328
|
-
locale: string;
|
|
4329
4418
|
showOutsideDays: boolean;
|
|
4330
4419
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
4331
4420
|
triggerRef: HTMLDivElement;
|
|
@@ -4474,7 +4563,6 @@ onChange?: ((range: DateRange | null) => any) | undefined;
|
|
|
4474
4563
|
"onUpdate:modelValue"?: ((range: DateRange | null) => any) | undefined;
|
|
4475
4564
|
}>, {
|
|
4476
4565
|
readonly: boolean;
|
|
4477
|
-
locale: string;
|
|
4478
4566
|
showOutsideDays: boolean;
|
|
4479
4567
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4480
4568
|
|
|
@@ -4578,12 +4666,13 @@ change: (value: TimeFieldValue | null) => any;
|
|
|
4578
4666
|
onChange?: ((value: TimeFieldValue | null) => any) | undefined;
|
|
4579
4667
|
"onUpdate:modelValue"?: ((value: TimeFieldValue | null) => any) | undefined;
|
|
4580
4668
|
}>, {
|
|
4669
|
+
variant: TimeFieldVariant;
|
|
4670
|
+
size: TimeFieldSize;
|
|
4581
4671
|
shadow: TimeFieldShadow;
|
|
4582
4672
|
disabled: boolean;
|
|
4583
4673
|
animated: boolean;
|
|
4584
4674
|
granularity: TimeFieldGranularity;
|
|
4585
4675
|
readOnly: boolean;
|
|
4586
|
-
hour12: boolean;
|
|
4587
4676
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4588
4677
|
|
|
4589
4678
|
export declare const OTimeline: __VLS_WithTemplateSlots_47<typeof __VLS_component_47, __VLS_TemplateResult_47["slots"]>;
|
|
@@ -4598,6 +4687,7 @@ onChange?: ((value: TimeFieldValue | null) => any) | undefined;
|
|
|
4598
4687
|
"onUpdate:modelValue"?: ((value: TimeFieldValue | null) => any) | undefined;
|
|
4599
4688
|
}>, {
|
|
4600
4689
|
variant: "primary" | "secondary";
|
|
4690
|
+
size: TimePickerSize;
|
|
4601
4691
|
shadow: TimePickerShadow;
|
|
4602
4692
|
disabled: boolean;
|
|
4603
4693
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
@@ -4605,7 +4695,6 @@ animated: boolean;
|
|
|
4605
4695
|
required: boolean;
|
|
4606
4696
|
readonly: boolean;
|
|
4607
4697
|
granularity: TimeFieldGranularity;
|
|
4608
|
-
hour12: boolean;
|
|
4609
4698
|
interval: TimePickerInterval;
|
|
4610
4699
|
showNow: boolean;
|
|
4611
4700
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -4627,17 +4716,36 @@ export declare interface OtpGroup {
|
|
|
4627
4716
|
|
|
4628
4717
|
export declare type OtpSlotType = 'digit' | 'alpha' | 'alphanumeric';
|
|
4629
4718
|
|
|
4630
|
-
export declare const OTreeView: DefineComponent<TreeViewProps, {
|
|
4719
|
+
export declare const OTreeView: DefineComponent<TreeViewProps, {
|
|
4720
|
+
expand: typeof expand;
|
|
4721
|
+
collapse: typeof collapse;
|
|
4722
|
+
expandAll: typeof expandAll;
|
|
4723
|
+
collapseAll: typeof collapseAll;
|
|
4724
|
+
focusKey: typeof focusKey;
|
|
4725
|
+
reload: typeof reload;
|
|
4726
|
+
expandedKeys: WritableComputedRef<Set<string>, Set<string>>;
|
|
4727
|
+
selectedKey: WritableComputedRef<string, string>;
|
|
4728
|
+
selectedKeys: WritableComputedRef<Set<string>, Set<string>>;
|
|
4729
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4631
4730
|
select: (key: string, node: TreeNode) => any;
|
|
4731
|
+
"update:selectedKeys": (keys: Set<string>) => any;
|
|
4632
4732
|
collapse: (key: string) => any;
|
|
4633
4733
|
expand: (key: string) => any;
|
|
4734
|
+
"update:selectedKey": (key: string) => any;
|
|
4735
|
+
"update:expandedKeys": (keys: Set<string>) => any;
|
|
4634
4736
|
}, string, PublicProps, Readonly<TreeViewProps> & Readonly<{
|
|
4635
4737
|
onSelect?: ((key: string, node: TreeNode) => any) | undefined;
|
|
4738
|
+
"onUpdate:selectedKeys"?: ((keys: Set<string>) => any) | undefined;
|
|
4636
4739
|
onCollapse?: ((key: string) => any) | undefined;
|
|
4637
4740
|
onExpand?: ((key: string) => any) | undefined;
|
|
4741
|
+
"onUpdate:selectedKey"?: ((key: string) => any) | undefined;
|
|
4742
|
+
"onUpdate:expandedKeys"?: ((keys: Set<string>) => any) | undefined;
|
|
4638
4743
|
}>, {
|
|
4639
|
-
|
|
4640
|
-
|
|
4744
|
+
selectionMode: TreeSelectionMode;
|
|
4745
|
+
expandOnLabelClick: boolean;
|
|
4746
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
4747
|
+
rootRef: HTMLDivElement;
|
|
4748
|
+
}, HTMLDivElement>;
|
|
4641
4749
|
|
|
4642
4750
|
export declare const OTypewriter: DefineComponent<TypewriterProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TypewriterProps> & Readonly<{}>, {
|
|
4643
4751
|
delay: number;
|
|
@@ -4648,6 +4756,40 @@ deleteSpeed: number;
|
|
|
4648
4756
|
cursorChar: string;
|
|
4649
4757
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
4650
4758
|
|
|
4759
|
+
/**
|
|
4760
|
+
* Global Ousi UI configuration. Drives locale-aware behavior across date/time
|
|
4761
|
+
* components and other i18n-sensitive widgets. Singleton — module-level state,
|
|
4762
|
+
* shared across the entire app.
|
|
4763
|
+
*
|
|
4764
|
+
* Usage:
|
|
4765
|
+
*
|
|
4766
|
+
* const config = useOusiConfig()
|
|
4767
|
+
* config.locale.value = 'es-ES' // reactive: all date pickers re-render
|
|
4768
|
+
*
|
|
4769
|
+
* Or set the initial values via the plugin install:
|
|
4770
|
+
*
|
|
4771
|
+
* app.use(OusiUIPlugin, { locale: 'es-ES', hour12: false })
|
|
4772
|
+
*
|
|
4773
|
+
* Per-component `locale` props still override this config.
|
|
4774
|
+
*/
|
|
4775
|
+
export declare interface OusiConfig {
|
|
4776
|
+
/** BCP 47 locale tag — drives date/time format, AM/PM labels, weekday names. */
|
|
4777
|
+
locale: Ref<string>;
|
|
4778
|
+
/** Explicit override for 12-hour clock. When undefined, inferred from locale. */
|
|
4779
|
+
hour12: Ref<boolean | undefined>;
|
|
4780
|
+
/** First day of the week. 0 = Sunday, 1 = Monday. When undefined, inferred from locale. */
|
|
4781
|
+
firstDayOfWeek: Ref<WeekDay | undefined>;
|
|
4782
|
+
/** Text direction. Defaults to 'ltr'. */
|
|
4783
|
+
dir: Ref<'ltr' | 'rtl'>;
|
|
4784
|
+
}
|
|
4785
|
+
|
|
4786
|
+
export declare interface OusiConfigInit {
|
|
4787
|
+
locale?: string;
|
|
4788
|
+
hour12?: boolean;
|
|
4789
|
+
firstDayOfWeek?: WeekDay;
|
|
4790
|
+
dir?: 'ltr' | 'rtl';
|
|
4791
|
+
}
|
|
4792
|
+
|
|
4651
4793
|
export declare function OusiResolver(options?: OusiResolverOptions): {
|
|
4652
4794
|
type: "component";
|
|
4653
4795
|
resolve(name: string): {
|
|
@@ -4669,7 +4811,7 @@ export declare const OusiUIPlugin: {
|
|
|
4669
4811
|
install: typeof install;
|
|
4670
4812
|
};
|
|
4671
4813
|
|
|
4672
|
-
export declare interface OusiUIPluginOptions {
|
|
4814
|
+
export declare interface OusiUIPluginOptions extends OusiConfigInit {
|
|
4673
4815
|
/** Prefix for component registration. Defaults to 'O'. */
|
|
4674
4816
|
prefix?: string;
|
|
4675
4817
|
}
|
|
@@ -4909,8 +5051,11 @@ export declare interface RangeCalendarProps {
|
|
|
4909
5051
|
maxValue?: CalendarDate;
|
|
4910
5052
|
/** Dates not available. */
|
|
4911
5053
|
unavailableDates?: CalendarDate[];
|
|
4912
|
-
/** Locale for month/day names. */
|
|
5054
|
+
/** Locale for month/day names. Falls back to the global config (useOusiConfig). */
|
|
4913
5055
|
locale?: string;
|
|
5056
|
+
/** First day of the week — 0=Sunday..6=Saturday. Falls back to config, then
|
|
5057
|
+
* to a locale-region heuristic. */
|
|
5058
|
+
firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
4914
5059
|
/** Show adjacent month days. */
|
|
4915
5060
|
showOutsideDays?: boolean;
|
|
4916
5061
|
/** Prevent selection. */
|
|
@@ -4950,6 +5095,9 @@ export declare const ratingTheme: (props?: ({
|
|
|
4950
5095
|
shadow?: "none" | "sm" | "xs" | null | undefined;
|
|
4951
5096
|
} & ClassProp) | undefined) => string;
|
|
4952
5097
|
|
|
5098
|
+
/** Clear cached children for a node and re-fetch. */
|
|
5099
|
+
declare function reload(key: string): Promise<void>;
|
|
5100
|
+
|
|
4953
5101
|
export declare type ResizableDirection = 'horizontal' | 'vertical';
|
|
4954
5102
|
|
|
4955
5103
|
export declare interface ResizableEmits {
|
|
@@ -5346,6 +5494,7 @@ export declare const tableBodyTheme: string;
|
|
|
5346
5494
|
export declare const tableCellTheme: (props?: ({
|
|
5347
5495
|
variant?: "primary" | "secondary" | null | undefined;
|
|
5348
5496
|
selected?: boolean | null | undefined;
|
|
5497
|
+
density?: "normal" | "compact" | "relaxed" | null | undefined;
|
|
5349
5498
|
} & ClassProp) | undefined) => string;
|
|
5350
5499
|
|
|
5351
5500
|
export declare interface TableColumn {
|
|
@@ -5357,6 +5506,11 @@ export declare interface TableColumn {
|
|
|
5357
5506
|
maxWidth?: number;
|
|
5358
5507
|
resizable?: boolean;
|
|
5359
5508
|
align?: 'left' | 'center' | 'right';
|
|
5509
|
+
/** Pin this column to the left or right edge while the table scrolls
|
|
5510
|
+
* horizontally. Multiple columns can be pinned to the same side — they stack
|
|
5511
|
+
* with cumulative offsets. Sticky columns must have an explicit numeric
|
|
5512
|
+
* `width` for the offset math to work; otherwise 120px is assumed. */
|
|
5513
|
+
sticky?: 'left' | 'right';
|
|
5360
5514
|
}
|
|
5361
5515
|
|
|
5362
5516
|
export declare const tableColumnTheme: (props?: ({
|
|
@@ -5367,10 +5521,20 @@ export declare const tableColumnTheme: (props?: ({
|
|
|
5367
5521
|
|
|
5368
5522
|
export declare const tableContentTheme = "w-full border-separate border-spacing-0 text-sm";
|
|
5369
5523
|
|
|
5524
|
+
export declare type TableDensity = 'compact' | 'normal' | 'relaxed';
|
|
5525
|
+
|
|
5370
5526
|
export declare interface TableEmits {
|
|
5371
5527
|
'selectionChange': [keys: Set<string>];
|
|
5372
|
-
'sortChange': [descriptor: SortDescriptor];
|
|
5528
|
+
'sortChange': [descriptor: SortDescriptor | SortDescriptor[]];
|
|
5529
|
+
'expansionChange': [keys: Set<string>];
|
|
5530
|
+
'update:hiddenColumns': [keys: Set<string>];
|
|
5373
5531
|
'rowAction': [key: string];
|
|
5532
|
+
/** Fired on right-click over a data row. Receives the row data and the
|
|
5533
|
+
* native event — call `event.preventDefault()` to suppress the browser's
|
|
5534
|
+
* native menu and show your own. */
|
|
5535
|
+
'rowContextMenu': [row: Record<string, any>, event: MouseEvent];
|
|
5536
|
+
/** Fired on right-click over a column header. */
|
|
5537
|
+
'columnContextMenu': [column: TableColumn, event: MouseEvent];
|
|
5374
5538
|
}
|
|
5375
5539
|
|
|
5376
5540
|
export declare const tableEmptyTheme = "py-12 text-center text-sm text-ousi-muted";
|
|
@@ -5379,6 +5543,7 @@ export declare const tableFooterTheme = "flex items-center px-4 py-2.5";
|
|
|
5379
5543
|
|
|
5380
5544
|
export declare const tableHeaderTheme: (props?: ({
|
|
5381
5545
|
variant?: "primary" | "secondary" | null | undefined;
|
|
5546
|
+
sticky?: boolean | null | undefined;
|
|
5382
5547
|
} & ClassProp) | undefined) => string;
|
|
5383
5548
|
|
|
5384
5549
|
export declare interface TableProps {
|
|
@@ -5394,14 +5559,27 @@ export declare interface TableProps {
|
|
|
5394
5559
|
shadow?: TableShadow;
|
|
5395
5560
|
/** Selection mode. */
|
|
5396
5561
|
selectionMode?: SelectionMode_2;
|
|
5562
|
+
/** Show the checkbox column when `selectionMode='multiple'`. When false, the
|
|
5563
|
+
* checkbox column is hidden and clicking anywhere on a row toggles its
|
|
5564
|
+
* selection. The select-all header checkbox is also hidden. Defaults to true. */
|
|
5565
|
+
showSelectionColumn?: boolean;
|
|
5397
5566
|
/** Controlled selected row keys. */
|
|
5398
5567
|
selectedKeys?: Set<string>;
|
|
5399
5568
|
/** Default selected keys. */
|
|
5400
5569
|
defaultSelectedKeys?: Set<string>;
|
|
5401
|
-
/** Controlled sort state. */
|
|
5570
|
+
/** Controlled sort state (single column). */
|
|
5402
5571
|
sortDescriptor?: SortDescriptor;
|
|
5403
|
-
/** Default sort state. */
|
|
5572
|
+
/** Default sort state (single column). */
|
|
5404
5573
|
defaultSortDescriptor?: SortDescriptor;
|
|
5574
|
+
/** Controlled sort state (multi-column). Used when `multiSort` is true. */
|
|
5575
|
+
sortDescriptors?: SortDescriptor[];
|
|
5576
|
+
/** Default sort state (multi-column). Used when `multiSort` is true. */
|
|
5577
|
+
defaultSortDescriptors?: SortDescriptor[];
|
|
5578
|
+
/** Allow sorting by multiple columns. shift+click on a header adds a secondary sort. */
|
|
5579
|
+
multiSort?: boolean;
|
|
5580
|
+
/** Skip the client-side sort. Use when sorting happens server-side and `:rows`
|
|
5581
|
+
* is already sorted. The component still emits `sort-change`. Defaults to false. */
|
|
5582
|
+
manualSort?: boolean;
|
|
5405
5583
|
/** Keys of disabled rows. */
|
|
5406
5584
|
disabledKeys?: Set<string>;
|
|
5407
5585
|
/** Show loading skeleton. */
|
|
@@ -5412,8 +5590,22 @@ export declare interface TableProps {
|
|
|
5412
5590
|
emptyContent?: string;
|
|
5413
5591
|
/** Show the footer slot area. */
|
|
5414
5592
|
showFooter?: boolean;
|
|
5415
|
-
/** Enable column resizing. */
|
|
5593
|
+
/** Enable column resizing — mouse drag or keyboard ArrowLeft/Right on a focused resizer. */
|
|
5416
5594
|
allowsResizing?: boolean;
|
|
5595
|
+
/** Stick the header to the top while the body scrolls. */
|
|
5596
|
+
stickyHeader?: boolean;
|
|
5597
|
+
/** Row height density. Defaults to 'normal'. */
|
|
5598
|
+
density?: TableDensity;
|
|
5599
|
+
/** Controlled set of hidden column keys. */
|
|
5600
|
+
hiddenColumns?: Set<string>;
|
|
5601
|
+
/** Default hidden columns (uncontrolled). */
|
|
5602
|
+
defaultHiddenColumns?: Set<string>;
|
|
5603
|
+
/** Show an expand toggle column — pair with the `#expanded-row` slot. */
|
|
5604
|
+
expandable?: boolean;
|
|
5605
|
+
/** Controlled expanded row keys. */
|
|
5606
|
+
expandedKeys?: Set<string>;
|
|
5607
|
+
/** Default expanded row keys. */
|
|
5608
|
+
defaultExpandedKeys?: Set<string>;
|
|
5417
5609
|
/** Additional CSS classes. */
|
|
5418
5610
|
class?: string;
|
|
5419
5611
|
}
|
|
@@ -5426,11 +5618,14 @@ export declare const tableRootTheme: (props?: ({
|
|
|
5426
5618
|
export declare const tableRowTheme: (props?: ({
|
|
5427
5619
|
disabled?: boolean | null | undefined;
|
|
5428
5620
|
clickable?: boolean | null | undefined;
|
|
5621
|
+
selectable?: boolean | null | undefined;
|
|
5429
5622
|
} & ClassProp) | undefined) => string;
|
|
5430
5623
|
|
|
5431
|
-
export declare const tableScrollContainerTheme
|
|
5624
|
+
export declare const tableScrollContainerTheme: (props?: ({
|
|
5625
|
+
stickyHeader?: boolean | null | undefined;
|
|
5626
|
+
} & ClassProp) | undefined) => string;
|
|
5432
5627
|
|
|
5433
|
-
declare type TableShadow = 'none' | 'xs' | 'sm' | 'md';
|
|
5628
|
+
export declare type TableShadow = 'none' | 'xs' | 'sm' | 'md';
|
|
5434
5629
|
|
|
5435
5630
|
export declare type TableVariant = 'primary' | 'secondary';
|
|
5436
5631
|
|
|
@@ -5630,7 +5825,10 @@ export declare interface TimeFieldProps {
|
|
|
5630
5825
|
modelValue?: TimeFieldValue | null;
|
|
5631
5826
|
/** Default time value. */
|
|
5632
5827
|
defaultValue?: TimeFieldValue | null;
|
|
5633
|
-
/**
|
|
5828
|
+
/** Locale used to infer hour12 when not explicitly set. Falls back to the
|
|
5829
|
+
* global config (useOusiConfig). */
|
|
5830
|
+
locale?: string;
|
|
5831
|
+
/** 12-hour format with an AM/PM segment. When omitted, inferred from the locale. */
|
|
5634
5832
|
hour12?: boolean;
|
|
5635
5833
|
/** Granularity of the picker. */
|
|
5636
5834
|
granularity?: TimeFieldGranularity;
|
|
@@ -5638,6 +5836,10 @@ export declare interface TimeFieldProps {
|
|
|
5638
5836
|
min?: TimeFieldValue;
|
|
5639
5837
|
/** Maximum allowed time. */
|
|
5640
5838
|
max?: TimeFieldValue;
|
|
5839
|
+
/** Visual variant. Defaults to 'primary'. */
|
|
5840
|
+
variant?: TimeFieldVariant;
|
|
5841
|
+
/** Size of the field. Defaults to 'md'. */
|
|
5842
|
+
size?: TimeFieldSize;
|
|
5641
5843
|
/** Elevation shadow. Defaults to 'xs'. */
|
|
5642
5844
|
shadow?: TimeFieldShadow;
|
|
5643
5845
|
/** Enable tactile press animation (scale on focus). Defaults to false. */
|
|
@@ -5654,12 +5856,16 @@ export declare interface TimeFieldProps {
|
|
|
5654
5856
|
|
|
5655
5857
|
declare type TimeFieldShadow = 'none' | 'xs' | 'sm' | 'md';
|
|
5656
5858
|
|
|
5859
|
+
declare type TimeFieldSize = 'sm' | 'md' | 'lg';
|
|
5860
|
+
|
|
5657
5861
|
export declare interface TimeFieldValue {
|
|
5658
5862
|
hour: number;
|
|
5659
5863
|
minute: number;
|
|
5660
5864
|
second?: number;
|
|
5661
5865
|
}
|
|
5662
5866
|
|
|
5867
|
+
declare type TimeFieldVariant = 'primary' | 'secondary';
|
|
5868
|
+
|
|
5663
5869
|
export declare type TimelineAlign = 'left' | 'right' | 'alternate';
|
|
5664
5870
|
|
|
5665
5871
|
/** Connector line between markers. */
|
|
@@ -5788,7 +5994,10 @@ export declare interface TimePickerProps {
|
|
|
5788
5994
|
description?: string;
|
|
5789
5995
|
/** Error message — replaces description when present. */
|
|
5790
5996
|
errorMessage?: string;
|
|
5791
|
-
/**
|
|
5997
|
+
/** Locale for AM/PM labels and clock conventions. Falls back to the global
|
|
5998
|
+
* config (useOusiConfig). */
|
|
5999
|
+
locale?: string;
|
|
6000
|
+
/** 12-hour format with an AM/PM column. When omitted, inferred from the locale. */
|
|
5792
6001
|
hour12?: boolean;
|
|
5793
6002
|
/** Granularity of the picker. Defaults to 'minute'. */
|
|
5794
6003
|
granularity?: TimeFieldGranularity;
|
|
@@ -5808,6 +6017,8 @@ export declare interface TimePickerProps {
|
|
|
5808
6017
|
required?: boolean;
|
|
5809
6018
|
/** Visual variant of the field. Defaults to 'primary'. */
|
|
5810
6019
|
variant?: 'primary' | 'secondary';
|
|
6020
|
+
/** Size of the field. Defaults to 'md'. */
|
|
6021
|
+
size?: TimePickerSize;
|
|
5811
6022
|
/** Elevation shadow on the trigger. Defaults to 'xs'. */
|
|
5812
6023
|
shadow?: TimePickerShadow;
|
|
5813
6024
|
/** Enable tactile press animation (scale on focus). Defaults to false. */
|
|
@@ -5820,9 +6031,12 @@ export declare interface TimePickerProps {
|
|
|
5820
6031
|
|
|
5821
6032
|
export declare type TimePickerShadow = 'none' | 'xs' | 'sm' | 'md';
|
|
5822
6033
|
|
|
6034
|
+
declare type TimePickerSize = 'sm' | 'md' | 'lg';
|
|
6035
|
+
|
|
5823
6036
|
/** Trigger button — looks like a field, opens the wheels popover. */
|
|
5824
6037
|
export declare const timePickerTriggerTheme: (props?: ({
|
|
5825
6038
|
variant?: "primary" | "secondary" | null | undefined;
|
|
6039
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5826
6040
|
shadow?: "none" | "sm" | "md" | "xs" | null | undefined;
|
|
5827
6041
|
animated?: boolean | null | undefined;
|
|
5828
6042
|
} & ClassProp) | undefined) => string;
|
|
@@ -5909,6 +6123,8 @@ declare function toggle(): void;
|
|
|
5909
6123
|
|
|
5910
6124
|
declare function toggle_2(): void;
|
|
5911
6125
|
|
|
6126
|
+
declare function toggleColumn(key: string): void;
|
|
6127
|
+
|
|
5912
6128
|
/** Plain tooltip config — static values, no refs/getters. */
|
|
5913
6129
|
export declare interface TooltipConfig {
|
|
5914
6130
|
content: string;
|
|
@@ -5965,32 +6181,78 @@ export declare const tooltipTriggerTheme: string;
|
|
|
5965
6181
|
export declare interface TreeNode {
|
|
5966
6182
|
key: string;
|
|
5967
6183
|
label: string;
|
|
6184
|
+
/** SVG path data ('d' attribute) or a custom string the #icon slot may interpret. */
|
|
5968
6185
|
icon?: string;
|
|
5969
6186
|
children?: TreeNode[];
|
|
6187
|
+
/** Signal that children are loaded async. The tree shows a chevron, and on
|
|
6188
|
+
* expand it calls the `loadChildren` prop. Children are cached after load. */
|
|
6189
|
+
isAsync?: boolean;
|
|
5970
6190
|
disabled?: boolean;
|
|
5971
6191
|
}
|
|
5972
6192
|
|
|
5973
|
-
export declare
|
|
6193
|
+
export declare type TreeSelectionMode = 'none' | 'single' | 'multiple';
|
|
6194
|
+
|
|
6195
|
+
/** Empty 16px spacer rendered for leaf nodes so labels align with their siblings. */
|
|
6196
|
+
export declare const treeViewChevronSpacerTheme = "size-4 shrink-0";
|
|
6197
|
+
|
|
6198
|
+
/** Chevron arrow on parent nodes. Rotates 90deg when expanded. */
|
|
6199
|
+
export declare const treeViewChevronTheme: string;
|
|
5974
6200
|
|
|
5975
|
-
|
|
6201
|
+
/** Vertical line + indentation for the children block. */
|
|
6202
|
+
export declare const treeViewChildrenTheme = "pl-4 ml-2 border-l border-ousi-border/30";
|
|
5976
6203
|
|
|
5977
6204
|
export declare interface TreeViewEmits {
|
|
6205
|
+
/** Selection changed (single-select). */
|
|
5978
6206
|
'select': [key: string, node: TreeNode];
|
|
6207
|
+
/** Node expanded. */
|
|
5979
6208
|
'expand': [key: string];
|
|
6209
|
+
/** Node collapsed. */
|
|
5980
6210
|
'collapse': [key: string];
|
|
6211
|
+
/** v-model:selectedKey (single-select). */
|
|
6212
|
+
'update:selectedKey': [key: string];
|
|
6213
|
+
/** v-model:selectedKeys (multi-select). */
|
|
6214
|
+
'update:selectedKeys': [keys: Set<string>];
|
|
6215
|
+
/** v-model:expandedKeys. */
|
|
6216
|
+
'update:expandedKeys': [keys: Set<string>];
|
|
5981
6217
|
}
|
|
5982
6218
|
|
|
5983
|
-
|
|
6219
|
+
/** Built-in icon rendering — uses the node.icon as an SVG path 'd' attribute. */
|
|
6220
|
+
export declare const treeViewIconTheme = "size-4 text-ousi-muted shrink-0";
|
|
6221
|
+
|
|
6222
|
+
/** A row in the tree — the chevron + checkbox + icon + label container. */
|
|
6223
|
+
export declare const treeViewNodeTheme: (props?: ({
|
|
6224
|
+
selected?: boolean | null | undefined;
|
|
6225
|
+
disabled?: boolean | null | undefined;
|
|
6226
|
+
} & ClassProp) | undefined) => string;
|
|
5984
6227
|
|
|
5985
6228
|
export declare interface TreeViewProps {
|
|
6229
|
+
/** Root nodes of the tree. */
|
|
5986
6230
|
nodes: TreeNode[];
|
|
5987
|
-
|
|
5988
|
-
|
|
6231
|
+
/** Selection mode. Default: 'none'. */
|
|
6232
|
+
selectionMode?: TreeSelectionMode;
|
|
6233
|
+
/** Controlled selected key (single-select shorthand). */
|
|
5989
6234
|
selectedKey?: string;
|
|
6235
|
+
/** Default selected key (uncontrolled, single-select). */
|
|
6236
|
+
defaultSelectedKey?: string;
|
|
6237
|
+
/** Controlled set of selected keys (multi-select). */
|
|
6238
|
+
selectedKeys?: Set<string>;
|
|
6239
|
+
/** Default selected keys (uncontrolled, multi-select). */
|
|
6240
|
+
defaultSelectedKeys?: Set<string>;
|
|
6241
|
+
/** Controlled set of expanded keys. */
|
|
6242
|
+
expandedKeys?: Set<string>;
|
|
6243
|
+
/** Default expanded keys (uncontrolled). */
|
|
6244
|
+
defaultExpandedKeys?: Set<string>;
|
|
6245
|
+
/** Also toggle expansion when the user clicks the label (not just the chevron). Default: false. */
|
|
6246
|
+
expandOnLabelClick?: boolean;
|
|
6247
|
+
/** Async loader for children. Called the first time a node with `isAsync: true`
|
|
6248
|
+
* is expanded. Returned children are cached until `reload(key)` is called.
|
|
6249
|
+
* Throw / reject to mark the node as failed — the user can retry by clicking. */
|
|
6250
|
+
loadChildren?: (node: TreeNode) => Promise<TreeNode[]>;
|
|
6251
|
+
/** Additional CSS classes. */
|
|
5990
6252
|
class?: string;
|
|
5991
6253
|
}
|
|
5992
6254
|
|
|
5993
|
-
export declare const treeViewTheme = "w-full text-sm";
|
|
6255
|
+
export declare const treeViewTheme = "w-full text-sm select-none";
|
|
5994
6256
|
|
|
5995
6257
|
declare function triggerClearOnError(): Promise<void>;
|
|
5996
6258
|
|
|
@@ -6013,6 +6275,12 @@ export declare const typewriterTheme = "inline";
|
|
|
6013
6275
|
|
|
6014
6276
|
export declare function useFormContext(): FormContext | undefined;
|
|
6015
6277
|
|
|
6278
|
+
/**
|
|
6279
|
+
* Access the global Ousi UI config. Returns refs that you can read or write
|
|
6280
|
+
* directly — changes propagate reactively to all components consuming them.
|
|
6281
|
+
*/
|
|
6282
|
+
export declare function useOusiConfig(): OusiConfig;
|
|
6283
|
+
|
|
6016
6284
|
/**
|
|
6017
6285
|
* Headless tooltip logic — floating-ui positioning, show/hide with delays,
|
|
6018
6286
|
* arrow placement, and enter-animation geometry. Consumed by both the
|
|
@@ -6069,4 +6337,6 @@ declare const vTooltip: ObjectDirective<HTMLElement, TooltipDirectiveBinding | u
|
|
|
6069
6337
|
export { vTooltip as tooltipDirective }
|
|
6070
6338
|
export { vTooltip }
|
|
6071
6339
|
|
|
6340
|
+
export declare type WeekDay = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
6341
|
+
|
|
6072
6342
|
export { }
|