sprintify-ui 0.8.48 → 0.8.50
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/dist/sprintify-ui.es.js +7 -2
- package/dist/types/components/BaseCardRow.vue.d.ts +2 -2
- package/dist/types/components/BaseDataIterator.vue.d.ts +2 -1
- package/dist/types/components/BaseDataTable.vue.d.ts +5 -2
- package/package.json +1 -1
- package/src/components/BaseCardRow.vue +1 -1
- package/src/components/BaseDataIterator.vue +1 -0
- package/src/components/BaseDataTable.vue +1 -0
package/dist/sprintify-ui.es.js
CHANGED
|
@@ -24632,7 +24632,8 @@ const HB = { class: "grow" }, UB = {
|
|
|
24632
24632
|
fetchWithLoading: () => he(!0),
|
|
24633
24633
|
fetchWithoutLoading: () => se(!0),
|
|
24634
24634
|
scrollIntoView: Et,
|
|
24635
|
-
query: A
|
|
24635
|
+
query: A,
|
|
24636
|
+
data: D(() => j.value)
|
|
24636
24637
|
}), (ge, Re) => (_(), $("div", {
|
|
24637
24638
|
ref_key: "dataIteratorNode",
|
|
24638
24639
|
ref: u
|
|
@@ -26264,7 +26265,11 @@ const z3 = ["align", "colspan"], Bx = /* @__PURE__ */ ie({
|
|
|
26264
26265
|
return e({
|
|
26265
26266
|
fetch: Ee,
|
|
26266
26267
|
fetchWithoutLoading: Me,
|
|
26267
|
-
query: Ne
|
|
26268
|
+
query: Ne,
|
|
26269
|
+
data: D(() => {
|
|
26270
|
+
var oe;
|
|
26271
|
+
return ((oe = f.value) == null ? void 0 : oe.data) ?? void 0;
|
|
26272
|
+
})
|
|
26268
26273
|
}), (oe, ke) => (_(), le(Dx, {
|
|
26269
26274
|
ref_key: "dataIteratorRef",
|
|
26270
26275
|
ref: f,
|
|
@@ -8,12 +8,12 @@ declare function __VLS_template(): {
|
|
|
8
8
|
};
|
|
9
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
10
|
declare const __VLS_component: import("vue").DefineComponent<{
|
|
11
|
-
size
|
|
11
|
+
size?: "xs" | "sm" | "base" | "lg";
|
|
12
12
|
class?: ClassNameValue;
|
|
13
13
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
14
|
click: (...args: any[]) => void;
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<{
|
|
16
|
-
size
|
|
16
|
+
size?: "xs" | "sm" | "base" | "lg";
|
|
17
17
|
class?: ClassNameValue;
|
|
18
18
|
}> & Readonly<{
|
|
19
19
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { Collection, DataIteratorSection, DataTableQuery } from '@/types';
|
|
2
|
+
import { Collection, DataIteratorSection, DataTableQuery, PaginatedCollection, ResourceCollection } from '@/types';
|
|
3
3
|
import { ActionItem } from '@/types';
|
|
4
4
|
type Direction = 'asc' | 'desc';
|
|
5
5
|
import { Size } from '@/utils/sizes';
|
|
@@ -123,6 +123,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
123
123
|
search?: string | undefined;
|
|
124
124
|
filter?: Record<string, any> | undefined;
|
|
125
125
|
}>;
|
|
126
|
+
data: import("vue").ComputedRef<ResourceCollection | Collection | PaginatedCollection | null | undefined>;
|
|
126
127
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
127
128
|
click: (...args: any[]) => void;
|
|
128
129
|
delete: (...args: any[]) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { Collection, CollectionItem, DataIteratorSection, DataTableQuery, RowAction } from '@/types';
|
|
2
|
+
import { Collection, CollectionItem, DataIteratorSection, DataTableQuery, PaginatedCollection, ResourceCollection, RowAction } from '@/types';
|
|
3
3
|
import { RouteLocationRaw } from 'vue-router';
|
|
4
4
|
import { ActionItem } from '@/types';
|
|
5
5
|
import { Size } from '@/utils/sizes';
|
|
@@ -232,6 +232,7 @@ declare function __VLS_template(): {
|
|
|
232
232
|
search?: string | undefined;
|
|
233
233
|
filter?: Record<string, any> | undefined;
|
|
234
234
|
}>;
|
|
235
|
+
data: import("vue").ComputedRef<ResourceCollection | Collection | PaginatedCollection | null | undefined>;
|
|
235
236
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
236
237
|
click: (...args: any[]) => void;
|
|
237
238
|
delete: (...args: any[]) => void;
|
|
@@ -357,7 +358,7 @@ declare function __VLS_template(): {
|
|
|
357
358
|
"onUpdate:query"?: ((...args: any[]) => any) | undefined;
|
|
358
359
|
"onWill-scroll-top"?: ((...args: any[]) => any) | undefined;
|
|
359
360
|
onFetch?: ((...args: any[]) => any) | undefined;
|
|
360
|
-
}>, "fetch" | "fetchWithLoading" | "fetchWithoutLoading" | "scrollIntoView" | "query" | ("search" | "size" | "url" | "actions" | "items" | "urlQuery" | "defaultQuery" | "searchable" | "historyMode" | "layout" | "sections" | "scrollTopOnFetch" | "filtersPosition" | "perPage")> & import("vue").ShallowUnwrapRef<{
|
|
361
|
+
}>, "data" | "fetch" | "fetchWithLoading" | "fetchWithoutLoading" | "scrollIntoView" | "query" | ("search" | "size" | "url" | "actions" | "items" | "urlQuery" | "defaultQuery" | "searchable" | "historyMode" | "layout" | "sections" | "scrollTopOnFetch" | "filtersPosition" | "perPage")> & import("vue").ShallowUnwrapRef<{
|
|
361
362
|
fetch: () => void;
|
|
362
363
|
fetchWithLoading: () => void;
|
|
363
364
|
fetchWithoutLoading: () => void;
|
|
@@ -375,6 +376,7 @@ declare function __VLS_template(): {
|
|
|
375
376
|
search?: string | undefined;
|
|
376
377
|
filter?: Record<string, any> | undefined;
|
|
377
378
|
}>;
|
|
379
|
+
data: import("vue").ComputedRef<ResourceCollection | Collection | PaginatedCollection | null | undefined>;
|
|
378
380
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
379
381
|
$slots: Partial<Record<string, (_: {
|
|
380
382
|
query: DataTableQuery;
|
|
@@ -1083,6 +1085,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1083
1085
|
fetch: typeof fetch;
|
|
1084
1086
|
fetchWithoutLoading: typeof fetchWithoutLoading;
|
|
1085
1087
|
query: import("vue").ComputedRef<DataTableQuery | null>;
|
|
1088
|
+
data: import("vue").ComputedRef<ResourceCollection | Collection | PaginatedCollection | undefined>;
|
|
1086
1089
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1087
1090
|
delete: (...args: any[]) => void;
|
|
1088
1091
|
"update:checked-rows": (...args: any[]) => void;
|
package/package.json
CHANGED