@aham.ro/ui-designer 0.1.12 → 0.1.13

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 (77) hide show
  1. package/dist/Designer.vue.d.ts +13 -2
  2. package/dist/index.d.ts +7 -3
  3. package/dist/preview.d.ts +35 -0
  4. package/dist/stores/checklist.d.ts +1 -1
  5. package/dist/stores/session.d.ts +13 -0
  6. package/dist/stores/templates.d.ts +5 -1
  7. package/dist/stores/theme.d.ts +12 -5
  8. package/dist/stores/translations.d.ts +9 -1
  9. package/dist/stores/workspace.d.ts +118 -3
  10. package/dist/ui-designer.css +1 -1
  11. package/dist/ui-designer.js +5283 -2428
  12. package/dist/widgets/ComponenList.vue.d.ts +13 -5
  13. package/dist/widgets/Header.vue.d.ts +3 -0
  14. package/dist/widgets/Properties.vue.d.ts +10 -2
  15. package/dist/widgets/SideInfo.vue.d.ts +7 -0
  16. package/dist/widgets/TemplateList.vue.d.ts +1 -0
  17. package/dist/widgets/Workspace.vue.d.ts +10 -1
  18. package/dist/widgets/components/Alert.vue.d.ts +1 -4
  19. package/dist/widgets/components/Checkbox.vue.d.ts +1 -4
  20. package/dist/widgets/components/ConsentCard.vue.d.ts +1 -4
  21. package/dist/widgets/components/Container.vue.d.ts +7 -16
  22. package/dist/widgets/components/DatePicker.vue.d.ts +10 -0
  23. package/dist/widgets/components/Divider.vue.d.ts +1 -3
  24. package/dist/widgets/components/EmailInput.vue.d.ts +1 -5
  25. package/dist/widgets/components/Errors.vue.d.ts +9 -0
  26. package/dist/widgets/components/Heading.vue.d.ts +2 -4
  27. package/dist/widgets/components/Image.vue.d.ts +1 -9
  28. package/dist/widgets/components/Layout.vue.d.ts +3 -7
  29. package/dist/widgets/components/LayoutRef.vue.d.ts +13 -7
  30. package/dist/widgets/components/LayoutSlot.vue.d.ts +13 -0
  31. package/dist/widgets/components/OtpInput.vue.d.ts +1 -4
  32. package/dist/widgets/components/PasswordInput.vue.d.ts +5 -7
  33. package/dist/widgets/components/ScopeList.vue.d.ts +1 -3
  34. package/dist/widgets/components/SocialButton.vue.d.ts +1 -4
  35. package/dist/widgets/components/Spacer.vue.d.ts +1 -3
  36. package/dist/widgets/components/SubmitButton.vue.d.ts +1 -4
  37. package/dist/widgets/components/Text.vue.d.ts +2 -3
  38. package/dist/widgets/components/TextInput.vue.d.ts +5 -5
  39. package/dist/widgets/components/TextLink.vue.d.ts +4 -5
  40. package/dist/widgets/components/ThemeToggler.vue.d.ts +11 -0
  41. package/dist/widgets/components/base/AlertBase.vue.d.ts +10 -0
  42. package/dist/widgets/components/base/CheckboxBase.vue.d.ts +11 -0
  43. package/dist/widgets/components/base/ConsentCardBase.vue.d.ts +10 -0
  44. package/dist/widgets/components/{Card.vue.d.ts → base/ContainerBase.vue.d.ts} +10 -9
  45. package/dist/widgets/components/base/DatePickerBase.vue.d.ts +17 -0
  46. package/dist/widgets/components/base/DividerBase.vue.d.ts +8 -0
  47. package/dist/widgets/components/base/EmailInputBase.vue.d.ts +18 -0
  48. package/dist/widgets/components/base/HeadingBase.vue.d.ts +12 -0
  49. package/dist/widgets/components/base/ImageBase.vue.d.ts +20 -0
  50. package/dist/widgets/components/base/LayoutBase.vue.d.ts +22 -0
  51. package/dist/widgets/components/base/LayoutRefBase.vue.d.ts +23 -0
  52. package/dist/widgets/components/base/OtpInputBase.vue.d.ts +10 -0
  53. package/dist/widgets/components/base/PasswordInputBase.vue.d.ts +30 -0
  54. package/dist/widgets/components/base/ScopeListBase.vue.d.ts +8 -0
  55. package/dist/widgets/components/base/SocialButtonBase.vue.d.ts +11 -0
  56. package/dist/widgets/components/base/SpacerBase.vue.d.ts +8 -0
  57. package/dist/widgets/components/base/SubmitButtonBase.vue.d.ts +10 -0
  58. package/dist/widgets/components/base/TextBase.vue.d.ts +10 -0
  59. package/dist/widgets/components/base/TextInputBase.vue.d.ts +21 -0
  60. package/dist/widgets/components/base/TextLinkBase.vue.d.ts +18 -0
  61. package/dist/widgets/components/base/ThemeTogglerBase.vue.d.ts +20 -0
  62. package/dist/widgets/components/base/index.d.ts +48 -0
  63. package/dist/widgets/components/index.d.ts +19 -15
  64. package/dist/widgets/components/types.d.ts +5 -0
  65. package/dist/widgets/header/IconButton.vue.d.ts +1 -1
  66. package/dist/widgets/header/SaveButton.vue.d.ts +5 -1
  67. package/dist/widgets/header/types.d.ts +5 -0
  68. package/dist/widgets/workspace/Breadcrumb.vue.d.ts +4 -1
  69. package/dist/widgets/workspace/ComponentHandler.vue.d.ts +4 -4
  70. package/dist/widgets/workspace/Composer.vue.d.ts +4 -1
  71. package/dist/widgets/workspace/DataExpose.vue.d.ts +13 -0
  72. package/dist/widgets/workspace/Editable.vue.d.ts +18 -0
  73. package/dist/widgets/workspace/WorkspaceNode.vue.d.ts +7 -2
  74. package/dist/widgets/workspace/ZoomController.vue.d.ts +0 -1
  75. package/dist/widgets/workspace/configuration.d.ts +3 -4
  76. package/dist/widgets/workspace/editable.d.ts +8 -4
  77. package/package.json +5 -1
@@ -1,7 +1,15 @@
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>;
1
+ import type { Template } from './header/types';
2
+ type LayoutTemplate = Template & {
3
+ hasLayoutSlot?: boolean;
4
+ rootProps?: Record<string, unknown>;
5
+ };
6
+ type __VLS_Props = {
7
+ layouts?: LayoutTemplate[];
8
+ };
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ select: (type: string, componentProps?: Record<string, unknown> | undefined) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onSelect?: ((type: string, componentProps?: Record<string, unknown> | undefined) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
14
  declare const _default: typeof __VLS_export;
7
15
  export default _default;
@@ -2,6 +2,7 @@ import type { MoreMenuItem } from './header/types';
2
2
  type __VLS_Props = {
3
3
  subject: string;
4
4
  shared: boolean | undefined;
5
+ saveDisabled?: boolean;
5
6
  darkModeChangeable?: boolean;
6
7
  moreItems?: MoreMenuItem[];
7
8
  darkMode?: boolean;
@@ -17,6 +18,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
17
18
  toggleTranslations: () => any;
18
19
  toggleThemePanel: () => any;
19
20
  togglePreview: () => any;
21
+ save: () => any;
20
22
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
21
23
  onMoreSelect?: ((id: string) => any) | undefined;
22
24
  onToggleTheme?: (() => any) | undefined;
@@ -24,6 +26,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
24
26
  onToggleTranslations?: (() => any) | undefined;
25
27
  onToggleThemePanel?: (() => any) | undefined;
26
28
  onTogglePreview?: (() => any) | undefined;
29
+ onSave?: (() => any) | undefined;
27
30
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
31
  declare const _default: typeof __VLS_export;
29
32
  export default _default;
@@ -6,22 +6,30 @@ type __VLS_Props = {
6
6
  label: string;
7
7
  icon: string;
8
8
  depth: number;
9
+ slotParentId?: string;
10
+ slotParentLabel?: string;
9
11
  }[];
10
12
  selectedComponent?: WorkspaceComponent;
13
+ templateNames?: Record<string, string>;
14
+ templateOptions?: string[];
11
15
  contentDarkMode?: boolean;
12
16
  };
13
17
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ contextMenu: (id: string, event: MouseEvent) => any;
14
19
  updateProps: (props: Record<string, unknown>) => any;
15
20
  focusTranslation: (id: string) => any;
16
21
  selectLayer: (id: string) => any;
17
- reorderLayer: (sourceId: string, targetId: string) => any;
22
+ reorderLayer: (sourceId: string, targetId: string, position: "before" | "after") => any;
18
23
  moveIntoLayer: (sourceId: string, parentId: string) => any;
24
+ addComponentToLayer: (parentId: string, type: string, index: number | undefined, props: Record<string, unknown>) => any;
19
25
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
26
+ onContextMenu?: ((id: string, event: MouseEvent) => any) | undefined;
20
27
  onUpdateProps?: ((props: Record<string, unknown>) => any) | undefined;
21
28
  onFocusTranslation?: ((id: string) => any) | undefined;
22
29
  onSelectLayer?: ((id: string) => any) | undefined;
23
- onReorderLayer?: ((sourceId: string, targetId: string) => any) | undefined;
30
+ onReorderLayer?: ((sourceId: string, targetId: string, position: "before" | "after") => any) | undefined;
24
31
  onMoveIntoLayer?: ((sourceId: string, parentId: string) => any) | undefined;
32
+ onAddComponentToLayer?: ((parentId: string, type: string, index: number | undefined, props: Record<string, unknown>) => any) | undefined;
25
33
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
34
  declare const _default: typeof __VLS_export;
27
35
  export default _default;
@@ -0,0 +1,7 @@
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<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -2,6 +2,7 @@ import type { Template } from './header/types';
2
2
  type __VLS_Props = {
3
3
  templates?: Template[];
4
4
  focusedTemplateId?: string;
5
+ dirtyTemplateIds?: ReadonlySet<string>;
5
6
  };
6
7
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
8
  add: () => any;
@@ -1,21 +1,30 @@
1
+ import { type DynamicTemplateData } from '../stores/workspace';
1
2
  type __VLS_Props = {
2
3
  subject: string;
3
4
  templateId?: string;
4
5
  templateName?: string;
6
+ templateChannel?: string;
5
7
  preview?: boolean;
6
8
  contentPrimary?: string;
7
9
  debug?: boolean;
8
10
  contentDarkMode?: boolean;
11
+ dynamicTemplates?: DynamicTemplateData[];
9
12
  };
10
- declare function addComponent(type: string): void;
13
+ declare function addComponent(type: string, componentProps?: Record<string, unknown>): void;
11
14
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
12
15
  addComponent: typeof addComponent;
13
16
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
17
  toggleContentTheme: () => any;
18
+ contextMenu: (id: string, event: MouseEvent) => any;
15
19
  componentDrop: (type: string) => any;
20
+ dynamicTemplatesImported: (templates: DynamicTemplateData[]) => any;
21
+ workspaceImported: () => any;
16
22
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
23
  onToggleContentTheme?: (() => any) | undefined;
24
+ onContextMenu?: ((id: string, event: MouseEvent) => any) | undefined;
18
25
  onComponentDrop?: ((type: string) => any) | undefined;
26
+ onDynamicTemplatesImported?: ((templates: DynamicTemplateData[]) => any) | undefined;
27
+ onWorkspaceImported?: (() => any) | undefined;
19
28
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
29
  declare const _default: typeof __VLS_export;
21
30
  export default _default;
@@ -2,9 +2,6 @@ type __VLS_Props = {
2
2
  tone?: 'info' | 'success' | 'error';
3
3
  text?: string;
4
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>;
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
6
  declare const _default: typeof __VLS_export;
10
7
  export default _default;
@@ -3,9 +3,6 @@ type __VLS_Props = {
3
3
  checked?: boolean;
4
4
  modelValue?: boolean;
5
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>;
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
7
  declare const _default: typeof __VLS_export;
11
8
  export default _default;
@@ -2,9 +2,6 @@ type __VLS_Props = {
2
2
  appName?: string;
3
3
  requestedBy?: string;
4
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>;
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
6
  declare const _default: typeof __VLS_export;
10
7
  export default _default;
@@ -1,21 +1,12 @@
1
- import { type BoxProps } from './types';
2
- declare var __VLS_1: {};
1
+ import type { BoxProps } from './types';
2
+ type __VLS_Props = BoxProps & {
3
+ shadow?: boolean;
4
+ };
5
+ declare var __VLS_9: {};
3
6
  type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
7
+ default?: (props: typeof __VLS_9) => any;
5
8
  };
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
- width: import("./types").ComponentLength;
9
- position: "relative" | "absolute";
10
- padding: import("./types").ComponentLength;
11
- gap: import("./types").ComponentLength;
12
- radius: import("./types").ComponentLength;
13
- direction: "row" | "column";
14
- columns: string;
15
- align: string;
16
- justify: string;
17
- borderStyle: "none" | "solid" | "dashed" | "dotted";
18
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
11
  declare const _default: typeof __VLS_export;
21
12
  export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ name?: string;
3
+ label?: string;
4
+ format?: 'D/M/YYYY' | 'M/D/YYYY' | 'YYYY-MM-DD';
5
+ required?: 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<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -1,8 +1,6 @@
1
1
  type __VLS_Props = {
2
2
  label?: string;
3
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>;
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
5
  declare const _default: typeof __VLS_export;
8
6
  export default _default;
@@ -5,10 +5,6 @@ type __VLS_Props = {
5
5
  textColor?: string;
6
6
  modelValue?: string;
7
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
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
9
  declare const _default: typeof __VLS_export;
14
10
  export default _default;
@@ -0,0 +1,9 @@
1
+ type __VLS_Props = {
2
+ errors?: string[] | string;
3
+ textColor?: 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
+ errors: string[] | string;
7
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
@@ -1,10 +1,8 @@
1
1
  type __VLS_Props = {
2
2
  text?: string;
3
3
  size?: 'sm' | 'md' | 'lg' | 'xl';
4
+ textAlign?: 'left' | 'center' | 'right';
4
5
  };
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
- size: "sm" | "md" | "lg" | "xl";
7
- text: string;
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
7
  declare const _default: typeof __VLS_export;
10
8
  export default _default;
@@ -7,14 +7,6 @@ type __VLS_Props = {
7
7
  href?: string;
8
8
  hrefTarget?: '_self' | '_blank';
9
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>;
10
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
11
  declare const _default: typeof __VLS_export;
20
12
  export default _default;
@@ -3,15 +3,11 @@ type __VLS_Props = {
3
3
  gap?: number | string;
4
4
  padding?: number | string;
5
5
  };
6
- declare var __VLS_1: {};
6
+ declare var __VLS_9: {};
7
7
  type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_1) => any;
8
+ default?: (props: typeof __VLS_9) => any;
9
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>;
10
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
12
  declare const _default: typeof __VLS_export;
17
13
  export default _default;
@@ -1,15 +1,21 @@
1
+ import { type WorkspaceComponent } from '../../stores/workspace';
1
2
  type __VLS_Props = {
2
3
  layoutKey?: string;
3
- label?: string;
4
+ rootProps?: Record<string, unknown>;
5
+ layoutSlotContent?: WorkspaceComponent[];
6
+ layoutSlotTargetId?: string;
7
+ selectedId?: string;
8
+ preview?: boolean;
4
9
  };
5
- declare var __VLS_1: {};
10
+ declare var __VLS_16: {};
6
11
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_1) => any;
12
+ default?: (props: typeof __VLS_16) => any;
8
13
  };
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>;
14
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ select: (id: string) => any;
16
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onSelect?: ((id: string) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
19
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
20
  declare const _default: typeof __VLS_export;
15
21
  export default _default;
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -2,9 +2,6 @@ type __VLS_Props = {
2
2
  label?: string;
3
3
  digits?: number;
4
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>;
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
6
  declare const _default: typeof __VLS_export;
10
7
  export default _default;
@@ -5,14 +5,12 @@ type __VLS_Props = {
5
5
  textColor?: string;
6
6
  showForgot?: boolean;
7
7
  showForgotLabel?: string;
8
+ forgotDestinationType?: 'custom' | 'template';
9
+ forgotHref?: string;
10
+ forgotTemplateKey?: string;
11
+ forgotTemplateId?: string;
8
12
  modelValue?: string;
9
13
  };
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
- label: string;
12
- placeholder: string;
13
- required: boolean;
14
- showForgot: boolean;
15
- showForgotLabel: string;
16
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
15
  declare const _default: typeof __VLS_export;
18
16
  export default _default;
@@ -1,8 +1,6 @@
1
1
  type __VLS_Props = {
2
2
  scopes?: string[] | string;
3
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>;
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
5
  declare const _default: typeof __VLS_export;
8
6
  export default _default;
@@ -3,9 +3,6 @@ type __VLS_Props = {
3
3
  provider?: Provider;
4
4
  text?: string;
5
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>;
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
7
  declare const _default: typeof __VLS_export;
11
8
  export default _default;
@@ -1,8 +1,6 @@
1
1
  type __VLS_Props = {
2
2
  height?: number | string;
3
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>;
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
5
  declare const _default: typeof __VLS_export;
8
6
  export default _default;
@@ -2,9 +2,6 @@ type __VLS_Props = {
2
2
  text?: string;
3
3
  style?: 'primary' | 'secondary';
4
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>;
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
6
  declare const _default: typeof __VLS_export;
10
7
  export default _default;
@@ -1,8 +1,7 @@
1
1
  type __VLS_Props = {
2
2
  text?: string;
3
+ textAlign?: 'left' | 'center' | 'right';
3
4
  };
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>;
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
6
  declare const _default: typeof __VLS_export;
8
7
  export default _default;
@@ -1,13 +1,13 @@
1
1
  type __VLS_Props = {
2
+ name?: string;
3
+ dataSource?: 'given_name' | 'family_name' | 'attributes';
4
+ attributesKey?: string;
2
5
  label?: string;
6
+ inputType?: 'text' | 'number' | 'phone';
3
7
  placeholder?: string;
4
8
  required?: boolean;
5
9
  modelValue?: string;
6
10
  };
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>;
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  declare const _default: typeof __VLS_export;
13
13
  export default _default;
@@ -1,12 +1,11 @@
1
1
  type __VLS_Props = {
2
2
  text?: string;
3
+ destinationType?: 'custom' | 'template';
3
4
  href?: string;
5
+ templateKey?: string;
6
+ templateId?: string;
4
7
  target?: '_self' | '_blank';
5
8
  };
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>;
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
10
  declare const _default: typeof __VLS_export;
12
11
  export default _default;
@@ -0,0 +1,11 @@
1
+ import type { BoxProps } from './types';
2
+ type __VLS_Props = Omit<BoxProps, 'width' | 'height' | 'background' | 'borderStyle' | 'borderColor' | 'borderWidth' | 'radius' | 'padding'> & {
3
+ icon?: string;
4
+ iconSize?: string | number;
5
+ preview?: boolean;
6
+ placement?: string;
7
+ transform?: string;
8
+ };
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, 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
+ 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,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;
@@ -1,23 +1,24 @@
1
- import { type BoxProps } from './types';
2
- interface CardProps extends BoxProps {
1
+ import { type BoxProps } from '../types';
2
+ type __VLS_Props = BoxProps & {
3
3
  shadow?: boolean;
4
- }
4
+ };
5
5
  declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
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";
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
+ shadow: boolean;
11
+ width: import("../types").ComponentLength;
11
12
  position: "relative" | "absolute";
12
- padding: import("./types").ComponentLength;
13
- gap: import("./types").ComponentLength;
14
- radius: import("./types").ComponentLength;
13
+ padding: import("../types").ComponentLength;
14
+ gap: import("../types").ComponentLength;
15
+ radius: import("../types").ComponentLength;
16
+ layout: "flex" | "grid" | "block";
15
17
  direction: "row" | "column";
16
18
  columns: string;
17
19
  align: string;
18
20
  justify: string;
19
21
  borderStyle: "none" | "solid" | "dashed" | "dotted";
20
- shadow: boolean;
21
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
24
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,17 @@
1
+ type __VLS_Props = {
2
+ name?: string;
3
+ label?: string;
4
+ format?: 'D/M/YYYY' | 'M/D/YYYY' | 'YYYY-MM-DD';
5
+ required?: boolean;
6
+ modelValue?: string;
7
+ interaction?: boolean;
8
+ };
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ name: string;
11
+ label: string;
12
+ required: boolean;
13
+ format: "D/M/YYYY" | "M/D/YYYY" | "YYYY-MM-DD";
14
+ interaction: boolean;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -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,18 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ placeholder?: string;
4
+ required?: boolean;
5
+ textColor?: string;
6
+ modelValue?: string;
7
+ name?: string;
8
+ interaction?: boolean;
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
+ name: string;
12
+ label: string;
13
+ placeholder: string;
14
+ required: boolean;
15
+ interaction: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;