eco-vue-js 0.10.56 → 0.10.57
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/components/BottomSheet/WBottomSheet.vue.d.ts.map +1 -1
- package/dist/components/BottomSheet/WBottomSheet.vue.js +3 -1
- package/dist/components/Button/WButtonMore.vue.js +2 -2
- package/dist/components/FieldWrapper/WFieldWrapper.vue.js +1 -1
- package/dist/components/FieldWrapper/components/FilterButton.vue.js +4 -4
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue.js +3 -2
- package/dist/components/List/components/HeaderSettings.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSettings.vue.js +3 -2
- package/dist/components/List/components/HeaderSort.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSort.vue.js +4 -1
- package/dist/components/Shine/WShine.vue.d.ts +1 -1
- package/dist/components/Shine/WShine.vue.d.ts.map +1 -1
- package/dist/components/Shine/WShine.vue.js +6 -3
- package/dist/components/Shine/WShineEffect.vue.d.ts +1 -1
- package/dist/components/Shine/WShineEffect.vue.d.ts.map +1 -1
- package/dist/components/Shine/WShineEffect.vue.js +7 -4
- package/dist/components/Skeleton/WSkeleton.vue.js +1 -1
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +1 -1
- package/package.json +1 -1
- package/tailwind-base/plugins/default.ts +10 -5
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WBottomSheet.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/BottomSheet/WBottomSheet.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WBottomSheet.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/BottomSheet/WBottomSheet.vue"],"names":[],"mappings":"AAmCA;AA6DA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,OAAO,CAAA;CAChB,CAAC;AAYF,iBAAS,cAAc;WAmFT,OAAO,IAA6B;;;;YAZtB,GAAG;;;YACF,GAAG;yBACF,GAAG;;;;EAehC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;kFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -28,7 +28,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
28
28
|
_cache[1] || (_cache[1] = createElementVNode("div", { class: "flex h-9 items-center justify-center" }, [
|
29
29
|
createElementVNode("div", { class: "h-1 w-12 rounded-sm bg-gray-300" })
|
30
30
|
], -1)),
|
31
|
-
|
31
|
+
createElementVNode("div", null, [
|
32
|
+
renderSlot(_ctx.$slots, "toggle", { unclickable: false })
|
33
|
+
])
|
32
34
|
]),
|
33
35
|
createElementVNode("div", _hoisted_2, [
|
34
36
|
renderSlot(_ctx.$slots, "content")
|
@@ -55,8 +55,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
55
55
|
createElementVNode("div", {
|
56
56
|
class: normalizeClass(["relative", {
|
57
57
|
"w-hover-circle": !_ctx.disabled,
|
58
|
-
"text-description": !isOpen.value,
|
59
|
-
"text-primary dark:text-primary-dark": isOpen.value
|
58
|
+
"text-description": !isOpen.value || _ctx.anchor,
|
59
|
+
"text-primary dark:text-primary-dark": isOpen.value && !_ctx.anchor
|
60
60
|
}])
|
61
61
|
}, [
|
62
62
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon ?? unref(IconMore)), { class: "square-[1.25em]" }))
|
@@ -106,7 +106,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
106
106
|
key: 0,
|
107
107
|
"filter-field": _ctx.filterField,
|
108
108
|
"encoded-query-param": encodedQueryParam.value,
|
109
|
-
class: "absolute
|
109
|
+
class: "absolute top-0.5 ml-2"
|
110
110
|
}, null, 8, ["filter-field", "encoded-query-param"])) : createCommentVNode("", true)
|
111
111
|
], 64)) : (openBlock(), createBlock(WSkeleton, { key: 1 }))
|
112
112
|
], 10, _hoisted_1)) : createCommentVNode("", true),
|
@@ -3,7 +3,7 @@ import IconFilter from '../../../assets/icons/sax/IconFilter.svg.js';
|
|
3
3
|
|
4
4
|
const _hoisted_1 = {
|
5
5
|
key: 0,
|
6
|
-
class: "square-
|
6
|
+
class: "square-[1.5em]"
|
7
7
|
};
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
9
|
__name: "FilterButton",
|
@@ -16,13 +16,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
16
|
return (_ctx, _cache) => {
|
17
17
|
return _ctx.skeleton || !_ctx.encodedQueryParam ? (openBlock(), createElementBlock("div", _hoisted_1)) : (openBlock(), createElementBlock("button", {
|
18
18
|
key: 1,
|
19
|
-
class: normalizeClass(["w-ripple w-ripple-hover rounded p-0.
|
19
|
+
class: normalizeClass(["w-ripple w-ripple-hover rounded p-[0.125em]", {
|
20
20
|
"text-description": _ctx.$route.query[_ctx.filterField] !== _ctx.encodedQueryParam,
|
21
|
-
"bg-primary dark:bg-primary-dark text-default
|
21
|
+
"bg-primary dark:bg-primary-dark text-default": _ctx.$route.query[_ctx.filterField] === _ctx.encodedQueryParam
|
22
22
|
}]),
|
23
23
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$router.replace({ query: { ..._ctx.$route.query, [_ctx.filterField]: _ctx.$route.query[_ctx.filterField] === _ctx.encodedQueryParam ? void 0 : _ctx.encodedQueryParam } }))
|
24
24
|
}, [
|
25
|
-
createVNode(unref(IconFilter), { class: "square-
|
25
|
+
createVNode(unref(IconFilter), { class: "square-[1.25em]" })
|
26
26
|
], 2));
|
27
27
|
};
|
28
28
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInputSuggest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputSuggest.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInputSuggest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputSuggest.vue"],"names":[],"mappings":"AA6GA;AAgNA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAE9C,OAAO,EAAC,KAAK,KAAK,EAAgC,MAAM,KAAK,CAAA;yBAY5C,IAAI,SAAS,SAAS,GAAG,MAAM,EAC/C,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;WAqYO,mBAAmB,CAAC,2CAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;;;;;MAAsB,GAAG,IAAI;WACpE,GAAG;;gBAnTD,MAAM,IAAI;mBACP,MAAM,IAAI;iBACZ,CAAC,KAAK,EAAE;YAAC,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;SAAC,KAAK,IAAI;gBAChD,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;kBACpC,CAAC,KAAK,CAAC,EAAE;YAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;SAAC,KAAK,KAAK,EAAE;;gBAJnD,MAAM,IAAI;mBACP,MAAM,IAAI;iBACZ,CAAC,KAAK,EAAE;YAAC,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;SAAC,KAAK,IAAI;gBAChD,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;kBACpC,CAAC,KAAK,CAAC,EAAE;YAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;SAAC,KAAK,KAAK,EAAE;;;YAxEvD,mBAAmB,mDAAsB,IAAI;YAC7C,gBAAgB,SAAS,aAAa,GAAG,IAAI;YAC7C,aAAa,SAAS,aAAa,GAAG,IAAI;YAC1C,eAAe,SAAS,aAAa,GAAG,IAAI;YAC5C,iBAAiB,SAAS,aAAa,GAAG,IAAI;YAC9C,MAAM,GAAG,IAAI;YACb,OAAO,GAAG,IAAI;YACd,aAAa,GAAG,IAAI;YACpB,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;;EAkXlC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAhZzE,wBAgZ4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -119,9 +119,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
119
119
|
createVNode(_sfc_main$4, mergeProps({ ref: "input" }, {
|
120
120
|
...props,
|
121
121
|
..._ctx.$attrs,
|
122
|
-
title: toggleScope?.unclickable ? _ctx.mobileTitle ?? _ctx.title : _ctx.title,
|
122
|
+
title: toggleScope?.unclickable === false ? _ctx.mobileTitle ?? _ctx.title : _ctx.title,
|
123
123
|
unclickable: toggleScope?.unclickable,
|
124
|
-
description: toggleScope?.unclickable === false ? void 0 : _ctx.description
|
124
|
+
description: toggleScope?.unclickable === false ? void 0 : _ctx.description,
|
125
|
+
seamless: toggleScope?.unclickable === false ? false : props.seamless
|
125
126
|
}, {
|
126
127
|
class: {
|
127
128
|
"cursor-pointer": !_ctx.disabled && !_ctx.readonly,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HeaderSettings.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/HeaderSettings.vue"],"names":[],"mappings":"AAiFA;
|
1
|
+
{"version":3,"file":"HeaderSettings.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/HeaderSettings.vue"],"names":[],"mappings":"AAiFA;AA6LA,OAAO,KAAK,EAAC,WAAW,EAAa,UAAU,EAAC,MAAM,UAAU,CAAA;AAWhE,OAAO,EAA0B,KAAK,QAAQ,EAAc,MAAM,eAAe,CAAA;yBAQhE,IAAI,SAAS,WAAW,EAAE,WAAW,EACrD,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;WAmVO,mBAAmB,CAAC;;;;;gBAjVlB,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC;wBACrB,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC;cACrC,QAAQ;qBACD,WAAW;kBACd,OAAO;gBACT,OAAO;mBACJ,OAAO;mBA2U0E,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;YAxUL,yBAAyB,SAAS,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,IAAI;YACpE,aAAa,SAAS,QAAQ,GAAG,IAAI;YACrC,aAAa,GAAG,IAAI;;EA0UtB,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA9VzE,wBA8V4E;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, provide, ref, createBlock, openBlock, unref, withCtx, createVNode, createElementVNode, createElementBlock, createCommentVNode, Fragment, renderList, normalizeClass, markRaw } from 'vue';
|
1
|
+
import { defineComponent, inject, provide, ref, createBlock, openBlock, unref, withCtx, createVNode, createElementVNode, createElementBlock, createCommentVNode, Fragment, renderList, normalizeClass, markRaw } from 'vue';
|
2
2
|
import _sfc_main$6 from '../../Button/WButtonSelectionAction.vue.js';
|
3
3
|
import _sfc_main$2 from '../../ClickOutside/WClickOutside.vue.js';
|
4
4
|
import _sfc_main$1 from '../../DropdownMenu/WDropdownMenu.vue.js';
|
@@ -38,7 +38,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
38
38
|
setup(__props, { emit: __emit }) {
|
39
39
|
const props = __props;
|
40
40
|
const emit = __emit;
|
41
|
-
|
41
|
+
const baseZIndex = inject(wBaseZIndex, null);
|
42
|
+
provide(wBaseZIndex, baseZIndex ?? BASE_ZINDEX_LIST_HEADER);
|
42
43
|
const isOpen = ref(false);
|
43
44
|
const dragItem = ref(null);
|
44
45
|
const dragItemNewOrder = ref(null);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HeaderSort.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/HeaderSort.vue"],"names":[],"mappings":"AAmCA;
|
1
|
+
{"version":3,"file":"HeaderSort.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/HeaderSort.vue"],"names":[],"mappings":"AAmCA;AAyFA,OAAO,KAAK,EAAC,WAAW,EAAa,UAAU,EAAC,MAAM,UAAU,CAAA;AAChE,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAW5C,OAAO,EAA0B,KAAK,QAAQ,EAAc,MAAM,eAAe,CAAA;yBAIhE,IAAI,SAAS,WAAW,EAAE,WAAW,EACrD,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;WA+LO,mBAAmB,CAAC;;;;;;kBA3LhB,SAAS,CAAC,MAAM,IAAI,CAAC,EAAE;gBACzB,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC;qBACxB,WAAW;mBACb,OAAO;mBAwL0E,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;YArLL,yBAAyB,SAAS,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,IAAI;YACpE,aAAa,SAAS,QAAQ,GAAG,IAAI;YACrC,aAAa,GAAG,IAAI;YACpB,iBAAiB,SAAS,SAAS,CAAC,MAAM,IAAI,CAAC,EAAE,GAAG,IAAI;;EAsL1D,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA1MzE,wBA0M4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { defineComponent, ref, computed, createBlock, createCommentVNode, openBlock, unref, withCtx, createVNode, createElementBlock, Fragment, renderList, markRaw } from 'vue';
|
1
|
+
import { defineComponent, inject, provide, ref, computed, createBlock, createCommentVNode, openBlock, unref, withCtx, createVNode, createElementBlock, Fragment, renderList, markRaw } from 'vue';
|
2
2
|
import _sfc_main$4 from '../../Button/WButtonSelectionAction.vue.js';
|
3
3
|
import _sfc_main$2 from '../../ClickOutside/WClickOutside.vue.js';
|
4
4
|
import _sfc_main$1 from '../../DropdownMenu/WDropdownMenu.vue.js';
|
5
5
|
import IconSort from '../../../assets/icons/default/IconSort.svg.js';
|
6
6
|
import { HorizontalAlign } from '../../../utils/HorizontalAlign.js';
|
7
|
+
import { wBaseZIndex, BASE_ZINDEX_LIST_HEADER } from '../../../utils/utils.js';
|
7
8
|
import _sfc_main$3 from './HeaderSortItem.vue.js';
|
8
9
|
|
9
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -17,6 +18,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
18
|
emits: ["update:field-config-map", "update:mode", "click:reset", "update:ordering"],
|
18
19
|
setup(__props) {
|
19
20
|
const props = __props;
|
21
|
+
const baseZIndex = inject(wBaseZIndex, null);
|
22
|
+
provide(wBaseZIndex, baseZIndex ?? BASE_ZINDEX_LIST_HEADER);
|
20
23
|
const isOpen = ref(false);
|
21
24
|
const fieldsFlat = computed(() => {
|
22
25
|
const result = [];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
2
2
|
element: HTMLDivElement;
|
3
|
-
},
|
3
|
+
}, any>;
|
4
4
|
export default _default;
|
5
5
|
//# sourceMappingURL=WShine.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WShine.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Shine/WShine.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WShine.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Shine/WShine.vue"],"names":[],"mappings":"AAgBA;;;;AA6FA,wBAMG"}
|
@@ -1,7 +1,9 @@
|
|
1
|
-
import { defineComponent, useTemplateRef, createElementBlock, openBlock, createElementVNode, normalizeStyle
|
1
|
+
import { defineComponent, useTemplateRef, createElementBlock, createCommentVNode, unref, openBlock, createElementVNode, normalizeStyle } from 'vue';
|
2
|
+
import { useIsMobile } from '../../utils/mobile.js';
|
2
3
|
import { useShine } from './use/useShine.js';
|
3
4
|
|
4
5
|
const _hoisted_1 = {
|
6
|
+
key: 0,
|
5
7
|
ref: "element",
|
6
8
|
class: "rounded-inherit pointer-events-none absolute inset-0 overflow-hidden"
|
7
9
|
};
|
@@ -9,9 +11,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
11
|
__name: "WShine",
|
10
12
|
setup(__props) {
|
11
13
|
const { id } = useShine();
|
14
|
+
const { isMobile } = useIsMobile();
|
12
15
|
const elementRef = useTemplateRef("element");
|
13
16
|
return (_ctx, _cache) => {
|
14
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
17
|
+
return !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
15
18
|
createElementVNode("div", {
|
16
19
|
class: "bg-default/80 dark:bg-default/50 pointer-events-none absolute h-full w-screen bg-clip-border",
|
17
20
|
style: normalizeStyle({
|
@@ -20,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
23
|
"left": `-${unref(elementRef)?.getBoundingClientRect().left ?? 0}px`
|
21
24
|
})
|
22
25
|
}, null, 4)
|
23
|
-
], 512);
|
26
|
+
], 512)) : createCommentVNode("", true);
|
24
27
|
};
|
25
28
|
}
|
26
29
|
});
|
@@ -1,3 +1,3 @@
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
2
2
|
export default _default;
|
3
3
|
//# sourceMappingURL=WShineEffect.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WShineEffect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Shine/WShineEffect.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WShineEffect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Shine/WShineEffect.vue"],"names":[],"mappings":"AAmEA;;AAsLA,wBAKG"}
|
@@ -1,18 +1,21 @@
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, createElementVNode, createStaticVNode
|
1
|
+
import { defineComponent, createElementBlock, createCommentVNode, unref, openBlock, createElementVNode, createStaticVNode } from 'vue';
|
2
|
+
import { useIsMobile } from '../../utils/mobile.js';
|
2
3
|
import { useShine } from './use/useShine.js';
|
3
4
|
|
4
5
|
const _hoisted_1 = {
|
6
|
+
key: 0,
|
5
7
|
width: "100%",
|
6
8
|
height: "100%",
|
7
|
-
class: "pointer-events-none
|
9
|
+
class: "pointer-events-none fixed top-0"
|
8
10
|
};
|
9
11
|
const _hoisted_2 = ["id"];
|
10
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
13
|
__name: "WShineEffect",
|
12
14
|
setup(__props) {
|
13
15
|
const { id } = useShine();
|
16
|
+
const { isMobile } = useIsMobile();
|
14
17
|
return (_ctx, _cache) => {
|
15
|
-
return openBlock(), createElementBlock("svg", _hoisted_1, [
|
18
|
+
return !unref(isMobile) ? (openBlock(), createElementBlock("svg", _hoisted_1, [
|
16
19
|
createElementVNode("defs", null, [
|
17
20
|
_cache[1] || (_cache[1] = createStaticVNode('<linearGradient id="w-shine-gradient" x1="0%" y1="0%" x2="100%" y2="0%" gradientTransform="rotate(10)"><stop offset="0%" stop-color="rgba(255, 255, 255, 0)"></stop><stop offset="45%" stop-color="rgba(255, 255, 255, 0)"></stop><stop offset="49%" stop-color="rgba(255, 255, 255, 0.4)"></stop><stop offset="50%" stop-color="rgba(255, 255, 255, 1)"></stop><stop offset="51%" stop-color="rgba(255, 255, 255, 0.4)"></stop><stop offset="55%" stop-color="rgba(255, 255, 255, 0)"></stop><stop offset="100%" stop-color="rgba(255, 255, 255, 0)"></stop></linearGradient>', 1)),
|
18
21
|
createElementVNode("mask", {
|
@@ -34,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
34
37
|
], -1)
|
35
38
|
]), 8, _hoisted_2)
|
36
39
|
])
|
37
|
-
]);
|
40
|
+
])) : createCommentVNode("", true);
|
38
41
|
};
|
39
42
|
}
|
40
43
|
});
|
@@ -5,7 +5,7 @@ const _sfc_main = { };
|
|
5
5
|
|
6
6
|
function _sfc_render(_ctx, _cache) {
|
7
7
|
return (openBlock(), createElementBlock("div", {
|
8
|
-
class: "bg-primary-light dark:bg-primary-darkest w-skeleton before:animate-ticker",
|
8
|
+
class: "bg-primary-light dark:bg-primary-darkest w-skeleton w-skeleton-opacity-50 dark:w-skeleton-opacity-5 before:animate-ticker",
|
9
9
|
style: normalizeStyle({'--skeleton-width-internal': (Math.round(Math.random() * 40) + 40) + '%'})
|
10
10
|
}, [
|
11
11
|
renderSlot(_ctx.$slots, "default")
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WTabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/WTabs.vue"],"names":[],"mappings":"AAqIA;AAAA,OAyZO,KAAK,EAAgB,SAAS,EAAC,MAAM,SAAS,CAAA;AAIrD,OAAO,KAAK,MAAM,6BAA6B,CAAA;AA2R/C,iBAAS,cAAc;WAoST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AAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -272,7 +272,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
272
272
|
(openBlock(), createBlock(resolveDynamicComponent(slot.children?.right), mergeProps({ ref_for: true }, scope), null, 16)),
|
273
273
|
"onClose" in slot.props ? (openBlock(), createElementBlock("button", {
|
274
274
|
key: 0,
|
275
|
-
class: "w-ripple-trigger text-description sm-not
|
275
|
+
class: "w-ripple-trigger text-description sm-not:mx-3 flex h-full items-center justify-center px-1",
|
276
276
|
onClick: ($event) => slot.props.onClose?.()
|
277
277
|
}, [
|
278
278
|
createElementVNode("div", _hoisted_2, [
|
package/package.json
CHANGED
@@ -404,12 +404,8 @@ const pluginDefault = plugin(function ({matchUtilities, addVariant, addUtilities
|
|
404
404
|
top: '0',
|
405
405
|
width: '100%',
|
406
406
|
height: '100%',
|
407
|
-
'background-image': 'linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255
|
407
|
+
'background-image': 'linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255, var(--w-skeleton-opacity)), rgba(255,255,255,0))',
|
408
408
|
animation: theme('animation.ticker'),
|
409
|
-
|
410
|
-
[config('darkMode')[1][0]]: {
|
411
|
-
'background-image': 'linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.01),rgba(255,255,255,0))',
|
412
|
-
},
|
413
409
|
},
|
414
410
|
},
|
415
411
|
'.w-skeleton-static': {
|
@@ -469,6 +465,15 @@ const pluginDefault = plugin(function ({matchUtilities, addVariant, addUtilities
|
|
469
465
|
},
|
470
466
|
)
|
471
467
|
|
468
|
+
matchUtilities(
|
469
|
+
{
|
470
|
+
'w-skeleton-opacity': value => ({'--w-skeleton-opacity': value}),
|
471
|
+
},
|
472
|
+
{
|
473
|
+
values: theme('opacity'),
|
474
|
+
},
|
475
|
+
)
|
476
|
+
|
472
477
|
matchUtilities(
|
473
478
|
{
|
474
479
|
'w-svg-stroke-width': value => ({'& path': {'stroke-width': value}}),
|