@open-xamu-co/ui-components-vue 4.0.0-next.1 → 4.0.0-next.3

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.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)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * allow more image types on file input ([73d39bc](https://github.com/xamu-co/ui/commit/73d39bc95c32f801233d442870512f1fc6ac1fe5))
9
+ * do not mix original node with cloned node data ([25a513a](https://github.com/xamu-co/ui/commit/25a513a4765e3565a17da666b040a83def6d939d))
10
+ * restore table mehods typings ([9e4a7a7](https://github.com/xamu-co/ui/commit/9e4a7a72b42fb0b6d3144f931932367603abeb9e))
11
+
12
+
13
+ ### Features
14
+
15
+ * stream like hydration ([cb7f694](https://github.com/xamu-co/ui/commit/cb7f6940643dc358ab863fd4bf692db495e23aee))
16
+
17
+
18
+ ### BREAKING CHANGES
19
+
20
+ * renamed mime types exports
21
+
22
+
23
+
24
+
25
+
26
+ Updating dependant packages with "@open-xamu-co/ui-components-vue" version "4.0.0-next.3"
27
+ Updating "nuxt"
28
+ Succesfully updated "nuxt" package
29
+
30
+ # [@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)
31
+
32
+
33
+ ### Features
34
+
35
+ * conditionally hide content table pagination ([5b29ef4](https://github.com/xamu-co/ui/commit/5b29ef4828fc4247b6f55609737ccee265668701))
36
+
37
+
38
+
39
+
40
+
41
+ Updating dependant packages with "@open-xamu-co/ui-components-vue" version "4.0.0-next.2"
42
+ Updating "nuxt"
43
+ Succesfully updated "nuxt" package
44
+
3
45
  # [@open-xamu-co/ui-components-vue-v4.0.0-next.1](https://github.com/xamu-co/ui/compare/@open-xamu-co/ui-components-vue-v3.1.0-next.36...@open-xamu-co/ui-components-vue-v4.0.0-next.1) (2025-12-17)
4
46
 
5
47
 
@@ -23,8 +23,11 @@ export interface iPCProps<Ti, Ci extends string | number = string, Ri = never> e
23
23
  withRoute?: boolean;
24
24
  /**
25
25
  * hide pagination buttons
26
+ *
27
+ * @example true hide pagination buttons
28
+ * @example "single" hide pagination buttons if only one page
26
29
  */
27
- hideControls?: boolean;
30
+ hideControls?: boolean | "single";
28
31
  preventAutoload?: boolean;
29
32
  /**
30
33
  * Additional parameters to send every request
@@ -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>>;