@omnia/fx 8.0.260-dev → 8.0.262-dev
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/internal-do-not-import-from-here/services/SecretsService.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/features/stores/FeatureJourneyStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.d.ts +4 -262
- package/internal-do-not-import-from-here/ux/oxide/avatar/Avatar.d.ts +4 -159
- package/internal-do-not-import-from-here/ux/oxide/badge/Badge.d.ts +3 -455
- package/internal-do-not-import-from-here/ux/oxide/btngroup/ButtonGroup.d.ts +4 -224
- package/internal-do-not-import-from-here/ux/oxide/calendar/Calendar.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/card/Card.d.ts +3 -145
- package/internal-do-not-import-from-here/ux/oxide/chart/Chart.d.ts +5 -143
- package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.d.ts +4 -273
- package/internal-do-not-import-from-here/ux/oxide/chip/Chip.d.ts +4 -257
- package/internal-do-not-import-from-here/ux/oxide/datepicker/DatePicker.d.ts +1 -242
- package/internal-do-not-import-from-here/ux/use/UseValidation.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/use/index.d.ts +1 -1
- package/package.json +2 -2
@@ -1,7 +1,7 @@
|
|
1
1
|
import { DefineProp, DefinePropTheming, DefineSlot, DefineVModel, EventType } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
declare const defaultWeekDays: number[];
|
4
|
-
type CalendarProps<T extends EventType> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", Date[], false, null,
|
4
|
+
type CalendarProps<T extends EventType> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", Date[], false, null, true, "The v-model of the component"> & DefineProp<"events", T[], false, null, "Array of events specific to this interval."> & DefineProp<"viewMode", "month" | "day" | "week", false, "month", "The current view mode of the calendar."> & DefineProp<"weekdays", number[], false, typeof defaultWeekDays, "Specifies which days of the week to display.Default is [0, 1, 2, 3, 4, 5, 6]"> & DefineProp<"year", number, false, null, "Specifies the year for the calendar view."> & DefineProp<"month", number, false, null, "Specifies the month for the calendar view."> & DefineProp<"intervalHeight", number, false, null, "Height of the interval in pixels in the calendar view."> & DefineProp<"intervals", number, false, 24, "Total number of intervals in a day view."> & DefineProp<"intervalStart", number, false, 0, "Starting time for this specific interval."> & DefineProp<"max", Date, false, null, "Maximum date or value that can be selected."> & DefineProp<"min", Date, false, null, "Minimum date or value that can be selected."> & DefineProp<"hideWeekNumber", boolean, false, false, "Toggles the display of week numbers in a calendar view."> & DefineProp<"hideDayHeader", boolean, false, false, "Determines whether the day header is visible in the calendar day view."> & DefineProp<"hideHeader", boolean, false, false, "Determines whether the header is hidden in the calendar view."> & DefineProp<"allowedDates", Date[] | ((date: Date) => boolean), false, null, "Determines which dates are selectable."> & DefineSlot<"event", (event: {
|
5
5
|
day: Date;
|
6
6
|
allDay: boolean;
|
7
7
|
event: T;
|
@@ -1,147 +1,5 @@
|
|
1
|
+
import { DefineProp, DefinePropTheming, DefineSlot } from "@omnia/fx/ux";
|
1
2
|
import { VNodeChild } from "vue";
|
2
|
-
|
3
|
-
|
4
|
-
"v-slots": import("vue").Prop<{
|
5
|
-
default?: import("../../DefineVueTypings").Slot;
|
6
|
-
} & {
|
7
|
-
actions?: () => VNodeChild;
|
8
|
-
}>;
|
9
|
-
height: {
|
10
|
-
type: import("vue").PropType<string | number>;
|
11
|
-
};
|
12
|
-
toned: {
|
13
|
-
type: import("vue").PropType<boolean>;
|
14
|
-
};
|
15
|
-
class: {
|
16
|
-
type: import("vue").PropType<String | String[]>;
|
17
|
-
required: boolean;
|
18
|
-
};
|
19
|
-
colorSchemaType: {
|
20
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
|
21
|
-
required: boolean;
|
22
|
-
};
|
23
|
-
container: {
|
24
|
-
type: BooleanConstructor;
|
25
|
-
required: boolean;
|
26
|
-
};
|
27
|
-
colors: {
|
28
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
29
|
-
required: boolean;
|
30
|
-
};
|
31
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
32
|
-
"v-slots": import("vue").Prop<{
|
33
|
-
default?: import("../../DefineVueTypings").Slot;
|
34
|
-
} & {
|
35
|
-
actions?: () => VNodeChild;
|
36
|
-
}>;
|
37
|
-
height: {
|
38
|
-
type: import("vue").PropType<string | number>;
|
39
|
-
};
|
40
|
-
toned: {
|
41
|
-
type: import("vue").PropType<boolean>;
|
42
|
-
};
|
43
|
-
class: {
|
44
|
-
type: import("vue").PropType<String | String[]>;
|
45
|
-
required: boolean;
|
46
|
-
};
|
47
|
-
colorSchemaType: {
|
48
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
|
49
|
-
required: boolean;
|
50
|
-
};
|
51
|
-
container: {
|
52
|
-
type: BooleanConstructor;
|
53
|
-
required: boolean;
|
54
|
-
};
|
55
|
-
colors: {
|
56
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
57
|
-
required: boolean;
|
58
|
-
};
|
59
|
-
}>>, {
|
60
|
-
container: boolean;
|
61
|
-
}, true, {}, {}, {
|
62
|
-
P: {};
|
63
|
-
B: {};
|
64
|
-
D: {};
|
65
|
-
C: {};
|
66
|
-
M: {};
|
67
|
-
Defaults: {};
|
68
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
69
|
-
"v-slots": import("vue").Prop<{
|
70
|
-
default?: import("../../DefineVueTypings").Slot;
|
71
|
-
} & {
|
72
|
-
actions?: () => VNodeChild;
|
73
|
-
}>;
|
74
|
-
height: {
|
75
|
-
type: import("vue").PropType<string | number>;
|
76
|
-
};
|
77
|
-
toned: {
|
78
|
-
type: import("vue").PropType<boolean>;
|
79
|
-
};
|
80
|
-
class: {
|
81
|
-
type: import("vue").PropType<String | String[]>;
|
82
|
-
required: boolean;
|
83
|
-
};
|
84
|
-
colorSchemaType: {
|
85
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
|
86
|
-
required: boolean;
|
87
|
-
};
|
88
|
-
container: {
|
89
|
-
type: BooleanConstructor;
|
90
|
-
required: boolean;
|
91
|
-
};
|
92
|
-
colors: {
|
93
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
94
|
-
required: boolean;
|
95
|
-
};
|
96
|
-
}>>, () => JSX.Element, {}, {}, {}, {
|
97
|
-
container: boolean;
|
98
|
-
}>;
|
99
|
-
__isFragment?: never;
|
100
|
-
__isTeleport?: never;
|
101
|
-
__isSuspense?: never;
|
102
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
103
|
-
"v-slots": import("vue").Prop<{
|
104
|
-
default?: import("../../DefineVueTypings").Slot;
|
105
|
-
} & {
|
106
|
-
actions?: () => VNodeChild;
|
107
|
-
}>;
|
108
|
-
height: {
|
109
|
-
type: import("vue").PropType<string | number>;
|
110
|
-
};
|
111
|
-
toned: {
|
112
|
-
type: import("vue").PropType<boolean>;
|
113
|
-
};
|
114
|
-
class: {
|
115
|
-
type: import("vue").PropType<String | String[]>;
|
116
|
-
required: boolean;
|
117
|
-
};
|
118
|
-
colorSchemaType: {
|
119
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
|
120
|
-
required: boolean;
|
121
|
-
};
|
122
|
-
container: {
|
123
|
-
type: BooleanConstructor;
|
124
|
-
required: boolean;
|
125
|
-
};
|
126
|
-
colors: {
|
127
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
128
|
-
required: boolean;
|
129
|
-
};
|
130
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
131
|
-
container: boolean;
|
132
|
-
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
133
|
-
propsDefinition: Omit<Readonly<{} & {
|
134
|
-
container?: boolean;
|
135
|
-
class?: String | String[];
|
136
|
-
height?: string | number;
|
137
|
-
colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
138
|
-
toned?: boolean;
|
139
|
-
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
140
|
-
"v-slots"?: {
|
141
|
-
default?: import("../../DefineVueTypings").Slot;
|
142
|
-
} & {
|
143
|
-
actions?: () => VNodeChild;
|
144
|
-
};
|
145
|
-
}>, never>;
|
146
|
-
};
|
3
|
+
type CardProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"toned", boolean, false, false> & DefineProp<"color", string, false, null, "The color of the component."> & DefineProp<"height", string | number, false, null, "Sets the height for the component."> & DefineSlot<"actions", () => VNodeChild>;
|
4
|
+
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<CardProps>) => any;
|
147
5
|
export default _default;
|
@@ -1,144 +1,6 @@
|
|
1
|
-
import { OChartData, OChartOptions } from "@omnia/fx-models";
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
};
|
7
|
-
variant: {
|
8
|
-
type: import("vue").PropType<"line" | "bar" | "pie">;
|
9
|
-
required: false;
|
10
|
-
};
|
11
|
-
options: {
|
12
|
-
type: import("vue").PropType<OChartOptions<"line" | "bar" | "pie">>;
|
13
|
-
required: false;
|
14
|
-
};
|
15
|
-
data: {
|
16
|
-
type: import("vue").PropType<OChartData<"line" | "bar" | "pie">>;
|
17
|
-
required: true;
|
18
|
-
};
|
19
|
-
colorSchemaType: {
|
20
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
|
21
|
-
required: boolean;
|
22
|
-
};
|
23
|
-
container: {
|
24
|
-
type: BooleanConstructor;
|
25
|
-
required: boolean;
|
26
|
-
};
|
27
|
-
colors: {
|
28
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
29
|
-
required: boolean;
|
30
|
-
};
|
31
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
32
|
-
height: {
|
33
|
-
type: import("vue").PropType<number>;
|
34
|
-
};
|
35
|
-
variant: {
|
36
|
-
type: import("vue").PropType<"line" | "bar" | "pie">;
|
37
|
-
required: false;
|
38
|
-
};
|
39
|
-
options: {
|
40
|
-
type: import("vue").PropType<OChartOptions<"line" | "bar" | "pie">>;
|
41
|
-
required: false;
|
42
|
-
};
|
43
|
-
data: {
|
44
|
-
type: import("vue").PropType<OChartData<"line" | "bar" | "pie">>;
|
45
|
-
required: true;
|
46
|
-
};
|
47
|
-
colorSchemaType: {
|
48
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
|
49
|
-
required: boolean;
|
50
|
-
};
|
51
|
-
container: {
|
52
|
-
type: BooleanConstructor;
|
53
|
-
required: boolean;
|
54
|
-
};
|
55
|
-
colors: {
|
56
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
57
|
-
required: boolean;
|
58
|
-
};
|
59
|
-
}>>, {
|
60
|
-
container: boolean;
|
61
|
-
}, true, {}, {}, {
|
62
|
-
P: {};
|
63
|
-
B: {};
|
64
|
-
D: {};
|
65
|
-
C: {};
|
66
|
-
M: {};
|
67
|
-
Defaults: {};
|
68
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
69
|
-
height: {
|
70
|
-
type: import("vue").PropType<number>;
|
71
|
-
};
|
72
|
-
variant: {
|
73
|
-
type: import("vue").PropType<"line" | "bar" | "pie">;
|
74
|
-
required: false;
|
75
|
-
};
|
76
|
-
options: {
|
77
|
-
type: import("vue").PropType<OChartOptions<"line" | "bar" | "pie">>;
|
78
|
-
required: false;
|
79
|
-
};
|
80
|
-
data: {
|
81
|
-
type: import("vue").PropType<OChartData<"line" | "bar" | "pie">>;
|
82
|
-
required: true;
|
83
|
-
};
|
84
|
-
colorSchemaType: {
|
85
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
|
86
|
-
required: boolean;
|
87
|
-
};
|
88
|
-
container: {
|
89
|
-
type: BooleanConstructor;
|
90
|
-
required: boolean;
|
91
|
-
};
|
92
|
-
colors: {
|
93
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
94
|
-
required: boolean;
|
95
|
-
};
|
96
|
-
}>>, () => JSX.Element, {}, {}, {}, {
|
97
|
-
container: boolean;
|
98
|
-
}>;
|
99
|
-
__isFragment?: never;
|
100
|
-
__isTeleport?: never;
|
101
|
-
__isSuspense?: never;
|
102
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
103
|
-
height: {
|
104
|
-
type: import("vue").PropType<number>;
|
105
|
-
};
|
106
|
-
variant: {
|
107
|
-
type: import("vue").PropType<"line" | "bar" | "pie">;
|
108
|
-
required: false;
|
109
|
-
};
|
110
|
-
options: {
|
111
|
-
type: import("vue").PropType<OChartOptions<"line" | "bar" | "pie">>;
|
112
|
-
required: false;
|
113
|
-
};
|
114
|
-
data: {
|
115
|
-
type: import("vue").PropType<OChartData<"line" | "bar" | "pie">>;
|
116
|
-
required: true;
|
117
|
-
};
|
118
|
-
colorSchemaType: {
|
119
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
|
120
|
-
required: boolean;
|
121
|
-
};
|
122
|
-
container: {
|
123
|
-
type: BooleanConstructor;
|
124
|
-
required: boolean;
|
125
|
-
};
|
126
|
-
colors: {
|
127
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
128
|
-
required: boolean;
|
129
|
-
};
|
130
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
131
|
-
container: boolean;
|
132
|
-
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
133
|
-
propsDefinition: Omit<Readonly<{
|
134
|
-
data: OChartData<"line" | "bar" | "pie">;
|
135
|
-
} & {
|
136
|
-
container?: boolean;
|
137
|
-
options?: OChartOptions<"line" | "bar" | "pie">;
|
138
|
-
height?: number;
|
139
|
-
colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
140
|
-
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
141
|
-
variant?: "line" | "bar" | "pie";
|
142
|
-
}>, never>;
|
143
|
-
};
|
1
|
+
import { OChartData, OChartOptions, OChartVariants } from "@omnia/fx-models";
|
2
|
+
import { DefineProp, DefinePropTheming } from "@omnia/fx/ux";
|
3
|
+
declare const emptyOptions: {};
|
4
|
+
type ChartProps = DefinePropTheming & DefineProp<"data", OChartData<OChartVariants>, true, null, "Specify the chart's data. Follow the structure of Chartjs's ChartData."> & DefineProp<"options", OChartOptions<OChartVariants>, false, typeof emptyOptions, "Specify the chart's options. Follow the structure of Chartjs's ChartOptions."> & DefineProp<"variant", OChartVariants, false, "bar", "Type of chart to render."> & DefineProp<"height", number, false, null, "The height of the chart.">;
|
5
|
+
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<ChartProps>) => any;
|
144
6
|
export default _default;
|
@@ -1,275 +1,6 @@
|
|
1
|
-
import { MaybeComputedRef, ValidationRule } from "@omnia/fx/ux";
|
1
|
+
import { DefineProp, DefinePropTheming, DefineSlot, DefineVModel, MaybeComputedRef, ValidationRule } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
|
-
|
4
|
-
|
5
|
-
declare const _default:
|
6
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
7
|
-
"v-slots": import("vue").Prop<{
|
8
|
-
default?: import("../../DefineVueTypings").Slot;
|
9
|
-
} & {
|
10
|
-
label?: () => VNodeChild;
|
11
|
-
}>;
|
12
|
-
persistentHint: {
|
13
|
-
type: import("vue").PropType<boolean>;
|
14
|
-
required: false;
|
15
|
-
};
|
16
|
-
hint: {
|
17
|
-
type: import("vue").PropType<string>;
|
18
|
-
required: false;
|
19
|
-
};
|
20
|
-
disabled: {
|
21
|
-
type: import("vue").PropType<boolean>;
|
22
|
-
};
|
23
|
-
value: {
|
24
|
-
type: import("vue").PropType<any>;
|
25
|
-
};
|
26
|
-
label: {
|
27
|
-
type: import("vue").PropType<string>;
|
28
|
-
};
|
29
|
-
rules: {
|
30
|
-
type: import("vue").PropType<ValidationRule[]>;
|
31
|
-
required: false;
|
32
|
-
};
|
33
|
-
"onUpdate:modelValue": {
|
34
|
-
type: import("vue").PropType<(value: string[] | MaybeComputedRef<boolean>) => any | void>;
|
35
|
-
};
|
36
|
-
"v-model": {
|
37
|
-
type: import("vue").PropType<string[] | MaybeComputedRef<boolean>>;
|
38
|
-
required: false;
|
39
|
-
};
|
40
|
-
modelValue: {
|
41
|
-
type: import("vue").PropType<string[] | MaybeComputedRef<boolean>>;
|
42
|
-
required: false;
|
43
|
-
};
|
44
|
-
class: {
|
45
|
-
type: import("vue").PropType<String | String[]>;
|
46
|
-
required: boolean;
|
47
|
-
};
|
48
|
-
colorSchemaType: {
|
49
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
|
50
|
-
required: boolean;
|
51
|
-
};
|
52
|
-
container: {
|
53
|
-
type: BooleanConstructor;
|
54
|
-
required: boolean;
|
55
|
-
};
|
56
|
-
colors: {
|
57
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
58
|
-
required: boolean;
|
59
|
-
};
|
60
|
-
}>> & {
|
61
|
-
"onUpdate:modelValue"?: (value: any) => any;
|
62
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
63
|
-
"update:modelValue": (value: any) => true;
|
64
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
65
|
-
"v-slots": import("vue").Prop<{
|
66
|
-
default?: import("../../DefineVueTypings").Slot;
|
67
|
-
} & {
|
68
|
-
label?: () => VNodeChild;
|
69
|
-
}>;
|
70
|
-
persistentHint: {
|
71
|
-
type: import("vue").PropType<boolean>;
|
72
|
-
required: false;
|
73
|
-
};
|
74
|
-
hint: {
|
75
|
-
type: import("vue").PropType<string>;
|
76
|
-
required: false;
|
77
|
-
};
|
78
|
-
disabled: {
|
79
|
-
type: import("vue").PropType<boolean>;
|
80
|
-
};
|
81
|
-
value: {
|
82
|
-
type: import("vue").PropType<any>;
|
83
|
-
};
|
84
|
-
label: {
|
85
|
-
type: import("vue").PropType<string>;
|
86
|
-
};
|
87
|
-
rules: {
|
88
|
-
type: import("vue").PropType<ValidationRule[]>;
|
89
|
-
required: false;
|
90
|
-
};
|
91
|
-
"onUpdate:modelValue": {
|
92
|
-
type: import("vue").PropType<(value: string[] | MaybeComputedRef<boolean>) => any | void>;
|
93
|
-
};
|
94
|
-
"v-model": {
|
95
|
-
type: import("vue").PropType<string[] | MaybeComputedRef<boolean>>;
|
96
|
-
required: false;
|
97
|
-
};
|
98
|
-
modelValue: {
|
99
|
-
type: import("vue").PropType<string[] | MaybeComputedRef<boolean>>;
|
100
|
-
required: false;
|
101
|
-
};
|
102
|
-
class: {
|
103
|
-
type: import("vue").PropType<String | String[]>;
|
104
|
-
required: boolean;
|
105
|
-
};
|
106
|
-
colorSchemaType: {
|
107
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
|
108
|
-
required: boolean;
|
109
|
-
};
|
110
|
-
container: {
|
111
|
-
type: BooleanConstructor;
|
112
|
-
required: boolean;
|
113
|
-
};
|
114
|
-
colors: {
|
115
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
116
|
-
required: boolean;
|
117
|
-
};
|
118
|
-
}>> & {
|
119
|
-
"onUpdate:modelValue"?: (value: any) => any;
|
120
|
-
}, {
|
121
|
-
container: boolean;
|
122
|
-
}, true, {}, {}, {
|
123
|
-
P: {};
|
124
|
-
B: {};
|
125
|
-
D: {};
|
126
|
-
C: {};
|
127
|
-
M: {};
|
128
|
-
Defaults: {};
|
129
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
130
|
-
"v-slots": import("vue").Prop<{
|
131
|
-
default?: import("../../DefineVueTypings").Slot;
|
132
|
-
} & {
|
133
|
-
label?: () => VNodeChild;
|
134
|
-
}>;
|
135
|
-
persistentHint: {
|
136
|
-
type: import("vue").PropType<boolean>;
|
137
|
-
required: false;
|
138
|
-
};
|
139
|
-
hint: {
|
140
|
-
type: import("vue").PropType<string>;
|
141
|
-
required: false;
|
142
|
-
};
|
143
|
-
disabled: {
|
144
|
-
type: import("vue").PropType<boolean>;
|
145
|
-
};
|
146
|
-
value: {
|
147
|
-
type: import("vue").PropType<any>;
|
148
|
-
};
|
149
|
-
label: {
|
150
|
-
type: import("vue").PropType<string>;
|
151
|
-
};
|
152
|
-
rules: {
|
153
|
-
type: import("vue").PropType<ValidationRule[]>;
|
154
|
-
required: false;
|
155
|
-
};
|
156
|
-
"onUpdate:modelValue": {
|
157
|
-
type: import("vue").PropType<(value: string[] | MaybeComputedRef<boolean>) => any | void>;
|
158
|
-
};
|
159
|
-
"v-model": {
|
160
|
-
type: import("vue").PropType<string[] | MaybeComputedRef<boolean>>;
|
161
|
-
required: false;
|
162
|
-
};
|
163
|
-
modelValue: {
|
164
|
-
type: import("vue").PropType<string[] | MaybeComputedRef<boolean>>;
|
165
|
-
required: false;
|
166
|
-
};
|
167
|
-
class: {
|
168
|
-
type: import("vue").PropType<String | String[]>;
|
169
|
-
required: boolean;
|
170
|
-
};
|
171
|
-
colorSchemaType: {
|
172
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
|
173
|
-
required: boolean;
|
174
|
-
};
|
175
|
-
container: {
|
176
|
-
type: BooleanConstructor;
|
177
|
-
required: boolean;
|
178
|
-
};
|
179
|
-
colors: {
|
180
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
181
|
-
required: boolean;
|
182
|
-
};
|
183
|
-
}>> & {
|
184
|
-
"onUpdate:modelValue"?: (value: any) => any;
|
185
|
-
}, () => JSX.Element, {}, {}, {}, {
|
186
|
-
container: boolean;
|
187
|
-
}>;
|
188
|
-
__isFragment?: never;
|
189
|
-
__isTeleport?: never;
|
190
|
-
__isSuspense?: never;
|
191
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
192
|
-
"v-slots": import("vue").Prop<{
|
193
|
-
default?: import("../../DefineVueTypings").Slot;
|
194
|
-
} & {
|
195
|
-
label?: () => VNodeChild;
|
196
|
-
}>;
|
197
|
-
persistentHint: {
|
198
|
-
type: import("vue").PropType<boolean>;
|
199
|
-
required: false;
|
200
|
-
};
|
201
|
-
hint: {
|
202
|
-
type: import("vue").PropType<string>;
|
203
|
-
required: false;
|
204
|
-
};
|
205
|
-
disabled: {
|
206
|
-
type: import("vue").PropType<boolean>;
|
207
|
-
};
|
208
|
-
value: {
|
209
|
-
type: import("vue").PropType<any>;
|
210
|
-
};
|
211
|
-
label: {
|
212
|
-
type: import("vue").PropType<string>;
|
213
|
-
};
|
214
|
-
rules: {
|
215
|
-
type: import("vue").PropType<ValidationRule[]>;
|
216
|
-
required: false;
|
217
|
-
};
|
218
|
-
"onUpdate:modelValue": {
|
219
|
-
type: import("vue").PropType<(value: string[] | MaybeComputedRef<boolean>) => any | void>;
|
220
|
-
};
|
221
|
-
"v-model": {
|
222
|
-
type: import("vue").PropType<string[] | MaybeComputedRef<boolean>>;
|
223
|
-
required: false;
|
224
|
-
};
|
225
|
-
modelValue: {
|
226
|
-
type: import("vue").PropType<string[] | MaybeComputedRef<boolean>>;
|
227
|
-
required: false;
|
228
|
-
};
|
229
|
-
class: {
|
230
|
-
type: import("vue").PropType<String | String[]>;
|
231
|
-
required: boolean;
|
232
|
-
};
|
233
|
-
colorSchemaType: {
|
234
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
|
235
|
-
required: boolean;
|
236
|
-
};
|
237
|
-
container: {
|
238
|
-
type: BooleanConstructor;
|
239
|
-
required: boolean;
|
240
|
-
};
|
241
|
-
colors: {
|
242
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
243
|
-
required: boolean;
|
244
|
-
};
|
245
|
-
}>> & {
|
246
|
-
"onUpdate:modelValue"?: (value: any) => any;
|
247
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
248
|
-
"update:modelValue": (value: any) => true;
|
249
|
-
}, string, {
|
250
|
-
container: boolean;
|
251
|
-
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
252
|
-
propsDefinition: Omit<Readonly<{} & {
|
253
|
-
container?: boolean;
|
254
|
-
class?: String | String[];
|
255
|
-
value?: any;
|
256
|
-
label?: string;
|
257
|
-
disabled?: boolean;
|
258
|
-
colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
259
|
-
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
260
|
-
modelValue?: string[] | MaybeComputedRef<boolean>;
|
261
|
-
"v-model"?: string[] | MaybeComputedRef<boolean>;
|
262
|
-
"onUpdate:modelValue"?: (value: string[] | MaybeComputedRef<boolean>) => any | void;
|
263
|
-
"v-slots"?: {
|
264
|
-
default?: import("../../DefineVueTypings").Slot;
|
265
|
-
} & {
|
266
|
-
label?: () => VNodeChild;
|
267
|
-
};
|
268
|
-
rules?: ValidationRule[];
|
269
|
-
hint?: string;
|
270
|
-
persistentHint?: boolean;
|
271
|
-
}>, "onUpdate:modelValue"> & {
|
272
|
-
"onUpdate:modelValue"?: (value: any) => any;
|
273
|
-
};
|
274
|
-
};
|
3
|
+
declare const emptyRules: any[];
|
4
|
+
type CheckboxProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", MaybeComputedRef<boolean> | Array<string>, false, null, true, "The v-model of the component"> & DefineProp<"rules", ValidationRule[], false, typeof emptyRules, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message. The input field will enter an error state if a function returns (or any value in the array contains) false or is a string."> & DefineProp<"label", string, null, "Sets the label of the component."> & DefineProp<"value", any, null, "The value used when the component is selected in a group. If not provided, a unique ID will be used."> & DefineProp<"disabled", boolean, false, null, "Removes the ability to click or target the component."> & DefineProp<"hint", string, false, "", "Displays hint text below the input when focused.Force this always open with the persistent-hint property."> & DefineProp<"persistentHint", boolean, false, null, "Always show hint text."> & DefineSlot<"label", () => VNodeChild, "Slot used to customize the label.">;
|
5
|
+
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<CheckboxProps>) => any;
|
275
6
|
export default _default;
|