eco-vue-js 0.11.23 → 0.11.25

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.
Files changed (49) hide show
  1. package/dist/components/Auth/WRouteAuth.vue.d.ts.map +1 -1
  2. package/dist/components/Auth/WRouteAuth.vue.js +4 -3
  3. package/dist/components/Auth/WRouteAuthNo.vue.d.ts.map +1 -1
  4. package/dist/components/Auth/WRouteAuthNo.vue.js +3 -3
  5. package/dist/components/Button/WButton.vue.d.ts +2 -2
  6. package/dist/components/Button/WButton.vue.js +8 -8
  7. package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
  8. package/dist/components/Button/WButtonAction.vue.js +12 -12
  9. package/dist/components/Button/WButtonInput.vue.d.ts.map +1 -1
  10. package/dist/components/Button/WButtonInput.vue.js +7 -7
  11. package/dist/components/Chart/WChartLinear.vue.js +5 -5
  12. package/dist/components/Chip/WChip.vue.js +2 -2
  13. package/dist/components/FieldWrapper/WFieldWrapper.vue.js +8 -8
  14. package/dist/components/FilePicker/WFilePicker.vue.js +9 -9
  15. package/dist/components/FilterWrapper/WFilterWrapper.vue.js +3 -3
  16. package/dist/components/ImageViewer/WImageViewer.vue.js +3 -3
  17. package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts.map +1 -1
  18. package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.js +4 -3
  19. package/dist/components/Link/WLink.vue.d.ts +2 -2
  20. package/dist/components/Link/WLink.vue.d.ts.map +1 -1
  21. package/dist/components/Link/WLink.vue.js +3 -3
  22. package/dist/components/Link/WLinkArrow.vue.js +3 -3
  23. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  24. package/dist/components/List/WListCard.vue.js +7 -7
  25. package/dist/components/List/WListCardField.vue.js +2 -2
  26. package/dist/components/MenuItem/WMenuItem.vue.d.ts +1 -1
  27. package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
  28. package/dist/components/MenuItem/WMenuItem.vue.js +3 -3
  29. package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -1
  30. package/dist/components/Nav/WNavItem.vue.js +15 -13
  31. package/dist/components/Notify/components/NotifyCard.vue.js +3 -3
  32. package/dist/components/RouterLink/WRouterLink.vue.d.ts +22 -0
  33. package/dist/components/RouterLink/WRouterLink.vue.d.ts.map +1 -0
  34. package/dist/components/RouterLink/WRouterLink.vue.js +27 -0
  35. package/dist/components/RouterLink/WRouterLink.vue2.js +5 -0
  36. package/dist/components/Select/WSelectAsyncList.vue.js +7 -7
  37. package/dist/components/Skeleton/WSkeleton.vue.d.ts.map +1 -1
  38. package/dist/components/Skeleton/WSkeleton.vue.js +25 -14
  39. package/dist/components/Skeleton/WSkeleton.vue2.js +5 -0
  40. package/dist/composables/useOptionalRouter.d.ts +23 -0
  41. package/dist/composables/useOptionalRouter.d.ts.map +1 -0
  42. package/dist/composables/useOptionalRouter.js +74 -0
  43. package/dist/main.d.ts +2 -1
  44. package/dist/main.d.ts.map +1 -1
  45. package/dist/main.js +37 -35
  46. package/dist/utils/api.d.ts.map +1 -1
  47. package/dist/utils/api.js +2 -2
  48. package/dist/utils/useSelected.js +3 -3
  49. package/package.json +12 -2
@@ -1 +1 @@
1
- {"version":3,"file":"WRouteAuth.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/WRouteAuth.vue"],"names":[],"mappings":"AAGA;AAgDA,OAAO,EAAC,KAAK,iBAAiB,EAAC,MAAM,mBAAmB,CAAA;AAExD,KAAK,WAAW,GAAG;IACjB,iBAAiB,EAAE,iBAAiB,CAAA;CACrC,CAAC;;AA2EF,wBAOG"}
1
+ {"version":3,"file":"WRouteAuth.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/WRouteAuth.vue"],"names":[],"mappings":"AAGA;AAkDA,OAAO,EAAC,KAAK,iBAAiB,EAAC,MAAM,mBAAmB,CAAA;AAExD,KAAK,WAAW,GAAG;IACjB,iBAAiB,EAAE,iBAAiB,CAAA;CACrC,CAAC;;AA2EF,wBAOG"}
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, watch, onBeforeUnmount, createBlock, openBlock, unref } from 'vue';
2
- import { useRouter, useRoute, RouterView } from 'vue-router';
2
+ import { RouterView } from 'vue-router';
3
+ import { useOptionalRouter, useOptionalRoute } from '../../composables/useOptionalRouter.js';
3
4
  import '@tanstack/vue-query';
4
5
 
5
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -9,8 +10,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  },
10
11
  setup(__props) {
11
12
  const props = __props;
12
- const router = useRouter();
13
- const route = useRoute();
13
+ const router = useOptionalRouter();
14
+ const route = useOptionalRoute();
14
15
  const redirect = () => {
15
16
  router.push({ name: props.apiClientInstance.routeNameAuthNo, query: route.fullPath !== "/" ? { hash: route.fullPath } : void 0 });
16
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"WRouteAuthNo.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/WRouteAuthNo.vue"],"names":[],"mappings":"AAGA;AA6DA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAA;AAMxD,KAAK,WAAW,GAAG;IACjB,iBAAiB,EAAE,iBAAiB,CAAA;CACrC,CAAC;;AAyFF,wBAOG"}
1
+ {"version":3,"file":"WRouteAuthNo.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/WRouteAuthNo.vue"],"names":[],"mappings":"AAGA;AA8DA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAA;AAOxD,KAAK,WAAW,GAAG;IACjB,iBAAiB,EAAE,iBAAiB,CAAA;CACrC,CAAC;;AAyFF,wBAOG"}
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, watch, onBeforeMount, onBeforeUnmount, resolveComponent, createBlock, openBlock } from 'vue';
2
2
  import { useQueryClient } from '@tanstack/vue-query';
3
- import { useRouter, useRoute } from 'vue-router';
3
+ import { useOptionalRouter, useOptionalRoute } from '../../composables/useOptionalRouter.js';
4
4
 
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "WRouteAuthNo",
@@ -9,8 +9,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  },
10
10
  setup(__props) {
11
11
  const props = __props;
12
- const router = useRouter();
13
- const route = useRoute();
12
+ const router = useOptionalRouter();
13
+ const route = useOptionalRoute();
14
14
  const queryClient = useQueryClient();
15
15
  const queryEnabled = ref(false);
16
16
  const redirect = async () => {
@@ -21,12 +21,12 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}
21
21
  }>, {
22
22
  skeleton: boolean;
23
23
  type: string;
24
+ href: string;
24
25
  to: import('vue-router').RouterLinkProps["to"];
26
+ target: "_self" | "_blank" | "_parent" | "_top";
25
27
  tag: "a" | "button";
26
28
  semanticType: SemanticType;
27
29
  disabled: boolean;
28
- target: "_self" | "_blank" | "_parent" | "_top";
29
- href: string;
30
30
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
31
31
  container: unknown;
32
32
  }, any>;
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, useTemplateRef, computed, watch, nextTick, onMounted, createBlock, unref, openBlock, withCtx, createElementVNode, renderSlot, resolveDynamicComponent, mergeProps, withKeys, withModifiers, createVNode, createCommentVNode, normalizeClass, Transition } from 'vue';
2
- import { RouterLink } from 'vue-router';
3
- import _sfc_main$2 from '../Shine/WShine.vue.js';
2
+ import _sfc_main$2 from '../RouterLink/WRouterLink.vue.js';
3
+ import _sfc_main$4 from '../Shine/WShine.vue.js';
4
4
  import WSpinner from '../Spinner/WSpinner.vue.js';
5
- import _sfc_main$1 from '../Tooltip/WTooltip.vue.js';
5
+ import _sfc_main$3 from '../Tooltip/WTooltip.vue.js';
6
6
  import { SemanticType, useSemanticTypeBorderMap, useSemanticTypeBackgroundMap } from '../../utils/SemanticType.js';
7
7
  import { useComponentStatesButton } from '../../utils/useComponentStates.js';
8
- import WSkeleton from '../Skeleton/WSkeleton.vue.js';
8
+ import _sfc_main$1 from '../Skeleton/WSkeleton.vue.js';
9
9
  import { useTabActiveListener } from '../Tabs/use/useTabActiveListener.js';
10
10
 
11
11
  const _hoisted_1 = { class: "flex gap-2 px-[--w-button-rounded,1rem] font-medium opacity-0" };
@@ -74,7 +74,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
74
74
  if (props.autofocus) autofocusDebounced();
75
75
  });
76
76
  return (_ctx, _cache) => {
77
- return unref(isSkeleton) ? (openBlock(), createBlock(WSkeleton, {
77
+ return unref(isSkeleton) ? (openBlock(), createBlock(_sfc_main$1, {
78
78
  key: 0,
79
79
  class: "w-skeleton-rounded-[--w-button-rounded,1rem] w-skeleton-w-max -w-skeleton-h--button-height"
80
80
  }, {
@@ -84,7 +84,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
84
84
  ])
85
85
  ]),
86
86
  _: 3
87
- })) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.to !== void 0 ? unref(isDisabled) ? "a" : unref(RouterLink) : _ctx.tag), mergeProps({ key: 1 }, {
87
+ })) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.to !== void 0 ? unref(isDisabled) ? "a" : _sfc_main$2 : _ctx.tag), mergeProps({ key: 1 }, {
88
88
  class: _ctx.$attrs.class,
89
89
  style: _ctx.$attrs.style,
90
90
  ...unref(isDisabled) ? {} : _ctx.tag === "a" ? { href: _ctx.href, target: _ctx.target } : _ctx.to !== void 0 ? { to: _ctx.to, replace: _ctx.replace } : {}
@@ -127,11 +127,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
127
127
  ]),
128
128
  _: 1
129
129
  }),
130
- _ctx.tooltipText ? (openBlock(), createBlock(_sfc_main$1, {
130
+ _ctx.tooltipText ? (openBlock(), createBlock(_sfc_main$3, {
131
131
  key: 0,
132
132
  text: _ctx.tooltipText
133
133
  }, null, 8, ["text"])) : createCommentVNode("", true),
134
- !unref(isDisabled) && !_ctx.loading ? (openBlock(), createBlock(_sfc_main$2, { key: 1 })) : createCommentVNode("", true)
134
+ !unref(isDisabled) && !_ctx.loading ? (openBlock(), createBlock(_sfc_main$4, { key: 1 })) : createCommentVNode("", true)
135
135
  ]),
136
136
  _: 3
137
137
  }, 16, ["class", "disabled", "download", "type", "onKeypress"]));
@@ -1 +1 @@
1
- {"version":3,"file":"WButtonAction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonAction.vue"],"names":[],"mappings":"AAsEA;AAAA,OAyHO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAU5C,OAAO,EAAC,YAAY,EAA+B,MAAM,sBAAsB,CAAA;AAE/E,UAAU,KAAM,SAAQ,OAAO,CAAC,SAAS,CAAC;IACxC,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,GAAG,CAAC,EAAE,QAAQ,GAAG,GAAG,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAuCD,iBAAS,cAAc;WAqJT,OAAO,IAA6B;;sBAVvB,GAAG;;;;EAe7B;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;cAvNR,OAAO;WAHV,MAAM;;UAJP,YAAY;SAGb,QAAQ,GAAG,GAAG;kBAEL,YAAY;cAChB,OAAO;iBAEJ,MAAM;6EA+NpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,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@ -1,9 +1,9 @@
1
- import { defineComponent, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, withCtx, createElementBlock, createCommentVNode, normalizeClass, withDirectives, renderSlot, vShow, Fragment, createTextVNode, toDisplayString } from 'vue';
2
- import { RouterLink } from 'vue-router';
3
- import _sfc_main$1 from '../Counter/WCounter.vue.js';
4
- import _sfc_main$2 from '../Shine/WShine.vue.js';
5
- import WSkeleton from '../Skeleton/WSkeleton.vue.js';
6
- import _sfc_main$3 from '../Tooltip/WTooltip.vue.js';
1
+ import { defineComponent, createBlock, openBlock, resolveDynamicComponent, mergeProps, withCtx, createElementBlock, createCommentVNode, normalizeClass, unref, withDirectives, renderSlot, vShow, Fragment, createTextVNode, toDisplayString } from 'vue';
2
+ import _sfc_main$3 from '../Counter/WCounter.vue.js';
3
+ import _sfc_main$1 from '../RouterLink/WRouterLink.vue.js';
4
+ import _sfc_main$4 from '../Shine/WShine.vue.js';
5
+ import _sfc_main$2 from '../Skeleton/WSkeleton.vue.js';
6
+ import _sfc_main$5 from '../Tooltip/WTooltip.vue.js';
7
7
  import { useIsBackdrop } from '../Modal/use/useIsBackdrop.js';
8
8
  import { SemanticType, useSemanticTypeBackgroundMap } from '../../utils/SemanticType.js';
9
9
 
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  const semanticTypeBackgroundMap = useSemanticTypeBackgroundMap();
28
28
  const isBackdrop = useIsBackdrop();
29
29
  return (_ctx, _cache) => {
30
- return openBlock(), createBlock(resolveDynamicComponent(_ctx.to !== void 0 ? _ctx.disabled || _ctx.skeleton ? "a" : unref(RouterLink) : _ctx.tag), mergeProps(_ctx.to !== void 0 && !_ctx.disabled && !_ctx.skeleton ? { to: _ctx.to } : void 0, {
30
+ return openBlock(), createBlock(resolveDynamicComponent(_ctx.to !== void 0 ? _ctx.disabled || _ctx.skeleton ? "a" : _sfc_main$1 : _ctx.tag), mergeProps(_ctx.to !== void 0 && !_ctx.disabled && !_ctx.skeleton ? { to: _ctx.to } : void 0, {
31
31
  class: ["w-ripple-trigger group grid w-full grid-cols-1 py-1", {
32
32
  "cursor-not-allowed opacity-50": _ctx.disabled,
33
33
  "cursor-progress": _ctx.skeleton
@@ -36,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  onClick: _cache[0] || (_cache[0] = ($event) => !_ctx.disabled && !_ctx.skeleton && _ctx.$emit("click", $event))
37
37
  }), {
38
38
  default: withCtx(() => [
39
- _ctx.skeleton ? (openBlock(), createBlock(WSkeleton, {
39
+ _ctx.skeleton ? (openBlock(), createBlock(_sfc_main$2, {
40
40
  key: 0,
41
41
  class: "w-skeleton-w-auto w-skeleton-h-auto w-skeleton-rounded-full mx-1 aspect-square"
42
42
  })) : (openBlock(), createElementBlock("div", {
@@ -47,7 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
47
47
  [unref(semanticTypeBackgroundMap)[_ctx.semanticType]]: true
48
48
  }])
49
49
  }, [
50
- _ctx.count !== void 0 ? withDirectives((openBlock(), createBlock(_sfc_main$1, {
50
+ _ctx.count !== void 0 ? withDirectives((openBlock(), createBlock(_sfc_main$3, {
51
51
  key: 0,
52
52
  class: "absolute left-0 top-0 text-xs",
53
53
  count: _ctx.count,
@@ -63,7 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
63
63
  }])
64
64
  }, null, 8, ["class"])) : createCommentVNode("", true)
65
65
  ]),
66
- !_ctx.disabled && !unref(isBackdrop) ? (openBlock(), createBlock(_sfc_main$2, { key: 1 })) : createCommentVNode("", true)
66
+ !_ctx.disabled && !unref(isBackdrop) ? (openBlock(), createBlock(_sfc_main$4, { key: 1 })) : createCommentVNode("", true)
67
67
  ], 2)),
68
68
  _ctx.titleText ? (openBlock(), createElementBlock("div", {
69
69
  key: 2,
@@ -71,11 +71,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
71
71
  "self-center": !_ctx.skeleton
72
72
  }])
73
73
  }, [
74
- _ctx.skeleton ? (openBlock(), createBlock(WSkeleton, { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
74
+ _ctx.skeleton ? (openBlock(), createBlock(_sfc_main$2, { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
75
75
  createTextVNode(toDisplayString(_ctx.title), 1)
76
76
  ], 64))
77
77
  ], 2)) : createCommentVNode("", true),
78
- _ctx.tooltipText || !_ctx.titleText && _ctx.title ? (openBlock(), createBlock(_sfc_main$3, {
78
+ _ctx.tooltipText || !_ctx.titleText && _ctx.title ? (openBlock(), createBlock(_sfc_main$5, {
79
79
  key: 3,
80
80
  text: _ctx.tooltipText ?? (_ctx.titleText ? void 0 : _ctx.title),
81
81
  left: ""
@@ -1 +1 @@
1
- {"version":3,"file":"WButtonInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonInput.vue"],"names":[],"mappings":"AAyCA;AAiEA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAQ5C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,YAAY,CAAA;IAClB,EAAE,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;;;;;;AAoIF,wBAOG"}
1
+ {"version":3,"file":"WButtonInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonInput.vue"],"names":[],"mappings":"AAyCA;AAgEA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAO5C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,YAAY,CAAA;IAClB,EAAE,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;;;;;;AAoIF,wBAOG"}
@@ -1,8 +1,8 @@
1
- import { defineComponent, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, withModifiers, withCtx, createCommentVNode } from 'vue';
2
- import { RouterLink } from 'vue-router';
3
- import WSkeleton from '../Skeleton/WSkeleton.vue.js';
1
+ import { defineComponent, createBlock, openBlock, resolveDynamicComponent, mergeProps, withModifiers, withCtx, createCommentVNode } from 'vue';
2
+ import _sfc_main$2 from '../RouterLink/WRouterLink.vue.js';
3
+ import _sfc_main$1 from '../Skeleton/WSkeleton.vue.js';
4
4
  import WSpinner from '../Spinner/WSpinner.vue.js';
5
- import _sfc_main$1 from '../Tooltip/WTooltip.vue.js';
5
+ import _sfc_main$3 from '../Tooltip/WTooltip.vue.js';
6
6
 
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "WButtonInput",
@@ -17,10 +17,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  emits: ["click"],
18
18
  setup(__props) {
19
19
  return (_ctx, _cache) => {
20
- return _ctx.skeleton ? (openBlock(), createBlock(WSkeleton, {
20
+ return _ctx.skeleton ? (openBlock(), createBlock(_sfc_main$1, {
21
21
  key: 0,
22
22
  class: "-square--w-input-height w-skeleton-rounded-[--w-input-rounded,0.75rem]"
23
- })) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.to ? unref(RouterLink) : "button"), mergeProps({ key: 1 }, _ctx.to ? { to: _ctx.to } : void 0, {
23
+ })) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.to ? _sfc_main$2 : "button"), mergeProps({ key: 1 }, _ctx.to ? { to: _ctx.to } : void 0, {
24
24
  class: ["-square--w-input-height bg-default dark:bg-default-dark relative flex select-none items-center justify-center rounded-[--w-input-rounded,0.75rem] border border-solid border-gray-200 dark:border-gray-800", {
25
25
  "cursor-not-allowed opacity-50": _ctx.disabled,
26
26
  "w-ripple w-ripple-hover cursor-pointer": !_ctx.disabled,
@@ -39,7 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39
39
  key: 1,
40
40
  class: "square-[1.125em]"
41
41
  })),
42
- _ctx.tooltipText ? (openBlock(), createBlock(_sfc_main$1, {
42
+ _ctx.tooltipText ? (openBlock(), createBlock(_sfc_main$3, {
43
43
  key: 2,
44
44
  text: _ctx.tooltipText,
45
45
  "no-touch": ""
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, ref, useTemplateRef, computed, watch, onMounted, onBeforeUnmount, createElementBlock, openBlock, normalizeClass, unref, createBlock, createCommentVNode, renderSlot } from 'vue';
2
- import WSkeleton from '../Skeleton/WSkeleton.vue.js';
2
+ import _sfc_main$1 from '../Skeleton/WSkeleton.vue.js';
3
3
  import { DOMListenerContainer } from '../../utils/DOMListenerContainer.js';
4
4
  import { dateFormat } from '../../utils/dateTime.js';
5
5
  import { useComponentStatesSkeleton } from '../../utils/useComponentStates.js';
6
- import _sfc_main$1 from './components/ChartAxis.vue.js';
6
+ import _sfc_main$2 from './components/ChartAxis.vue.js';
7
7
 
8
8
  const _hoisted_1 = ["height", "width"];
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -81,7 +81,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
81
81
  "size-full cursor-progress": unref(isSkeleton)
82
82
  })
83
83
  }, [
84
- unref(isSkeleton) ? (openBlock(), createBlock(WSkeleton, {
84
+ unref(isSkeleton) ? (openBlock(), createBlock(_sfc_main$1, {
85
85
  key: 0,
86
86
  class: "w-skeleton-w-full w-skeleton-h-full w-skeleton-rounded-2xl"
87
87
  })) : svgWidth.value !== 0 && svgHeight.value !== 0 ? (openBlock(), createElementBlock("svg", {
@@ -90,7 +90,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
90
90
  width: svgWidth.value,
91
91
  class: "min-w-0"
92
92
  }, [
93
- !_ctx.xHidden ? (openBlock(), createBlock(_sfc_main$1, {
93
+ !_ctx.xHidden ? (openBlock(), createBlock(_sfc_main$2, {
94
94
  key: 0,
95
95
  orientation: "x",
96
96
  scale: scaleX,
@@ -98,7 +98,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
98
98
  domain: xExtent.value,
99
99
  transform: `translate(0, ${svgHeight.value - _ctx.bottom})`
100
100
  }, null, 8, ["format", "domain", "transform"])) : createCommentVNode("", true),
101
- !_ctx.yHidden ? (openBlock(), createBlock(_sfc_main$1, {
101
+ !_ctx.yHidden ? (openBlock(), createBlock(_sfc_main$2, {
102
102
  key: 1,
103
103
  orientation: "y",
104
104
  scale: scaleY,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createBlock, createElementBlock, unref, openBlock, normalizeClass, renderSlot, createTextVNode, toDisplayString } from 'vue';
2
- import WSkeleton from '../Skeleton/WSkeleton.vue.js';
2
+ import _sfc_main$1 from '../Skeleton/WSkeleton.vue.js';
3
3
  import { SemanticType } from '../../utils/SemanticType.js';
4
4
  import { useComponentStatesSkeleton } from '../../utils/useComponentStates.js';
5
5
 
@@ -22,7 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
22
  [SemanticType.INFO]: "text-info dark:text-info-dark"
23
23
  };
24
24
  return (_ctx, _cache) => {
25
- return unref(isSkeleton) ? (openBlock(), createBlock(WSkeleton, {
25
+ return unref(isSkeleton) ? (openBlock(), createBlock(_sfc_main$1, {
26
26
  key: 0,
27
27
  class: "w-skeleton-h-5 max-w-28"
28
28
  })) : (openBlock(), createElementBlock("div", {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, useId, useTemplateRef, ref, computed, inject, onBeforeUnmount, createElementBlock, openBlock, mergeProps, createCommentVNode, renderSlot, createElementVNode, createBlock, normalizeClass, unref, Fragment, createVNode, createTextVNode, resolveDynamicComponent, toDisplayString, Transition, withCtx, normalizeProps, guardReactiveProps, withDirectives, vShow } from 'vue';
2
- import _sfc_main$2 from '../Button/WButtonCopy.vue.js';
3
- import WSkeleton from '../Skeleton/WSkeleton.vue.js';
4
- import _sfc_main$3 from '../Tooltip/WTooltip.vue.js';
2
+ import _sfc_main$3 from '../Button/WButtonCopy.vue.js';
3
+ import _sfc_main$2 from '../Skeleton/WSkeleton.vue.js';
4
+ import _sfc_main$4 from '../Tooltip/WTooltip.vue.js';
5
5
  import { encodeQueryParam } from '../../utils/api.js';
6
6
  import { useComponentStates } from '../../utils/useComponentStates.js';
7
7
  import { numberFormatter } from '../../utils/utils.js';
@@ -138,7 +138,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
138
138
  "encoded-query-param": encodedQueryParam.value,
139
139
  class: "absolute top-0.5 ml-2"
140
140
  }, null, 8, ["filter-field", "encoded-query-param"])) : createCommentVNode("", true)
141
- ], 64)) : (openBlock(), createBlock(WSkeleton, { key: 1 }))
141
+ ], 64)) : (openBlock(), createBlock(_sfc_main$2, { key: 1 }))
142
142
  ], 10, _hoisted_1)) : createCommentVNode("", true),
143
143
  renderSlot(_ctx.$slots, "subtitle"),
144
144
  createElementVNode("div", {
@@ -167,7 +167,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
167
167
  renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ id: unref(id), setFocused, focused: focused.value })), () => [
168
168
  createTextVNode(toDisplayString(typeof _ctx.modelValue === "number" ? unref(numberFormatter).format(_ctx.modelValue) : _ctx.modelValue === null ? _ctx.emptyValue ?? "N / A" : _ctx.modelValue || _ctx.emptyValue), 1)
169
169
  ]),
170
- _ctx.allowCopy && _ctx.modelValue ? (openBlock(), createBlock(_sfc_main$2, {
170
+ _ctx.allowCopy && _ctx.modelValue ? (openBlock(), createBlock(_sfc_main$3, {
171
171
  key: 0,
172
172
  value: `${_ctx.modelValue}`,
173
173
  class: "ml-2"
@@ -210,7 +210,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
210
210
  ]),
211
211
  _: 1
212
212
  })
213
- ], 2)) : (openBlock(), createBlock(WSkeleton, {
213
+ ], 2)) : (openBlock(), createBlock(_sfc_main$2, {
214
214
  key: 1,
215
215
  class: "w-skeleton-w-full w-skeleton-rounded-[--w-input-rounded,0.75rem] w-skeleton-h-[--w-input-height,2.75rem]"
216
216
  })),
@@ -233,11 +233,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
233
233
  "pt-4": !_ctx.subgrid
234
234
  }])
235
235
  }, [
236
- unref(isSkeleton) ? (openBlock(), createBlock(WSkeleton, { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
236
+ unref(isSkeleton) ? (openBlock(), createBlock(_sfc_main$2, { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
237
237
  createTextVNode(toDisplayString(_ctx.description), 1)
238
238
  ], 64))
239
239
  ], 2)) : createCommentVNode("", true),
240
- _ctx.tooltipText && !unref(isSkeleton) && !unref(isReadonly) ? (openBlock(), createBlock(_sfc_main$3, {
240
+ _ctx.tooltipText && !unref(isSkeleton) && !unref(isReadonly) ? (openBlock(), createBlock(_sfc_main$4, {
241
241
  key: 2,
242
242
  text: _ctx.tooltipText
243
243
  }, null, 8, ["text"])) : createCommentVNode("", true)
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, useTemplateRef, ref, onMounted, onUnmounted, createElementBlock, openBlock, createCommentVNode, createElementVNode, createVNode, createBlock, unref, Fragment, renderSlot, createTextVNode, toDisplayString, withModifiers, withCtx, renderList, Transition } from 'vue';
2
- import _sfc_main$3 from '../Button/WButton.vue.js';
3
- import WSkeleton from '../Skeleton/WSkeleton.vue.js';
2
+ import _sfc_main$4 from '../Button/WButton.vue.js';
3
+ import _sfc_main$1 from '../Skeleton/WSkeleton.vue.js';
4
4
  import { SemanticType } from '../../utils/SemanticType.js';
5
5
  import { useComponentStates } from '../../utils/useComponentStates.js';
6
6
  import { isClientSide } from '../../utils/utils.js';
7
- import _sfc_main$2 from './components/FilePickerItem.vue.js';
8
- import _sfc_main$1 from './components/FilePickerSvg.vue.js';
7
+ import _sfc_main$3 from './components/FilePickerItem.vue.js';
8
+ import _sfc_main$2 from './components/FilePickerSvg.vue.js';
9
9
  import { useTabActiveListener } from '../Tabs/use/useTabActiveListener.js';
10
10
 
11
11
  const _hoisted_1 = { class: "relative mb-6" };
@@ -107,7 +107,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
107
107
  createTextVNode(toDisplayString(_ctx.title), 1)
108
108
  ]),
109
109
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3, " * ")) : createCommentVNode("", true)
110
- ], 64)) : (openBlock(), createBlock(WSkeleton, {
110
+ ], 64)) : (openBlock(), createBlock(_sfc_main$1, {
111
111
  key: 1,
112
112
  class: "w-skeleton-h-4 w-skeleton-w-16"
113
113
  }))
@@ -130,7 +130,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
130
130
  accept: _ctx.accept,
131
131
  onChange: updateModelValue
132
132
  }, null, 40, _hoisted_4)) : createCommentVNode("", true),
133
- containerWidth.value && containerHeight.value ? (openBlock(), createBlock(_sfc_main$1, {
133
+ containerWidth.value && containerHeight.value ? (openBlock(), createBlock(_sfc_main$2, {
134
134
  key: 1,
135
135
  "svg-width": containerWidth.value,
136
136
  "svg-height": containerHeight.value,
@@ -139,7 +139,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
139
139
  class: "absolute left-0 top-0"
140
140
  }, null, 8, ["svg-width", "svg-height", "is-active", "has-error"])) : createCommentVNode("", true),
141
141
  _ctx.placeholder ? (openBlock(), createElementBlock("div", _hoisted_5, [
142
- createVNode(_sfc_main$2, {
142
+ createVNode(_sfc_main$3, {
143
143
  name: _ctx.placeholder,
144
144
  "has-error": !!_ctx.errorMessage,
145
145
  "onClick:cancel": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("clear:placeholder"))
@@ -155,7 +155,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
155
155
  ])) : _ctx.modelValue.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6, [
156
156
  _cache[7] || (_cache[7] = createElementVNode("div", { class: "mt-16 font-semibold" }, " Drag and drop files here ", -1)),
157
157
  _cache[8] || (_cache[8] = createElementVNode("div", { class: "mt-4 font-normal" }, " or ", -1)),
158
- createVNode(_sfc_main$3, {
158
+ createVNode(_sfc_main$4, {
159
159
  "semantic-type": unref(SemanticType).PRIMARY,
160
160
  disabled: unref(isReadonly) || unref(isDisabled),
161
161
  class: "mt-4",
@@ -169,7 +169,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
169
169
  ])) : (openBlock(), createElementBlock("div", _hoisted_7, [
170
170
  createElementVNode("div", _hoisted_8, [
171
171
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.modelValue, (file, index) => {
172
- return openBlock(), createBlock(_sfc_main$2, {
172
+ return openBlock(), createBlock(_sfc_main$3, {
173
173
  key: index,
174
174
  name: file.name,
175
175
  "has-error": !!_ctx.errorMessage,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, watch, onUnmounted, createElementBlock, openBlock, createElementVNode, Fragment, renderList, createBlock, resolveDynamicComponent, unref, renderSlot, createVNode, withCtx, createTextVNode } from 'vue';
2
- import { useRoute, useRouter } from 'vue-router';
3
2
  import _sfc_main$1 from '../Button/WButton.vue.js';
4
3
  import IconFilterRemove from '../../assets/icons/IconFilterRemove.svg.js';
4
+ import { useOptionalRoute, useOptionalRouter } from '../../composables/useOptionalRouter.js';
5
5
  import { Modal } from '../../utils/Modal.js';
6
6
  import { SemanticType } from '../../utils/SemanticType.js';
7
7
  import { throttle } from '../../utils/utils.js';
@@ -17,8 +17,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  setup(__props, { emit: __emit }) {
18
18
  const props = __props;
19
19
  const emit = __emit;
20
- const route = useRoute();
21
- const router = useRouter();
20
+ const route = useOptionalRoute();
21
+ const router = useOptionalRouter();
22
22
  const selectedIndex = ref(null);
23
23
  const hasChangesMap = ref({});
24
24
  const changesCount = computed(() => Object.values(hasChangesMap.value).filter((item) => item).length);
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, defineAsyncComponent, createElementBlock, openBlock, createCommentVNode, createBlock, Fragment, createTextVNode, toDisplayString, normalizeStyle, createElementVNode, markRaw } from 'vue';
2
- import WSkeleton from '../Skeleton/WSkeleton.vue.js';
2
+ import _sfc_main$1 from '../Skeleton/WSkeleton.vue.js';
3
3
  import { Modal } from '../../utils/Modal.js';
4
4
 
5
5
  const _hoisted_1 = {
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  _ctx.title ? (openBlock(), createElementBlock("div", _hoisted_1, [
36
36
  !_ctx.skeleton ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
37
37
  createTextVNode(toDisplayString(_ctx.title), 1)
38
- ], 64)) : (openBlock(), createBlock(WSkeleton, { key: 1 }))
38
+ ], 64)) : (openBlock(), createBlock(_sfc_main$1, { key: 1 }))
39
39
  ])) : createCommentVNode("", true),
40
40
  !_ctx.skeleton && _ctx.modelValue ? (openBlock(), createElementBlock("button", {
41
41
  key: 1,
@@ -47,7 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
47
47
  _cache[0] || (_cache[0] = createElementVNode("div", { class: "text-default font-roboto relative z-10 font-extrabold tracking-widest" }, " VIEW ", -1)),
48
48
  createElementVNode("div", _hoisted_3, toDisplayString(_ctx.modelValue.substring(_ctx.modelValue.lastIndexOf("/") + 1)), 1)
49
49
  ])
50
- ], 4)) : (openBlock(), createBlock(WSkeleton, {
50
+ ], 4)) : (openBlock(), createBlock(_sfc_main$1, {
51
51
  key: 2,
52
52
  class: "w-skeleton-w-40 w-skeleton-h-28 w-skeleton-rounded-lg"
53
53
  }))
@@ -1 +1 @@
1
- {"version":3,"file":"InfiniteListPageTitle.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/InfiniteList/components/InfiniteListPageTitle.vue"],"names":[],"mappings":"AAUA;yBAuCiB,WAAW,EAC3B,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;WAsFO,mBAAmB,CAAC;;;qBApFb,WAAW;mBAoFoE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;cAjFL,iBAAiB,SAAS,OAAO,KAAG,IAAI;EAqF1C,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAjGzE,wBAiG4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"InfiniteListPageTitle.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/InfiniteList/components/InfiniteListPageTitle.vue"],"names":[],"mappings":"AAUA;yBAyCiB,WAAW,EAC3B,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;WAsFO,mBAAmB,CAAC;;;qBApFb,WAAW;mBAoFoE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;cAjFL,iBAAiB,SAAS,OAAO,KAAG,IAAI;EAqF1C,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAjGzE,wBAiG4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, resolveComponent, createBlock, openBlock, withCtx, createTextVNode, toDisplayString } from 'vue';
2
- import { useRoute, useRouter } from 'vue-router';
2
+ import 'vue-router';
3
+ import { useOptionalRoute, useOptionalRouter } from '../../../composables/useOptionalRouter.js';
3
4
  import { Notify } from '../../../utils/Notify.js';
4
5
 
5
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -10,8 +11,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10
11
  emits: ["update:selected"],
11
12
  setup(__props) {
12
13
  const props = __props;
13
- const route = useRoute();
14
- const router = useRouter();
14
+ const route = useOptionalRoute();
15
+ const router = useOptionalRouter();
15
16
  const copyRoute = () => {
16
17
  navigator.clipboard.writeText(location.origin + router.resolve({ query: props.queryParams, hash: route.hash }).href).then(() => Notify.success({ title: "Page url copied" }));
17
18
  };
@@ -18,11 +18,11 @@ declare function __VLS_template(): {
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
19
  declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
20
20
  text: string;
21
+ href: string;
21
22
  to: import('vue-router').RouterLinkProps["to"];
23
+ target: "_self" | "_blank" | "_parent" | "_top";
22
24
  icon: SVGComponent;
23
25
  semanticType: SemanticType;
24
- target: "_self" | "_blank" | "_parent" | "_top";
25
- href: string;
26
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
28
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"WLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/WLink.vue"],"names":[],"mappings":"AAcA;AAiDA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAM5C,OAAO,EAAC,YAAY,EAAiD,MAAM,sBAAsB,CAAA;AAEjG,UAAU,KAAM,SAAQ,OAAO,CAAC,SAAS,CAAC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;IAChD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,IAAI,CAAC,EAAE,YAAY,CAAA;CACpB;AA4BD,iBAAS,cAAc;WAgDT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;UAlGZ,MAAM;;UAEN,YAAY;kBADJ,YAAY;YAFlB,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM;UADzC,MAAM;6EA4Gb,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"WLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/WLink.vue"],"names":[],"mappings":"AAcA;AAiDA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAM5C,OAAO,EAAC,YAAY,EAAiD,MAAM,sBAAsB,CAAA;AAEjG,UAAU,KAAM,SAAQ,OAAO,CAAC,SAAS,CAAC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;IAChD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,IAAI,CAAC,EAAE,YAAY,CAAA;CACpB;AA4BD,iBAAS,cAAc;WAgDT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;UAlGZ,MAAM;UAFN,MAAM;;YACJ,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM;UAGzC,YAAY;kBADJ,YAAY;6EAyG3B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,5 +1,5 @@
1
- import { defineComponent, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, withCtx, renderSlot, normalizeClass, createTextVNode, toDisplayString } from 'vue';
2
- import { RouterLink } from 'vue-router';
1
+ import { defineComponent, createBlock, openBlock, resolveDynamicComponent, mergeProps, unref, withCtx, renderSlot, normalizeClass, createTextVNode, toDisplayString } from 'vue';
2
+ import _sfc_main$1 from '../RouterLink/WRouterLink.vue.js';
3
3
  import IconLink from '../../assets/icons/IconLink.svg.js';
4
4
  import { SemanticType, useSemanticTypeTextMap, useSemanticTypeChipMap } from '../../utils/SemanticType.js';
5
5
 
@@ -17,7 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  const semanticTypeChipMap = useSemanticTypeChipMap();
18
18
  const semanticTypeTextMap = useSemanticTypeTextMap();
19
19
  return (_ctx, _cache) => {
20
- return openBlock(), createBlock(resolveDynamicComponent(_ctx.to ? unref(RouterLink) : "a"), mergeProps(!_ctx.to ? { target: _ctx.target, href: _ctx.href } : { to: _ctx.to }, {
20
+ return openBlock(), createBlock(resolveDynamicComponent(_ctx.to ? _sfc_main$1 : "a"), mergeProps(!_ctx.to ? { target: _ctx.target, href: _ctx.href } : { to: _ctx.to }, {
21
21
  class: ["cursor-pointer overflow-hidden truncate whitespace-normal font-normal no-underline hover:underline", unref(semanticTypeTextMap)[_ctx.semanticType]]
22
22
  }), {
23
23
  default: withCtx(() => [
@@ -1,5 +1,5 @@
1
- import { defineComponent, createBlock, openBlock, unref, withCtx, renderSlot, createVNode, createTextVNode, toDisplayString } from 'vue';
2
- import { RouterLink } from 'vue-router';
1
+ import { defineComponent, createBlock, openBlock, withCtx, renderSlot, createVNode, createTextVNode, toDisplayString, unref } from 'vue';
2
+ import _sfc_main$1 from '../RouterLink/WRouterLink.vue.js';
3
3
  import IconBack from '../../assets/icons/IconBack.svg.js';
4
4
 
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -10,7 +10,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  },
11
11
  setup(__props) {
12
12
  return (_ctx, _cache) => {
13
- return openBlock(), createBlock(unref(RouterLink), {
13
+ return openBlock(), createBlock(_sfc_main$1, {
14
14
  to: _ctx.to,
15
15
  class: "text-description hover:text-primary dark:hover:text-primary-dark flex cursor-pointer select-none items-center gap-2 self-end py-2 font-normal no-underline"
16
16
  }, {
@@ -1 +1 @@
1
- {"version":3,"file":"WListCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/WListCard.vue"],"names":[],"mappings":"AAoMA;AAyRA,OAAO,K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7GjB,GAAG,8CACM,GAAG,yBAEf,GAAG,6DACF,GAAG;;;;;;;;;;;;;;;;;;EA4HlB;AA6BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA9JH,GAAG,8CACM,GAAG,yBAEf,GAAG,6DACF,GAAG;;;;;;;;;;;;;;;;OAkKjB,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,9 +1,9 @@
1
1
  import { defineComponent, useTemplateRef, ref, computed, createElementBlock, openBlock, Fragment, createElementVNode, createCommentVNode, mergeProps, createVNode, createBlock, Transition, withCtx, normalizeClass, resolveDynamicComponent, renderSlot, normalizeStyle, unref, normalizeProps, guardReactiveProps, markRaw } from 'vue';
2
- import { RouterLink } from 'vue-router';
3
- import _sfc_main$4 from '../Button/WButtonMore.vue.js';
4
- import _sfc_main$5 from '../Button/WButtonMoreItem.vue.js';
2
+ import _sfc_main$5 from '../Button/WButtonMore.vue.js';
3
+ import _sfc_main$6 from '../Button/WButtonMoreItem.vue.js';
5
4
  import _sfc_main$1 from '../Checkbox/WCheckbox.vue.js';
6
5
  import _sfc_main$2 from '../Form/WForm.vue.js';
6
+ import _sfc_main$4 from '../RouterLink/WRouterLink.vue.js';
7
7
  import IconAddCircle from '../../assets/icons/IconAddCircle.svg.js';
8
8
  import IconMinusCircle from '../../assets/icons/IconMinusCircle.svg.js';
9
9
  import _sfc_main$3 from './components/ListCardAction.vue.js';
@@ -148,7 +148,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
148
148
  renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ toggle, isOpen: isOpen.value, validate, beforeClass: beforeClass.value }))),
149
149
  isActionShown.value ? (openBlock(), createBlock(_sfc_main$3, mergeProps(
150
150
  { key: 1 },
151
- _ctx.allowSelectHover ? { tag: "button", card: _ctx.card, onClick: () => _ctx.$emit("toggle:selected") } : _ctx.hasAction ? { tag: "button", card: _ctx.card, class: "z-[-1]", onClick: () => _ctx.$emit("click:action") } : _ctx.to ? { tag: markRaw(unref(RouterLink)), card: _ctx.card, class: "z-[-1]", props: { to: _ctx.to } } : _ctx.allowOpen ? { tag: "button", card: _ctx.card, class: "z-[-1]", onClick: toggle } : { tag: "div", card: _ctx.card, class: "z-[-1]" },
151
+ _ctx.allowSelectHover ? { tag: "button", card: _ctx.card, onClick: () => _ctx.$emit("toggle:selected") } : _ctx.hasAction ? { tag: "button", card: _ctx.card, class: "z-[-1]", onClick: () => _ctx.$emit("click:action") } : _ctx.to ? { tag: markRaw(_sfc_main$4), card: _ctx.card, class: "z-[-1]", props: { to: _ctx.to } } : _ctx.allowOpen ? { tag: "button", card: _ctx.card, class: "z-[-1]", onClick: toggle } : { tag: "div", card: _ctx.card, class: "z-[-1]" },
152
152
  {
153
153
  class: {
154
154
  "before:text-primary dark:before:text-primary-dark": _ctx.allowSelectHover || _ctx.selected || unref(moreRef)?.isOpen,
@@ -157,7 +157,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
157
157
  "opacity-class": _ctx.allowSelectHover || _ctx.selected || unref(moreRef)?.isOpen ? "w-ripple-opacity-15" : void 0
158
158
  }
159
159
  ), null, 16, ["class", "opacity-class"])) : createCommentVNode("", true),
160
- _ctx.card && _ctx.$slots.more ? (openBlock(), createBlock(_sfc_main$4, {
160
+ _ctx.card && _ctx.$slots.more ? (openBlock(), createBlock(_sfc_main$5, {
161
161
  key: 2,
162
162
  ref: "more",
163
163
  class: "-p--inner-margin -my---inner-margin -mr---inner-margin flex items-center",
@@ -167,7 +167,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
167
167
  onClose: _cache[3] || (_cache[3] = ($event) => position.value = null)
168
168
  }, {
169
169
  default: withCtx(() => [
170
- _ctx.allowSelect ? (openBlock(), createBlock(_sfc_main$5, {
170
+ _ctx.allowSelect ? (openBlock(), createBlock(_sfc_main$6, {
171
171
  key: 0,
172
172
  text: _ctx.selected ? "Unselect" : "Select",
173
173
  icon: _ctx.selected ? markRaw(unref(IconMinusCircle)) : markRaw(unref(IconAddCircle)),
@@ -198,7 +198,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
198
198
  ...beforeClass.value
199
199
  }])
200
200
  }, [
201
- _ctx.$slots.more ? (openBlock(), createBlock(_sfc_main$4, {
201
+ _ctx.$slots.more ? (openBlock(), createBlock(_sfc_main$5, {
202
202
  key: 0,
203
203
  ref: "more",
204
204
  class: normalizeClass(["flex h-full px-[--w-list-padding,1rem]", {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createElementBlock, openBlock, normalizeClass, createBlock, renderSlot, createElementVNode, createTextVNode, toDisplayString } from 'vue';
2
- import WSkeleton from '../Skeleton/WSkeleton.vue.js';
2
+ import _sfc_main$1 from '../Skeleton/WSkeleton.vue.js';
3
3
 
4
4
  const _hoisted_1 = { class: "truncate" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -17,7 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  "pointer-events-none": _ctx.allowOpen
18
18
  }])
19
19
  }, [
20
- _ctx.skeleton ? (openBlock(), createBlock(WSkeleton, { key: 0 })) : renderSlot(_ctx.$slots, "default", { key: 1 }, () => [
20
+ _ctx.skeleton ? (openBlock(), createBlock(_sfc_main$1, { key: 0 })) : renderSlot(_ctx.$slots, "default", { key: 1 }, () => [
21
21
  createElementVNode("div", _hoisted_1, [
22
22
  renderSlot(_ctx.$slots, "inner", {}, () => [
23
23
  createTextVNode(toDisplayString(_ctx.modelValue), 1)