eco-vue-js 0.10.55 → 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/Button/WButtonTab.vue.js +1 -1
- 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/List/components/ListFilterSelect.vue.js +1 -1
- package/dist/components/Nav/WNavItem.vue.d.ts +3 -5
- package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItem.vue.js +4 -7
- package/dist/components/Nav/WNavItemExpand.vue.d.ts +4 -18
- package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItemExpand.vue.js +33 -35
- 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]" }))
|
@@ -108,7 +108,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
108
108
|
default: withCtx(() => [
|
109
109
|
_ctx.hasChanges ? (openBlock(), createElementBlock("div", {
|
110
110
|
key: 0,
|
111
|
-
class: normalizeClass(["square-2 absolute right-1 top-1 rounded-full transition-colors duration-
|
111
|
+
class: normalizeClass(["square-2 absolute right-1 top-1 rounded-full transition-colors duration-200", {
|
112
112
|
"bg-info dark:bg-info-dark": !_ctx.hasError,
|
113
113
|
"bg-negative dark:bg-negative-dark": _ctx.hasError
|
114
114
|
}])
|
@@ -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 = [];
|
@@ -20,7 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
20
|
return (_ctx, _cache) => {
|
21
21
|
return openBlock(), createBlock(_sfc_main$1, {
|
22
22
|
"is-open": isOpen.value,
|
23
|
-
"horizontal-align": unref(HorizontalAlign).
|
23
|
+
"horizontal-align": unref(HorizontalAlign).FILL,
|
24
24
|
"max-height": 320,
|
25
25
|
"max-width": 320,
|
26
26
|
teleport: "",
|
@@ -22,11 +22,9 @@ declare function __VLS_template(): {
|
|
22
22
|
rootEl: any;
|
23
23
|
};
|
24
24
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
25
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
26
|
-
|
27
|
-
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
28
|
-
"onUpdate:isActive"?: ((value: [string, boolean]) => any) | undefined;
|
29
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
25
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
26
|
+
isActive: import('vue').ComputedRef<boolean>;
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
30
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
31
29
|
export default _default;
|
32
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WNavItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Nav/WNavItem.vue"],"names":[],"mappings":"AAyFA;
|
1
|
+
{"version":3,"file":"WNavItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Nav/WNavItem.vue"],"names":[],"mappings":"AAyFA;AA4IA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAY5C,UAAU,KAAM,SAAQ,SAAS;IAC/B,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AA6BD,iBAAS,cAAc;WAuKT,OAAO,IAA6B;;sBAXvB,GAAG;uBACF,GAAG;;;;EAe9B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;8OAQnB,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"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, computed,
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, normalizeClass, withCtx, createVNode, createElementVNode, Transition, createElementBlock, createCommentVNode, renderSlot, resolveDynamicComponent, createTextVNode, toDisplayString } from 'vue';
|
2
2
|
import { useRoute, useRouter, RouterLink } from 'vue-router';
|
3
3
|
import _sfc_main$1 from '../Counter/WCounter.vue.js';
|
4
4
|
import WSkeleton from '../Skeleton/WSkeleton.vue.js';
|
@@ -35,11 +35,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
35
35
|
even: { type: Boolean },
|
36
36
|
to: {}
|
37
37
|
},
|
38
|
-
|
39
|
-
setup(__props, { emit: __emit }) {
|
38
|
+
setup(__props, { expose: __expose }) {
|
40
39
|
const EXCLUDE_QUERY_FIELDS = ["ordering", "page"];
|
41
40
|
const props = __props;
|
42
|
-
const emit = __emit;
|
43
41
|
const route = useRoute();
|
44
42
|
const router = useRouter();
|
45
43
|
const routeTo = computed(() => router.resolve(props.to));
|
@@ -49,9 +47,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
49
47
|
return isEqualObj(route.query, routeTo.value.query, EXCLUDE_QUERY_FIELDS, props.queryFields);
|
50
48
|
});
|
51
49
|
const isTextColor = computed(() => props.hasActive ? !props.indent : isActive.value);
|
52
|
-
|
53
|
-
|
54
|
-
emit("update:isActive", [titleLocal.value, false]);
|
50
|
+
__expose({
|
51
|
+
isActive
|
55
52
|
});
|
56
53
|
return (_ctx, _cache) => {
|
57
54
|
return openBlock(), createBlock(unref(RouterLink), {
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { LinkProps } from '../../types/types';
|
2
|
-
import { VNode } from 'vue';
|
3
2
|
interface Props extends Partial<LinkProps> {
|
4
3
|
icon?: SVGComponent;
|
5
4
|
title: string;
|
@@ -10,24 +9,11 @@ interface Props extends Partial<LinkProps> {
|
|
10
9
|
queryFields?: string[];
|
11
10
|
even?: boolean;
|
12
11
|
}
|
13
|
-
declare function __VLS_template():
|
14
|
-
attrs: Partial<{}>;
|
15
|
-
slots: Readonly<{
|
16
|
-
default?: () => VNode[];
|
17
|
-
icon?: () => VNode[];
|
18
|
-
}> & {
|
19
|
-
default?: () => VNode[];
|
20
|
-
icon?: () => VNode[];
|
21
|
-
};
|
22
|
-
refs: {};
|
23
|
-
rootEl: HTMLDivElement;
|
24
|
-
};
|
12
|
+
declare function __VLS_template(): any;
|
25
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
26
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
27
|
-
|
28
|
-
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
29
|
-
"onUpdate:isActive"?: ((value: [string, boolean]) => any) | undefined;
|
30
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
15
|
+
isActive: import('vue').Ref<boolean, boolean>;
|
16
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, any, any>;
|
31
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
32
18
|
export default _default;
|
33
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WNavItemExpand.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Nav/WNavItemExpand.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WNavItemExpand.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Nav/WNavItemExpand.vue"],"names":[],"mappings":"AAoFA;AAAA,OAuKO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAgB5C,UAAU,KAAM,SAAQ,OAAO,CAAC,SAAS,CAAC;IACxC,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AA4DD,iBAAS,cAAc,QA+LtB;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;+OASnB,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"}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { defineComponent, useSlots, computed,
|
1
|
+
import { defineComponent, useSlots, computed, useTemplateRef, ref, watch, onBeforeUnmount, createElementBlock, openBlock, createVNode, unref, withCtx, createElementVNode, Fragment, renderList, createBlock, resolveDynamicComponent, mergeProps, normalizeClass, renderSlot, nextTick } from 'vue';
|
2
2
|
import _sfc_main$1 from '../DropdownMenu/WDropdownMenu.vue.js';
|
3
3
|
import _sfc_main$3 from '../Expansion/WExpansion.vue.js';
|
4
4
|
import IconArrow from '../../assets/icons/default/IconArrow.svg.js';
|
5
5
|
import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
|
6
6
|
import { useIsMobile } from '../../utils/mobile.js';
|
7
|
-
import { unwrapSlots
|
7
|
+
import { unwrapSlots } from '../../utils/utils.js';
|
8
8
|
import _sfc_main$2 from './WNavItem.vue.js';
|
9
9
|
import WNavItemTransition from './WNavItemTransition.vue.js';
|
10
10
|
|
@@ -22,64 +22,64 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
22
22
|
even: { type: Boolean },
|
23
23
|
to: {}
|
24
24
|
},
|
25
|
-
|
26
|
-
setup(__props, { emit: __emit }) {
|
27
|
-
const props = __props;
|
25
|
+
setup(__props, { expose: __expose }) {
|
28
26
|
const slots = useSlots();
|
29
27
|
const { isMobile } = useIsMobile();
|
30
28
|
const slotsDefault = computed(() => unwrapSlots(slots.default?.() ?? []));
|
31
|
-
const
|
32
|
-
const
|
33
|
-
const hasActiveCached = ref(false);
|
29
|
+
const componentRef = useTemplateRef("component");
|
30
|
+
const innerRef = useTemplateRef("inner");
|
34
31
|
const isDropdownOpen = ref(false);
|
35
|
-
const
|
36
|
-
const
|
37
|
-
const
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
}
|
32
|
+
const hasActive = ref(false);
|
33
|
+
const isActive = computed(() => componentRef.value?.isActive ?? false);
|
34
|
+
const hasInnerActive = computed(() => innerRef.value?.some((item) => item.isActive) ?? false);
|
35
|
+
const updateHasActive = async () => {
|
36
|
+
await nextTick();
|
37
|
+
hasActive.value = componentRef.value?.isActive || (innerRef.value?.some((item) => item.isActive) ?? false);
|
38
|
+
};
|
42
39
|
const showDropdown = () => {
|
43
40
|
isDropdownOpen.value = true;
|
44
41
|
};
|
45
42
|
const hideDropdown = () => {
|
46
43
|
isDropdownOpen.value = false;
|
47
44
|
};
|
48
|
-
watch(
|
45
|
+
watch(hasInnerActive, updateHasActive, { immediate: true });
|
46
|
+
watch(isActive, updateHasActive, { immediate: true });
|
47
|
+
watch(slotsDefault, updateHasActive, { immediate: true });
|
48
|
+
watch(hasActive, () => {
|
49
|
+
isDropdownOpen.value = false;
|
50
|
+
}, { immediate: true });
|
49
51
|
onBeforeUnmount(() => {
|
50
52
|
isDropdownOpen.value = false;
|
51
|
-
|
53
|
+
});
|
54
|
+
__expose({
|
55
|
+
isActive: hasActive
|
52
56
|
});
|
53
57
|
return (_ctx, _cache) => {
|
54
58
|
return openBlock(), createElementBlock("div", null, [
|
55
59
|
createVNode(_sfc_main$1, {
|
56
|
-
"is-open": isDropdownOpen.value && !
|
60
|
+
"is-open": isDropdownOpen.value && !hasActive.value,
|
57
61
|
"max-width": 320,
|
58
62
|
"max-height": 320,
|
59
63
|
"horizontal-align": unref(HorizontalAlign).RIGHT_OUTER
|
60
64
|
}, {
|
61
65
|
toggle: withCtx(() => [
|
62
|
-
createVNode(_sfc_main$2, mergeProps(unref(isMobile) ||
|
66
|
+
createVNode(_sfc_main$2, mergeProps(unref(isMobile) || hasActive.value || _ctx.even ? void 0 : {
|
63
67
|
onmouseenter: showDropdown,
|
64
68
|
onmouseleave: hideDropdown
|
65
69
|
}, {
|
70
|
+
ref: "component",
|
66
71
|
to: _ctx.to ?? slotsDefault.value?.[0]?.props?.to,
|
67
72
|
title: _ctx.title,
|
68
73
|
icon: _ctx.icon,
|
69
74
|
skeleton: _ctx.skeleton,
|
70
75
|
count: _ctx.count,
|
71
76
|
counter: _ctx.counter,
|
72
|
-
"has-active":
|
77
|
+
"has-active": hasActive.value,
|
73
78
|
indent: _ctx.indent,
|
74
79
|
even: _ctx.even,
|
75
80
|
expand: !_ctx.to,
|
76
81
|
"query-fields": _ctx.queryFields,
|
77
|
-
hovered: isDropdownOpen.value && !
|
78
|
-
"onUpdate:isActive": _cache[0] || (_cache[0] = ($event) => {
|
79
|
-
isOpen.value = $event[1];
|
80
|
-
$event[1] && _ctx.$emit("update:isActive", [_ctx.title, $event[1]]);
|
81
|
-
$event[1] && hideDropdown();
|
82
|
-
})
|
82
|
+
hovered: isDropdownOpen.value && !hasActive.value
|
83
83
|
}), {
|
84
84
|
icon: withCtx(() => [
|
85
85
|
renderSlot(_ctx.$slots, "icon")
|
@@ -87,7 +87,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
87
87
|
right: withCtx(() => [
|
88
88
|
createVNode(unref(IconArrow), {
|
89
89
|
class: normalizeClass(["square-3 transition-transform", {
|
90
|
-
"-rotate-90": !
|
90
|
+
"-rotate-90": !hasActive.value && !_ctx.even
|
91
91
|
}])
|
92
92
|
}, null, 8, ["class"])
|
93
93
|
]),
|
@@ -105,7 +105,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
105
105
|
return openBlock(), createBlock(resolveDynamicComponent(slot), {
|
106
106
|
key: index,
|
107
107
|
even: "",
|
108
|
-
"onUpdate:isActive": _cache[
|
108
|
+
"onUpdate:isActive": _cache[0] || (_cache[0] = ($event) => $event[1] && hideDropdown())
|
109
109
|
}, null, 32);
|
110
110
|
}), 128))
|
111
111
|
])
|
@@ -114,7 +114,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
114
114
|
_: 3
|
115
115
|
}, 8, ["is-open", "horizontal-align"]),
|
116
116
|
createVNode(_sfc_main$3, {
|
117
|
-
"is-shown":
|
117
|
+
"is-shown": hasActive.value || _ctx.even
|
118
118
|
}, {
|
119
119
|
default: withCtx(() => [
|
120
120
|
createVNode(WNavItemTransition, null, {
|
@@ -122,13 +122,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
122
122
|
(openBlock(true), createElementBlock(Fragment, null, renderList(slotsDefault.value, (slot, index) => {
|
123
123
|
return openBlock(), createBlock(resolveDynamicComponent(slot), {
|
124
124
|
key: index,
|
125
|
+
ref_for: true,
|
126
|
+
ref: "inner",
|
125
127
|
even: _ctx.even,
|
126
|
-
indent: !_ctx.even
|
127
|
-
|
128
|
-
isActiveChildrenMap[$event[0]] = $event[1];
|
129
|
-
$event[1] && hideDropdown();
|
130
|
-
})
|
131
|
-
}, null, 40, ["even", "indent"]);
|
128
|
+
indent: !_ctx.even
|
129
|
+
}, null, 8, ["even", "indent"]);
|
132
130
|
}), 128))
|
133
131
|
]),
|
134
132
|
_: 1
|
@@ -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,OAAO,IAA6B;;iBAzSvC,MAAM,IAAI;;iBAAV,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"WTabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/WTabs.vue"],"names":[],"mappings":"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"}
|
@@ -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}}),
|