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

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,47 @@
1
1
  Xamu UI
2
2
 
3
+ # [@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
+
5
+
6
+ ### Features
7
+
8
+ * expose stylesheet preload function on module ([56dbf1f](https://github.com/xamu-co/ui/commit/56dbf1fe6b2fa12b6776add6dcda86524ea84fd1))
9
+
10
+
11
+
12
+
13
+
14
+ Updating dependant packages with "@open-xamu-co/ui-components-vue" version "4.0.0-next.4"
15
+ Updating "nuxt"
16
+ Succesfully updated "nuxt" package
17
+
18
+ # [@open-xamu-co/ui-components-vue-v4.0.0-next.3](https://github.com/xamu-co/ui/compare/@open-xamu-co/ui-components-vue-v4.0.0-next.2...@open-xamu-co/ui-components-vue-v4.0.0-next.3) (2026-01-01)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * allow more image types on file input ([73d39bc](https://github.com/xamu-co/ui/commit/73d39bc95c32f801233d442870512f1fc6ac1fe5))
24
+ * do not mix original node with cloned node data ([25a513a](https://github.com/xamu-co/ui/commit/25a513a4765e3565a17da666b040a83def6d939d))
25
+ * restore table mehods typings ([9e4a7a7](https://github.com/xamu-co/ui/commit/9e4a7a72b42fb0b6d3144f931932367603abeb9e))
26
+
27
+
28
+ ### Features
29
+
30
+ * stream like hydration ([cb7f694](https://github.com/xamu-co/ui/commit/cb7f6940643dc358ab863fd4bf692db495e23aee))
31
+
32
+
33
+ ### BREAKING CHANGES
34
+
35
+ * renamed mime types exports
36
+
37
+
38
+
39
+
40
+
41
+ Updating dependant packages with "@open-xamu-co/ui-components-vue" version "4.0.0-next.3"
42
+ Updating "nuxt"
43
+ Succesfully updated "nuxt" package
44
+
3
45
  # [@open-xamu-co/ui-components-vue-v4.0.0-next.2](https://github.com/xamu-co/ui/compare/@open-xamu-co/ui-components-vue-v4.0.0-next.1...@open-xamu-co/ui-components-vue-v4.0.0-next.2) (2025-12-30)
4
46
 
5
47
 
@@ -1,4 +1,4 @@
1
- import type { iGetPage, iNodeFn, tThemeModifier, tThemeTuple } from "@open-xamu-co/ui-common-types";
1
+ import type { iGetPage, iNodeFn, iNodeStreamFn, tThemeModifier, tThemeTuple } from "@open-xamu-co/ui-common-types";
2
2
  import type { iTableProps } from "@open-xamu-co/ui-components-vue";
3
3
  export interface iPaginationContentTableProps<Ti extends Record<string, any>, TMi extends Record<string, any>> {
4
4
  /**
@@ -31,10 +31,14 @@ export interface iPaginationContentTableProps<Ti extends Record<string, any>, TM
31
31
  * @example --txtColor
32
32
  */
33
33
  modalClass?: string | string[] | Record<string, boolean>;
34
- /**
35
- * Function used to create a node
36
- */
37
- createNode?: iNodeFn<NoInfer<Ti>, []>;
34
+ /** Function used to create a node */
35
+ createNode?: iNodeStreamFn<NoInfer<Ti>, []>;
36
+ swal?: {
37
+ createdTitle?: string;
38
+ createdText?: string;
39
+ notCreatedTitle?: string;
40
+ notCreatedText?: string;
41
+ };
38
42
  /**
39
43
  * Prevent node functions from triggering refresh event (useful with firebase hydration)
40
44
  */
@@ -53,21 +57,21 @@ declare const __VLS_export: <T extends Record<string, any>, TM extends Record<st
53
57
  refreshData: () => void;
54
58
  hasContent: boolean | undefined;
55
59
  hydrateData: ((newContent: T[] | null, newErrors?: unknown) => void) | undefined;
56
- createNodeAndRefresh: () => Promise<import("@open-xamu-co/ui-common-types").iNodeFnResponse<NoInfer<T>>>;
60
+ createNodeAndRefresh: iNodeFn<T>;
57
61
  }) => any;
58
62
  } & {
59
63
  headActions?: (props: {
60
64
  refreshData: () => void;
61
65
  hasContent: false | undefined;
62
66
  hydrateData: ((newContent: T[] | null, newErrors?: unknown) => void) | undefined;
63
- createNodeAndRefresh: () => Promise<import("@open-xamu-co/ui-common-types").iNodeFnResponse<NoInfer<T>>>;
67
+ createNodeAndRefresh: iNodeFn<T>;
64
68
  }) => any;
65
69
  } & {
66
70
  headActions?: (props: {
67
71
  refreshData: () => void;
68
72
  hasContent: true;
69
73
  hydrateData: ((newContent: T[] | null, newErrors?: unknown) => void) | undefined;
70
- createNodeAndRefresh: () => Promise<import("@open-xamu-co/ui-common-types").iNodeFnResponse<NoInfer<T>>>;
74
+ createNodeAndRefresh: iNodeFn<T>;
71
75
  nodes: NoInfer<T>[];
72
76
  mappedNodes: import("@open-xamu-co/ui-components-vue").iMappedNodes<NoInfer<T>, TM>;
73
77
  updateNodeAndRefresh: iNodeFn<NoInfer<T>>;
@@ -80,7 +84,7 @@ declare const __VLS_export: <T extends Record<string, any>, TM extends Record<st
80
84
  refreshData: () => void;
81
85
  hasContent: boolean | undefined;
82
86
  hydrateData: ((newContent: T[] | null, newErrors?: unknown) => void) | undefined;
83
- createNodeAndRefresh: () => Promise<import("@open-xamu-co/ui-common-types").iNodeFnResponse<NoInfer<T>>>;
87
+ createNodeAndRefresh: iNodeFn<T>;
84
88
  node: NoInfer<T>;
85
89
  mappedNode: TM;
86
90
  updateNodeAndRefresh: iNodeFn<NoInfer<T>>;