@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.
Files changed (202) hide show
  1. package/dist/components/action/action.composable.d.ts +5 -5
  2. package/dist/components/action/action.vue.d.ts +2 -2
  3. package/dist/components/app/app.vue.d.ts +3 -3
  4. package/dist/components/avatar/avatar.vue.d.ts +1 -1
  5. package/dist/components/button/button.vue.d.ts +3 -3
  6. package/dist/components/cable/cable.vue.d.ts +1 -1
  7. package/dist/components/card/card/card.vue.d.ts +1 -1
  8. package/dist/components/checkbox/checkbox.vue.d.ts +3 -3
  9. package/dist/components/collapse/collapse.vue.d.ts +1 -1
  10. package/dist/components/decision-modal/decision-modal.composable.d.ts +5 -5
  11. package/dist/components/decision-modal/decision-modal.vue.d.ts +2 -2
  12. package/dist/components/divider/divider.vue.d.ts +2 -2
  13. package/dist/components/dropdown/dropdown.vue.d.ts +4 -4
  14. package/dist/components/field/field.vue.d.ts +5 -5
  15. package/dist/components/form-group/form-group.vue.d.ts +2 -2
  16. package/dist/components/gesture-indicator/gesture-indicator.vue.d.ts +1 -1
  17. package/dist/components/image/image.vue.d.ts +1 -1
  18. package/dist/components/layout/flex/flex.vue.d.ts +2 -2
  19. package/dist/components/layout/flex-item/flex-item.vue.d.ts +2 -2
  20. package/dist/components/layout/grid/grid.vue.d.ts +2 -2
  21. package/dist/components/layout/grid-item/grid-item.vue.d.ts +2 -2
  22. package/dist/components/modal/modal.vue.d.ts +1 -1
  23. package/dist/components/present/present.vue.d.ts +2 -2
  24. package/dist/components/radio/radio/radio.vue.d.ts +2 -2
  25. package/dist/components/radio/radio-group/radio-group.vue.d.ts +3 -3
  26. package/dist/components/refresher/refresher.vue.d.ts +4 -4
  27. package/dist/components/route/route-navigator/route-navigator.vue.d.ts +2 -2
  28. package/dist/components/route/route-provider/route-provider.vue.d.ts +1 -1
  29. package/dist/components/route/route-wrapper/route-wrapper.composable.d.ts +1 -1
  30. package/dist/components/route/route-wrapper/route-wrapper.vue.d.ts +1 -1
  31. package/dist/components/route/route.util.d.ts +1 -1
  32. package/dist/components/segmented-field/segmented-field.vue.d.ts +4 -4
  33. package/dist/components/select/select.vue.d.ts +4 -4
  34. package/dist/components/skeleton/skeleton.vue.d.ts +1 -1
  35. package/dist/components/slide-range/slide-range.vue.d.ts +1 -1
  36. package/dist/components/switch/switch.vue.d.ts +2 -2
  37. package/dist/components/tabs/tab/tab.vue.d.ts +1 -1
  38. package/dist/components/tabs/tabs/tabs.vue.d.ts +4 -4
  39. package/dist/components/tag/tag.vue.d.ts +3 -3
  40. package/dist/components/toast/toast/toast.vue.d.ts +2 -2
  41. package/dist/components/toast/toast-content/toast-content.vue.d.ts +2 -2
  42. package/dist/components/toast/toast.composable.d.ts +5 -5
  43. package/dist/components/toolbar/toolbar.vue.d.ts +1 -1
  44. package/dist/components/tooltip/tooltip.vue.d.ts +3 -3
  45. package/dist/core/features/action/action.constants.d.ts +11 -0
  46. package/dist/core/features/action/action.logic.d.ts +8 -0
  47. package/dist/core/features/action/action.type.d.ts +46 -0
  48. package/dist/core/features/action/index.d.ts +3 -0
  49. package/dist/core/features/app/app.constants.d.ts +16 -0
  50. package/dist/core/features/app/app.logic.d.ts +4 -0
  51. package/dist/core/features/app/app.type.d.ts +36 -0
  52. package/dist/core/features/app/index.d.ts +3 -0
  53. package/dist/core/features/avatar/avatar.constants.d.ts +9 -0
  54. package/dist/core/features/avatar/avatar.logic.d.ts +10 -0
  55. package/dist/core/features/avatar/avatar.type.d.ts +14 -0
  56. package/dist/core/features/avatar/index.d.ts +3 -0
  57. package/dist/core/features/button/button.constants.d.ts +10 -0
  58. package/dist/core/features/button/button.logic.d.ts +11 -0
  59. package/dist/core/features/button/button.type.d.ts +20 -0
  60. package/dist/core/features/button/index.d.ts +3 -0
  61. package/dist/core/features/cable/cable.constants.d.ts +5 -0
  62. package/dist/core/features/cable/cable.logic.d.ts +4 -0
  63. package/dist/core/features/cable/cable.type.d.ts +10 -0
  64. package/dist/core/features/cable/index.d.ts +3 -0
  65. package/dist/core/features/card/card-body.logic.d.ts +3 -0
  66. package/dist/core/features/card/card-footer.logic.d.ts +6 -0
  67. package/dist/core/features/card/card-header.logic.d.ts +6 -0
  68. package/dist/core/features/card/card.constants.d.ts +6 -0
  69. package/dist/core/features/card/card.logic.d.ts +6 -0
  70. package/dist/core/features/card/card.type.d.ts +21 -0
  71. package/dist/core/features/card/index.d.ts +6 -0
  72. package/dist/core/features/checkbox/checkbox.constants.d.ts +11 -0
  73. package/dist/core/features/checkbox/checkbox.logic.d.ts +13 -0
  74. package/dist/core/features/checkbox/checkbox.type.d.ts +28 -0
  75. package/dist/core/features/checkbox/index.d.ts +3 -0
  76. package/dist/core/features/collapse/collapse.constants.d.ts +9 -0
  77. package/dist/core/features/collapse/collapse.logic.d.ts +21 -0
  78. package/dist/core/features/collapse/collapse.type.d.ts +23 -0
  79. package/dist/core/features/collapse/index.d.ts +3 -0
  80. package/dist/core/features/container/container.logic.d.ts +3 -0
  81. package/dist/core/features/container/index.d.ts +1 -0
  82. package/dist/core/features/decision-modal/decision-modal.constants.d.ts +12 -0
  83. package/dist/core/features/decision-modal/decision-modal.logic.d.ts +16 -0
  84. package/dist/core/features/decision-modal/decision-modal.type.d.ts +39 -0
  85. package/dist/core/features/decision-modal/index.d.ts +3 -0
  86. package/dist/core/features/divider/divider.constants.d.ts +6 -0
  87. package/dist/core/features/divider/divider.logic.d.ts +6 -0
  88. package/dist/core/features/divider/divider.type.d.ts +9 -0
  89. package/dist/core/features/divider/index.d.ts +3 -0
  90. package/dist/core/features/dropdown/dropdown.constants.d.ts +13 -0
  91. package/dist/core/features/dropdown/dropdown.logic.d.ts +11 -0
  92. package/dist/core/features/dropdown/dropdown.type.d.ts +29 -0
  93. package/dist/core/features/dropdown/index.d.ts +3 -0
  94. package/dist/core/features/field/field.constants.d.ts +19 -0
  95. package/dist/core/features/field/field.logic.d.ts +21 -0
  96. package/dist/core/features/field/field.type.d.ts +47 -0
  97. package/dist/core/features/field/index.d.ts +3 -0
  98. package/dist/core/features/form-group/form-group.constants.d.ts +6 -0
  99. package/dist/core/features/form-group/form-group.logic.d.ts +4 -0
  100. package/dist/core/features/form-group/form-group.type.d.ts +7 -0
  101. package/dist/core/features/form-group/index.d.ts +3 -0
  102. package/dist/core/features/gesture-indicator/gesture-indicator.constants.d.ts +7 -0
  103. package/dist/core/features/gesture-indicator/gesture-indicator.logic.d.ts +4 -0
  104. package/dist/core/features/gesture-indicator/gesture-indicator.type.d.ts +8 -0
  105. package/dist/core/features/gesture-indicator/index.d.ts +3 -0
  106. package/dist/core/features/image/image.type.d.ts +4 -0
  107. package/dist/core/features/image/index.d.ts +1 -0
  108. package/dist/core/features/index.d.ts +33 -0
  109. package/dist/core/features/layout/flex-item.constants.d.ts +6 -0
  110. package/dist/core/features/layout/flex-item.logic.d.ts +7 -0
  111. package/dist/core/features/layout/flex-item.type.d.ts +10 -0
  112. package/dist/core/features/layout/flex.constants.d.ts +6 -0
  113. package/dist/core/features/layout/flex.logic.d.ts +7 -0
  114. package/dist/core/features/layout/flex.type.d.ts +12 -0
  115. package/dist/core/features/layout/grid-item.constants.d.ts +6 -0
  116. package/dist/core/features/layout/grid-item.logic.d.ts +7 -0
  117. package/dist/core/features/layout/grid-item.type.d.ts +12 -0
  118. package/dist/core/features/layout/grid.constants.d.ts +6 -0
  119. package/dist/core/features/layout/grid.logic.d.ts +7 -0
  120. package/dist/core/features/layout/grid.type.d.ts +10 -0
  121. package/dist/core/features/layout/index.d.ts +12 -0
  122. package/dist/core/features/modal/index.d.ts +3 -0
  123. package/dist/core/features/modal/modal.constants.d.ts +16 -0
  124. package/dist/core/features/modal/modal.logic.d.ts +5 -0
  125. package/dist/core/features/modal/modal.type.d.ts +26 -0
  126. package/dist/core/features/page/index.d.ts +1 -0
  127. package/dist/core/features/page/page.logic.d.ts +3 -0
  128. package/dist/core/features/present/index.d.ts +3 -0
  129. package/dist/core/features/present/present.constants.d.ts +18 -0
  130. package/dist/core/features/present/present.logic.d.ts +13 -0
  131. package/dist/core/features/present/present.type.d.ts +43 -0
  132. package/dist/core/features/radio/index.d.ts +6 -0
  133. package/dist/core/features/radio/radio-group.constants.d.ts +8 -0
  134. package/dist/core/features/radio/radio-group.logic.d.ts +4 -0
  135. package/dist/core/features/radio/radio-group.type.d.ts +28 -0
  136. package/dist/core/features/radio/radio.constants.d.ts +8 -0
  137. package/dist/core/features/radio/radio.logic.d.ts +13 -0
  138. package/dist/core/features/radio/radio.type.d.ts +24 -0
  139. package/dist/core/features/refresher/index.d.ts +2 -0
  140. package/dist/core/features/refresher/refresher.logic.d.ts +3 -0
  141. package/dist/core/features/refresher/refresher.type.d.ts +10 -0
  142. package/dist/core/features/route/index.d.ts +8 -0
  143. package/dist/core/features/route/route-navigator.constants.d.ts +9 -0
  144. package/dist/core/features/route/route-navigator.logic.d.ts +19 -0
  145. package/dist/core/features/route/route-navigator.type.d.ts +52 -0
  146. package/dist/core/features/route/route-provider.constants.d.ts +4 -0
  147. package/dist/core/features/route/route-provider.type.d.ts +7 -0
  148. package/dist/core/features/route/route-wrapper.constants.d.ts +6 -0
  149. package/dist/core/features/route/route-wrapper.type.d.ts +3 -0
  150. package/dist/core/features/route/route.type.d.ts +5 -0
  151. package/dist/core/features/segmented-field/index.d.ts +3 -0
  152. package/dist/core/features/segmented-field/segmented-field.constants.d.ts +17 -0
  153. package/dist/core/features/segmented-field/segmented-field.logic.d.ts +12 -0
  154. package/dist/core/features/segmented-field/segmented-field.type.d.ts +35 -0
  155. package/dist/core/features/select/index.d.ts +3 -0
  156. package/dist/core/features/select/select.constants.d.ts +15 -0
  157. package/dist/core/features/select/select.logic.d.ts +15 -0
  158. package/dist/core/features/select/select.type.d.ts +39 -0
  159. package/dist/core/features/skeleton/index.d.ts +3 -0
  160. package/dist/core/features/skeleton/skeleton.constants.d.ts +7 -0
  161. package/dist/core/features/skeleton/skeleton.logic.d.ts +7 -0
  162. package/dist/core/features/skeleton/skeleton.type.d.ts +12 -0
  163. package/dist/core/features/slide-range/index.d.ts +3 -0
  164. package/dist/core/features/slide-range/slide-range.constants.d.ts +13 -0
  165. package/dist/core/features/slide-range/slide-range.logic.d.ts +42 -0
  166. package/dist/core/features/slide-range/slide-range.type.d.ts +33 -0
  167. package/dist/core/features/switch/index.d.ts +3 -0
  168. package/dist/core/features/switch/switch.constants.d.ts +10 -0
  169. package/dist/core/features/switch/switch.logic.d.ts +27 -0
  170. package/dist/core/features/switch/switch.type.d.ts +28 -0
  171. package/dist/core/features/tabs/index.d.ts +6 -0
  172. package/dist/core/features/tabs/tab.constants.d.ts +6 -0
  173. package/dist/core/features/tabs/tab.logic.d.ts +9 -0
  174. package/dist/core/features/tabs/tab.type.d.ts +11 -0
  175. package/dist/core/features/tabs/tabs.constants.d.ts +9 -0
  176. package/dist/core/features/tabs/tabs.logic.d.ts +10 -0
  177. package/dist/core/features/tabs/tabs.type.d.ts +55 -0
  178. package/dist/core/features/tag/index.d.ts +3 -0
  179. package/dist/core/features/tag/tag.constants.d.ts +7 -0
  180. package/dist/core/features/tag/tag.logic.d.ts +4 -0
  181. package/dist/core/features/tag/tag.type.d.ts +14 -0
  182. package/dist/core/features/toast/index.d.ts +5 -0
  183. package/dist/core/features/toast/toast-content.constants.d.ts +8 -0
  184. package/dist/core/features/toast/toast-content.logic.d.ts +6 -0
  185. package/dist/core/features/toast/toast.constants.d.ts +6 -0
  186. package/dist/core/features/toast/toast.logic.d.ts +4 -0
  187. package/dist/core/features/toast/toast.type.d.ts +26 -0
  188. package/dist/core/features/toolbar/index.d.ts +3 -0
  189. package/dist/core/features/toolbar/toolbar.constants.d.ts +8 -0
  190. package/dist/core/features/toolbar/toolbar.logic.d.ts +7 -0
  191. package/dist/core/features/toolbar/toolbar.type.d.ts +12 -0
  192. package/dist/core/features/tooltip/index.d.ts +3 -0
  193. package/dist/core/features/tooltip/tooltip.constants.d.ts +8 -0
  194. package/dist/core/features/tooltip/tooltip.logic.d.ts +12 -0
  195. package/dist/core/features/tooltip/tooltip.type.d.ts +18 -0
  196. package/dist/core/index.d.ts +2 -0
  197. package/dist/core/utils/element.d.ts +8 -0
  198. package/dist/core/utils/events.d.ts +4 -0
  199. package/dist/core/utils/index.d.ts +3 -0
  200. package/dist/core/utils/style.d.ts +20 -0
  201. package/dist/index.d.ts +1 -1
  202. package/package.json +1 -1
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Action Default Props
3
+ */
4
+ export declare const ACTION_DEFAULT_PROPS: {
5
+ readonly visible: false;
6
+ readonly shape: undefined;
7
+ readonly role: undefined;
8
+ readonly placement: "bottom";
9
+ readonly divider: undefined;
10
+ readonly shadow: undefined;
11
+ };
@@ -0,0 +1,8 @@
1
+ import { ActionAttrOptions } from './action.type';
2
+ export declare const getActionAttrs: (options: ActionAttrOptions) => {
3
+ class: (string | {
4
+ pop: boolean;
5
+ divider: boolean;
6
+ shadow: boolean;
7
+ })[];
8
+ };
@@ -0,0 +1,46 @@
1
+ import { ButtonVariant } from '../button/button.type';
2
+ import { PresentPlacement } from '../present/present.type';
3
+ export type ActionPlacement = PresentPlacement;
4
+ export type ActionButton = {
5
+ text?: string;
6
+ role?: string;
7
+ variant?: ButtonVariant;
8
+ shadow?: boolean;
9
+ handler?: () => void;
10
+ data?: unknown;
11
+ };
12
+ /**
13
+ * Action Props Type
14
+ */
15
+ export type ActionProps = {
16
+ visible?: boolean;
17
+ dismiss?: string[];
18
+ actions: Array<ActionButton[]>;
19
+ role?: string;
20
+ shape?: string;
21
+ divider?: boolean;
22
+ shadow?: boolean;
23
+ placement?: ActionPlacement;
24
+ };
25
+ /**
26
+ * Action Composable Props Type
27
+ */
28
+ export type ActionComposableProps = ActionProps & {
29
+ onClose?: (type?: string) => void;
30
+ onChoose?: (btn?: ActionButton) => void;
31
+ };
32
+ /**
33
+ * Action Event Type
34
+ */
35
+ export type ActionEvent = {
36
+ (e: "close", type?: string): void;
37
+ (e: "choose", btn: ActionButton): void;
38
+ };
39
+ export type ActionAttrOptions = {
40
+ role: string;
41
+ shape: string;
42
+ placement: string;
43
+ divider: boolean;
44
+ shadow: boolean;
45
+ pop: boolean;
46
+ };
@@ -0,0 +1,3 @@
1
+ export * from './action.constants';
2
+ export * from './action.type';
3
+ export * from './action.logic';
@@ -0,0 +1,16 @@
1
+ /**
2
+ * App Provider State Key
3
+ */
4
+ export declare const APP_PROVIDER_STATE_KEY = "app-state";
5
+ /**
6
+ * App Default Props
7
+ */
8
+ export declare const APP_DEFAULT_PROPS: {
9
+ readonly shape: "pill";
10
+ readonly divider: false;
11
+ readonly role: "mode";
12
+ readonly shadow: false;
13
+ readonly triple: false;
14
+ readonly direction: "left";
15
+ readonly data: () => {};
16
+ };
@@ -0,0 +1,4 @@
1
+ import { AppAttrOptions } from './app.type';
2
+ export declare const getAppAttrs: (options: AppAttrOptions) => {
3
+ class: string[];
4
+ };
@@ -0,0 +1,36 @@
1
+ /**
2
+ * App Direction Type
3
+ */
4
+ export type AppDirection = "left" | "right";
5
+ /**
6
+ * App Data Type
7
+ */
8
+ export type AppData = Record<string, unknown>;
9
+ /**
10
+ * App Props Type
11
+ */
12
+ export type AppProps = {
13
+ shape?: string;
14
+ divider?: boolean;
15
+ role?: string;
16
+ shadow?: boolean;
17
+ triple?: boolean;
18
+ direction?: AppDirection;
19
+ data?: AppData;
20
+ };
21
+ /**
22
+ * App Provider State Type
23
+ */
24
+ export type AppProviderState = {
25
+ shape: string;
26
+ divider: boolean;
27
+ role: string;
28
+ shadow: boolean;
29
+ triple: boolean;
30
+ direction: AppDirection;
31
+ rootEl: HTMLElement | undefined;
32
+ data: AppData;
33
+ };
34
+ export type AppAttrOptions = {
35
+ shape: string;
36
+ };
@@ -0,0 +1,3 @@
1
+ export * from './app.type';
2
+ export * from './app.constants';
3
+ export * from './app.logic';
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Avatar Default Props
3
+ */
4
+ export declare const AVATAR_DEFAULT_PROPS: {
5
+ readonly size: "22px";
6
+ readonly src: "";
7
+ readonly role: undefined;
8
+ readonly divider: undefined;
9
+ };
@@ -0,0 +1,10 @@
1
+ import { AvatarAttrOptions } from './avatar.type';
2
+ export declare const getAvatarAttrs: (options: AvatarAttrOptions) => {
3
+ class: (string | {
4
+ divider: boolean;
5
+ })[];
6
+ style: {
7
+ [x: string]: string | undefined;
8
+ backgroundImage: string | undefined;
9
+ };
10
+ };
@@ -0,0 +1,14 @@
1
+ export type AvatarProps = {
2
+ shape?: string;
3
+ size?: string | number;
4
+ src?: string;
5
+ role?: string;
6
+ divider?: boolean;
7
+ };
8
+ export type AvatarAttrOptions = {
9
+ role: string;
10
+ shape: string;
11
+ divider: boolean;
12
+ size: string | number;
13
+ src?: string;
14
+ };
@@ -0,0 +1,3 @@
1
+ export * from './avatar.constants';
2
+ export * from './avatar.type';
3
+ export * from './avatar.logic';
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Button Default Props
3
+ */
4
+ export declare const BUTTON_DEFAULT_PROPS: {
5
+ readonly size: "standard";
6
+ readonly block: false;
7
+ readonly loading: false;
8
+ readonly variant: "fill";
9
+ readonly shadow: undefined;
10
+ };
@@ -0,0 +1,11 @@
1
+ import { ButtonAttrOptions } from './button.type';
2
+ export declare const getButtonAttrs: (options: ButtonAttrOptions) => {
3
+ class: (string | {
4
+ block: boolean;
5
+ shadow: boolean;
6
+ focus: boolean;
7
+ })[];
8
+ };
9
+ export declare const getButtonLoaderAttrs: () => {
10
+ class: string[];
11
+ };
@@ -0,0 +1,20 @@
1
+ export type ButtonVariant = "fill" | "outline" | "text";
2
+ export type ButtonSize = string;
3
+ export type ButtonProps = {
4
+ role?: string;
5
+ size?: ButtonSize;
6
+ shape?: string;
7
+ block?: boolean;
8
+ loading?: boolean;
9
+ variant?: ButtonVariant;
10
+ shadow?: boolean;
11
+ };
12
+ export type ButtonAttrOptions = {
13
+ role: string;
14
+ shape: string;
15
+ size: string;
16
+ block: boolean;
17
+ variant: ButtonVariant;
18
+ shadow: boolean;
19
+ focus: boolean;
20
+ };
@@ -0,0 +1,3 @@
1
+ export * from './button.constants';
2
+ export * from './button.type';
3
+ export * from './button.logic';
@@ -0,0 +1,5 @@
1
+ export declare const CABLE_PROVIDER_STATE_KEY = "cable-state";
2
+ export declare const CABLE_DEFAULT_PROPS: {
3
+ readonly keyboard: false;
4
+ readonly placement: "bottom";
5
+ };
@@ -0,0 +1,4 @@
1
+ import { CableAttrOptions } from './cable.type';
2
+ export declare const getCableAttrs: (options: CableAttrOptions) => {
3
+ class: string[];
4
+ };
@@ -0,0 +1,10 @@
1
+ export type CableProps = {
2
+ keyboard?: boolean;
3
+ placement?: string;
4
+ };
5
+ export type CableProviderState = {
6
+ placement: string;
7
+ };
8
+ export type CableAttrOptions = {
9
+ placement: string;
10
+ };
@@ -0,0 +1,3 @@
1
+ export * from './cable.type';
2
+ export * from './cable.constants';
3
+ export * from './cable.logic';
@@ -0,0 +1,3 @@
1
+ export declare const getCardBodyAttrs: () => {
2
+ class: string[];
3
+ };
@@ -0,0 +1,6 @@
1
+ import { CardFooterAttrOptions } from './card.type';
2
+ export declare const getCardFooterAttrs: (options: CardFooterAttrOptions) => {
3
+ class: (string | {
4
+ divider: boolean;
5
+ })[];
6
+ };
@@ -0,0 +1,6 @@
1
+ import { CardHeaderAttrOptions } from './card.type';
2
+ export declare const getCardHeaderAttrs: (options: CardHeaderAttrOptions) => {
3
+ class: (string | {
4
+ divider: boolean;
5
+ })[];
6
+ };
@@ -0,0 +1,6 @@
1
+ export declare const CARD_PROVIDER_STATE_KEY = "card-state";
2
+ export declare const CARD_DEFAULT_PROPS: {
3
+ readonly divider: undefined;
4
+ readonly shape: undefined;
5
+ readonly role: undefined;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { CardAttrOptions } from './card.type';
2
+ export declare const getCardAttrs: (options: CardAttrOptions) => {
3
+ class: (string | {
4
+ divider: boolean;
5
+ })[];
6
+ };
@@ -0,0 +1,21 @@
1
+ export type CardProps = {
2
+ role?: string;
3
+ shape?: string;
4
+ divider?: boolean;
5
+ };
6
+ export type CardProviderState = {
7
+ role: string;
8
+ shape: string;
9
+ divider: boolean;
10
+ };
11
+ export type CardAttrOptions = {
12
+ role: string;
13
+ shape: string;
14
+ divider: boolean;
15
+ };
16
+ export type CardHeaderAttrOptions = {
17
+ divider: boolean;
18
+ };
19
+ export type CardFooterAttrOptions = {
20
+ divider: boolean;
21
+ };
@@ -0,0 +1,6 @@
1
+ export * from './card.type';
2
+ export * from './card.constants';
3
+ export * from './card.logic';
4
+ export * from './card-header.logic';
5
+ export * from './card-footer.logic';
6
+ export * from './card-body.logic';
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Checkbox Default Props
3
+ */
4
+ export declare const CHECKBOX_DEFAULT_PROPS: {
5
+ readonly modelValue: false;
6
+ readonly disabled: false;
7
+ readonly size: "standard";
8
+ readonly variant: "fill";
9
+ readonly readonly: false;
10
+ readonly shadow: undefined;
11
+ };
@@ -0,0 +1,13 @@
1
+ import { CheckboxAttrOptions } from './checkbox.type';
2
+ export declare const getCheckboxAttrs: (options: CheckboxAttrOptions) => {
3
+ class: (string | {
4
+ on: boolean;
5
+ disabled: boolean;
6
+ readonly: boolean;
7
+ shadow: boolean;
8
+ focus: boolean;
9
+ })[];
10
+ };
11
+ export declare const getCheckboxIconAttrs: () => {
12
+ class: string[];
13
+ };
@@ -0,0 +1,28 @@
1
+ export type CheckboxVariant = "fill" | "outline";
2
+ export type CheckboxSize = string;
3
+ export type CheckboxProps = {
4
+ modelValue?: boolean;
5
+ role?: string;
6
+ size?: CheckboxSize;
7
+ shape?: string;
8
+ variant?: CheckboxVariant;
9
+ readonly?: boolean;
10
+ disabled?: boolean;
11
+ shadow?: boolean;
12
+ };
13
+ export type CheckboxEvent = {
14
+ (e: "update:modelValue", value: boolean): void;
15
+ (e: "focus"): void;
16
+ (e: "blur"): void;
17
+ };
18
+ export type CheckboxAttrOptions = {
19
+ role: string;
20
+ shape: string;
21
+ size: string;
22
+ variant: CheckboxVariant;
23
+ modelValue: boolean;
24
+ disabled: boolean;
25
+ readonly: boolean;
26
+ shadow: boolean;
27
+ focus: boolean;
28
+ };
@@ -0,0 +1,3 @@
1
+ export * from './checkbox.constants';
2
+ export * from './checkbox.type';
3
+ export * from './checkbox.logic';
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Collapse Default Props
3
+ */
4
+ export declare const COLLAPSE_DEFAULT_PROPS: {
5
+ readonly modelValue: false;
6
+ readonly duration: undefined;
7
+ readonly role: undefined;
8
+ readonly disabled: false;
9
+ };
@@ -0,0 +1,21 @@
1
+ import { CollapseAttrOptions, CollapseContentAttrOptions, CollapseTriggerAttrOptions } from './collapse.type';
2
+ export declare const getCollapseAttrs: (options: CollapseAttrOptions) => {
3
+ class: (string | {
4
+ open: boolean;
5
+ disabled: boolean;
6
+ })[];
7
+ };
8
+ export declare const getCollapseTriggerAttrs: (options: CollapseTriggerAttrOptions) => {
9
+ class: string[];
10
+ "aria-expanded": boolean;
11
+ "aria-disabled": boolean;
12
+ };
13
+ export declare const getCollapseContentAttrs: (options: CollapseContentAttrOptions) => {
14
+ class: (string | {
15
+ transition: boolean;
16
+ })[];
17
+ style: {
18
+ [x: string]: string | undefined;
19
+ };
20
+ };
21
+ export declare const getCollapseContentInnerClass: () => string;
@@ -0,0 +1,23 @@
1
+ export type CollapseProps = {
2
+ modelValue?: boolean;
3
+ duration?: number;
4
+ role?: string;
5
+ disabled?: boolean;
6
+ };
7
+ export type CollapseEvent = {
8
+ (e: "update:modelValue", value: boolean): void;
9
+ };
10
+ export type CollapseAttrOptions = {
11
+ role: string;
12
+ open: boolean;
13
+ disabled: boolean;
14
+ };
15
+ export type CollapseTriggerAttrOptions = {
16
+ open: boolean;
17
+ disabled: boolean;
18
+ };
19
+ export type CollapseContentAttrOptions = {
20
+ transition: boolean;
21
+ duration?: string;
22
+ height: string;
23
+ };
@@ -0,0 +1,3 @@
1
+ export * from './collapse.constants';
2
+ export * from './collapse.type';
3
+ export * from './collapse.logic';
@@ -0,0 +1,3 @@
1
+ export declare const getContainerAttrs: () => {
2
+ class: string[];
3
+ };
@@ -0,0 +1 @@
1
+ export * from './container.logic';
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Decision Modal Default Props
3
+ */
4
+ export declare const DECISION_MODAL_DEFAULT_PROPS: {
5
+ readonly placement: "center";
6
+ readonly keepalive: false;
7
+ readonly visible: false;
8
+ readonly shape: undefined;
9
+ readonly role: undefined;
10
+ readonly divider: undefined;
11
+ readonly flow: "row";
12
+ };
@@ -0,0 +1,16 @@
1
+ import { DecisionModalAttrOptions, DecisionModalFooterAttrOptions } from './decision-modal.type';
2
+ export declare const getDecisionModalAttrs: (options: DecisionModalAttrOptions) => {
3
+ class: (string | {
4
+ pop: boolean;
5
+ divider: boolean;
6
+ })[];
7
+ };
8
+ export declare const getDecisionModalHeaderAttrs: () => {
9
+ class: string[];
10
+ };
11
+ export declare const getDecisionModalBodyAttrs: () => {
12
+ class: string[];
13
+ };
14
+ export declare const getDecisionModalFooterAttrs: (options: DecisionModalFooterAttrOptions) => {
15
+ class: string[];
16
+ };
@@ -0,0 +1,39 @@
1
+ import { ButtonVariant } from '../button/button.type';
2
+ export type DecisionModalButton = {
3
+ text?: string;
4
+ role?: string;
5
+ variant?: ButtonVariant;
6
+ handler?: () => void;
7
+ data?: unknown;
8
+ };
9
+ export type DecisionModalFlow = "row" | "column";
10
+ export type DecisionModalProps = {
11
+ visible?: boolean;
12
+ title?: string;
13
+ message: string;
14
+ actions: DecisionModalButton[];
15
+ dismiss?: Array<string>;
16
+ placement?: string;
17
+ role?: string;
18
+ shape?: string;
19
+ divider?: boolean;
20
+ flow?: DecisionModalFlow;
21
+ keepalive?: boolean;
22
+ };
23
+ export type DecisionModalComposableProps = DecisionModalProps & {
24
+ onClose?: (type?: string) => void;
25
+ onChoose?: (btn?: DecisionModalButton) => void;
26
+ };
27
+ export type DecisionModalEvent = {
28
+ (e: "close", type?: string): void;
29
+ (e: "choose", btn: DecisionModalButton): void;
30
+ };
31
+ export type DecisionModalAttrOptions = {
32
+ role: string;
33
+ shape: string;
34
+ pop: boolean;
35
+ divider: boolean;
36
+ };
37
+ export type DecisionModalFooterAttrOptions = {
38
+ flow: string;
39
+ };
@@ -0,0 +1,3 @@
1
+ export * from './decision-modal.constants';
2
+ export * from './decision-modal.type';
3
+ export * from './decision-modal.logic';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Divider Default Props
3
+ */
4
+ export declare const DIVIDER_DEFAULT_PROPS: {
5
+ readonly direction: "horizontal";
6
+ };
@@ -0,0 +1,6 @@
1
+ import { DividerAttrOptions } from './divider.type';
2
+ export declare const getDividerAttrs: (options: DividerAttrOptions) => {
3
+ class: (string | {
4
+ [x: string]: boolean;
5
+ })[];
6
+ };
@@ -0,0 +1,9 @@
1
+ export type DividerDirection = "horizontal" | "vertical";
2
+ export type DividerProps = {
3
+ direction?: DividerDirection;
4
+ role?: string;
5
+ };
6
+ export type DividerAttrOptions = {
7
+ role: string;
8
+ direction: string;
9
+ };
@@ -0,0 +1,3 @@
1
+ export * from './divider.constants';
2
+ export * from './divider.type';
3
+ export * from './divider.logic';
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Dropdown Default Props
3
+ */
4
+ export declare const DROPDOWN_DEFAULT_PROPS: {
5
+ readonly modelValue: false;
6
+ readonly disabled: false;
7
+ readonly placement: "bottom-start";
8
+ readonly role: undefined;
9
+ readonly shadow: undefined;
10
+ readonly shape: undefined;
11
+ readonly direction: undefined;
12
+ readonly size: "standard";
13
+ };
@@ -0,0 +1,11 @@
1
+ import { DropdownAttrOptions, DropdownPanelAttrOptions } from './dropdown.type';
2
+ export declare const getDropdownAttrs: (options: DropdownAttrOptions) => {
3
+ class: (string | {
4
+ open: boolean;
5
+ disabled: boolean;
6
+ shadow: boolean;
7
+ })[];
8
+ };
9
+ export declare const getDropdownPanelAttrs: (options: DropdownPanelAttrOptions) => {
10
+ class: string[];
11
+ };
@@ -0,0 +1,29 @@
1
+ import { AppDirection } from '../app/app.type';
2
+ export type DropdownPlacement = "bottom-start" | "bottom-end" | "top-start" | "top-end";
3
+ export type DropdownSize = string;
4
+ export type DropdownProps = {
5
+ modelValue?: boolean;
6
+ disabled?: boolean;
7
+ placement?: DropdownPlacement;
8
+ role?: string;
9
+ shadow?: boolean;
10
+ shape?: string;
11
+ direction?: AppDirection;
12
+ size?: DropdownSize;
13
+ };
14
+ export type DropdownEvent = {
15
+ (e: "update:modelValue", open: boolean): void;
16
+ (e: "open"): void;
17
+ (e: "close"): void;
18
+ };
19
+ export type DropdownAttrOptions = {
20
+ role: string;
21
+ shape: string;
22
+ size: string;
23
+ open: boolean;
24
+ disabled: boolean;
25
+ shadow: boolean;
26
+ };
27
+ export type DropdownPanelAttrOptions = {
28
+ placement: string;
29
+ };
@@ -0,0 +1,3 @@
1
+ export * from './dropdown.constants';
2
+ export * from './dropdown.type';
3
+ export * from './dropdown.logic';
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Field Default Props
3
+ */
4
+ export declare const FIELD_DEFAULT_PROPS: {
5
+ readonly modelValue: "";
6
+ readonly type: "text";
7
+ readonly size: "standard";
8
+ readonly role: undefined;
9
+ readonly shape: undefined;
10
+ readonly disabled: false;
11
+ readonly readonly: false;
12
+ readonly message: "";
13
+ readonly variant: "outline";
14
+ readonly placeholder: "";
15
+ readonly shadow: undefined;
16
+ readonly direction: undefined;
17
+ readonly line: 1;
18
+ readonly maxLine: 1;
19
+ };