@open-xamu-co/ui-components-vue 4.0.0-next.4 → 4.0.0-next.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  Xamu UI
2
2
 
3
+ # [@open-xamu-co/ui-components-vue-v4.0.0-next.6](https://github.com/xamu-co/ui/compare/@open-xamu-co/ui-components-vue-v4.0.0-next.5...@open-xamu-co/ui-components-vue-v4.0.0-next.6) (2026-01-18)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * bump core dependencies ([3d88b97](https://github.com/xamu-co/ui/commit/3d88b97491601c8cfbeb558d5ef5e24ba4e55f08))
9
+
10
+
11
+ ### Features
12
+
13
+ * code editor support ([b08239d](https://github.com/xamu-co/ui/commit/b08239ddef1dd5bc928db630211cddd11ae1ea47))
14
+
15
+
16
+
17
+
18
+
19
+ Updating dependant packages with "@open-xamu-co/ui-components-vue" version "4.0.0-next.6"
20
+ Updating "nuxt"
21
+ Succesfully updated "nuxt" package
22
+
23
+ # [@open-xamu-co/ui-components-vue-v4.0.0-next.5](https://github.com/xamu-co/ui/compare/@open-xamu-co/ui-components-vue-v4.0.0-next.4...@open-xamu-co/ui-components-vue-v4.0.0-next.5) (2026-01-08)
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * whether typos ([1adadf7](https://github.com/xamu-co/ui/commit/1adadf77d5bc1d985c158dd9b8bd36837f724ac0))
29
+
30
+
31
+
32
+
33
+
34
+ Updating dependant packages with "@open-xamu-co/ui-components-vue" version "4.0.0-next.5"
35
+ Updating "nuxt"
36
+ Succesfully updated "nuxt" package
37
+
3
38
  # [@open-xamu-co/ui-components-vue-v4.0.0-next.4](https://github.com/xamu-co/ui/compare/@open-xamu-co/ui-components-vue-v4.0.0-next.3...@open-xamu-co/ui-components-vue-v4.0.0-next.4) (2026-01-06)
4
39
 
5
40
 
@@ -5,9 +5,9 @@ interface iBaseBoxProps extends iUseModifiersProps, iUseStateProps, iUseThemePro
5
5
  * Component or tag to render
6
6
  */
7
7
  el?: vComponent | string;
8
- /**
9
- * less padding
10
- */
8
+ /** Input like visuals */
9
+ input?: boolean;
10
+ /** Button like visuals */
11
11
  button?: boolean;
12
12
  dashed?: boolean;
13
13
  solid?: boolean;
@@ -1,7 +1,7 @@
1
1
  import type { Teleport } from "vue";
2
2
  import type { vComponent } from "../../types/plugin";
3
3
  type __VLS_Props = {
4
- /** Wheter or not render the wrapper */
4
+ /** Whether or not render the wrapper */
5
5
  wrap: boolean;
6
6
  /** Component or tag to render as wrapper */
7
7
  wrapper?: vComponent | typeof Teleport | string;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "@storybook/vue3-vite";
2
+ import BoxEditor from "./Editor.vue";
3
+ declare const meta: Meta<typeof BoxEditor>;
4
+ type Story = StoryObj<typeof meta>;
5
+ export declare const Sample: Story;
6
+ export default meta;
@@ -0,0 +1,31 @@
1
+ import type { Extension } from "@codemirror/state";
2
+ import type { tFormInput } from "@open-xamu-co/ui-common-types";
3
+ import type { iInputProps, iUseThemeProps } from "../../types/props";
4
+ interface iBoxEditorProps extends iInputProps, iUseThemeProps {
5
+ readonly?: boolean;
6
+ input?: tFormInput;
7
+ modelValue?: string;
8
+ /** Enable code editor extensions */
9
+ code?: string | boolean;
10
+ /** CodeMirror extensions */
11
+ extensions?: Extension[];
12
+ /** Editor theme */
13
+ editorTheme?: Extension;
14
+ }
15
+ declare var __VLS_89: {};
16
+ type __VLS_Slots = {} & {
17
+ submit?: (props: typeof __VLS_89) => any;
18
+ };
19
+ declare const __VLS_base: import("vue").DefineComponent<iBoxEditorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ "update:model-value": (...args: any[]) => void;
21
+ }, string, import("vue").PublicProps, Readonly<iBoxEditorProps> & Readonly<{
22
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -3,4 +3,5 @@ import FormInputComponent from "./Input.vue";
3
3
  declare const meta: Meta<typeof FormInputComponent>;
4
4
  type Story = StoryObj<typeof meta>;
5
5
  export declare const Sample: Story;
6
+ export declare const Code: Story;
6
7
  export default meta;
@@ -8,7 +8,7 @@ export interface iFormInputLoop<Ti> extends iUseThemeProps {
8
8
  readonly?: boolean;
9
9
  }
10
10
  declare const __VLS_export: <T extends iFormValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
11
- props: __VLS_PrettifyLocal<iFormInputLoop<T>> & import("vue").PublicProps & (typeof globalThis extends {
11
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<iFormInputLoop<T>> & (typeof globalThis extends {
12
12
  __VLS_PROPS_FALLBACK: infer P;
13
13
  } ? P : {});
14
14
  expose: (exposed: {}) => void;
@@ -10,7 +10,7 @@ export interface iFormInputNValues<Ti> {
10
10
  refresh?: (...args: any[]) => any;
11
11
  }
12
12
  declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
13
- props: __VLS_PrettifyLocal<iFormInputNValues<T>> & import("vue").PublicProps & (typeof globalThis extends {
13
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<iFormInputNValues<T>> & (typeof globalThis extends {
14
14
  __VLS_PROPS_FALLBACK: infer P;
15
15
  } ? P : {});
16
16
  expose: (exposed: {}) => void;
@@ -20,10 +20,10 @@ export interface iFormSimple<P extends any[]> extends iUseThemeProps {
20
20
  readonly?: boolean;
21
21
  }
22
22
  declare const __VLS_export: <P extends any[] = any[]>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
23
- props: __VLS_PrettifyLocal<iFormSimple<P> & {
23
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<iFormSimple<P> & {
24
24
  "onUpdate:model-value"?: ((args_0: tFormInput<import("@open-xamu-co/ui-common-types").iFormValue | import("@open-xamu-co/ui-common-types").iFormValue[], import("@open-xamu-co/ui-common-enums").eFormTypeBase | eFormTypeSimple | import("@open-xamu-co/ui-common-enums").eFormTypeComplex>[]) => any) | undefined;
25
25
  "onUpdate:invalid"?: ((args_0: iInvalidInput[]) => any) | undefined;
26
- }> & import("vue").PublicProps & (typeof globalThis extends {
26
+ }> & (typeof globalThis extends {
27
27
  __VLS_PROPS_FALLBACK: infer P_1;
28
28
  } ? P_1 : {});
29
29
  expose: (exposed: {}) => void;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "@storybook/vue3-vite";
2
+ import InputCode from "./Code.vue";
3
+ declare const meta: Meta<typeof InputCode>;
4
+ type Story = StoryObj<typeof meta>;
5
+ export declare const Sample: Story;
6
+ export default meta;
@@ -0,0 +1,38 @@
1
+ import { type Extension } from "@codemirror/state";
2
+ import type { iUseThemeProps, iInputProps } from "../../types/props";
3
+ interface iInputCodeProps extends iInputProps, iUseThemeProps {
4
+ /**
5
+ * Enable code editing extensions
6
+ */
7
+ code?: boolean;
8
+ /**
9
+ * Custom extensions
10
+ * Add extensions for specific languages here
11
+ */
12
+ extensions?: Extension[];
13
+ /**
14
+ * Editor theme
15
+ *
16
+ * @default @fsegurai/codemirror-theme-material-light
17
+ *
18
+ * TODO: Workaround JSS to support layers with custom theme
19
+ * Codemirror uses JSS for theming
20
+ */
21
+ editorTheme?: Extension;
22
+ /**
23
+ * @private
24
+ */
25
+ modelValue?: string;
26
+ }
27
+ declare const __VLS_export: import("vue").DefineComponent<iInputCodeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ "update:model-value": (...args: any[]) => void;
29
+ editor: (...args: any[]) => void;
30
+ }, string, import("vue").PublicProps, Readonly<iInputCodeProps> & Readonly<{
31
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
32
+ onEditor?: ((...args: any[]) => any) | undefined;
33
+ }>, {
34
+ extensions: Extension[];
35
+ editorTheme: Extension;
36
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
+ declare const _default: typeof __VLS_export;
38
+ export default _default;
@@ -43,11 +43,11 @@ export interface iLoaderContentFetchProps<Ti, Pi extends any[]> extends iUseThem
43
43
  client?: boolean;
44
44
  }
45
45
  declare const __VLS_export: <T, P extends any[] = any[]>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
46
- props: __VLS_PrettifyLocal<iLoaderContentFetchProps<T, P> & {
46
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<iLoaderContentFetchProps<T, P> & {
47
47
  onRefresh?: ((...args: any[]) => any) | undefined;
48
48
  "onHas-content"?: ((...args: any[]) => any) | undefined;
49
49
  onHydrate?: ((...args: any[]) => any) | undefined;
50
- }> & import("vue").PublicProps & (typeof globalThis extends {
50
+ }> & (typeof globalThis extends {
51
51
  __VLS_PROPS_FALLBACK: infer P_1;
52
52
  } ? P_1 : {});
53
53
  expose: (exposed: {}) => void;
@@ -66,10 +66,10 @@ export interface iPCProps<Ti, Ci extends string | number = string, Ri = never> e
66
66
  paginationClass?: string | string[] | Record<string, boolean>;
67
67
  }
68
68
  declare const __VLS_export: <T, C extends string | number = string, R = never>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
69
- props: __VLS_PrettifyLocal<iPCProps<T, C, R> & {
69
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<iPCProps<T, C, R> & {
70
70
  onRefresh?: ((...args: any[]) => any) | undefined;
71
71
  "onHas-content"?: ((...args: any[]) => any) | undefined;
72
- }> & import("vue").PublicProps & (typeof globalThis extends {
72
+ }> & (typeof globalThis extends {
73
73
  __VLS_PROPS_FALLBACK: infer P;
74
74
  } ? P : {});
75
75
  expose: (exposed: {}) => void;
@@ -45,9 +45,9 @@ export interface iPaginationContentTableProps<Ti extends Record<string, any>, TM
45
45
  omitRefresh?: boolean;
46
46
  }
47
47
  declare const __VLS_export: <T extends Record<string, any>, TM extends Record<string, any> = T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
48
- props: __VLS_PrettifyLocal<iPaginationContentTableProps<T, TM> & {
48
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<iPaginationContentTableProps<T, TM> & {
49
49
  "onCreate-node-and-refresh"?: ((...args: any[]) => any) | undefined;
50
- }> & import("vue").PublicProps & (typeof globalThis extends {
50
+ }> & (typeof globalThis extends {
51
51
  __VLS_PROPS_FALLBACK: infer P;
52
52
  } ? P : {});
53
53
  expose: (exposed: {}) => void;
@@ -12,9 +12,9 @@ export interface iPaginationSimpleProps<Ti, Ci extends string | number> extends
12
12
  currentPage?: iPage<Ti, Ci> | null;
13
13
  }
14
14
  declare const __VLS_export: <T, C extends string | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
15
- props: __VLS_PrettifyLocal<iPaginationSimpleProps<T, C> & {
15
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<iPaginationSimpleProps<T, C> & {
16
16
  "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
17
- }> & import("vue").PublicProps & (typeof globalThis extends {
17
+ }> & (typeof globalThis extends {
18
18
  __VLS_PROPS_FALLBACK: infer P;
19
19
  } ? P : {});
20
20
  expose: (exposed: {}) => void;
@@ -2,7 +2,7 @@ import type { iTableChildProps } from "../../types/props";
2
2
  export interface iTableBodyProps<Ti extends Record<string, any>, TMi extends Record<string, any> = Ti> extends iTableChildProps<Ti, TMi> {
3
3
  }
4
4
  declare const __VLS_export: <T extends Record<string, any>, TM extends Record<string, any> = T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
- props: __VLS_PrettifyLocal<iTableBodyProps<T, TM>> & import("vue").PublicProps & (typeof globalThis extends {
5
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<iTableBodyProps<T, TM>> & (typeof globalThis extends {
6
6
  __VLS_PROPS_FALLBACK: infer P;
7
7
  } ? P : {});
8
8
  expose: (exposed: {}) => void;
@@ -3,7 +3,7 @@ export interface iTableHeadProps<Ti extends Record<string, any>, TMi extends Rec
3
3
  withDefaultSlot: boolean;
4
4
  }
5
5
  declare const __VLS_export: <T extends Record<string, any>, TM extends Record<string, any> = T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
- props: __VLS_PrettifyLocal<iTableHeadProps<T, TM>> & import("vue").PublicProps & (typeof globalThis extends {
6
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<iTableHeadProps<T, TM>> & (typeof globalThis extends {
7
7
  __VLS_PROPS_FALLBACK: infer P;
8
8
  } ? P : {});
9
9
  expose: (exposed: {}) => void;
@@ -3,7 +3,7 @@ export interface iTableHeadProps<Ti extends Record<string, any>, TMi extends Rec
3
3
  withDefaultSlot: boolean;
4
4
  }
5
5
  declare const __VLS_export: <T extends Record<string, any>, TM extends Record<string, any> = T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
- props: __VLS_PrettifyLocal<iTableHeadProps<T, TM>> & import("vue").PublicProps & (typeof globalThis extends {
6
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<iTableHeadProps<T, TM>> & (typeof globalThis extends {
7
7
  __VLS_PROPS_FALLBACK: infer P;
8
8
  } ? P : {});
9
9
  expose: (exposed: {}) => void;
@@ -1,9 +1,9 @@
1
1
  import type { iNodeFn } from "@open-xamu-co/ui-common-types";
2
2
  import type { iTableProps, iMappedNodes } from "../../types/props";
3
3
  declare const __VLS_export: <T extends Record<string, any>, TM extends Record<string, any> = T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: __VLS_PrettifyLocal<iTableProps<T, TM> & {
4
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<iTableProps<T, TM> & {
5
5
  "onUpdate:sort"?: ((...args: any[]) => any) | undefined;
6
- }> & import("vue").PublicProps & (typeof globalThis extends {
6
+ }> & (typeof globalThis extends {
7
7
  __VLS_PROPS_FALLBACK: infer P;
8
8
  } ? P : {});
9
9
  expose: (exposed: {}) => void;
@@ -24,7 +24,7 @@ export interface iValueSimpleProps<Pi extends Record<string, any>> extends iUseT
24
24
  size?: tSizeModifier;
25
25
  }
26
26
  declare const __VLS_export: <P extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
27
- props: __VLS_PrettifyLocal<iValueSimpleProps<P>> & import("vue").PublicProps & (typeof globalThis extends {
27
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<iValueSimpleProps<P>> & (typeof globalThis extends {
28
28
  __VLS_PROPS_FALLBACK: infer P_1;
29
29
  } ? P_1 : {});
30
30
  expose: (exposed: {}) => void;