eco-vue-js 0.8.34 → 0.8.35
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 +2 -0
- package/dist/components/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.js +8 -5
- package/dist/components/List/WListCard.vue.d.ts +2 -0
- package/dist/components/List/WListCard.vue.d.ts.map +1 -1
- package/dist/components/List/WListCard.vue.js +3 -2
- package/package.json +9 -9
@@ -22,6 +22,8 @@ declare const _default: <Data extends DefaultData, QueryParams, Fields extends L
|
|
22
22
|
configKey: string;
|
23
23
|
defaultConfigMap: FieldConfigMap<Fields>;
|
24
24
|
alignTop?: boolean;
|
25
|
+
disableMore?: boolean;
|
26
|
+
readonly?: boolean;
|
25
27
|
}> & import('vue').PublicProps;
|
26
28
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
27
29
|
attrs: 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":"AA6TA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;yBAYpF,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;WAunBxD,mBAAmB,CAAC;;;gBAjnBpB,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;sBACJ,OAAO;mBACV,OAAO;KA6lBmE,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;YAtDgB,GAAG;;cApiB1B,uBAAuB,SAAS,MAAM,KAAG,IAAI;;;;YA+lBP,OAAO,CAAC,OAAO,WAAW,CAAC;;AAjoBvE,wBAioB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -34,7 +34,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
34
34
|
moreBottom: { type: Boolean },
|
35
35
|
configKey: {},
|
36
36
|
defaultConfigMap: {},
|
37
|
-
alignTop: { type: Boolean }
|
37
|
+
alignTop: { type: Boolean },
|
38
|
+
disableMore: { type: Boolean },
|
39
|
+
readonly: { type: Boolean }
|
38
40
|
},
|
39
41
|
emits: ["update:header-padding"],
|
40
42
|
setup(__props) {
|
@@ -201,6 +203,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
201
203
|
default: withCtx(({ item, skeleton, setter, refetch }) => [
|
202
204
|
createVNode(_sfc_main$7, {
|
203
205
|
disabled: skeleton,
|
206
|
+
"disable-more": _ctx.disableMore,
|
204
207
|
mobile: unref(isMobile),
|
205
208
|
"card-class": _ctx.cardClass,
|
206
209
|
"card-wrapper-class": _ctx.cardWrapperClass,
|
@@ -219,7 +222,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
219
222
|
default: withCtx((defaultScope) => [
|
220
223
|
(openBlock(), createBlock(resolveDynamicComponent(defaultScope.field.component), {
|
221
224
|
item: defaultScope.item,
|
222
|
-
readonly: _ctx.readonlyGetter?.(defaultScope.item) ?? false,
|
225
|
+
readonly: _ctx.readonly || (_ctx.readonlyGetter?.(defaultScope.item) ?? false),
|
223
226
|
skeleton,
|
224
227
|
mobile: unref(isMobile),
|
225
228
|
class: normalizeClass({
|
@@ -243,7 +246,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
243
246
|
return openBlock(), createBlock(resolveDynamicComponent(menuItem), {
|
244
247
|
key: menuIndex,
|
245
248
|
item,
|
246
|
-
readonly: _ctx.readonlyGetter?.(item) ?? false,
|
249
|
+
readonly: _ctx.readonly || (_ctx.readonlyGetter?.(item) ?? false),
|
247
250
|
"update-item": setter,
|
248
251
|
"delete-item": () => {
|
249
252
|
setter();
|
@@ -264,7 +267,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
264
267
|
fn: withCtx(() => [
|
265
268
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.expansion), {
|
266
269
|
item,
|
267
|
-
readonly: _ctx.readonlyGetter?.(item) ?? false,
|
270
|
+
readonly: _ctx.readonly || (_ctx.readonlyGetter?.(item) ?? false),
|
268
271
|
skeleton,
|
269
272
|
mobile: unref(isMobile),
|
270
273
|
"onUpdate:item": setter,
|
@@ -276,7 +279,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
276
279
|
]),
|
277
280
|
key: "0"
|
278
281
|
} : void 0
|
279
|
-
]), 1032, ["disabled", "mobile", "card-class", "card-wrapper-class", "has-border", "more-bottom", "allow-open", "align-top"])
|
282
|
+
]), 1032, ["disabled", "disable-more", "mobile", "card-class", "card-wrapper-class", "has-border", "more-bottom", "allow-open", "align-top"])
|
280
283
|
]),
|
281
284
|
_: 3
|
282
285
|
}, 8, ["use-query-fn", "query-params", "skeleton-length", "header-margin", "allow-select", "selected", "reverse", "selected-range", "page-length", "count", "onSelect", "onSelectReverse", "onSelectRange"]);
|
@@ -21,6 +21,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
21
21
|
cardClass?: string;
|
22
22
|
cardWrapperClass?: string;
|
23
23
|
allowOpen?: boolean;
|
24
|
+
disableMore?: boolean;
|
24
25
|
}, {
|
25
26
|
updateSelected: ((value: boolean) => void) | undefined;
|
26
27
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
@@ -36,6 +37,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
36
37
|
cardClass?: string;
|
37
38
|
cardWrapperClass?: string;
|
38
39
|
allowOpen?: boolean;
|
40
|
+
disableMore?: boolean;
|
39
41
|
}> & Readonly<{
|
40
42
|
"onUpdate:selected"?: ((value: boolean) => any) | undefined;
|
41
43
|
"onUpdate:selected-hover"?: ((value: boolean) => any) | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WListCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WListCard.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WListCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WListCard.vue"],"names":[],"mappings":"AAyRA,iBAAS,cAAc;;;;;YAuUO,GAAG;sBACN,GAAG;2BACE,GAAG;;;WASrB,OAAO,IAA6B;EAEjD;AA4BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;eApbR,OAAO;eACP,OAAO;aACT,OAAO;iBACH,OAAO;eACT,OAAO;gBACN,OAAO;gBACP,MAAM;uBACC,MAAM;gBACb,OAAO;kBACL,OAAO;;;;;;;eATV,OAAO;eACP,OAAO;aACT,OAAO;iBACH,OAAO;eACT,OAAO;gBACN,OAAO;gBACP,MAAM;uBACC,MAAM;gBACb,OAAO;kBACL,OAAO;;;;kFAsbrB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -25,7 +25,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
25
25
|
hasBorder: { type: Boolean },
|
26
26
|
cardClass: {},
|
27
27
|
cardWrapperClass: {},
|
28
|
-
allowOpen: { type: Boolean }
|
28
|
+
allowOpen: { type: Boolean },
|
29
|
+
disableMore: { type: Boolean }
|
29
30
|
},
|
30
31
|
emits: ["update:selected", "update:selected-hover"],
|
31
32
|
setup(__props, { expose: __expose, emit: __emit }) {
|
@@ -148,7 +149,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
148
149
|
"items-start pt-3": _ctx.alignTop,
|
149
150
|
"items-center": !_ctx.alignTop
|
150
151
|
}]),
|
151
|
-
disabled: _ctx.disabled
|
152
|
+
disabled: _ctx.disabled || _ctx.disableMore
|
152
153
|
}, {
|
153
154
|
default: withCtx(() => [
|
154
155
|
unref(allowSelect) && _ctx.mobile ? (openBlock(), createBlock(_sfc_main$3, {
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"type": "git",
|
5
5
|
"url": "https://github.com/rsmple/eco-vue-js.git"
|
6
6
|
},
|
7
|
-
"version": "0.8.
|
7
|
+
"version": "0.8.35",
|
8
8
|
"scripts": {
|
9
9
|
"dev": "vite",
|
10
10
|
"build": "run-p type-check build-only",
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"@rushstack/eslint-patch": "1.10.4",
|
26
26
|
"@tsconfig/node18": "18.2.4",
|
27
27
|
"@types/jsdom": "21.1.7",
|
28
|
-
"@types/node": "22.
|
28
|
+
"@types/node": "22.9.0",
|
29
29
|
"@types/postcss-import": "14.0.3",
|
30
30
|
"@vitejs/plugin-vue": "5.1.4",
|
31
31
|
"@vue/eslint-config-typescript": "13.0.0",
|
@@ -33,19 +33,19 @@
|
|
33
33
|
"autoprefixer": "10.4.20",
|
34
34
|
"eslint": "8.57.0",
|
35
35
|
"eslint-plugin-unused-imports": "3.0.0",
|
36
|
-
"eslint-plugin-vue": "9.
|
36
|
+
"eslint-plugin-vue": "9.30.0",
|
37
37
|
"jsdom": "25.0.1",
|
38
38
|
"npm-run-all": "4.1.5",
|
39
39
|
"path": "0.12.7",
|
40
40
|
"postcss": "8.4.47",
|
41
41
|
"postcss-import": "16.1.0",
|
42
|
-
"tailwindcss": "3.4.
|
43
|
-
"typescript": "5.6.
|
44
|
-
"vite": "5.4.
|
45
|
-
"vite-plugin-dts": "4.
|
42
|
+
"tailwindcss": "3.4.14",
|
43
|
+
"typescript": "5.6.3",
|
44
|
+
"vite": "5.4.10",
|
45
|
+
"vite-plugin-dts": "4.3.0",
|
46
46
|
"vite-svg-loader": "5.1.0",
|
47
|
-
"vitest": "2.1.
|
48
|
-
"vue-tsc": "2.1.
|
47
|
+
"vitest": "2.1.4",
|
48
|
+
"vue-tsc": "2.1.10"
|
49
49
|
},
|
50
50
|
"type": "module",
|
51
51
|
"files": [
|