@neowit/orbit-vue 0.1.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.
Files changed (94) hide show
  1. package/dist/atoms/OBadge/OBadge.vue.d.ts +30 -0
  2. package/dist/atoms/OBadge/OBadge.vue.d.ts.map +1 -0
  3. package/dist/atoms/OBadge/index.d.ts +3 -0
  4. package/dist/atoms/OBadge/index.d.ts.map +1 -0
  5. package/dist/atoms/OButton/OButton.vue.d.ts +53 -0
  6. package/dist/atoms/OButton/OButton.vue.d.ts.map +1 -0
  7. package/dist/atoms/OButton/index.d.ts +3 -0
  8. package/dist/atoms/OButton/index.d.ts.map +1 -0
  9. package/dist/atoms/OCheckbox/OCheckbox.vue.d.ts +18 -0
  10. package/dist/atoms/OCheckbox/OCheckbox.vue.d.ts.map +1 -0
  11. package/dist/atoms/OCheckbox/index.d.ts +3 -0
  12. package/dist/atoms/OCheckbox/index.d.ts.map +1 -0
  13. package/dist/atoms/OFieldLabel/OFieldLabel.vue.d.ts +15 -0
  14. package/dist/atoms/OFieldLabel/OFieldLabel.vue.d.ts.map +1 -0
  15. package/dist/atoms/OFieldLabel/index.d.ts +3 -0
  16. package/dist/atoms/OFieldLabel/index.d.ts.map +1 -0
  17. package/dist/atoms/OFieldWrap/OFieldWrap.vue.d.ts +25 -0
  18. package/dist/atoms/OFieldWrap/OFieldWrap.vue.d.ts.map +1 -0
  19. package/dist/atoms/OFieldWrap/index.d.ts +3 -0
  20. package/dist/atoms/OFieldWrap/index.d.ts.map +1 -0
  21. package/dist/atoms/OHelpText/OHelpText.vue.d.ts +21 -0
  22. package/dist/atoms/OHelpText/OHelpText.vue.d.ts.map +1 -0
  23. package/dist/atoms/OHelpText/index.d.ts +3 -0
  24. package/dist/atoms/OHelpText/index.d.ts.map +1 -0
  25. package/dist/atoms/ORadioButton/ORadioButton.vue.d.ts +17 -0
  26. package/dist/atoms/ORadioButton/ORadioButton.vue.d.ts.map +1 -0
  27. package/dist/atoms/ORadioButton/index.d.ts +3 -0
  28. package/dist/atoms/ORadioButton/index.d.ts.map +1 -0
  29. package/dist/atoms/OStatusIcon/OStatusIcon.vue.d.ts +19 -0
  30. package/dist/atoms/OStatusIcon/OStatusIcon.vue.d.ts.map +1 -0
  31. package/dist/atoms/OStatusIcon/index.d.ts +3 -0
  32. package/dist/atoms/OStatusIcon/index.d.ts.map +1 -0
  33. package/dist/atoms/OSwitch/OSwitch.vue.d.ts +16 -0
  34. package/dist/atoms/OSwitch/OSwitch.vue.d.ts.map +1 -0
  35. package/dist/atoms/OSwitch/index.d.ts +3 -0
  36. package/dist/atoms/OSwitch/index.d.ts.map +1 -0
  37. package/dist/atoms/OText/OText.vue.d.ts +25 -0
  38. package/dist/atoms/OText/OText.vue.d.ts.map +1 -0
  39. package/dist/atoms/OText/index.d.ts +3 -0
  40. package/dist/atoms/OText/index.d.ts.map +1 -0
  41. package/dist/atoms/OTooltip/OTooltip.vue.d.ts +32 -0
  42. package/dist/atoms/OTooltip/OTooltip.vue.d.ts.map +1 -0
  43. package/dist/atoms/OTooltip/index.d.ts +3 -0
  44. package/dist/atoms/OTooltip/index.d.ts.map +1 -0
  45. package/dist/composables/index.d.ts +5 -0
  46. package/dist/composables/index.d.ts.map +1 -0
  47. package/dist/composables/useDialog.d.ts +100 -0
  48. package/dist/composables/useDialog.d.ts.map +1 -0
  49. package/dist/composables/useTheme.d.ts +15 -0
  50. package/dist/composables/useTheme.d.ts.map +1 -0
  51. package/dist/index.d.ts +49 -0
  52. package/dist/index.d.ts.map +1 -0
  53. package/dist/molecules/OAlert/OAlert.vue.d.ts +40 -0
  54. package/dist/molecules/OAlert/OAlert.vue.d.ts.map +1 -0
  55. package/dist/molecules/OAlert/index.d.ts +3 -0
  56. package/dist/molecules/OAlert/index.d.ts.map +1 -0
  57. package/dist/molecules/OButtonGroup/OButtonGroup.vue.d.ts +19 -0
  58. package/dist/molecules/OButtonGroup/OButtonGroup.vue.d.ts.map +1 -0
  59. package/dist/molecules/OButtonGroup/index.d.ts +3 -0
  60. package/dist/molecules/OButtonGroup/index.d.ts.map +1 -0
  61. package/dist/molecules/OCheckboxGroup/OCheckboxGroup.vue.d.ts +36 -0
  62. package/dist/molecules/OCheckboxGroup/OCheckboxGroup.vue.d.ts.map +1 -0
  63. package/dist/molecules/OCheckboxGroup/index.d.ts +3 -0
  64. package/dist/molecules/OCheckboxGroup/index.d.ts.map +1 -0
  65. package/dist/molecules/ORadioGroup/ORadioGroup.vue.d.ts +30 -0
  66. package/dist/molecules/ORadioGroup/ORadioGroup.vue.d.ts.map +1 -0
  67. package/dist/molecules/ORadioGroup/index.d.ts +3 -0
  68. package/dist/molecules/ORadioGroup/index.d.ts.map +1 -0
  69. package/dist/molecules/OSelect/OSelect.vue.d.ts +93 -0
  70. package/dist/molecules/OSelect/OSelect.vue.d.ts.map +1 -0
  71. package/dist/molecules/OSelect/index.d.ts +3 -0
  72. package/dist/molecules/OSelect/index.d.ts.map +1 -0
  73. package/dist/molecules/OTextArea/OTextArea.vue.d.ts +36 -0
  74. package/dist/molecules/OTextArea/OTextArea.vue.d.ts.map +1 -0
  75. package/dist/molecules/OTextArea/index.d.ts +3 -0
  76. package/dist/molecules/OTextArea/index.d.ts.map +1 -0
  77. package/dist/molecules/OTextField/OTextField.vue.d.ts +63 -0
  78. package/dist/molecules/OTextField/OTextField.vue.d.ts.map +1 -0
  79. package/dist/molecules/OTextField/index.d.ts +3 -0
  80. package/dist/molecules/OTextField/index.d.ts.map +1 -0
  81. package/dist/orbit.cjs +21 -0
  82. package/dist/orbit.js +4218 -0
  83. package/dist/organisms/OAlertDialog/OAlertDialog.vue.d.ts +64 -0
  84. package/dist/organisms/OAlertDialog/OAlertDialog.vue.d.ts.map +1 -0
  85. package/dist/organisms/OAlertDialog/index.d.ts +3 -0
  86. package/dist/organisms/OAlertDialog/index.d.ts.map +1 -0
  87. package/dist/organisms/ODialog/ODialog.vue.d.ts +96 -0
  88. package/dist/organisms/ODialog/ODialog.vue.d.ts.map +1 -0
  89. package/dist/organisms/ODialog/ODialogProvider.vue.d.ts +3 -0
  90. package/dist/organisms/ODialog/ODialogProvider.vue.d.ts.map +1 -0
  91. package/dist/organisms/ODialog/index.d.ts +4 -0
  92. package/dist/organisms/ODialog/index.d.ts.map +1 -0
  93. package/dist/style.css +1 -0
  94. package/package.json +39 -0
@@ -0,0 +1,30 @@
1
+ export type BadgeType = 'solid' | 'soft' | 'status' | 'icon' | 'dot';
2
+ export type BadgeColor = 'pink' | 'gray' | 'green' | 'red' | 'yellow' | 'blue' | 'purple' | 'indigo' | 'orange' | 'teal' | 'cyan';
3
+ export interface OBadgeProps {
4
+ /** Visual style of the badge */
5
+ type?: BadgeType;
6
+ /** Color variant */
7
+ color?: BadgeColor;
8
+ /** Truncate text with ellipsis at this max-width (e.g. '120px') */
9
+ maxWidth?: string;
10
+ /** Render icon-only badge without text (only with type="icon") */
11
+ iconOnly?: boolean;
12
+ }
13
+ declare var __VLS_1: {}, __VLS_3: {};
14
+ type __VLS_Slots = {} & {
15
+ icon?: (props: typeof __VLS_1) => any;
16
+ } & {
17
+ default?: (props: typeof __VLS_3) => any;
18
+ };
19
+ declare const __VLS_component: import("vue").DefineComponent<OBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OBadgeProps> & Readonly<{}>, {
20
+ type: BadgeType;
21
+ color: BadgeColor;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
24
+ export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
30
+ //# sourceMappingURL=OBadge.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OBadge.vue.d.ts","sourceRoot":"","sources":["../../../src/atoms/OBadge/OBadge.vue"],"names":[],"mappings":"AA2MA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,KAAK,CAAA;AACpE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAA;AAEjI,MAAM,WAAW,WAAW;IAC1B,gCAAgC;IAChC,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,oBAAoB;IACpB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AA0DD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqB/C,QAAA,MAAM,eAAe;UAzFZ,SAAS;WAER,UAAU;6EA8FlB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as OBadge } from './OBadge.vue';
2
+ export type { BadgeType, BadgeColor, OBadgeProps } from './OBadge.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/OBadge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAA;AAChD,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA"}
@@ -0,0 +1,53 @@
1
+ export type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'link' | 'destructive';
2
+ export type ButtonSize = 'large' | 'medium' | 'small';
3
+ export type ButtonDisclosure = 'down' | 'up';
4
+ export interface OButtonProps {
5
+ variant?: ButtonVariant;
6
+ size?: ButtonSize;
7
+ disabled?: boolean;
8
+ loading?: boolean;
9
+ loadingText?: string;
10
+ fullWidth?: boolean;
11
+ pressed?: boolean;
12
+ count?: number;
13
+ description?: string;
14
+ disclosure?: ButtonDisclosure | boolean;
15
+ type?: 'button' | 'submit' | 'reset';
16
+ /** Render as anchor tag instead of button */
17
+ href?: string;
18
+ /** Target attribute for links */
19
+ target?: string;
20
+ }
21
+ declare var __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
22
+ type __VLS_Slots = {} & {
23
+ 'leading-icon'?: (props: typeof __VLS_10) => any;
24
+ } & {
25
+ default?: (props: typeof __VLS_12) => any;
26
+ } & {
27
+ 'trailing-icon'?: (props: typeof __VLS_14) => any;
28
+ };
29
+ declare const __VLS_component: import("vue").DefineComponent<OButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ click: (event: MouseEvent) => any;
31
+ }, string, import("vue").PublicProps, Readonly<OButtonProps> & Readonly<{
32
+ onClick?: ((event: MouseEvent) => any) | undefined;
33
+ }>, {
34
+ variant: ButtonVariant;
35
+ type: "button" | "submit" | "reset";
36
+ disabled: boolean;
37
+ description: string;
38
+ size: ButtonSize;
39
+ loading: boolean;
40
+ loadingText: string;
41
+ fullWidth: boolean;
42
+ pressed: boolean;
43
+ count: number;
44
+ disclosure: ButtonDisclosure | boolean;
45
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
46
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
47
+ export default _default;
48
+ type __VLS_WithSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
53
+ //# sourceMappingURL=OButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OButton.vue.d.ts","sourceRoot":"","sources":["../../../src/atoms/OButton/OButton.vue"],"names":[],"mappings":"AAmgBA,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,aAAa,CAAA;AAClG,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AACrD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,IAAI,CAAA;AAE5C,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAA;IACvC,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;IACpC,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAoND,QAAA,IAAI,QAAQ,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACnE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA0BxD,QAAA,MAAM,eAAe;;;;;aAjQT,aAAa;UAUhB,QAAQ,GAAG,QAAQ,GAAG,OAAO;cARzB,OAAO;iBAMJ,MAAM;UAPb,UAAU;aAEP,OAAO;iBACH,MAAM;eACR,OAAO;aACT,OAAO;WACT,MAAM;gBAED,gBAAgB,GAAG,OAAO;6EAgQvC,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as OButton } from './OButton.vue';
2
+ export type { ButtonVariant, ButtonSize, ButtonDisclosure, OButtonProps } from './OButton.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/OButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA;AAClD,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA"}
@@ -0,0 +1,18 @@
1
+ export interface OCheckboxProps {
2
+ modelValue?: boolean;
3
+ indeterminate?: boolean;
4
+ disabled?: boolean;
5
+ label?: string;
6
+ description?: string;
7
+ }
8
+ declare const _default: import("vue").DefineComponent<OCheckboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (value: boolean) => any;
10
+ }, string, import("vue").PublicProps, Readonly<OCheckboxProps> & Readonly<{
11
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
12
+ }>, {
13
+ disabled: boolean;
14
+ modelValue: boolean;
15
+ indeterminate: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ export default _default;
18
+ //# sourceMappingURL=OCheckbox.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/atoms/OCheckbox/OCheckbox.vue"],"names":[],"mappings":"AAuNA,MAAM,WAAW,cAAc;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;;;;;;cAHY,OAAO;gBAFL,OAAO;mBACJ,OAAO;;AAqJzB,wBAQG"}
@@ -0,0 +1,3 @@
1
+ export { default as OCheckbox } from './OCheckbox.vue';
2
+ export type { OCheckboxProps } from './OCheckbox.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/OCheckbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAA;AACtD,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA"}
@@ -0,0 +1,15 @@
1
+ export interface OFieldLabelProps {
2
+ label?: string;
3
+ required?: boolean;
4
+ optional?: boolean;
5
+ disabled?: boolean;
6
+ charCount?: number;
7
+ maxLength?: number;
8
+ }
9
+ declare const _default: import("vue").DefineComponent<OFieldLabelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OFieldLabelProps> & Readonly<{}>, {
10
+ required: boolean;
11
+ disabled: boolean;
12
+ optional: boolean;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
15
+ //# sourceMappingURL=OFieldLabel.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OFieldLabel.vue.d.ts","sourceRoot":"","sources":["../../../src/atoms/OFieldLabel/OFieldLabel.vue"],"names":[],"mappings":"AAkFA,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;;cALY,OAAO;cAEP,OAAO;cADP,OAAO;;AAoFpB,wBAOG"}
@@ -0,0 +1,3 @@
1
+ export { default as OFieldLabel } from './OFieldLabel.vue';
2
+ export type { OFieldLabelProps } from './OFieldLabel.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/OFieldLabel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC1D,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,25 @@
1
+ export type FieldWrapSize = 'medium' | 'small';
2
+ export interface OFieldWrapProps {
3
+ size?: FieldWrapSize;
4
+ focused?: boolean;
5
+ invalid?: boolean;
6
+ disabled?: boolean;
7
+ }
8
+ declare var __VLS_1: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_1) => any;
11
+ };
12
+ declare const __VLS_component: import("vue").DefineComponent<OFieldWrapProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OFieldWrapProps> & Readonly<{}>, {
13
+ disabled: boolean;
14
+ size: FieldWrapSize;
15
+ focused: boolean;
16
+ invalid: boolean;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
25
+ //# sourceMappingURL=OFieldWrap.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OFieldWrap.vue.d.ts","sourceRoot":"","sources":["../../../src/atoms/OFieldWrap/OFieldWrap.vue"],"names":[],"mappings":"AA8FA,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE9C,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AA0CD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqB/C,QAAA,MAAM,eAAe;cAlER,OAAO;UAHX,aAAa;aACV,OAAO;aACP,OAAO;6EA0EjB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as OFieldWrap } from './OFieldWrap.vue';
2
+ export type { FieldWrapSize, OFieldWrapProps } from './OFieldWrap.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/OFieldWrap/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAA;AACxD,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA"}
@@ -0,0 +1,21 @@
1
+ export type HelpTextVariant = 'neutral' | 'negative';
2
+ export interface OHelpTextProps {
3
+ variant?: HelpTextVariant;
4
+ disabled?: boolean;
5
+ }
6
+ declare var __VLS_1: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ };
10
+ declare const __VLS_component: import("vue").DefineComponent<OHelpTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OHelpTextProps> & Readonly<{}>, {
11
+ variant: HelpTextVariant;
12
+ disabled: boolean;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ //# sourceMappingURL=OHelpText.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OHelpText.vue.d.ts","sourceRoot":"","sources":["../../../src/atoms/OHelpText/OHelpText.vue"],"names":[],"mappings":"AAqDA,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,UAAU,CAAA;AAEpD,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAiCD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAoB/C,QAAA,MAAM,eAAe;aAzDT,eAAe;cACd,OAAO;6EA+DlB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as OHelpText } from './OHelpText.vue';
2
+ export type { HelpTextVariant, OHelpTextProps } from './OHelpText.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/OHelpText/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAA;AACtD,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA"}
@@ -0,0 +1,17 @@
1
+ export interface ORadioButtonProps {
2
+ modelValue?: string;
3
+ value: string;
4
+ disabled?: boolean;
5
+ label?: string;
6
+ description?: string;
7
+ name?: string;
8
+ }
9
+ declare const _default: import("vue").DefineComponent<ORadioButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:modelValue": (value: string) => any;
11
+ }, string, import("vue").PublicProps, Readonly<ORadioButtonProps> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
13
+ }>, {
14
+ disabled: boolean;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
17
+ //# sourceMappingURL=ORadioButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ORadioButton.vue.d.ts","sourceRoot":"","sources":["../../../src/atoms/ORadioButton/ORadioButton.vue"],"names":[],"mappings":"AAqLA,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;;;;;;cAJY,OAAO;;AA2GpB,wBAQG"}
@@ -0,0 +1,3 @@
1
+ export { default as ORadioButton } from './ORadioButton.vue';
2
+ export type { ORadioButtonProps } from './ORadioButton.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/ORadioButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA"}
@@ -0,0 +1,19 @@
1
+ export type StatusIconStatus = 'success' | 'warning' | 'error' | 'info';
2
+ export type StatusIconSize = 'sm' | 'md' | 'lg';
3
+ export interface OStatusIconProps {
4
+ /** Status variant — determines icon shape and color */
5
+ status: StatusIconStatus;
6
+ /** Icon size: sm=16px, md=24px, lg=32px */
7
+ size?: StatusIconSize;
8
+ /** Show tinted circular background */
9
+ filled?: boolean;
10
+ /** White icon color (for colored/dark backgrounds) */
11
+ inverted?: boolean;
12
+ }
13
+ declare const _default: import("vue").DefineComponent<OStatusIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OStatusIconProps> & Readonly<{}>, {
14
+ size: StatusIconSize;
15
+ filled: boolean;
16
+ inverted: boolean;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ export default _default;
19
+ //# sourceMappingURL=OStatusIcon.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OStatusIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/atoms/OStatusIcon/OStatusIcon.vue"],"names":[],"mappings":"AAkMA,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;AACvE,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE/C,MAAM,WAAW,gBAAgB;IAC/B,uDAAuD;IACvD,MAAM,EAAE,gBAAgB,CAAA;IACxB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,sCAAsC;IACtC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;;UALQ,cAAc;YAEZ,OAAO;cAEL,OAAO;;AA8JpB,wBAOG"}
@@ -0,0 +1,3 @@
1
+ export { default as OStatusIcon } from './OStatusIcon.vue';
2
+ export type { OStatusIconProps, StatusIconStatus, StatusIconSize } from './OStatusIcon.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/OStatusIcon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC1D,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,16 @@
1
+ export interface OSwitchProps {
2
+ modelValue?: boolean;
3
+ disabled?: boolean;
4
+ label?: string;
5
+ description?: string;
6
+ }
7
+ declare const _default: import("vue").DefineComponent<OSwitchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "update:modelValue": (value: boolean) => any;
9
+ }, string, import("vue").PublicProps, Readonly<OSwitchProps> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
11
+ }>, {
12
+ disabled: boolean;
13
+ modelValue: boolean;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
16
+ //# sourceMappingURL=OSwitch.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OSwitch.vue.d.ts","sourceRoot":"","sources":["../../../src/atoms/OSwitch/OSwitch.vue"],"names":[],"mappings":"AAmKA,MAAM,WAAW,YAAY;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;;;;;;cAHY,OAAO;gBADL,OAAO;;AAuGtB,wBAQG"}
@@ -0,0 +1,3 @@
1
+ export { default as OSwitch } from './OSwitch.vue';
2
+ export type { OSwitchProps } from './OSwitch.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/OSwitch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA;AAClD,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA"}
@@ -0,0 +1,25 @@
1
+ export type TextVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body-large' | 'body-medium' | 'body-small' | 'body-extra-small' | 'caption-large' | 'caption-small' | 'button-large' | 'button-medium' | 'button-small';
2
+ export interface OTextProps {
3
+ /** Typography variant from the design system */
4
+ variant: TextVariant;
5
+ /** HTML tag to render. Auto-detected from variant if not provided */
6
+ as?: string;
7
+ /** Override font weight (e.g., for bold body text) */
8
+ weight?: 'regular' | 'medium' | 'semi-bold' | 'bold';
9
+ }
10
+ declare var __VLS_6: {};
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_6) => any;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<OTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OTextProps> & Readonly<{}>, {
15
+ as: string;
16
+ weight: "regular" | "medium" | "semi-bold" | "bold";
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
25
+ //# sourceMappingURL=OText.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OText.vue.d.ts","sourceRoot":"","sources":["../../../src/atoms/OText/OText.vue"],"names":[],"mappings":"AA+IA,MAAM,MAAM,WAAW,GACnB,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GACvC,YAAY,GAAG,aAAa,GAAG,YAAY,GAAG,kBAAkB,GAChE,eAAe,GAAG,eAAe,GACjC,cAAc,GAAG,eAAe,GAAG,cAAc,CAAA;AAErD,MAAM,WAAW,UAAU;IACzB,gDAAgD;IAChD,OAAO,EAAE,WAAW,CAAA;IACpB,qEAAqE;IACrE,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,sDAAsD;IACtD,MAAM,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,CAAA;CACrD;AA6CD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqB/C,QAAA,MAAM,eAAe;QAvEd,MAAM;YAEF,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM;6EA4EpD,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as OText } from './OText.vue';
2
+ export type { TextVariant, OTextProps } from './OText.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/OText/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAA;AAC9C,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA"}
@@ -0,0 +1,32 @@
1
+ export type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
2
+ export interface OTooltipProps {
3
+ /** Text content of the tooltip */
4
+ text?: string;
5
+ /** Position relative to trigger element */
6
+ placement?: TooltipPlacement;
7
+ /** Max width before text wraps (e.g. '200px') */
8
+ maxWidth?: string;
9
+ /** Delay in ms before showing */
10
+ showDelay?: number;
11
+ /** Delay in ms before hiding */
12
+ hideDelay?: number;
13
+ }
14
+ declare var __VLS_1: {}, __VLS_7: {};
15
+ type __VLS_Slots = {} & {
16
+ default?: (props: typeof __VLS_1) => any;
17
+ } & {
18
+ content?: (props: typeof __VLS_7) => any;
19
+ };
20
+ declare const __VLS_component: import("vue").DefineComponent<OTooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OTooltipProps> & Readonly<{}>, {
21
+ placement: TooltipPlacement;
22
+ showDelay: number;
23
+ hideDelay: number;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
32
+ //# sourceMappingURL=OTooltip.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OTooltip.vue.d.ts","sourceRoot":"","sources":["../../../src/atoms/OTooltip/OTooltip.vue"],"names":[],"mappings":"AAmMA,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAA;AAElE,MAAM,WAAW,aAAa;IAC5B,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,2CAA2C;IAC3C,SAAS,CAAC,EAAE,gBAAgB,CAAA;IAC5B,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAiFD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAwB/C,QAAA,MAAM,eAAe;eAnHP,gBAAgB;eAIhB,MAAM;eAEN,MAAM;6EAoHlB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as OTooltip } from './OTooltip.vue';
2
+ export type { TooltipPlacement, OTooltipProps } from './OTooltip.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/OTooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACpD,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1,5 @@
1
+ export { useTheme } from './useTheme';
2
+ export type { Theme } from './useTheme';
3
+ export { useDialog } from './useDialog';
4
+ export type { DialogConfirmOptions, DialogAlertOptions, DialogWarningOptions, DialogDestructiveOptions } from './useDialog';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,YAAY,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,YAAY,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA"}
@@ -0,0 +1,100 @@
1
+ import type { AlertDialogVariant } from '../organisms/OAlertDialog/OAlertDialog.vue';
2
+ export interface DialogConfirmOptions {
3
+ /** Dialog title */
4
+ title: string;
5
+ /** Dialog description / body text */
6
+ description?: string;
7
+ /** Confirm button text (default: "Confirmar") */
8
+ confirmText?: string;
9
+ /** Cancel button text (default: "Cancelar") */
10
+ cancelText?: string;
11
+ /** Use destructive styling for confirm button */
12
+ destructive?: boolean;
13
+ /** Dialog size */
14
+ size?: 'sm' | 'md';
15
+ }
16
+ export interface DialogAlertOptions {
17
+ /** Dialog title */
18
+ title: string;
19
+ /** Dialog description / body text */
20
+ description?: string;
21
+ /** Confirm button text (default: "OK") */
22
+ confirmText?: string;
23
+ /** Dialog size */
24
+ size?: 'sm' | 'md';
25
+ }
26
+ export interface DialogWarningOptions {
27
+ /** Dialog title */
28
+ title: string;
29
+ /** Dialog description / body text */
30
+ description?: string;
31
+ /** Confirm button text (default: "Continuar") */
32
+ confirmText?: string;
33
+ /** Cancel button text (default: "Cancelar") */
34
+ cancelText?: string;
35
+ /** Dialog size */
36
+ size?: 'sm' | 'md';
37
+ }
38
+ export interface DialogDestructiveOptions {
39
+ /** Dialog title */
40
+ title: string;
41
+ /** Dialog description / body text */
42
+ description?: string;
43
+ /** Confirm button text (default: "Excluir") */
44
+ confirmText?: string;
45
+ /** Cancel button text (default: "Cancelar") */
46
+ cancelText?: string;
47
+ /** Dialog size */
48
+ size?: 'sm' | 'md';
49
+ }
50
+ export interface DialogInstance {
51
+ id: string;
52
+ type: 'confirm' | 'alert';
53
+ variant: AlertDialogVariant;
54
+ open: boolean;
55
+ options: DialogConfirmOptions | DialogAlertOptions | DialogWarningOptions | DialogDestructiveOptions;
56
+ resolve: (value: boolean) => void;
57
+ }
58
+ /**
59
+ * Programmatic dialog API.
60
+ *
61
+ * Usage:
62
+ * ```ts
63
+ * const dialog = useDialog()
64
+ *
65
+ * // Confirmation dialog — returns true/false
66
+ * const confirmed = await dialog.confirm({
67
+ * title: 'Excluir item?',
68
+ * description: 'Esta ação não pode ser desfeita.',
69
+ * })
70
+ *
71
+ * // Alert dialog — just acknowledges
72
+ * await dialog.alert({
73
+ * title: 'Operação concluída',
74
+ * description: 'O arquivo foi salvo com sucesso.',
75
+ * })
76
+ *
77
+ * // Warning dialog — returns true/false
78
+ * const proceed = await dialog.warning({
79
+ * title: 'Atenção',
80
+ * description: 'Esta ação pode ter consequências.',
81
+ * })
82
+ *
83
+ * // Destructive dialog — returns true/false
84
+ * const deleted = await dialog.destructive({
85
+ * title: 'Excluir item?',
86
+ * description: 'Esta ação não pode ser desfeita.',
87
+ * })
88
+ * ```
89
+ *
90
+ * Requires `<ODialogProvider />` to be mounted in your app root.
91
+ */
92
+ export declare function useDialog(): {
93
+ confirm: (options: DialogConfirmOptions) => Promise<boolean>;
94
+ alert: (options: DialogAlertOptions) => Promise<boolean>;
95
+ warning: (options: DialogWarningOptions) => Promise<boolean>;
96
+ destructive: (options: DialogDestructiveOptions) => Promise<boolean>;
97
+ };
98
+ export declare function _getDialogInstances(): import("vue").Reactive<DialogInstance[]>;
99
+ export declare function _resolveDialog(id: string, value: boolean): void;
100
+ //# sourceMappingURL=useDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDialog.d.ts","sourceRoot":"","sources":["../../src/composables/useDialog.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAA;AAGpF,MAAM,WAAW,oBAAoB;IACnC,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,qCAAqC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iDAAiD;IACjD,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,kBAAkB;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,qCAAqC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kBAAkB;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,qCAAqC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,kBAAkB;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;CACnB;AAED,MAAM,WAAW,wBAAwB;IACvC,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,qCAAqC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+CAA+C;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,kBAAkB;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,SAAS,GAAG,OAAO,CAAA;IACzB,OAAO,EAAE,kBAAkB,CAAA;IAC3B,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,oBAAoB,GAAG,kBAAkB,GAAG,oBAAoB,GAAG,wBAAwB,CAAA;IACpG,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CAClC;AAKD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,SAAS;uBACG,oBAAoB,KAAG,OAAO,CAAC,OAAO,CAAC;qBAczC,kBAAkB,KAAG,OAAO,CAAC,OAAO,CAAC;uBAcnC,oBAAoB,KAAG,OAAO,CAAC,OAAO,CAAC;2BAcnC,wBAAwB,KAAG,OAAO,CAAC,OAAO,CAAC;EAe1E;AAGD,wBAAgB,mBAAmB,6CAElC;AAED,wBAAgB,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,QAWxD"}
@@ -0,0 +1,15 @@
1
+ export type Theme = 'light' | 'dark' | 'system';
2
+ /**
3
+ * Composable for controlling the Orbit theme (light/dark/system).
4
+ *
5
+ * Usage:
6
+ * const { theme, resolvedTheme, setTheme, toggleTheme } = useTheme()
7
+ */
8
+ export declare function useTheme(): {
9
+ theme: import("vue").ComputedRef<Theme>;
10
+ resolvedTheme: import("vue").ComputedRef<"light" | "dark">;
11
+ isDark: import("vue").ComputedRef<boolean>;
12
+ setTheme: (theme: Theme) => void;
13
+ toggleTheme: () => void;
14
+ };
15
+ //# sourceMappingURL=useTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../src/composables/useTheme.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAA;AAsB/C;;;;;GAKG;AACH,wBAAgB,QAAQ;;;;sBAuBG,KAAK;;EAiB/B"}
@@ -0,0 +1,49 @@
1
+ import type { Plugin } from 'vue';
2
+ export { OText } from './atoms/OText';
3
+ export type { TextVariant, OTextProps } from './atoms/OText';
4
+ export { OBadge } from './atoms/OBadge';
5
+ export type { BadgeType, BadgeColor, OBadgeProps } from './atoms/OBadge';
6
+ export { OTooltip } from './atoms/OTooltip';
7
+ export type { TooltipPlacement, OTooltipProps } from './atoms/OTooltip';
8
+ export { OHelpText } from './atoms/OHelpText';
9
+ export type { HelpTextVariant, OHelpTextProps } from './atoms/OHelpText';
10
+ export { OFieldLabel } from './atoms/OFieldLabel';
11
+ export type { OFieldLabelProps } from './atoms/OFieldLabel';
12
+ export { OCheckbox } from './atoms/OCheckbox';
13
+ export type { OCheckboxProps } from './atoms/OCheckbox';
14
+ export { ORadioButton } from './atoms/ORadioButton';
15
+ export type { ORadioButtonProps } from './atoms/ORadioButton';
16
+ export { OSwitch } from './atoms/OSwitch';
17
+ export type { OSwitchProps } from './atoms/OSwitch';
18
+ export { OFieldWrap } from './atoms/OFieldWrap';
19
+ export type { FieldWrapSize, OFieldWrapProps } from './atoms/OFieldWrap';
20
+ export { OButton } from './atoms/OButton';
21
+ export type { ButtonVariant, ButtonSize, ButtonDisclosure, OButtonProps } from './atoms/OButton';
22
+ export { OStatusIcon } from './atoms/OStatusIcon';
23
+ export type { OStatusIconProps, StatusIconStatus, StatusIconSize } from './atoms/OStatusIcon';
24
+ export { OTextField } from './molecules/OTextField';
25
+ export type { TextFieldSize, TextFieldState, TextFieldType, TextFieldMask, OTextFieldProps } from './molecules/OTextField';
26
+ export { OTextArea } from './molecules/OTextArea';
27
+ export type { TextAreaSize, TextAreaState, TextAreaResize, OTextAreaProps } from './molecules/OTextArea';
28
+ export { ORadioGroup } from './molecules/ORadioGroup';
29
+ export type { RadioGroupOrientation, RadioGroupState, RadioGroupOption, ORadioGroupProps } from './molecules/ORadioGroup';
30
+ export { OCheckboxGroup } from './molecules/OCheckboxGroup';
31
+ export type { CheckboxGroupOrientation, CheckboxGroupState, CheckboxGroupOption, OCheckboxGroupProps } from './molecules/OCheckboxGroup';
32
+ export { OButtonGroup } from './molecules/OButtonGroup';
33
+ export type { ButtonGroupOrientation, OButtonGroupProps } from './molecules/OButtonGroup';
34
+ export { OSelect } from './molecules/OSelect';
35
+ export type { SelectSize, SelectState, SelectOption, SelectOptionGroup, OSelectProps } from './molecules/OSelect';
36
+ export { OAlert } from './molecules/OAlert';
37
+ export type { AlertVariant, AlertAppearance, OAlertProps } from './molecules/OAlert';
38
+ export { ODialog, ODialogProvider } from './organisms/ODialog';
39
+ export type { DialogSize, DialogRole, DialogBackdrop, DialogScrollBehavior, DialogCloseReason, DialogMotionPreset, DialogPosition, ODialogProps } from './organisms/ODialog';
40
+ export { OAlertDialog } from './organisms/OAlertDialog';
41
+ export type { AlertDialogVariant, OAlertDialogProps } from './organisms/OAlertDialog';
42
+ export declare const OrbitPlugin: Plugin;
43
+ export default OrbitPlugin;
44
+ export { useTheme } from './composables';
45
+ export type { Theme } from './composables';
46
+ export { useDialog } from './composables';
47
+ export type { DialogConfirmOptions, DialogAlertOptions, DialogWarningOptions, DialogDestructiveOptions } from './composables';
48
+ export * from '@neowit/orbit-tokens';
49
+ //# sourceMappingURL=index.d.ts.map