eco-vue-js 0.4.6 → 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"WInfiniteList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfiniteList/WInfiniteList.vue"],"names":[],"mappings":"AA6DA;;;0BAiSyB,IAAI,KAAK,KAAK;;;;iBAtBtB,WAAW;;;;;gBAFZ,kBAAkB,IAAI,CAAC;2BACZ,OAAO,KAAK,OAAO;;;;;;;;;;;;;;;;;;;WA+BvC,GAAG;;;kBAnMA,IAAI;+BACS,IAAI,GAAG,SAAS,KAAK,IAAI;sBAClC,OAAO;qBACR,MAAM,IAAI;;;mBAGZ,OAAO;kBACR,OAAO;uBACF,OAAO;cACd,IAAI;0BACO,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;;;kBAVvC,IAAI;+BACS,IAAI,GAAG,SAAS,KAAK,IAAI;sBAClC,OAAO;qBACR,MAAM,IAAI;;;mBAGZ,OAAO;kBACR,OAAO;uBACF,OAAO;cACd,IAAI;0BACO,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;;;YAvD3C,aAAa,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC/C,uBAAuB,SAAS,MAAM,GAAG,IAAI;YAC7C,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,iBAAiB,UAAU,KAAK,EAAE,GAAG,IAAI;;;;OA4OwB,IAAI;;;8BAPlD,IAAI,KAAK,KAAK;;;;qBAtBtB,WAAW;;;;;oBAFZ,kBAAkB,IAAI,CAAC;+BACZ,OAAO,KAAK,OAAO;;;;;;;;;;;;;;;;;;;;;SA8ByB,IAAI;WACpE,GAAG;;;kBAnMA,IAAI;+BACS,IAAI,GAAG,SAAS,KAAK,IAAI;sBAClC,OAAO;qBACR,MAAM,IAAI;;;mBAGZ,OAAO;kBACR,OAAO;uBACF,OAAO;cACd,IAAI;0BACO,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;;;kBAVvC,IAA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AO;uBACF,OAAO;cACd,IAAI;0BACO,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;;;YAvD3C,aAAa,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC/C,uBAAuB,SAAS,MAAM,GAAG,IAAI;YAC7C,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,iBAAiB,UAAU,KAAK,EAAE,GAAG,IAAI;;;;;;;;kCAyOtB,IAAI,KAAK,KAAK;;;;yBAtBtB,WAAW;;;;;wBAFZ,kBAAkB,IAAI,CAAC;mCACZ,OAAO,KAAK,OAAO;;;;;;;;;;;;;;;;;;;;;aA8ByB,IAAI;eACpE,GAAG;;;sBAvMA,IAAI;mCACS,IAAI,GAAG,SAAS,KAAK,IAAI;0BAClC,OAAO;yBACR,MAAM,IAAI;;;uBAGZ,OAAO;sBACR,OAAO;2BACF,OAAO;kBACd,IAAI;8BACO,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;;;sBAVvC,IAAI;mCACS,IAAI,GAAG,SAAS,KAAK,IAAI;0BAClC,OAAO;yBACR,MAAM,IAAI;;;uBAGZ,OAAO;sBACR,OAAO;2BACF,OAAO;kBACd,IAAI;8BACO,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;;;gBAvD3C,aAAa,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;gBAC/C,uBAAuB,SAAS,MAAM,GAAG,IAAI;gBAC7C,cAAc,SAAS,MAAM,GAAG,IAAI;gBACpC,iBAAiB,UAAU,KAAK,EAAE,GAAG,IAAI;;;;AArD/C,wBA2S2E;AAQ3E,KAAK,cAAc,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, watch, onMounted, onBeforeUnmount, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, unref, renderSlot, createVNode, withCtx } from 'vue';
1
+ import { defineComponent, ref, watch, onMounted, onBeforeUnmount, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, unref, renderSlot, createCommentVNode, createVNode, withCtx } from 'vue';
2
2
  import { useInfiniteListHeader } from './use/useInfiniteListHeader.js';
3
3
  import _sfc_main$1 from './WInfiniteListPages.vue.js';
4
4
 
@@ -62,20 +62,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
62
62
  });
63
63
  return (_ctx, _cache) => {
64
64
  return openBlock(), createElementBlock(Fragment, null, [
65
- createElementVNode("div", {
66
- ref_key: "indicator",
67
- ref: indicator
68
- }, null, 512),
69
- createElementVNode("div", {
70
- ref_key: "header",
71
- ref: header,
72
- class: normalizeClass(["sticky top-[var(--header-height)]", {
73
- "z-[1]": unref(isIntersecting),
74
- "z-20": !unref(isIntersecting)
75
- }])
76
- }, [
77
- renderSlot(_ctx.$slots, "header")
78
- ], 2),
65
+ !_ctx.minHeight ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
66
+ createElementVNode("div", {
67
+ ref_key: "indicator",
68
+ ref: indicator
69
+ }, null, 512),
70
+ createElementVNode("div", {
71
+ ref_key: "header",
72
+ ref: header,
73
+ class: normalizeClass(["sticky top-[var(--header-height)]", {
74
+ "z-[1]": unref(isIntersecting),
75
+ "z-20": !unref(isIntersecting)
76
+ }])
77
+ }, [
78
+ renderSlot(_ctx.$slots, "header")
79
+ ], 2)
80
+ ], 64)) : createCommentVNode("", true),
79
81
  createVNode(_sfc_main$1, {
80
82
  "query-params": _ctx.queryParams,
81
83
  "use-query-fn": _ctx.useQueryFn,
@@ -1 +1 @@
1
- {"version":3,"file":"SelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncList.vue"],"names":[],"mappings":"AA2FA;;;;;;;gBA0Zc,KAAK,EAAE;wBAeC,IAAI,KAAK,KAAK;;;;iBAbrB,WAAW;;;gBADZ,kBAAkB,IAAI,CAAC;2BAEZ,OAAO,KAAK,OAAO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AS,KAAK,EAAE,GAAG,IAAI;gBAC1C,eAAe,GAAG,IAAI;;;;AA9B5B,wBA8a2E"}
@@ -106,6 +106,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
106
106
  "hide-page-title": "",
107
107
  "header-top-ignore": "",
108
108
  "min-height": "",
109
+ "no-gap": "",
109
110
  "onUpdate:count": _cache[2] || (_cache[2] = ($event) => {
110
111
  _ctx.$emit("update:count", $event);
111
112
  count.value = $event;
@@ -80,7 +80,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
80
80
  ref: element,
81
81
  class: normalizeClass(["relative grid grid-cols-[1fr,2.5rem] w-full select-none cursor-pointer py-2 px-[1.0625rem]", {
82
82
  "bg-primary-light dark:bg-primary-darkest": _ctx.isSelected,
83
- "before:opacity-5": _ctx.isCursor && !_ctx.skeleton,
83
+ "before:opacity-5": !_ctx.loading && _ctx.isCursor && !_ctx.skeleton,
84
84
  "cursor-progress": _ctx.loading || _ctx.skeleton,
85
85
  "w-ripple": !_ctx.loading && !_ctx.skeleton
86
86
  }]),
@@ -89,7 +89,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
89
89
  onClick: withModifiers(toggle, ["prevent", "stop"])
90
90
  }, [
91
91
  createElementVNode("div", {
92
- class: normalizeClass(["flex items-center flex-1 overflow-hidden", {
92
+ class: normalizeClass(["flex items-center overflow-hidden", {
93
93
  "col-span-2": _ctx.hideOptionIcon
94
94
  }])
95
95
  }, [
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.4.6",
7
+ "version": "0.4.8",
8
8
  "scripts": {
9
9
  "dev": "vite",
10
10
  "build": "run-p type-check build-only",