@aham.ro/ui-designer 0.1.4 → 0.1.5

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 (37) hide show
  1. package/dist/Designer.vue.d.ts +9 -1
  2. package/dist/iam-designer.css +1 -1
  3. package/dist/iam-designer.js +2536 -95
  4. package/dist/index.d.ts +7 -1
  5. package/dist/stores/checklist.d.ts +11 -0
  6. package/dist/stores/screens.d.ts +26 -0
  7. package/dist/widgets/ComponenList.vue.d.ts +7 -0
  8. package/dist/widgets/Properties.vue.d.ts +3 -0
  9. package/dist/widgets/SideInfo.vue.d.ts +9 -0
  10. package/dist/widgets/TemplateList.vue.d.ts +16 -0
  11. package/dist/widgets/TextScroller.vue.d.ts +24 -0
  12. package/dist/widgets/components/Alert.vue.d.ts +10 -0
  13. package/dist/widgets/components/Card.vue.d.ts +29 -0
  14. package/dist/widgets/components/Checkbox.vue.d.ts +11 -0
  15. package/dist/widgets/components/ConsentCard.vue.d.ts +10 -0
  16. package/dist/widgets/components/Container.vue.d.ts +25 -0
  17. package/dist/widgets/components/Content.vue.d.ts +18 -0
  18. package/dist/widgets/components/Divider.vue.d.ts +8 -0
  19. package/dist/widgets/components/EmailInput.vue.d.ts +13 -0
  20. package/dist/widgets/components/Heading.vue.d.ts +10 -0
  21. package/dist/widgets/components/Image.vue.d.ts +20 -0
  22. package/dist/widgets/components/Layout.vue.d.ts +22 -0
  23. package/dist/widgets/components/LayoutRef.vue.d.ts +20 -0
  24. package/dist/widgets/components/OtpInput.vue.d.ts +10 -0
  25. package/dist/widgets/components/PasswordInput.vue.d.ts +15 -0
  26. package/dist/widgets/components/ScopeList.vue.d.ts +8 -0
  27. package/dist/widgets/components/SocialButton.vue.d.ts +11 -0
  28. package/dist/widgets/components/Spacer.vue.d.ts +8 -0
  29. package/dist/widgets/components/SubmitButton.vue.d.ts +10 -0
  30. package/dist/widgets/components/Text.vue.d.ts +8 -0
  31. package/dist/widgets/components/TextInput.vue.d.ts +13 -0
  32. package/dist/widgets/components/TextLink.vue.d.ts +12 -0
  33. package/dist/widgets/components/index.d.ts +21 -0
  34. package/dist/widgets/components/types.d.ts +25 -0
  35. package/dist/widgets/header/IconButton.vue.d.ts +1 -1
  36. package/dist/widgets/header/types.d.ts +14 -0
  37. package/package.json +9 -4
package/dist/index.d.ts CHANGED
@@ -1,3 +1,9 @@
1
1
  import './designer.css';
2
2
  export { default as Designer } from './Designer.vue';
3
- export type { MoreMenuItem } from './widgets/header/types';
3
+ export { default as TextScroller } from './widgets/TextScroller.vue';
4
+ export type { MoreMenuItem, Template } from './widgets/header/types';
5
+ export { useChecklistStore } from './stores/checklist';
6
+ export type { ChecklistItem } from './stores/checklist';
7
+ export { useScreensStore } from './stores/screens';
8
+ export type { DynamicScreen, PredefinedScreen, Screen } from './stores/screens';
9
+ export * from './widgets/components';
@@ -0,0 +1,11 @@
1
+ export interface ChecklistItem {
2
+ id: string;
3
+ label: string;
4
+ complete: boolean;
5
+ }
6
+ export declare const useChecklistStore: import("pinia").StoreDefinition<"checklist", {
7
+ items: ChecklistItem[];
8
+ }, {}, {
9
+ setComplete(id: string, complete?: boolean): void;
10
+ reset(): void;
11
+ }>;
@@ -0,0 +1,26 @@
1
+ export interface ScreenBase {
2
+ id: string;
3
+ name: string;
4
+ icon: string;
5
+ channel: string;
6
+ version: string;
7
+ changed: boolean;
8
+ }
9
+ export interface PredefinedScreen extends ScreenBase {
10
+ type: 'predefined';
11
+ }
12
+ export interface DynamicScreen extends ScreenBase {
13
+ type: 'dynamic';
14
+ content?: Record<string, unknown>;
15
+ }
16
+ export type Screen = PredefinedScreen | DynamicScreen;
17
+ export declare const useScreensStore: import("pinia").StoreDefinition<"screens", {
18
+ screens: Screen[];
19
+ screen: Screen | null;
20
+ }, {}, {
21
+ setScreens(screens: Screen[]): void;
22
+ setActive(id: string): void;
23
+ addDynamicLayout(template?: DynamicScreen): void;
24
+ rename(id: string, name: string): void;
25
+ clear(): void;
26
+ }>;
@@ -0,0 +1,7 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ select: (type: string) => any;
3
+ }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
4
+ onSelect?: ((type: string) => any) | undefined;
5
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import type { ChecklistItem } from './header/types';
2
+ type __VLS_Props = {
3
+ items?: ChecklistItem[];
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
+ items: ChecklistItem[];
7
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import type { Template } from './header/types';
2
+ type __VLS_Props = {
3
+ templates?: Template[];
4
+ focusedTemplateId?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ select: (id: string) => any;
8
+ add: () => any;
9
+ rename: (id: string, name: string) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onSelect?: ((id: string) => any) | undefined;
12
+ onAdd?: (() => any) | undefined;
13
+ onRename?: ((id: string, name: string) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ delay?: number;
3
+ repeatDelay?: number;
4
+ speed?: number;
5
+ active?: boolean;
6
+ };
7
+ declare var __VLS_1: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
+ delay: number;
13
+ repeatDelay: number;
14
+ speed: number;
15
+ active: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ tone?: 'info' | 'success' | 'error';
3
+ text?: string;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
+ text: string;
7
+ tone: "info" | "success" | "error";
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,29 @@
1
+ import { type BoxProps } from './types';
2
+ interface CardProps extends BoxProps {
3
+ shadow?: boolean;
4
+ }
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<CardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {
10
+ layout: "flex" | "grid" | "block";
11
+ padding: import("./types").ComponentLength;
12
+ gap: import("./types").ComponentLength;
13
+ radius: import("./types").ComponentLength;
14
+ position: "relative" | "absolute";
15
+ direction: "row" | "column";
16
+ columns: string;
17
+ align: string;
18
+ justify: string;
19
+ borderStyle: "none" | "solid" | "dashed" | "dotted";
20
+ shadow: boolean;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ checked?: boolean;
4
+ modelValue?: boolean;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ label: string;
8
+ checked: boolean;
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ appName?: string;
3
+ requestedBy?: string;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
+ appName: string;
7
+ requestedBy: string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import { type BoxProps } from './types';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<BoxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BoxProps> & Readonly<{}>, {
7
+ layout: "flex" | "grid" | "block";
8
+ padding: import("./types").ComponentLength;
9
+ gap: import("./types").ComponentLength;
10
+ radius: import("./types").ComponentLength;
11
+ position: "relative" | "absolute";
12
+ direction: "row" | "column";
13
+ columns: string;
14
+ align: string;
15
+ justify: string;
16
+ borderStyle: "none" | "solid" | "dashed" | "dotted";
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = {
2
+ note?: string;
3
+ };
4
+ declare var __VLS_1: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_1) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
+ note: string;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
+ label: string;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,13 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ placeholder?: string;
4
+ required?: boolean;
5
+ modelValue?: string;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ label: string;
9
+ placeholder: string;
10
+ required: boolean;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ text?: string;
3
+ size?: 'sm' | 'md' | 'lg' | 'xl';
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
+ text: string;
7
+ size: "sm" | "md" | "lg" | "xl";
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ src?: string;
3
+ alt?: string;
4
+ width?: string | number;
5
+ height?: string | number;
6
+ radius?: string | number;
7
+ href?: string;
8
+ hrefTarget?: '_self' | '_blank';
9
+ };
10
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ height: string | number;
12
+ width: string | number;
13
+ radius: string | number;
14
+ href: string;
15
+ src: string;
16
+ alt: string;
17
+ hrefTarget: "_self" | "_blank";
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ direction?: 'row' | 'column';
3
+ gap?: number | string;
4
+ padding?: number | string;
5
+ };
6
+ declare var __VLS_1: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ };
10
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ padding: number | string;
12
+ gap: number | string;
13
+ direction: "row" | "column";
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ layoutKey?: string;
3
+ label?: string;
4
+ };
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ label: string;
11
+ layoutKey: string;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ digits?: number;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
+ label: string;
7
+ digits: number;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,15 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ placeholder?: string;
4
+ required?: boolean;
5
+ showForgot?: boolean;
6
+ modelValue?: string;
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
+ label: string;
10
+ placeholder: string;
11
+ required: boolean;
12
+ showForgot: boolean;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ scopes?: string[] | string;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
+ scopes: string[] | string;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,11 @@
1
+ type Provider = 'google' | 'github' | 'microsoft' | 'apple';
2
+ type __VLS_Props = {
3
+ provider?: Provider;
4
+ text?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ text: string;
8
+ provider: Provider;
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ height?: number | string;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
+ height: number | string;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ text?: string;
3
+ style?: 'primary' | 'secondary';
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
+ style: "primary" | "secondary";
7
+ text: string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ text?: string;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
+ text: string;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,13 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ placeholder?: string;
4
+ required?: boolean;
5
+ modelValue?: string;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ label: string;
9
+ placeholder: string;
10
+ required: boolean;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
@@ -0,0 +1,12 @@
1
+ type __VLS_Props = {
2
+ text?: string;
3
+ href?: string;
4
+ target?: '_self' | '_blank';
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ text: string;
8
+ href: string;
9
+ target: "_self" | "_blank";
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -0,0 +1,21 @@
1
+ export { default as Container } from './Container.vue';
2
+ export { default as Card } from './Card.vue';
3
+ export { default as Spacer } from './Spacer.vue';
4
+ export { default as Divider } from './Divider.vue';
5
+ export { default as Layout } from './Layout.vue';
6
+ export { default as LayoutRef } from './LayoutRef.vue';
7
+ export { default as EmailInput } from './EmailInput.vue';
8
+ export { default as TextInput } from './TextInput.vue';
9
+ export { default as PasswordInput } from './PasswordInput.vue';
10
+ export { default as OtpInput } from './OtpInput.vue';
11
+ export { default as Checkbox } from './Checkbox.vue';
12
+ export { default as SubmitButton } from './SubmitButton.vue';
13
+ export { default as SocialButton } from './SocialButton.vue';
14
+ export { default as TextLink } from './TextLink.vue';
15
+ export { default as Heading } from './Heading.vue';
16
+ export { default as Text } from './Text.vue';
17
+ export { default as Image } from './Image.vue';
18
+ export { default as Alert } from './Alert.vue';
19
+ export { default as Content } from './Content.vue';
20
+ export { default as ConsentCard } from './ConsentCard.vue';
21
+ export { default as ScopeList } from './ScopeList.vue';
@@ -0,0 +1,25 @@
1
+ export type ComponentLength = string | number;
2
+ export interface BoxProps {
3
+ width?: ComponentLength;
4
+ height?: ComponentLength;
5
+ margin?: ComponentLength;
6
+ padding?: ComponentLength;
7
+ layout?: 'flex' | 'grid' | 'block';
8
+ direction?: 'row' | 'column';
9
+ gap?: ComponentLength;
10
+ columns?: string;
11
+ align?: string;
12
+ justify?: string;
13
+ background?: string;
14
+ borderStyle?: 'none' | 'solid' | 'dashed' | 'dotted';
15
+ borderColor?: string;
16
+ borderWidth?: ComponentLength;
17
+ radius?: ComponentLength;
18
+ position?: 'relative' | 'absolute';
19
+ left?: ComponentLength;
20
+ top?: ComponentLength;
21
+ right?: ComponentLength;
22
+ bottom?: ComponentLength;
23
+ }
24
+ export declare function cssLength(value: ComponentLength | undefined): string | undefined;
25
+ export declare function boxStyle(props: BoxProps): Record<string, string>;
@@ -4,8 +4,8 @@ type __VLS_Props = {
4
4
  disabled?: boolean;
5
5
  };
6
6
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
- icon: string;
8
7
  title: string;
8
+ icon: string;
9
9
  disabled: boolean;
10
10
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const _default: typeof __VLS_export;
@@ -4,3 +4,17 @@ export interface MoreMenuItem {
4
4
  icon?: string;
5
5
  disabled?: boolean;
6
6
  }
7
+ export interface Template {
8
+ id: string;
9
+ name: string;
10
+ version: string;
11
+ channel: string;
12
+ icon: string;
13
+ changed: boolean;
14
+ type?: 'predefined' | 'dynamic';
15
+ }
16
+ export interface ChecklistItem {
17
+ id: string;
18
+ label: string;
19
+ complete: boolean;
20
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aham.ro/ui-designer",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Vue components for the UI designer for IAM and email templates.",
5
5
  "type": "module",
6
6
  "files": [
@@ -20,7 +20,7 @@
20
20
  "scripts": {
21
21
  "dev": "vite",
22
22
  "build": "vite build && vue-tsc --project tsconfig.lib.json",
23
- "build:watch": "vite build --watch",
23
+ "build:watch": "vite build --watch & vue-tsc --project tsconfig.lib.json --watch",
24
24
  "preview": "vite preview"
25
25
  },
26
26
  "peerDependencies": {
@@ -30,9 +30,14 @@
30
30
  "@types/node": "^24.13.3",
31
31
  "@vitejs/plugin-vue": "^6.0.8",
32
32
  "@vue/tsconfig": "^0.9.1",
33
+ "pinia": "^4.0.2",
33
34
  "typescript": "~6.0.2",
34
35
  "vite": "^8.3.0",
35
- "vue-tsc": "^3.3.11",
36
- "vue": "^3.5.42"
36
+ "vue": "^3.5.42",
37
+ "vue-tsc": "^3.3.11"
38
+ },
39
+ "dependencies": {
40
+ "overlayscrollbars-vue": "^0.5.10",
41
+ "pinia": "^4.0.2"
37
42
  }
38
43
  }