eco-vue-js 0.10.28 → 0.10.29

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.
@@ -1 +1 @@
1
- {"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/WList.vue"],"names":[],"mappings":"AAoPA;AAoYA,OAAO,KAAK,EAAC,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AACzH,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAA;AAWzC,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAA;yBAWrB,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC,EAAE,WAAW,SAAS,SAAS,OAAO,EAAE,EAC3I,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA4tBO,mBAAmB,CAAC;;;;;;gBA1tBlB,MAAM;gBACN,MAAM;oBACF,cAAc,CAAC,IAAI,CAAC;oBACpB,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;uBACT,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;6BACxC,MAAM;wBACX,MAAM;eACf,aAAa,CAAC,WAAW,CAAC,EAAE;mBACxB,aAAa,CAAC,WAAW,CA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AAG,SAAS;kBACzC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,KAAK,OAAO;qBAC1B,WAAW;mBACb,SAAS,CAAC,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;iBAC1C,CAAC,IAAI,EAAE,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC;mBAisBoD,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;YAjEiB,GAAG;2BACC,GAAG;;;;;YACP,GAAG;;cA/nBzB,cAAc,SAAS,QAAQ,KAAG,IAAI;EAksBxC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAzuBzE,wBAyuB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -207,6 +207,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
207
207
  class: "sm-not:hidden mb-[--w-list-gap,1rem]",
208
208
  "allow-select": allowSelect.value,
209
209
  "tooltip-text": _ctx.selectAllTextGetter(unref(selectAllValue) !== true, _ctx.count ?? listCount.value ?? 0),
210
+ "hide-more": !_ctx.menu,
210
211
  count: _ctx.count ?? listCount.value,
211
212
  selection: unref(selectAllValue),
212
213
  "onToggle:selection": _cache[1] || (_cache[1] = ($event) => $event ? unref(selectAll)() : unref(resetSelection)()),
@@ -232,7 +233,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
232
233
  }, 8, ["fields"])
233
234
  ]),
234
235
  _: 2
235
- }, 1032, ["allow-select", "tooltip-text", "count", "selection", "onUpdate:header"])) : createCommentVNode("", true)
236
+ }, 1032, ["allow-select", "tooltip-text", "hide-more", "count", "selection", "onUpdate:header"])) : createCommentVNode("", true)
236
237
  ]),
237
238
  default: withCtx(({ item, skeleton, setter, refetch, previous, index, position, value }) => [
238
239
  _ctx.groupBy && (index === 0 || !skeleton && (!previous || !_ctx.groupBy(item, previous))) ? renderSlot(_ctx.$slots, "group", {
@@ -11,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  },
12
12
  setup(__props) {
13
13
  return (_ctx, _cache) => {
14
- return openBlock(), createBlock(resolveDynamicComponent(_ctx.to ? unref(RouterLink) : _ctx.href ? "a" : "button"), mergeProps(_ctx.to ? { to: _ctx.to } : _ctx.href ? { href: _ctx.href, download: _ctx.download } : void 0, {
14
+ return openBlock(), createBlock(resolveDynamicComponent(_ctx.to && !_ctx.disabled ? unref(RouterLink) : _ctx.href ? "a" : "button"), mergeProps(_ctx.to && !_ctx.disabled ? { to: _ctx.to } : _ctx.href ? { href: _ctx.href, download: _ctx.download } : void 0, {
15
15
  class: ["text-description relative flex w-full min-w-36 select-none items-center justify-start gap-4 px-6 py-2 text-start outline-none first:pt-4 last:pb-4", {
16
16
  "w-ripple w-ripple-hover hover:text-primary-default dark:hover:text-primary-dark cursor-pointer": !_ctx.disabled,
17
17
  "cursor-not-allowed opacity-50": _ctx.disabled
@@ -1 +1 @@
1
- {"version":3,"file":"WModalExport.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalExport.vue"],"names":[],"mappings":"AA0CA;yBA8IiB,KAAK,EAAE,WAAW,EAAE,aAAa,EACjD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAwOO,mBAAmB,CAAC;;;kBAtO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,WAAW;oBACjB,iBAAiB,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,kBAAkB,CAAC,KAAK,EAAE,EAAE,WAAW,CAAC;kBAClF,CAAC,IAAI,EAAE,KAAK,KAAK,aAAa;kBAC9B,MAAM,IAAI;mBAgOwE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;cA7NL,aAAa,KAAG,IAAI;EAiOtB,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AApPzE,wBAoP4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { defineComponent, ref, computed, watch, createBlock, openBlock, withCtx, createElementVNode, createVNode, toDisplayString, unref, createTextVNode } from 'vue';
2
+ import { keepPreviousData } from '@tanstack/vue-query';
2
3
  import _sfc_main$3 from '../Button/WButton.vue.js';
3
4
  import _sfc_main$1 from './WModalWrapper.vue.js';
4
5
  import { SemanticType } from '../../utils/SemanticType.js';
@@ -32,7 +33,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
32
33
  refetchInterval: false,
33
34
  refetchOnWindowFocus: false,
34
35
  refetchIntervalInBackground: false,
35
- refetchOnReconnect: false
36
+ refetchOnReconnect: false,
37
+ placeholderData: keepPreviousData
36
38
  });
37
39
  const count = computed(() => Array.isArray(query.data.value) ? query.data.value.length : query.data.value?.count ?? 0);
38
40
  const pagesCount = computed(() => query.data.value ? "pages_count" in query.data.value ? query.data.value.pages_count : 1 : null);
@@ -1 +1 @@
1
- {"version":3,"file":"WProgressStriped.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/WProgressStriped.vue"],"names":[],"mappings":"AAmBA;AA0BA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAA;CACnB,CAAC;;AAsDF,wBAOG"}
1
+ {"version":3,"file":"WProgressStriped.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/WProgressStriped.vue"],"names":[],"mappings":"AAqBA;AA4BA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAA;CACnB,CAAC;;AAwDF,wBAOG"}
@@ -12,7 +12,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12
12
  "button-gradient-primary": _ctx.modelValue > 0,
13
13
  "bg-gray-200 dark:bg-gray-800": _ctx.modelValue <= 0,
14
14
  "w-progress-striped before:animate-move-horizontal": _ctx.modelValue > 0 && _ctx.modelValue < 100,
15
- "before:animate-ticker before:absolute before:inset-0": _ctx.modelValue >= 100 || _ctx.modelValue <= 0
15
+ "before:absolute before:inset-0": _ctx.modelValue >= 100 || _ctx.modelValue <= 0,
16
+ "before:animate-ticker before:via-default/50 before:bg-gradient-to-r before:from-transparent before:to-transparent": _ctx.modelValue <= 0,
17
+ "before:bg-default/50 before:animate-pulse": _ctx.modelValue >= 100
16
18
  }])
17
19
  }, [
18
20
  _ctx.modelValue < 100 && _ctx.modelValue > 0 ? (openBlock(), createElementBlock("div", {
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.10.28",
7
+ "version": "0.10.29",
8
8
  "scripts": {
9
9
  "build": "run-p type-check \"build-only {@}\" --",
10
10
  "dev": "vite build --watch",
@@ -489,6 +489,10 @@ const pluginDefault = plugin(function ({matchUtilities, addVariant, addUtilities
489
489
  'grid-row': '1 / -1',
490
490
  },
491
491
  })
492
+
493
+ addVariant(
494
+ 'not-print', '@media not print',
495
+ )
492
496
  })
493
497
 
494
498
  export default pluginDefault