@toife/vue 3.3.9 → 3.3.10
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/components/action/action.composable.d.ts +5 -5
- package/dist/components/action/action.vue.d.ts +2 -2
- package/dist/components/app/app.vue.d.ts +3 -3
- package/dist/components/avatar/avatar.vue.d.ts +1 -1
- package/dist/components/button/button.vue.d.ts +3 -3
- package/dist/components/cable/cable.vue.d.ts +1 -1
- package/dist/components/card/card/card.vue.d.ts +1 -1
- package/dist/components/checkbox/checkbox.vue.d.ts +3 -3
- package/dist/components/collapse/collapse.vue.d.ts +1 -1
- package/dist/components/decision-modal/decision-modal.composable.d.ts +5 -5
- package/dist/components/decision-modal/decision-modal.vue.d.ts +2 -2
- package/dist/components/divider/divider.vue.d.ts +2 -2
- package/dist/components/dropdown/dropdown.vue.d.ts +4 -4
- package/dist/components/field/field.vue.d.ts +5 -5
- package/dist/components/form-group/form-group.vue.d.ts +2 -2
- package/dist/components/gesture-indicator/gesture-indicator.vue.d.ts +1 -1
- package/dist/components/image/image.vue.d.ts +1 -1
- package/dist/components/layout/flex/flex.vue.d.ts +2 -2
- package/dist/components/layout/flex-item/flex-item.vue.d.ts +2 -2
- package/dist/components/layout/grid/grid.vue.d.ts +2 -2
- package/dist/components/layout/grid-item/grid-item.vue.d.ts +2 -2
- package/dist/components/modal/modal.vue.d.ts +1 -1
- package/dist/components/present/present.vue.d.ts +2 -2
- package/dist/components/radio/radio/radio.vue.d.ts +2 -2
- package/dist/components/radio/radio-group/radio-group.vue.d.ts +3 -3
- package/dist/components/refresher/refresher.vue.d.ts +4 -4
- package/dist/components/route/route-navigator/route-navigator.vue.d.ts +2 -2
- package/dist/components/route/route-provider/route-provider.vue.d.ts +1 -1
- package/dist/components/route/route-wrapper/route-wrapper.composable.d.ts +1 -1
- package/dist/components/route/route-wrapper/route-wrapper.vue.d.ts +1 -1
- package/dist/components/route/route.util.d.ts +1 -1
- package/dist/components/segmented-field/segmented-field.vue.d.ts +4 -4
- package/dist/components/select/select.vue.d.ts +4 -4
- package/dist/components/skeleton/skeleton.vue.d.ts +1 -1
- package/dist/components/slide-range/slide-range.vue.d.ts +1 -1
- package/dist/components/switch/switch.vue.d.ts +2 -2
- package/dist/components/tabs/tab/tab.vue.d.ts +1 -1
- package/dist/components/tabs/tabs/tabs.vue.d.ts +4 -4
- package/dist/components/tag/tag.vue.d.ts +3 -3
- package/dist/components/toast/toast/toast.vue.d.ts +2 -2
- package/dist/components/toast/toast-content/toast-content.vue.d.ts +2 -2
- package/dist/components/toast/toast.composable.d.ts +5 -5
- package/dist/components/toolbar/toolbar.vue.d.ts +1 -1
- package/dist/components/tooltip/tooltip.vue.d.ts +3 -3
- package/dist/core/features/action/action.constants.d.ts +11 -0
- package/dist/core/features/action/action.logic.d.ts +8 -0
- package/dist/core/features/action/action.type.d.ts +46 -0
- package/dist/core/features/action/index.d.ts +3 -0
- package/dist/core/features/app/app.constants.d.ts +16 -0
- package/dist/core/features/app/app.logic.d.ts +4 -0
- package/dist/core/features/app/app.type.d.ts +36 -0
- package/dist/core/features/app/index.d.ts +3 -0
- package/dist/core/features/avatar/avatar.constants.d.ts +9 -0
- package/dist/core/features/avatar/avatar.logic.d.ts +10 -0
- package/dist/core/features/avatar/avatar.type.d.ts +14 -0
- package/dist/core/features/avatar/index.d.ts +3 -0
- package/dist/core/features/button/button.constants.d.ts +10 -0
- package/dist/core/features/button/button.logic.d.ts +11 -0
- package/dist/core/features/button/button.type.d.ts +20 -0
- package/dist/core/features/button/index.d.ts +3 -0
- package/dist/core/features/cable/cable.constants.d.ts +5 -0
- package/dist/core/features/cable/cable.logic.d.ts +4 -0
- package/dist/core/features/cable/cable.type.d.ts +10 -0
- package/dist/core/features/cable/index.d.ts +3 -0
- package/dist/core/features/card/card-body.logic.d.ts +3 -0
- package/dist/core/features/card/card-footer.logic.d.ts +6 -0
- package/dist/core/features/card/card-header.logic.d.ts +6 -0
- package/dist/core/features/card/card.constants.d.ts +6 -0
- package/dist/core/features/card/card.logic.d.ts +6 -0
- package/dist/core/features/card/card.type.d.ts +21 -0
- package/dist/core/features/card/index.d.ts +6 -0
- package/dist/core/features/checkbox/checkbox.constants.d.ts +11 -0
- package/dist/core/features/checkbox/checkbox.logic.d.ts +13 -0
- package/dist/core/features/checkbox/checkbox.type.d.ts +28 -0
- package/dist/core/features/checkbox/index.d.ts +3 -0
- package/dist/core/features/collapse/collapse.constants.d.ts +9 -0
- package/dist/core/features/collapse/collapse.logic.d.ts +21 -0
- package/dist/core/features/collapse/collapse.type.d.ts +23 -0
- package/dist/core/features/collapse/index.d.ts +3 -0
- package/dist/core/features/container/container.logic.d.ts +3 -0
- package/dist/core/features/container/index.d.ts +1 -0
- package/dist/core/features/decision-modal/decision-modal.constants.d.ts +12 -0
- package/dist/core/features/decision-modal/decision-modal.logic.d.ts +16 -0
- package/dist/core/features/decision-modal/decision-modal.type.d.ts +39 -0
- package/dist/core/features/decision-modal/index.d.ts +3 -0
- package/dist/core/features/divider/divider.constants.d.ts +6 -0
- package/dist/core/features/divider/divider.logic.d.ts +6 -0
- package/dist/core/features/divider/divider.type.d.ts +9 -0
- package/dist/core/features/divider/index.d.ts +3 -0
- package/dist/core/features/dropdown/dropdown.constants.d.ts +13 -0
- package/dist/core/features/dropdown/dropdown.logic.d.ts +11 -0
- package/dist/core/features/dropdown/dropdown.type.d.ts +29 -0
- package/dist/core/features/dropdown/index.d.ts +3 -0
- package/dist/core/features/field/field.constants.d.ts +19 -0
- package/dist/core/features/field/field.logic.d.ts +21 -0
- package/dist/core/features/field/field.type.d.ts +47 -0
- package/dist/core/features/field/index.d.ts +3 -0
- package/dist/core/features/form-group/form-group.constants.d.ts +6 -0
- package/dist/core/features/form-group/form-group.logic.d.ts +4 -0
- package/dist/core/features/form-group/form-group.type.d.ts +7 -0
- package/dist/core/features/form-group/index.d.ts +3 -0
- package/dist/core/features/gesture-indicator/gesture-indicator.constants.d.ts +7 -0
- package/dist/core/features/gesture-indicator/gesture-indicator.logic.d.ts +4 -0
- package/dist/core/features/gesture-indicator/gesture-indicator.type.d.ts +8 -0
- package/dist/core/features/gesture-indicator/index.d.ts +3 -0
- package/dist/core/features/image/image.type.d.ts +4 -0
- package/dist/core/features/image/index.d.ts +1 -0
- package/dist/core/features/index.d.ts +33 -0
- package/dist/core/features/layout/flex-item.constants.d.ts +6 -0
- package/dist/core/features/layout/flex-item.logic.d.ts +7 -0
- package/dist/core/features/layout/flex-item.type.d.ts +10 -0
- package/dist/core/features/layout/flex.constants.d.ts +6 -0
- package/dist/core/features/layout/flex.logic.d.ts +7 -0
- package/dist/core/features/layout/flex.type.d.ts +12 -0
- package/dist/core/features/layout/grid-item.constants.d.ts +6 -0
- package/dist/core/features/layout/grid-item.logic.d.ts +7 -0
- package/dist/core/features/layout/grid-item.type.d.ts +12 -0
- package/dist/core/features/layout/grid.constants.d.ts +6 -0
- package/dist/core/features/layout/grid.logic.d.ts +7 -0
- package/dist/core/features/layout/grid.type.d.ts +10 -0
- package/dist/core/features/layout/index.d.ts +12 -0
- package/dist/core/features/modal/index.d.ts +3 -0
- package/dist/core/features/modal/modal.constants.d.ts +16 -0
- package/dist/core/features/modal/modal.logic.d.ts +5 -0
- package/dist/core/features/modal/modal.type.d.ts +26 -0
- package/dist/core/features/page/index.d.ts +1 -0
- package/dist/core/features/page/page.logic.d.ts +3 -0
- package/dist/core/features/present/index.d.ts +3 -0
- package/dist/core/features/present/present.constants.d.ts +18 -0
- package/dist/core/features/present/present.logic.d.ts +13 -0
- package/dist/core/features/present/present.type.d.ts +43 -0
- package/dist/core/features/radio/index.d.ts +6 -0
- package/dist/core/features/radio/radio-group.constants.d.ts +8 -0
- package/dist/core/features/radio/radio-group.logic.d.ts +4 -0
- package/dist/core/features/radio/radio-group.type.d.ts +28 -0
- package/dist/core/features/radio/radio.constants.d.ts +8 -0
- package/dist/core/features/radio/radio.logic.d.ts +13 -0
- package/dist/core/features/radio/radio.type.d.ts +24 -0
- package/dist/core/features/refresher/index.d.ts +2 -0
- package/dist/core/features/refresher/refresher.logic.d.ts +3 -0
- package/dist/core/features/refresher/refresher.type.d.ts +10 -0
- package/dist/core/features/route/index.d.ts +8 -0
- package/dist/core/features/route/route-navigator.constants.d.ts +9 -0
- package/dist/core/features/route/route-navigator.logic.d.ts +19 -0
- package/dist/core/features/route/route-navigator.type.d.ts +52 -0
- package/dist/core/features/route/route-provider.constants.d.ts +4 -0
- package/dist/core/features/route/route-provider.type.d.ts +7 -0
- package/dist/core/features/route/route-wrapper.constants.d.ts +6 -0
- package/dist/core/features/route/route-wrapper.type.d.ts +3 -0
- package/dist/core/features/route/route.type.d.ts +5 -0
- package/dist/core/features/segmented-field/index.d.ts +3 -0
- package/dist/core/features/segmented-field/segmented-field.constants.d.ts +17 -0
- package/dist/core/features/segmented-field/segmented-field.logic.d.ts +12 -0
- package/dist/core/features/segmented-field/segmented-field.type.d.ts +35 -0
- package/dist/core/features/select/index.d.ts +3 -0
- package/dist/core/features/select/select.constants.d.ts +15 -0
- package/dist/core/features/select/select.logic.d.ts +15 -0
- package/dist/core/features/select/select.type.d.ts +39 -0
- package/dist/core/features/skeleton/index.d.ts +3 -0
- package/dist/core/features/skeleton/skeleton.constants.d.ts +7 -0
- package/dist/core/features/skeleton/skeleton.logic.d.ts +7 -0
- package/dist/core/features/skeleton/skeleton.type.d.ts +12 -0
- package/dist/core/features/slide-range/index.d.ts +3 -0
- package/dist/core/features/slide-range/slide-range.constants.d.ts +13 -0
- package/dist/core/features/slide-range/slide-range.logic.d.ts +42 -0
- package/dist/core/features/slide-range/slide-range.type.d.ts +33 -0
- package/dist/core/features/switch/index.d.ts +3 -0
- package/dist/core/features/switch/switch.constants.d.ts +10 -0
- package/dist/core/features/switch/switch.logic.d.ts +27 -0
- package/dist/core/features/switch/switch.type.d.ts +28 -0
- package/dist/core/features/tabs/index.d.ts +6 -0
- package/dist/core/features/tabs/tab.constants.d.ts +6 -0
- package/dist/core/features/tabs/tab.logic.d.ts +9 -0
- package/dist/core/features/tabs/tab.type.d.ts +11 -0
- package/dist/core/features/tabs/tabs.constants.d.ts +9 -0
- package/dist/core/features/tabs/tabs.logic.d.ts +10 -0
- package/dist/core/features/tabs/tabs.type.d.ts +55 -0
- package/dist/core/features/tag/index.d.ts +3 -0
- package/dist/core/features/tag/tag.constants.d.ts +7 -0
- package/dist/core/features/tag/tag.logic.d.ts +4 -0
- package/dist/core/features/tag/tag.type.d.ts +14 -0
- package/dist/core/features/toast/index.d.ts +5 -0
- package/dist/core/features/toast/toast-content.constants.d.ts +8 -0
- package/dist/core/features/toast/toast-content.logic.d.ts +6 -0
- package/dist/core/features/toast/toast.constants.d.ts +6 -0
- package/dist/core/features/toast/toast.logic.d.ts +4 -0
- package/dist/core/features/toast/toast.type.d.ts +26 -0
- package/dist/core/features/toolbar/index.d.ts +3 -0
- package/dist/core/features/toolbar/toolbar.constants.d.ts +8 -0
- package/dist/core/features/toolbar/toolbar.logic.d.ts +7 -0
- package/dist/core/features/toolbar/toolbar.type.d.ts +12 -0
- package/dist/core/features/tooltip/index.d.ts +3 -0
- package/dist/core/features/tooltip/tooltip.constants.d.ts +8 -0
- package/dist/core/features/tooltip/tooltip.logic.d.ts +12 -0
- package/dist/core/features/tooltip/tooltip.type.d.ts +18 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/utils/element.d.ts +8 -0
- package/dist/core/utils/events.d.ts +4 -0
- package/dist/core/utils/index.d.ts +3 -0
- package/dist/core/utils/style.d.ts +20 -0
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FieldAttrOptions } from './field.type';
|
|
2
|
+
export declare const getFieldAttrs: (options: FieldAttrOptions) => {
|
|
3
|
+
class: (string | {
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
focus: boolean;
|
|
6
|
+
shadow: boolean;
|
|
7
|
+
readonly: boolean;
|
|
8
|
+
})[];
|
|
9
|
+
style: {
|
|
10
|
+
[x: string]: number;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const getFieldContentAttrs: () => {
|
|
14
|
+
class: string[];
|
|
15
|
+
};
|
|
16
|
+
export declare const getFieldInputAttrs: () => {
|
|
17
|
+
class: string[];
|
|
18
|
+
};
|
|
19
|
+
export declare const getFieldMessageAttrs: () => {
|
|
20
|
+
class: string[];
|
|
21
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { AppDirection } from '../app/app.type';
|
|
2
|
+
export type FieldVariant = "outline" | "fill" | "underline";
|
|
3
|
+
export type FieldSize = string;
|
|
4
|
+
export type FieldType = "text" | "number" | "email" | "password" | "tel" | "url" | "paragraph";
|
|
5
|
+
export type FieldProps = {
|
|
6
|
+
modelValue?: string | number;
|
|
7
|
+
name?: string;
|
|
8
|
+
variant?: FieldVariant;
|
|
9
|
+
role?: string;
|
|
10
|
+
shape?: string;
|
|
11
|
+
size?: FieldSize;
|
|
12
|
+
shadow?: boolean;
|
|
13
|
+
direction?: AppDirection;
|
|
14
|
+
id?: string;
|
|
15
|
+
value?: string | number;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
readonly?: boolean;
|
|
19
|
+
autocomplete?: string;
|
|
20
|
+
maxLength?: number | string;
|
|
21
|
+
tabindex?: number | string;
|
|
22
|
+
type?: FieldType;
|
|
23
|
+
line?: number | string;
|
|
24
|
+
maxLine?: number | string;
|
|
25
|
+
message?: string;
|
|
26
|
+
};
|
|
27
|
+
export type FieldEvent = {
|
|
28
|
+
(e: "update:modelValue", value: string): void;
|
|
29
|
+
(e: "focus", ev: FocusEvent): void;
|
|
30
|
+
(e: "blur", ev: FocusEvent): void;
|
|
31
|
+
(e: "input", ev: Event): void;
|
|
32
|
+
(e: "beforeinput", ev: Event): void;
|
|
33
|
+
};
|
|
34
|
+
export type FieldAttrOptions = {
|
|
35
|
+
role: string;
|
|
36
|
+
shape: string;
|
|
37
|
+
size: string;
|
|
38
|
+
direction: string;
|
|
39
|
+
variant: FieldVariant;
|
|
40
|
+
type: string;
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
focus: boolean;
|
|
43
|
+
shadow: boolean;
|
|
44
|
+
readonly: boolean;
|
|
45
|
+
line: number;
|
|
46
|
+
maxLine?: number;
|
|
47
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './image.type';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export * from './action';
|
|
2
|
+
export * from './app';
|
|
3
|
+
export * from './avatar';
|
|
4
|
+
export * from './button';
|
|
5
|
+
export * from './cable';
|
|
6
|
+
export * from './card';
|
|
7
|
+
export * from './checkbox';
|
|
8
|
+
export * from './collapse';
|
|
9
|
+
export * from './container';
|
|
10
|
+
export * from './decision-modal';
|
|
11
|
+
export * from './divider';
|
|
12
|
+
export * from './dropdown';
|
|
13
|
+
export * from './field';
|
|
14
|
+
export * from './form-group';
|
|
15
|
+
export * from './gesture-indicator';
|
|
16
|
+
export * from './image';
|
|
17
|
+
export * from './layout';
|
|
18
|
+
export * from './modal';
|
|
19
|
+
export * from './page';
|
|
20
|
+
export * from './present';
|
|
21
|
+
export * from './radio';
|
|
22
|
+
export * from './refresher';
|
|
23
|
+
export * from './route';
|
|
24
|
+
export * from './segmented-field';
|
|
25
|
+
export * from './select';
|
|
26
|
+
export * from './skeleton';
|
|
27
|
+
export * from './slide-range';
|
|
28
|
+
export * from './switch';
|
|
29
|
+
export * from './tabs';
|
|
30
|
+
export * from './tag';
|
|
31
|
+
export * from './toast';
|
|
32
|
+
export * from './toolbar';
|
|
33
|
+
export * from './tooltip';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type FlexDirection = "row" | "column" | "row-reverse" | "column-reverse";
|
|
2
|
+
export type FlexOption = {
|
|
3
|
+
breakpoint?: string;
|
|
4
|
+
gap?: string | number;
|
|
5
|
+
direction?: FlexDirection;
|
|
6
|
+
wrap?: string;
|
|
7
|
+
justify?: string;
|
|
8
|
+
align?: string;
|
|
9
|
+
};
|
|
10
|
+
export type FlexProps = {
|
|
11
|
+
options?: FlexOption[];
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type GridItemJustify = "start" | "end" | "center" | "stretch";
|
|
2
|
+
export type GridItemAlign = "start" | "end" | "center" | "stretch";
|
|
3
|
+
export type GridItemOption = {
|
|
4
|
+
breakpoint?: string;
|
|
5
|
+
row?: number;
|
|
6
|
+
column?: number;
|
|
7
|
+
justify?: GridItemJustify;
|
|
8
|
+
align?: GridItemAlign;
|
|
9
|
+
};
|
|
10
|
+
export type GridItemProps = {
|
|
11
|
+
options?: GridItemOption[];
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './flex-item.constants';
|
|
2
|
+
export * from './flex-item.type';
|
|
3
|
+
export * from './flex.constants';
|
|
4
|
+
export * from './flex.type';
|
|
5
|
+
export * from './grid-item.constants';
|
|
6
|
+
export * from './grid-item.type';
|
|
7
|
+
export * from './grid.constants';
|
|
8
|
+
export * from './grid.type';
|
|
9
|
+
export * from './grid.logic';
|
|
10
|
+
export * from './grid-item.logic';
|
|
11
|
+
export * from './flex.logic';
|
|
12
|
+
export * from './flex-item.logic';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** CSS overflow values that allow scrolling on an axis. */
|
|
2
|
+
export declare const SCROLLABLE_OVERFLOW_VALUES: string[];
|
|
3
|
+
/**
|
|
4
|
+
* Modal Default Props
|
|
5
|
+
*/
|
|
6
|
+
export declare const MODAL_DEFAULT_PROPS: {
|
|
7
|
+
readonly backdrop: "display";
|
|
8
|
+
readonly keepalive: true;
|
|
9
|
+
readonly visible: false;
|
|
10
|
+
readonly gesture: true;
|
|
11
|
+
readonly fullscreen: false;
|
|
12
|
+
readonly placement: "bottom";
|
|
13
|
+
readonly indicator: true;
|
|
14
|
+
readonly duration: 200;
|
|
15
|
+
readonly bounce: 0;
|
|
16
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export type ModalProps = {
|
|
2
|
+
role?: string;
|
|
3
|
+
class?: unknown;
|
|
4
|
+
visible?: boolean;
|
|
5
|
+
gesture?: boolean;
|
|
6
|
+
fullscreen?: boolean;
|
|
7
|
+
placement?: "top" | "left" | "right" | "center" | "bottom";
|
|
8
|
+
keepalive?: boolean;
|
|
9
|
+
backdrop?: "display" | "none" | "transparent";
|
|
10
|
+
shape?: string;
|
|
11
|
+
indicator?: boolean;
|
|
12
|
+
duration?: number;
|
|
13
|
+
bounce?: number | string;
|
|
14
|
+
style?: unknown;
|
|
15
|
+
};
|
|
16
|
+
export type ModalEvent = {
|
|
17
|
+
(e: "close", type?: string): void;
|
|
18
|
+
};
|
|
19
|
+
export type ModalAttrOptions = {
|
|
20
|
+
role: string;
|
|
21
|
+
shape: string;
|
|
22
|
+
placement: string;
|
|
23
|
+
fullscreen: boolean;
|
|
24
|
+
className?: unknown;
|
|
25
|
+
style?: unknown;
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './page.logic';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Present Default Props
|
|
3
|
+
*/
|
|
4
|
+
export declare const PRESENT_DEFAULT_PROPS: {
|
|
5
|
+
readonly keepalive: false;
|
|
6
|
+
readonly visible: false;
|
|
7
|
+
readonly backdrop: "display";
|
|
8
|
+
readonly duration: 200;
|
|
9
|
+
readonly placement: "bottom";
|
|
10
|
+
readonly bounce: false;
|
|
11
|
+
};
|
|
12
|
+
export declare const PRESENT_DEFAULT_STYLES: {
|
|
13
|
+
readonly backdropTransitionDuration: "0.2s";
|
|
14
|
+
readonly backdropOpacity: undefined;
|
|
15
|
+
readonly presentTransitionDuration: "0.2s";
|
|
16
|
+
readonly presentTranslate: "0px";
|
|
17
|
+
readonly presentOpacity: 1;
|
|
18
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PresentAttrOptions, PresentBackdropAttrOptions } from './present.type';
|
|
2
|
+
export declare const getAppClassSelector: () => string;
|
|
3
|
+
export declare const getPresentBackdropAttrs: (options: PresentBackdropAttrOptions) => {
|
|
4
|
+
class: string[];
|
|
5
|
+
style: {
|
|
6
|
+
[x: string]: string | number | undefined;
|
|
7
|
+
zIndex: number;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare const getPresentAttrs: (options: PresentAttrOptions) => {
|
|
11
|
+
class: unknown[];
|
|
12
|
+
style: unknown[];
|
|
13
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export type PresentPlacement = "top" | "left" | "right" | "center" | "bottom";
|
|
2
|
+
export type PresentProps = {
|
|
3
|
+
keepalive?: boolean;
|
|
4
|
+
visible?: boolean;
|
|
5
|
+
backdrop?: "display" | "none" | "transparent";
|
|
6
|
+
placement?: PresentPlacement;
|
|
7
|
+
style?: unknown;
|
|
8
|
+
class?: unknown;
|
|
9
|
+
bounce?: number | string | boolean;
|
|
10
|
+
duration?: number;
|
|
11
|
+
teleport?: string;
|
|
12
|
+
};
|
|
13
|
+
export type PresentEvent = {
|
|
14
|
+
(e: "close", type?: string): void;
|
|
15
|
+
};
|
|
16
|
+
export type RenderOptions = {
|
|
17
|
+
backdropTransitionDuration?: string;
|
|
18
|
+
backdropOpacity?: number;
|
|
19
|
+
presentTransitionDuration?: string;
|
|
20
|
+
presentTranslate?: string;
|
|
21
|
+
presentOpacity?: number;
|
|
22
|
+
};
|
|
23
|
+
export type PresentStyles = {
|
|
24
|
+
backdropTransitionDuration: string;
|
|
25
|
+
backdropOpacity: number | undefined;
|
|
26
|
+
presentTransitionDuration: string;
|
|
27
|
+
presentTranslate: string;
|
|
28
|
+
presentOpacity: number;
|
|
29
|
+
};
|
|
30
|
+
export type PresentBackdropAttrOptions = {
|
|
31
|
+
zIndex: number;
|
|
32
|
+
backdropTransitionDuration: string;
|
|
33
|
+
backdropOpacity?: number;
|
|
34
|
+
};
|
|
35
|
+
export type PresentAttrOptions = {
|
|
36
|
+
zIndex: number;
|
|
37
|
+
presentTransitionDuration: string;
|
|
38
|
+
presentTranslate: string;
|
|
39
|
+
presentOpacity: number;
|
|
40
|
+
className?: unknown;
|
|
41
|
+
placement: string;
|
|
42
|
+
style?: unknown;
|
|
43
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const RADIO_GROUP_PROVIDER_STATE_KEY = "radio-group-state";
|
|
2
|
+
export declare const RADIO_GROUP_DEFAULT_PROPS: {
|
|
3
|
+
readonly disabled: false;
|
|
4
|
+
readonly readonly: false;
|
|
5
|
+
readonly variant: "fill";
|
|
6
|
+
readonly direction: "vertical";
|
|
7
|
+
readonly shadow: undefined;
|
|
8
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export type RadioVariant = "fill" | "outline";
|
|
2
|
+
export type RadioGroupDirection = "horizontal" | "vertical";
|
|
3
|
+
export type RadioGroupProps = {
|
|
4
|
+
modelValue?: string | number;
|
|
5
|
+
role?: string;
|
|
6
|
+
shape?: string;
|
|
7
|
+
variant?: RadioVariant;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
shadow?: boolean;
|
|
11
|
+
direction?: RadioGroupDirection;
|
|
12
|
+
};
|
|
13
|
+
export type RadioGroupEvent = {
|
|
14
|
+
(e: "update:modelValue", value: string | number): void;
|
|
15
|
+
};
|
|
16
|
+
export type RadioGroupProviderState = {
|
|
17
|
+
modelValue: string | number | undefined;
|
|
18
|
+
role: string;
|
|
19
|
+
shape: string;
|
|
20
|
+
variant: RadioVariant;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
readonly: boolean;
|
|
23
|
+
shadow: boolean;
|
|
24
|
+
setValue: (val: string | number) => void;
|
|
25
|
+
};
|
|
26
|
+
export type RadioGroupAttrOptions = {
|
|
27
|
+
direction: string;
|
|
28
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RadioAttrOptions } from './radio.type';
|
|
2
|
+
export declare const getRadioAttrs: (options: RadioAttrOptions) => {
|
|
3
|
+
class: (string | {
|
|
4
|
+
on: boolean;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
readonly: boolean;
|
|
7
|
+
shadow: boolean;
|
|
8
|
+
focus: boolean;
|
|
9
|
+
})[];
|
|
10
|
+
};
|
|
11
|
+
export declare const getRadioIconAttrs: () => {
|
|
12
|
+
class: string[];
|
|
13
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { RadioVariant } from './radio-group.type';
|
|
2
|
+
export type { RadioVariant };
|
|
3
|
+
export type RadioSize = string;
|
|
4
|
+
export type RadioProps = {
|
|
5
|
+
value: string | number;
|
|
6
|
+
role?: string;
|
|
7
|
+
size?: RadioSize;
|
|
8
|
+
shape?: string;
|
|
9
|
+
variant?: RadioVariant;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
shadow?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type RadioAttrOptions = {
|
|
15
|
+
role: string;
|
|
16
|
+
shape: string;
|
|
17
|
+
size: string;
|
|
18
|
+
variant: string;
|
|
19
|
+
checked: boolean;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
readonly: boolean;
|
|
22
|
+
shadow: boolean;
|
|
23
|
+
focus: boolean;
|
|
24
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './route-navigator.constants';
|
|
2
|
+
export * from './route-navigator.type';
|
|
3
|
+
export * from './route-provider.constants';
|
|
4
|
+
export * from './route-provider.type';
|
|
5
|
+
export * from './route-wrapper.constants';
|
|
6
|
+
export * from './route-wrapper.type';
|
|
7
|
+
export * from './route.type';
|
|
8
|
+
export * from './route-navigator.logic';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { RouteNavigatorAttrOptions, RouteNavigatorBackdropAttrOptions, RouteNavigatorComponentAttrOptions } from './route-navigator.type';
|
|
2
|
+
export declare const getRouteNavigatorTransitionDuration: (options: Pick<RouteNavigatorAttrOptions, "variant" | "transform">) => string | undefined;
|
|
3
|
+
export declare const getRouteNavigatorAttrs: (options: RouteNavigatorAttrOptions) => {
|
|
4
|
+
class: (string | {
|
|
5
|
+
moving: boolean;
|
|
6
|
+
})[];
|
|
7
|
+
style: {
|
|
8
|
+
[x: string]: string | number | undefined;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const getRouteNavigatorComponentAttrs: (options: RouteNavigatorComponentAttrOptions) => {
|
|
12
|
+
class: string[];
|
|
13
|
+
};
|
|
14
|
+
export declare const getRouteNavigatorBackdropAttrs: (options: RouteNavigatorBackdropAttrOptions) => {
|
|
15
|
+
class: string[];
|
|
16
|
+
style: {
|
|
17
|
+
zIndex: number;
|
|
18
|
+
};
|
|
19
|
+
};
|