@ousi-ui/vue 0.7.0 → 0.7.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.
- package/README.md +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.d.ts +29 -0
- package/dist/index.mjs +9930 -9819
- package/dist/vue.css +1 -1
- package/package.json +15 -15
- package/LICENSE +0 -21
package/dist/index.d.ts
CHANGED
|
@@ -97,6 +97,7 @@ disabled: boolean;
|
|
|
97
97
|
animated: boolean;
|
|
98
98
|
required: boolean;
|
|
99
99
|
multiple: boolean;
|
|
100
|
+
autoSelectSingle: boolean;
|
|
100
101
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
101
102
|
triggerRef: HTMLButtonElement;
|
|
102
103
|
popoverRef: HTMLDivElement;
|
|
@@ -359,6 +360,7 @@ animated: boolean;
|
|
|
359
360
|
required: boolean;
|
|
360
361
|
readonly: boolean;
|
|
361
362
|
clearable: boolean;
|
|
363
|
+
autoSelectSingle: boolean;
|
|
362
364
|
scrollShadow: boolean;
|
|
363
365
|
allowCustomValue: boolean;
|
|
364
366
|
emptyMessage: string;
|
|
@@ -508,6 +510,8 @@ levels: number;
|
|
|
508
510
|
emptyColor: string;
|
|
509
511
|
columnLabelsPosition: "top" | "bottom";
|
|
510
512
|
columnLabelAlign: "center" | "start";
|
|
513
|
+
minCellWidth: number;
|
|
514
|
+
scrollTo: "start" | "end";
|
|
511
515
|
cellHeight: number;
|
|
512
516
|
cellRadius: number;
|
|
513
517
|
showRowLabels: boolean;
|
|
@@ -515,6 +519,7 @@ showColumnLabels: boolean;
|
|
|
515
519
|
legendLabels: [string, string];
|
|
516
520
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
517
521
|
root: HTMLDivElement;
|
|
522
|
+
scroller: HTMLDivElement;
|
|
518
523
|
}, HTMLDivElement>;
|
|
519
524
|
|
|
520
525
|
declare const __VLS_component_47: DefineComponent<AreaChartProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -1593,6 +1598,7 @@ declare function __VLS_template_46(): {
|
|
|
1593
1598
|
slots: Readonly<HeatmapSlots> & HeatmapSlots;
|
|
1594
1599
|
refs: {
|
|
1595
1600
|
root: HTMLDivElement;
|
|
1601
|
+
scroller: HTMLDivElement;
|
|
1596
1602
|
};
|
|
1597
1603
|
rootEl: HTMLDivElement;
|
|
1598
1604
|
};
|
|
@@ -3055,6 +3061,8 @@ export declare interface AutocompleteProps {
|
|
|
3055
3061
|
readonly?: boolean;
|
|
3056
3062
|
/** Whether a value is required. */
|
|
3057
3063
|
required?: boolean;
|
|
3064
|
+
/** Pick the only enabled option when the field is empty. Defaults to the global `autoSelectSingle` config for required fields. */
|
|
3065
|
+
autoSelectSingle?: boolean;
|
|
3058
3066
|
/** Show clear button. */
|
|
3059
3067
|
clearable?: boolean;
|
|
3060
3068
|
/** Allow values not in the options list. */
|
|
@@ -5082,6 +5090,11 @@ export declare interface HeatmapProps {
|
|
|
5082
5090
|
tooltip?: boolean;
|
|
5083
5091
|
/** Text of the built-in tooltip and aria label. Defaults to "row · column: value". */
|
|
5084
5092
|
cellLabel?: (cell: HeatmapCell) => string;
|
|
5093
|
+
/** Narrowest a cell is drawn, in px. When the columns would need less, the grid scrolls sideways
|
|
5094
|
+
* (with an edge fade) instead of shrinking the cells to dust. 0 means the grid always fits. */
|
|
5095
|
+
minCellWidth?: number;
|
|
5096
|
+
/** Where a scrolling grid starts. `end` shows the latest columns first (a calendar). */
|
|
5097
|
+
scrollTo?: 'start' | 'end';
|
|
5085
5098
|
/** Space between cells in px. */
|
|
5086
5099
|
gap?: number;
|
|
5087
5100
|
/** Cell height in px. Width is fluid. */
|
|
@@ -6168,11 +6181,13 @@ export declare const OSankey: DefineComponent<SankeyProps, {}, {}, {}, {}, Compo
|
|
|
6168
6181
|
}>, {
|
|
6169
6182
|
height: number;
|
|
6170
6183
|
animated: boolean;
|
|
6184
|
+
minWidth: number;
|
|
6171
6185
|
interactive: boolean;
|
|
6172
6186
|
showLabels: boolean;
|
|
6173
6187
|
nodeWidth: number;
|
|
6174
6188
|
nodePadding: number;
|
|
6175
6189
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
6190
|
+
scroller: HTMLDivElement;
|
|
6176
6191
|
root: HTMLDivElement;
|
|
6177
6192
|
}, HTMLDivElement>;
|
|
6178
6193
|
|
|
@@ -6387,6 +6402,8 @@ export declare interface OusiConfig {
|
|
|
6387
6402
|
dir: Ref<'ltr' | 'rtl'>;
|
|
6388
6403
|
/** Backdrop of dialogs and drawers that don't set their own. Defaults to 'opaque'. */
|
|
6389
6404
|
backdrop: Ref<OverlayBackdrop>;
|
|
6405
|
+
/** Required OSelect and OAutocomplete fields with exactly one option pick it. Defaults to false. */
|
|
6406
|
+
autoSelectSingle: Ref<boolean>;
|
|
6390
6407
|
}
|
|
6391
6408
|
|
|
6392
6409
|
export declare interface OusiConfigInit {
|
|
@@ -6395,6 +6412,7 @@ export declare interface OusiConfigInit {
|
|
|
6395
6412
|
firstDayOfWeek?: WeekDay;
|
|
6396
6413
|
dir?: 'ltr' | 'rtl';
|
|
6397
6414
|
backdrop?: OverlayBackdrop;
|
|
6415
|
+
autoSelectSingle?: boolean;
|
|
6398
6416
|
}
|
|
6399
6417
|
|
|
6400
6418
|
/** Texts the components render on their own: placeholders, buttons and accessible names. */
|
|
@@ -6425,6 +6443,12 @@ export declare interface OusiMessages {
|
|
|
6425
6443
|
openCalendar: string;
|
|
6426
6444
|
datePicker: string;
|
|
6427
6445
|
dateField: string;
|
|
6446
|
+
year: string;
|
|
6447
|
+
month: string;
|
|
6448
|
+
day: string;
|
|
6449
|
+
yearPlaceholder: string;
|
|
6450
|
+
monthPlaceholder: string;
|
|
6451
|
+
dayPlaceholder: string;
|
|
6428
6452
|
dateRangePicker: string;
|
|
6429
6453
|
dateRangeCalendar: string;
|
|
6430
6454
|
timePicker: string;
|
|
@@ -6933,6 +6957,9 @@ export declare interface SankeyProps {
|
|
|
6933
6957
|
/** Highlighted element: `node:<index>` or `link:<index>`. Supports v-model:focused. */
|
|
6934
6958
|
focused?: SankeyFocus | null;
|
|
6935
6959
|
animated?: boolean;
|
|
6960
|
+
/** Narrowest the diagram is drawn (default 400). In a narrower container it scrolls sideways instead of
|
|
6961
|
+
* squeezing the flows, with an edge fade. Set 0 to always fit the container. */
|
|
6962
|
+
minWidth?: number;
|
|
6936
6963
|
/** Space for the labels on the sides, in px. */
|
|
6937
6964
|
padding?: {
|
|
6938
6965
|
left?: number;
|
|
@@ -7131,6 +7158,8 @@ export declare interface SelectProps {
|
|
|
7131
7158
|
disabled?: boolean;
|
|
7132
7159
|
/** Whether the select is required. */
|
|
7133
7160
|
required?: boolean;
|
|
7161
|
+
/** Pick the only enabled option when the field is empty. Defaults to the global `autoSelectSingle` config for required fields. */
|
|
7162
|
+
autoSelectSingle?: boolean;
|
|
7134
7163
|
/** Haptic feedback on option select. Pass false to disable. */
|
|
7135
7164
|
haptic?: HapticInput;
|
|
7136
7165
|
/** Additional CSS classes on the outer container. */
|