eco-vue-js 0.8.28 → 0.8.29
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/List/WList.vue.d.ts +5 -1
- package/dist/components/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.js +3 -2
- package/dist/components/List/components/HeaderFieldNested.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderFieldNested.vue.js +10 -1
- package/package.json +1 -1
@@ -25,7 +25,11 @@ declare const _default: <Data extends DefaultData, QueryParams, Fields extends L
|
|
25
25
|
}> & import('vue').PublicProps;
|
26
26
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
27
27
|
attrs: any;
|
28
|
-
slots: {
|
28
|
+
slots: {
|
29
|
+
header?(_: {
|
30
|
+
count: number;
|
31
|
+
}): any;
|
32
|
+
};
|
29
33
|
emit: (e: "update:header-padding", value: number) => void;
|
30
34
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
31
35
|
[key: string]: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WList.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WList.vue"],"names":[],"mappings":"AA8SA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;yBAWpF,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC,eACtF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA+mBxD,mBAAmB,CAAC;;;gBAvmBpB,MAAM;gBACN,MAAM;oBACF,cAAc,CAAC,IAAI,CAAC;oBACpB,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;6BACH,MAAM;wBACX,MAAM;eACf,aAAa,CAAC,WAAW,CAAC,EAAE;mBACxB,aAAa,CAAC,WAAW,CAAC,EAAE;cACjC,aAAa,CAAC,IAAI,CAAC,EAAE;yBACV,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO;oBAC5B,MAAM;2BACC,MAAM;6BACJ,CAAC,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM;oBACvD,OAAO;qBACN,OAAO;mBACT,MAAM;0BACC,cAAc,CAAC,MAAM,CAAC;mBAC7B,OAAO;KAqlBmE,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;YArDgB,GAAG;;cA7hB1B,uBAAuB,SAAS,MAAM,KAAG,IAAI;;;;YAulBP,OAAO,CAAC,OAAO,WAAW,CAAC;;AAznBvE,wBAynB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, ref, computed, toRef, openBlock, createBlock, unref, withCtx, createSlots, createElementBlock, Fragment, renderList, resolveDynamicComponent, normalizeClass, createCommentVNode, createVNode, normalizeStyle, isRef } from 'vue';
|
1
|
+
import { defineComponent, ref, computed, toRef, openBlock, createBlock, unref, withCtx, renderSlot, createSlots, createElementBlock, Fragment, renderList, resolveDynamicComponent, normalizeClass, createCommentVNode, createVNode, normalizeStyle, isRef } from 'vue';
|
2
2
|
import _sfc_main$1 from '../InfiniteList/WInfiniteList.vue.js';
|
3
3
|
import { getIsMobile } from '../../utils/mobile.js';
|
4
4
|
import { useSelected, getPosition } from '../../utils/useSelected.js';
|
@@ -111,6 +111,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
111
111
|
"onUpdate:count": _cache[7] || (_cache[7] = ($event) => listCount.value = $event)
|
112
112
|
}, {
|
113
113
|
header: withCtx(({ selectAllValue }) => [
|
114
|
+
renderSlot(_ctx.$slots, "header", { count: listCount.value }),
|
114
115
|
allowSelect.value ? (openBlock(), createBlock(_sfc_main$2, {
|
115
116
|
key: 0,
|
116
117
|
title: _ctx.selectionTitle,
|
@@ -266,7 +267,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
266
267
|
} : void 0
|
267
268
|
]), 1032, ["disabled", "mobile", "card-class", "card-wrapper-class", "has-border", "more-bottom", "allow-open", "align-top"])
|
268
269
|
]),
|
269
|
-
_:
|
270
|
+
_: 3
|
270
271
|
}, 8, ["use-query-fn", "query-params", "skeleton-length", "header-margin", "allow-select", "selected", "reverse", "selected-range", "count", "onSelect", "onSelectReverse", "onSelectRange"]);
|
271
272
|
};
|
272
273
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HeaderFieldNested.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/components/HeaderFieldNested.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"HeaderFieldNested.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/components/HeaderFieldNested.vue"],"names":[],"mappings":"AAiEA,OAAO,KAAK,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,UAAU,CAAA;yBAIlC,IAAI,EAAE,WAAW,eACpB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA+FxD,mBAAmB,CAAC;gBA3FpB,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC;KA2FgD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;iBAxFF,CAAC,KAAK,EAAE;YACf,KAAK,EAAE,SAAS,CAAC,IAAI,EAAE,WAAW,CAAC,CAAA;YACnC,MAAM,EAAE,OAAO,CAAA;YACf,KAAK,EAAE,MAAM,CAAA;YACb,MAAM,EAAE,MAAM,CAAA;YACd,KAAK,EAAE,OAAO,CAAA;YACd,IAAI,EAAE,OAAO,CAAA;SACd,KAAK,IAAI;;iBAPD,CAAC,KAAK,EAAE;YACf,KAAK,EAAE,SAAS,CAAC,IAAI,EAAE,WAAW,CAAC,CAAA;YACnC,MAAM,EAAE,OAAO,CAAA;YACf,KAAK,EAAE,MAAM,CAAA;YACb,MAAM,EAAE,MAAM,CAAA;YACd,KAAK,EAAE,OAAO,CAAA;YACd,IAAI,EAAE,OAAO,CAAA;SACd,KAAK,IAAI;;UAmFH,EAAE;;;;YAGiC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAzGvE,wBAyG4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -18,13 +18,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
18
|
fields: field.fields
|
19
19
|
}, {
|
20
20
|
default: withCtx((defaultScope) => [
|
21
|
-
renderSlot(_ctx.$slots, "default", {
|
21
|
+
defaultScope.length !== 1 ? renderSlot(_ctx.$slots, "default", {
|
22
|
+
key: 0,
|
22
23
|
field: defaultScope.field,
|
23
24
|
nested: true,
|
24
25
|
index: defaultScope.index,
|
25
26
|
length: defaultScope.length,
|
26
27
|
first: defaultScope.first,
|
27
28
|
last: defaultScope.last
|
29
|
+
}) : renderSlot(_ctx.$slots, "default", {
|
30
|
+
key: 1,
|
31
|
+
field: defaultScope.field,
|
32
|
+
nested: true,
|
33
|
+
index,
|
34
|
+
length: _ctx.fields.length,
|
35
|
+
first: index === 0,
|
36
|
+
last: index === _ctx.fields.length - 1
|
28
37
|
})
|
29
38
|
]),
|
30
39
|
_: 2
|