eco-vue-js 0.10.32 → 0.10.34

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 (148) hide show
  1. package/dist/assets/icons/sax/IconAddSquare.svg.js +2 -2
  2. package/dist/assets/icons/sax/{IconOutlineEdit.svg.js → IconEditSquare.svg.js} +6 -6
  3. package/dist/assets/icons/sax/IconFilter.svg.js +2 -2
  4. package/dist/assets/icons/sax/{IconOutlineFolderAdd.svg.js → IconFolderAdd.svg.js} +5 -5
  5. package/dist/assets/icons/sax/{IconOutlineCloseCircle.svg.js → IconMoon.svg.js} +4 -4
  6. package/dist/assets/icons/sax/IconSettings.svg.js +3 -3
  7. package/dist/assets/icons/sax/{IconOutlineCheckCircle.svg.js → IconSun.svg.js} +6 -6
  8. package/dist/components/ActionsBar/WActionsBar.vue.d.ts +2 -0
  9. package/dist/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
  10. package/dist/components/ActionsBar/WActionsBar.vue.js +37 -16
  11. package/dist/components/BottomSheet/WBottomSheet.vue.js +1 -1
  12. package/dist/components/Button/WButton.vue.d.ts +0 -1
  13. package/dist/components/Button/WButton.vue.d.ts.map +1 -1
  14. package/dist/components/Button/WButton.vue.js +9 -7
  15. package/dist/components/Button/WButtonAction.vue.d.ts +1 -1
  16. package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
  17. package/dist/components/Button/WButtonAction.vue.js +38 -51
  18. package/dist/components/Button/WButtonCopy.vue.js +1 -1
  19. package/dist/components/Button/WButtonDropdown.vue.js +1 -0
  20. package/dist/components/Button/WButtonGroup.vue.js +0 -1
  21. package/dist/components/Button/WButtonMore.vue.d.ts +11 -4
  22. package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
  23. package/dist/components/Button/WButtonMore.vue.js +36 -16
  24. package/dist/components/Button/WButtonMoreItem.vue.d.ts +5 -6
  25. package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -1
  26. package/dist/components/Button/WButtonMoreItem.vue.js +11 -6
  27. package/dist/components/Button/WButtonSelection.vue.js +1 -1
  28. package/dist/components/Button/WButtonSelectionAction.vue.js +2 -2
  29. package/dist/components/Button/types.d.ts +0 -1
  30. package/dist/components/Button/types.d.ts.map +1 -1
  31. package/dist/components/Checkbox/WCheckbox.vue.js +3 -3
  32. package/dist/components/Chip/WChip.vue.js +1 -1
  33. package/dist/components/ClickOutside/WClickOutside.vue.d.ts +6 -3
  34. package/dist/components/ClickOutside/WClickOutside.vue.d.ts.map +1 -1
  35. package/dist/components/ClickOutside/WClickOutside.vue.js +9 -1
  36. package/dist/components/DatePicker/components/CalendarDay.vue.js +3 -3
  37. package/dist/components/DatePicker/components/CalendarToggle.vue.js +2 -2
  38. package/dist/components/DatePicker/components/CalendarValue.vue.js +1 -1
  39. package/dist/components/Dropdown/WDropdown.vue.d.ts +2 -0
  40. package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
  41. package/dist/components/Dropdown/WDropdown.vue.js +15 -5
  42. package/dist/components/Dropdown/utils/DropdownStyle.d.ts +69 -0
  43. package/dist/components/Dropdown/utils/DropdownStyle.d.ts.map +1 -1
  44. package/dist/components/Dropdown/utils/DropdownStyle.js +23 -1
  45. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +6 -0
  46. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
  47. package/dist/components/DropdownMenu/WDropdownMenu.vue.js +20 -29
  48. package/dist/components/DropdownMenu/types.d.ts +1 -0
  49. package/dist/components/DropdownMenu/types.d.ts.map +1 -1
  50. package/dist/components/FieldWrapper/WFieldWrapper.vue.js +1 -1
  51. package/dist/components/FieldWrapper/components/FilterButton.vue.js +1 -1
  52. package/dist/components/FilePicker/components/FilePickerSvg.vue.js +1 -1
  53. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +0 -1
  54. package/dist/components/FormAsync/WFormAsyncSelect.vue.js +1 -0
  55. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +1 -0
  56. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +1 -0
  57. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +1 -0
  58. package/dist/components/FormAsync/WFormAsyncToggle.vue.js +2 -0
  59. package/dist/components/InfoCard/WInfoCardNegative.vue.js +1 -1
  60. package/dist/components/InfoCard/models/utils.js +2 -2
  61. package/dist/components/Input/WInput.vue.js +2 -2
  62. package/dist/components/Input/WInputAsync.vue.js +2 -2
  63. package/dist/components/Input/WInputDate.vue.js +1 -0
  64. package/dist/components/Input/WInputOptions.vue.js +1 -0
  65. package/dist/components/Input/WInputSuggest.vue.js +1 -0
  66. package/dist/components/Link/WLink.vue.d.ts.map +1 -1
  67. package/dist/components/Link/WLink.vue.js +5 -4
  68. package/dist/components/Link/WLinkArrow.vue.js +1 -1
  69. package/dist/components/List/WList.vue.d.ts +9 -4
  70. package/dist/components/List/WList.vue.d.ts.map +1 -1
  71. package/dist/components/List/WList.vue.js +7 -4
  72. package/dist/components/List/WListCard.vue.d.ts +143 -0
  73. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  74. package/dist/components/List/WListCard.vue.js +49 -23
  75. package/dist/components/List/components/HeaderSettingsModeButton.vue.js +1 -1
  76. package/dist/components/List/types.d.ts +8 -0
  77. package/dist/components/List/types.d.ts.map +1 -1
  78. package/dist/components/MenuItem/WMenuItem.vue.d.ts +5 -5
  79. package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
  80. package/dist/components/MenuItem/WMenuItem.vue.js +16 -8
  81. package/dist/components/Modal/WModal.vue.d.ts.map +1 -1
  82. package/dist/components/Modal/WModal.vue.js +6 -5
  83. package/dist/components/Modal/WModalExport.vue.js +1 -1
  84. package/dist/components/Modal/WModalImport.vue.js +1 -1
  85. package/dist/components/Modal/use/useIsBackdrop.d.ts +2 -0
  86. package/dist/components/Modal/use/useIsBackdrop.d.ts.map +1 -0
  87. package/dist/components/Modal/use/useIsBackdrop.js +8 -0
  88. package/dist/components/Nav/WNavBar.vue.js +1 -1
  89. package/dist/components/Nav/WNavItem.vue.js +2 -2
  90. package/dist/components/Progress/WProgress.vue.js +1 -1
  91. package/dist/components/Select/WSelect.vue.js +1 -0
  92. package/dist/components/Select/WSelectAsync.vue.js +1 -0
  93. package/dist/components/Select/WSelectAsyncSingle.vue.js +1 -0
  94. package/dist/components/Select/WSelectSingle.vue.js +1 -0
  95. package/dist/components/Select/WSelectStringified.vue.js +1 -0
  96. package/dist/components/Select/components/SelectOption.vue.js +1 -1
  97. package/dist/components/Shine/WShine.vue.d.ts +5 -0
  98. package/dist/components/Shine/WShine.vue.d.ts.map +1 -0
  99. package/dist/components/Shine/WShine.vue.js +28 -0
  100. package/dist/components/Shine/WShine.vue2.js +5 -0
  101. package/dist/components/Shine/WShineEffect.vue.d.ts +3 -0
  102. package/dist/components/Shine/WShineEffect.vue.d.ts.map +1 -0
  103. package/dist/components/Shine/WShineEffect.vue.js +42 -0
  104. package/dist/components/Shine/WShineEffect.vue2.js +5 -0
  105. package/dist/components/Shine/use/useShine.d.ts +4 -0
  106. package/dist/components/Shine/use/useShine.d.ts.map +1 -0
  107. package/dist/components/Shine/use/useShine.js +8 -0
  108. package/dist/components/Tabs/WTabs.vue.d.ts +16 -8
  109. package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
  110. package/dist/components/Tabs/WTabs.vue.js +1 -1
  111. package/dist/components/Tabs/components/TabTitleButton.vue.js +1 -1
  112. package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
  113. package/dist/components/Toggle/WToggle.vue.js +38 -25
  114. package/dist/components/Toggle/WToggleTheme.vue.d.ts +9 -0
  115. package/dist/components/Toggle/WToggleTheme.vue.d.ts.map +1 -0
  116. package/dist/components/Toggle/WToggleTheme.vue.js +37 -0
  117. package/dist/components/Toggle/WToggleTheme.vue2.js +5 -0
  118. package/dist/components/Toggle/types.d.ts +6 -0
  119. package/dist/components/Toggle/types.d.ts.map +1 -1
  120. package/dist/components/Tooltip/WTooltipContainer.vue.js +3 -3
  121. package/dist/components/Tooltip/components/TooltipContainer.vue.js +1 -1
  122. package/dist/imports/componentsPlugin.d.ts +4 -1
  123. package/dist/imports/componentsPlugin.d.ts.map +1 -1
  124. package/dist/imports/iconsSax.d.ts +4 -6
  125. package/dist/imports/iconsSax.d.ts.map +1 -1
  126. package/dist/imports/iconsSax.js +4 -6
  127. package/dist/main.js +5 -2
  128. package/dist/utils/HorizontalAlign.d.ts +2 -0
  129. package/dist/utils/HorizontalAlign.d.ts.map +1 -1
  130. package/dist/utils/HorizontalAlign.js +2 -0
  131. package/dist/utils/SemanticType.d.ts +36 -0
  132. package/dist/utils/SemanticType.d.ts.map +1 -1
  133. package/dist/utils/SemanticType.js +55 -1
  134. package/dist/utils/useDefaultQuery.d.ts.map +1 -1
  135. package/dist/utils/useDefaultQuery.js +0 -1
  136. package/dist/utils/utils.d.ts +4 -0
  137. package/dist/utils/utils.d.ts.map +1 -1
  138. package/dist/utils/utils.js +6 -1
  139. package/package.json +10 -1
  140. package/tailwind-base/index.ts +4 -10
  141. package/tailwind-base/plugins/default.ts +15 -0
  142. package/tailwind-base/theme/animations.ts +9 -0
  143. package/tailwind-base/theme/sizes.ts +1 -0
  144. package/dist/assets/icons/sax/IconOutlineRefresh.svg.js +0 -24
  145. package/dist/assets/icons/sax/IconOutlineStar.svg.js +0 -24
  146. package/dist/components/Button/models/semanticTypeStylesMap.d.ts +0 -6
  147. package/dist/components/Button/models/semanticTypeStylesMap.d.ts.map +0 -1
  148. package/dist/components/Button/models/semanticTypeStylesMap.js +0 -32
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, createElementBlock, openBlock, normalizeClass, createVNode, unref, withCtx, renderSlot, createElementVNode, createBlock, resolveDynamicComponent } from 'vue';
1
+ import { defineComponent, ref, readonly, createElementBlock, openBlock, mergeProps, createVNode, unref, withCtx, normalizeClass, renderSlot, createElementVNode, createBlock, resolveDynamicComponent } from 'vue';
2
2
  import _sfc_main$2 from '../ClickOutside/WClickOutside.vue.js';
3
3
  import _sfc_main$1 from '../DropdownMenu/WDropdownMenu.vue.js';
4
4
  import IconMore from '../../assets/icons/default/IconMore.svg.js';
@@ -9,34 +9,47 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "WButtonMore",
10
10
  props: {
11
11
  icon: {},
12
- disabled: { type: Boolean }
12
+ disabled: { type: Boolean },
13
+ anchor: {}
13
14
  },
14
- setup(__props) {
15
+ emits: ["close"],
16
+ setup(__props, { expose: __expose, emit: __emit }) {
15
17
  const props = __props;
18
+ const emit = __emit;
16
19
  const isOpen = ref(false);
17
20
  const toggle = () => {
18
21
  if (props.disabled) return;
19
22
  isOpen.value = !isOpen.value;
23
+ if (!isOpen.value) emit("close");
20
24
  };
21
25
  const close = () => {
22
26
  isOpen.value = false;
27
+ emit("close");
23
28
  };
29
+ const open = () => {
30
+ isOpen.value = true;
31
+ };
32
+ __expose({
33
+ open,
34
+ isOpen: readonly(isOpen)
35
+ });
24
36
  return (_ctx, _cache) => {
25
- return openBlock(), createElementBlock("button", {
37
+ return openBlock(), createElementBlock("button", mergeProps(_ctx.$attrs, {
26
38
  disabled: _ctx.disabled,
27
- class: normalizeClass([{
39
+ class: [{
28
40
  "w-hover-circle-trigger cursor-pointer": !_ctx.disabled,
29
41
  "cursor-not-allowed opacity-50": _ctx.disabled
30
- }, "flex justify-center outline-none"]),
42
+ }, "flex justify-center outline-none"],
31
43
  onClick: toggle
32
- }, [
44
+ }), [
33
45
  createVNode(_sfc_main$1, {
34
46
  "is-open": isOpen.value,
35
47
  "max-height": 210,
36
48
  "max-width": 320,
37
- "horizontal-align": unref(HorizontalAlign).LEFT_INNER,
49
+ "horizontal-align": _ctx.anchor ? unref(HorizontalAlign).RIGHT_INNER : unref(HorizontalAlign).LEFT_INNER,
38
50
  "update-align": false,
39
51
  "z-index": 1,
52
+ "parent-element": _ctx.anchor,
40
53
  teleport: ""
41
54
  }, {
42
55
  toggle: withCtx(() => [
@@ -44,26 +57,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
44
57
  class: normalizeClass(["relative", {
45
58
  "w-hover-circle": !_ctx.disabled,
46
59
  "text-description": !isOpen.value,
47
- "text-primary-default dark:text-primary-dark": isOpen.value
60
+ "text-primary dark:text-primary-dark": isOpen.value
48
61
  }])
49
62
  }, [
50
63
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon ?? unref(IconMore)), { class: "square-[1.25em]" }))
51
64
  ], 2)
52
65
  ]),
53
- content: withCtx(() => [
66
+ content: withCtx(({ isTop, isRight, isLeft }) => [
54
67
  createVNode(_sfc_main$2, {
55
- class: "sm-not:-mr-6 bg-default dark:bg-default-dark my-4 mr-[-1.375rem] overflow-hidden rounded-xl text-start font-normal shadow-md dark:border dark:border-solid dark:border-gray-800",
68
+ "no-filter": "",
69
+ class: normalizeClass(["bg-default dark:bg-default-dark overflow-hidden rounded-xl text-start font-normal shadow-md dark:border dark:border-solid dark:border-gray-800", {
70
+ "sm-not:-mr-4 my-4 -mr-5": !_ctx.anchor,
71
+ "rounded-bl-none": _ctx.anchor && isRight && isTop,
72
+ "rounded-tl-none": _ctx.anchor && isRight && !isTop,
73
+ "rounded-br-none": _ctx.anchor && isLeft && isTop,
74
+ "rounded-tr-none": _ctx.anchor && isLeft && !isTop
75
+ }]),
56
76
  onClick: close
57
77
  }, {
58
78
  default: withCtx(() => [
59
- renderSlot(_ctx.$slots, "default", { close })
79
+ renderSlot(_ctx.$slots, "default")
60
80
  ]),
61
- _: 3
62
- })
81
+ _: 2
82
+ }, 1032, ["class"])
63
83
  ]),
64
84
  _: 3
65
- }, 8, ["is-open", "horizontal-align"])
66
- ], 10, _hoisted_1);
85
+ }, 8, ["is-open", "horizontal-align", "parent-element"])
86
+ ], 16, _hoisted_1);
67
87
  };
68
88
  }
69
89
  });
@@ -15,12 +15,11 @@ declare function __VLS_template(): {
15
15
  rootEl: any;
16
16
  };
17
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
19
- to: import('vue-router').RouterLinkProps["to"];
20
- icon: SVGComponent;
21
- href: string;
22
- download: string;
23
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
19
+ click: (value: MouseEvent) => any;
20
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
21
+ onClick?: ((value: MouseEvent) => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
24
  export default _default;
26
25
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"WButtonMoreItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonMoreItem.vue"],"names":[],"mappings":"AAkBA;AA2CA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAI5C,UAAU,KAAM,SAAQ,OAAO,CAAC,SAAS,CAAC;IACxC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAqBD,iBAAS,cAAc;WAoDT,OAAO,IAA6B;;sBAVxB,GAAG;;;;EAe5B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;eAnGrB,YAvCA;UA6CS,YAAY;UAEZ,MAAM;cACF,MAAM;6EAkGjB,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":"WButtonMoreItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonMoreItem.vue"],"names":[],"mappings":"AAsBA;AAAA,OA2CO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAI5C,UAAU,KAAM,SAAQ,OAAO,CAAC,SAAS,CAAC;IACxC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAYD,iBAAS,cAAc;WA+DT,OAAO,IAA6B;;sBAVxB,GAAG;;;;EAe5B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;kFAQnB,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"}
@@ -6,24 +6,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "WButtonMoreItem",
7
7
  props: {
8
8
  text: {},
9
- icon: { default: void 0 },
9
+ icon: {},
10
10
  disabled: { type: Boolean },
11
- href: { default: void 0 },
12
- download: { default: void 0 },
13
- to: { default: void 0 }
11
+ href: {},
12
+ download: {},
13
+ to: {}
14
14
  },
15
+ emits: ["click"],
15
16
  setup(__props) {
16
17
  return (_ctx, _cache) => {
17
18
  return openBlock(), createBlock(_sfc_main$1, {
18
19
  to: _ctx.to,
19
20
  href: _ctx.href,
20
21
  download: _ctx.download,
21
- disabled: _ctx.disabled
22
+ disabled: _ctx.disabled,
23
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
22
24
  }, {
23
25
  default: withCtx(() => [
24
26
  createElementVNode("div", _hoisted_1, toDisplayString(_ctx.text), 1),
25
27
  renderSlot(_ctx.$slots, "icon", {}, () => [
26
- _ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { key: 0 })) : createCommentVNode("", true)
28
+ _ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
29
+ key: 0,
30
+ class: "square-[1.25em]"
31
+ })) : createCommentVNode("", true)
27
32
  ])
28
33
  ]),
29
34
  _: 3
@@ -9,7 +9,7 @@ import _sfc_main$2 from '../ClickOutside/WClickOutside.vue.js';
9
9
 
10
10
  const _hoisted_1 = { class: "sm:left-inner sm:w-inner grid w-full grid-cols-[1fr,auto] pb-3 sm:sticky" };
11
11
  const _hoisted_2 = { class: "flex" };
12
- const _hoisted_3 = { class: "text-primary-default dark:text-primary-dark font-semibold" };
12
+ const _hoisted_3 = { class: "text-primary dark:text-primary-dark font-semibold" };
13
13
  const _hoisted_4 = { class: "sm-not:text-xs" };
14
14
  const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  __name: "WButtonSelection",
@@ -23,8 +23,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
23
  return openBlock(), createElementBlock("button", {
24
24
  disabled: _ctx.disabled || _ctx.disableMessage !== void 0,
25
25
  class: normalizeClass(["disabled:text-description relative cursor-pointer select-none bg-none no-underline outline-none disabled:cursor-not-allowed", {
26
- "w-ripple w-ripple-hover before:text-primary-default dark:before:text-primary-dark hover:text-primary-default dark:hover:text-primary-dark": !_ctx.disabled && !_ctx.disableMessage,
27
- "text-primary-default dark:text-primary-dark": _ctx.active,
26
+ "w-ripple w-ripple-hover before:text-primary dark:before:text-primary-dark hover:text-primary dark:hover:text-primary-dark": !_ctx.disabled && !_ctx.disableMessage,
27
+ "text-primary dark:text-primary-dark": _ctx.active,
28
28
  "text-accent": !_ctx.active
29
29
  }]),
30
30
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click"))
@@ -13,7 +13,6 @@ export interface ButtonProps extends Partial<LinkProps> {
13
13
  href?: string;
14
14
  target?: '_self' | '_blank' | '_parent' | '_top';
15
15
  join?: boolean;
16
- semanticTypeMap?: Partial<Record<SemanticType, string>>;
17
16
  tooltipText?: string;
18
17
  download?: string;
19
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAA;AAElC,MAAM,WAAW,WAAY,SAAQ,OAAO,CAAC,SAAS,CAAC;IACrD,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,GAAG,CAAC,EAAE,GAAG,GAAG,QAAQ,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;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AAK,CAAC,CAAA;IACrD,eAAe,CAAC,EAAE,0BAA0B,CAAC,MAAM,CAAC,CAAA;CACrD;AAED,MAAM,MAAM,gBAAgB,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,IAAI,yBAAyB,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,GAAG,wBAAwB,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,CAAA;AAEjT,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,iBAAiB,GAAG,WAAW,GAAG,UAAU,CAAC,EAC1J,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,WAAW,GAAG,UAAU,CAAC,CAAC;IAC9E,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB"}
@@ -48,13 +48,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
48
48
  createElementVNode("div", {
49
49
  class: normalizeClass(["square-[1.5em] bg-default dark:bg-default-dark relative isolate flex items-center justify-center border border-solid [font-size:--w-checkbox-size]", {
50
50
  "text-default dark:text-default-dark": _ctx.modelValue && !_ctx.disabled,
51
- "text-primary-default dark:text-primary-dark": !_ctx.modelValue && !_ctx.disabled,
51
+ "text-primary dark:text-primary-dark": !_ctx.modelValue && !_ctx.disabled,
52
52
  "text-gray-300 dark:text-gray-700": !_ctx.modelValue && _ctx.disabled,
53
53
  "w-ripple w-hover-circle before:text-accent after:text-accent": !_ctx.disabled && !_ctx.readonly,
54
54
  "rounded-full": _ctx.radio,
55
55
  "rounded-md": !_ctx.radio,
56
56
  "border-gray-300 dark:border-gray-700": _ctx.disabled,
57
- "border-primary-default dark:border-primary-dark": !_ctx.disabled
57
+ "border-primary dark:border-primary-dark": !_ctx.disabled
58
58
  }]),
59
59
  onKeypress: withKeys(withModifiers(toggle, ["stop", "prevent"]), ["enter"])
60
60
  }, [
@@ -71,7 +71,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
71
71
  "scale-[0.66] rounded": !_ctx.radio && _ctx.intermediate && _ctx.modelValue === null,
72
72
  "scale-[0.66] rounded-full": _ctx.radio && !(_ctx.intermediate && _ctx.modelValue === null),
73
73
  "rounded": !_ctx.radio && !(_ctx.intermediate && _ctx.modelValue === null),
74
- "bg-primary-default dark:bg-primary-dark": !_ctx.disabled,
74
+ "bg-primary dark:bg-primary-dark": !_ctx.disabled,
75
75
  "bg-gray-300 dark:bg-gray-700": _ctx.disabled
76
76
  }])
77
77
  }, null, 2), [
@@ -11,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  },
12
12
  setup(__props) {
13
13
  const classMap = {
14
- [SemanticType.PRIMARY]: "text-primary-default dark:text-primary-dark",
14
+ [SemanticType.PRIMARY]: "text-primary dark:text-primary-dark",
15
15
  [SemanticType.SECONDARY]: "text-description",
16
16
  [SemanticType.POSITIVE]: "text-positive dark:text-positive-dark",
17
17
  [SemanticType.NEGARIVE]: "text-negative dark:text-negative-dark",
@@ -1,3 +1,6 @@
1
+ type __VLS_Props = {
2
+ noFilter?: boolean;
3
+ };
1
4
  declare function __VLS_template(): {
2
5
  attrs: Partial<{}>;
3
6
  slots: {
@@ -9,11 +12,11 @@ declare function __VLS_template(): {
9
12
  rootEl: HTMLDivElement;
10
13
  };
11
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
13
16
  click: () => any;
14
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
17
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
18
  onClick?: (() => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
19
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
17
20
  element: HTMLDivElement;
18
21
  }, HTMLDivElement>;
19
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1 +1 @@
1
- {"version":3,"file":"WClickOutside.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ClickOutside/WClickOutside.vue"],"names":[],"mappings":"AAKA;AAuEA,iBAAS,cAAc;WA0BT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kBAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"WClickOutside.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ClickOutside/WClickOutside.vue"],"names":[],"mappings":"AAKA;AAkDA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAoCF,iBAAS,cAAc;WA0BT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kBASnB,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"}
@@ -4,23 +4,31 @@ import { isClientSide, hasParent } from '../../utils/utils.js';
4
4
  const _hoisted_1 = { ref: "element" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "WClickOutside",
7
+ props: {
8
+ noFilter: { type: Boolean }
9
+ },
7
10
  emits: ["click"],
8
11
  setup(__props, { emit: __emit }) {
12
+ const props = __props;
9
13
  const emit = __emit;
10
14
  const elementRef = useTemplateRef("element");
11
15
  const clickListener = (event) => {
12
- if (!elementRef.value || !(event.target instanceof Element) || hasParent(elementRef.value, event.target)) return;
16
+ if (!props.noFilter) {
17
+ if (!elementRef.value || !(event.target instanceof Element) || hasParent(elementRef.value, event.target)) return;
18
+ }
13
19
  emit("click");
14
20
  };
15
21
  onMounted(() => {
16
22
  if (!isClientSide) return;
17
23
  setTimeout(() => {
18
24
  document.addEventListener("click", clickListener);
25
+ document.addEventListener("contextmenu", clickListener);
19
26
  });
20
27
  });
21
28
  onBeforeUnmount(() => {
22
29
  if (!isClientSide) return;
23
30
  document.removeEventListener("click", clickListener);
31
+ document.removeEventListener("contextmenu", clickListener);
24
32
  });
25
33
  return (_ctx, _cache) => {
26
34
  return openBlock(), createElementBlock("div", _hoisted_1, [
@@ -70,8 +70,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
70
70
  }, [
71
71
  withDirectives(createElementVNode("div", {
72
72
  class: normalizeClass(["absolute h-9 opacity-50", {
73
- "border-primary-default border-y border-solid": _ctx.isHoverEnabled && !isDisabled.value,
74
- "bg-primary-default dark:bg-primary-dark": !_ctx.isHoverEnabled && !isDisabled.value,
73
+ "border-primary border-y border-solid": _ctx.isHoverEnabled && !isDisabled.value,
74
+ "bg-primary dark:bg-primary-dark": !_ctx.isHoverEnabled && !isDisabled.value,
75
75
  "bg-gray-200 dark:bg-gray-700": isDisabled.value,
76
76
  "w-full": isBetweenRange.value || isDisabled.value,
77
77
  "left-1/2 w-1/2": isFrom.value && !isTo.value,
@@ -84,7 +84,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
84
84
  class: normalizeClass(["square-9 relative flex items-center justify-center rounded-full", {
85
85
  "w-ripple w-ripple-hover": !isDisabled.value,
86
86
  "opacity-50": isDisabled.value,
87
- "bg-primary-default dark:bg-primary-dark font-semibold": isSelected.value
87
+ "bg-primary dark:bg-primary-dark font-semibold": isSelected.value
88
88
  }])
89
89
  }, [
90
90
  createElementVNode("div", _hoisted_1, toDisplayString(_ctx.startOfDay.getDate()), 1)
@@ -13,7 +13,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
13
  return (_ctx, _cache) => {
14
14
  return openBlock(), createElementBlock("div", _hoisted_1, [
15
15
  createElementVNode("div", {
16
- class: "square-8 w-ripple hover:bg-primary-default hover:dark:bg-primary-dark hover:text-default dark:hover:text-default text-description relative mr-auto flex cursor-pointer select-none items-center justify-center rounded-xl",
16
+ class: "square-8 w-ripple hover:bg-primary hover:dark:bg-primary-dark hover:text-default dark:hover:text-default text-description relative mr-auto flex cursor-pointer select-none items-center justify-center rounded-xl",
17
17
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click:previous"))
18
18
  }, [
19
19
  createVNode(unref(IconArrow), { class: "-ml-1 rotate-90" })
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  })
36
36
  ]),
37
37
  createElementVNode("div", {
38
- class: "square-8 w-ripple hover:bg-primary-default hover:dark:bg-primary-dark hover:text-default dark:hover:text-default text-description relative ml-auto flex cursor-pointer select-none items-center justify-center rounded-xl",
38
+ class: "square-8 w-ripple hover:bg-primary hover:dark:bg-primary-dark hover:text-default dark:hover:text-default text-description relative ml-auto flex cursor-pointer select-none items-center justify-center rounded-xl",
39
39
  onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("click:next"))
40
40
  }, [
41
41
  createVNode(unref(IconArrow), { class: "-mr-1 -rotate-90" })
@@ -26,7 +26,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  });
27
27
  return (_ctx, _cache) => {
28
28
  return openBlock(), createElementBlock("div", {
29
- class: normalizeClass(["from-primary-default dark:from-primary-dark text-default dark:text-default-dark relative w-full select-none rounded-xl bg-gradient-to-tr to-[#C376FF] px-4 py-3 dark:to-[#9b3be6]", {
29
+ class: normalizeClass(["from-primary dark:from-primary-dark text-default dark:text-default-dark relative w-full select-none rounded-xl bg-gradient-to-tr to-[#C376FF] px-4 py-3 dark:to-[#9b3be6]", {
30
30
  "w-ripple w-ripple-hover cursor-pointer": clickable.value
31
31
  }]),
32
32
  onClick: updateCurrentDate
@@ -8,6 +8,8 @@ declare function __VLS_template(): {
8
8
  top: string;
9
9
  bottom: string;
10
10
  isTop: boolean;
11
+ isLeft: boolean;
12
+ isRight: boolean;
11
13
  }): any;
12
14
  };
13
15
  refs: {
@@ -1 +1 @@
1
- {"version":3,"file":"WDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/WDropdown.vue"],"names":[],"mappings":"AAkBA;AAmIA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAA;AAsH1C,iBAAS,cAAc;WAqCT,OAAO,IAA6B;;;;;;;;YAXrB,GAAG;;;;;;EAgB/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;kBAUnB,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
+ {"version":3,"file":"WDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/WDropdown.vue"],"names":[],"mappings":"AAqBA;AA8IA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAA;AA8H1C,iBAAS,cAAc;WAwCT,OAAO,IAA6B;;;;;;;;;;YAXrB,GAAG;;;;;;EAgB/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;kBAUnB,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,7 +1,8 @@
1
- import { defineComponent, useTemplateRef, ref, computed, onBeforeMount, onMounted, onBeforeUnmount, watch, toRef, createElementBlock, openBlock, normalizeClass, normalizeStyle, renderSlot, mergeProps } from 'vue';
1
+ import { defineComponent, useTemplateRef, ref, computed, onBeforeMount, onMounted, onBeforeUnmount, watch, toRef, createElementBlock, openBlock, normalizeClass, normalizeStyle, unref, renderSlot, mergeProps } from 'vue';
2
2
  import DOMListenerContainer from '../../utils/DOMListenerContainer.js';
3
+ import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
3
4
  import { isClientSide, getAllScrollParents } from '../../utils/utils.js';
4
- import { horizontalGetterOrderMap, searchStyleGetter } from './utils/DropdownStyle.js';
5
+ import { horizontalGetterOrderMap, searchStyleGetter, LeftCenter, LeftOuter, LeftInner, RightOuter, RightInner } from './utils/DropdownStyle.js';
5
6
 
6
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
8
  __name: "WDropdown",
@@ -22,6 +23,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
23
  let horizontalGetter = null;
23
24
  let verticalGetter = null;
24
25
  const isTop = ref(false);
26
+ const isLeftCenter = ref(false);
27
+ const isLeft = ref(false);
28
+ const isRight = ref(false);
25
29
  const widthStyle = ref({});
26
30
  const heightStyle = ref({});
27
31
  const horizontalStyle = ref({});
@@ -41,6 +45,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
45
  const isTopChanged = newRect.top !== parentRect?.top || newRect.bottom !== parentRect?.bottom;
42
46
  if (!horizontalGetter || isLeftChanged && (props.updateAlign || updateAlign)) {
43
47
  horizontalGetter = searchStyleGetter(order.value, newRect, props.maxWidth);
48
+ isLeftCenter.value = horizontalGetter instanceof LeftCenter;
49
+ isLeft.value = horizontalGetter instanceof LeftOuter || horizontalGetter instanceof LeftInner;
50
+ isRight.value = horizontalGetter instanceof RightOuter || horizontalGetter instanceof RightInner;
44
51
  if (updateSize) widthStyle.value = horizontalGetter.widthStyleGetter(newRect, props.maxWidth);
45
52
  }
46
53
  if (!verticalGetter || isTopChanged && (props.updateAlign || updateAlign)) {
@@ -90,11 +97,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
90
97
  return openBlock(), createElementBlock("div", {
91
98
  ref: "dropdown",
92
99
  style: normalizeStyle(styles.value),
93
- class: normalizeClass(["group/dropdown fixed h-auto", {
94
- "dropdown-top": isTop.value
100
+ class: normalizeClass(["group/dropdown fixed grid h-auto", {
101
+ "dropdown-top": isTop.value,
102
+ "content-center": _ctx.horizontalAlign === unref(HorizontalAlign).LEFT_CENTER || _ctx.horizontalAlign === unref(HorizontalAlign).RIGHT_CENTER,
103
+ "justify-end": isLeftCenter.value,
104
+ "justify-center": _ctx.horizontalAlign === unref(HorizontalAlign).CENTER
95
105
  }])
96
106
  }, [
97
- renderSlot(_ctx.$slots, "default", mergeProps({ isTop: isTop.value }, {
107
+ renderSlot(_ctx.$slots, "default", mergeProps({ isTop: isTop.value, isLeft: isLeft.value, isRight: isRight.value }, {
98
108
  left: styles.value.left,
99
109
  right: styles.value.right,
100
110
  top: styles.value.top,
@@ -9,12 +9,81 @@ export declare abstract class VerticalGetter implements StyleGetter {
9
9
  abstract marginGetter(parentRect: DOMRect, maxHeight: number): number;
10
10
  heightStyleGetter(parentRect: DOMRect, maxHeight: number): Record<string, string>;
11
11
  }
12
+ declare class BottomInner extends VerticalGetter {
13
+ isTop: boolean;
14
+ styleGetter(parentRect: DOMRect): {
15
+ top: string;
16
+ };
17
+ marginGetter(parentRect: DOMRect, maxHeight: number): number;
18
+ }
19
+ declare class BottomOuter extends VerticalGetter {
20
+ isTop: boolean;
21
+ styleGetter(parentRect: DOMRect): {
22
+ top: string;
23
+ };
24
+ marginGetter(parentRect: DOMRect, maxHeight: number): number;
25
+ }
26
+ declare class VerticalCenter extends VerticalGetter {
27
+ isTop: boolean;
28
+ styleGetter(parentRect: DOMRect): {
29
+ top: string;
30
+ };
31
+ marginGetter(): number;
32
+ heightStyleGetter(): {
33
+ height: string;
34
+ };
35
+ }
36
+ declare class TopOuter extends VerticalGetter {
37
+ isTop: boolean;
38
+ styleGetter(parentRect: DOMRect): {
39
+ bottom: string;
40
+ };
41
+ marginGetter(parentRect: DOMRect, maxHeight: number): number;
42
+ }
43
+ declare class TopInner extends VerticalGetter {
44
+ isTop: boolean;
45
+ styleGetter(parentRect: DOMRect): {
46
+ bottom: string;
47
+ };
48
+ marginGetter(parentRect: DOMRect, maxHeight: number): number;
49
+ }
12
50
  export declare abstract class HorizontalGetter implements StyleGetter {
13
51
  abstract verticalGetterOrder: Array<VerticalGetter>;
14
52
  abstract styleGetter(parentRect: DOMRect): Record<string, string>;
15
53
  abstract marginGetter(parentRect: DOMRect, maxWidth: number): number;
16
54
  widthStyleGetter(parentRect: DOMRect, maxWidth: number): Record<string, string>;
17
55
  }
56
+ export declare class RightOuter extends HorizontalGetter {
57
+ verticalGetterOrder: (BottomInner | TopInner)[];
58
+ styleGetter(parentRect: DOMRect): {
59
+ left: string;
60
+ };
61
+ marginGetter(parentRect: DOMRect, maxWidth: number): number;
62
+ }
63
+ export declare class RightInner extends HorizontalGetter {
64
+ verticalGetterOrder: (BottomOuter | TopOuter)[];
65
+ styleGetter(parentRect: DOMRect): {
66
+ left: string;
67
+ };
68
+ marginGetter(parentRect: DOMRect, maxWidth: number): number;
69
+ }
70
+ export declare class LeftInner extends HorizontalGetter {
71
+ verticalGetterOrder: (BottomOuter | TopOuter)[];
72
+ styleGetter(parentRect: DOMRect): {
73
+ right: string;
74
+ };
75
+ marginGetter(parentRect: DOMRect, maxWidth: number): number;
76
+ }
77
+ export declare class LeftOuter extends HorizontalGetter {
78
+ verticalGetterOrder: (BottomInner | TopInner)[];
79
+ styleGetter(parentRect: DOMRect): {
80
+ right: string;
81
+ };
82
+ marginGetter(parentRect: DOMRect, maxWidth: number): number;
83
+ }
84
+ export declare class LeftCenter extends LeftOuter {
85
+ verticalGetterOrder: VerticalCenter[];
86
+ }
18
87
  export declare const horizontalGetterOrderMap: Record<HorizontalAlign, HorizontalGetter[]>;
19
88
  export declare function searchStyleGetter<T extends StyleGetter>(order: Array<T>, parentRect: DOMRect, maxHeightOrWidth: number): T;
20
89
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownStyle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/utils/DropdownStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;AAIvD,UAAU,WAAW;IACnB,WAAW,CAAC,UAAU,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACxD,YAAY,CAAC,UAAU,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,GAAG,MAAM,CAAA;CACpE;AAED,8BAAsB,cAAe,YAAW,WAAW;I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EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAC,CAY1H"}
@@ -24,6 +24,20 @@ class BottomOuter extends VerticalGetter {
24
24
  return window.innerHeight - parentRect.bottom - maxHeight - EDGE;
25
25
  }
26
26
  }
27
+ class VerticalCenter extends VerticalGetter {
28
+ isTop = false;
29
+ styleGetter(parentRect) {
30
+ return { top: parentRect.top + parentRect.height / 2 + "px" };
31
+ }
32
+ marginGetter() {
33
+ return 0;
34
+ }
35
+ heightStyleGetter() {
36
+ return {
37
+ height: "0px"
38
+ };
39
+ }
40
+ }
27
41
  class TopOuter extends VerticalGetter {
28
42
  isTop = true;
29
43
  styleGetter(parentRect) {
@@ -65,6 +79,9 @@ class RightInner extends HorizontalGetter {
65
79
  return document.documentElement.clientWidth - parentRect.left - maxWidth - EDGE;
66
80
  }
67
81
  }
82
+ class RightCenter extends RightOuter {
83
+ verticalGetterOrder = [new VerticalCenter()];
84
+ }
68
85
  class Fill extends HorizontalGetter {
69
86
  verticalGetterOrder = [new BottomOuter(), new TopOuter()];
70
87
  styleGetter(parentRect) {
@@ -114,12 +131,17 @@ class LeftOuter extends HorizontalGetter {
114
131
  return parentRect.left - maxWidth - EDGE;
115
132
  }
116
133
  }
134
+ class LeftCenter extends LeftOuter {
135
+ verticalGetterOrder = [new VerticalCenter()];
136
+ }
117
137
  const horizontalGetterOrderMap = {
118
138
  [HorizontalAlign.RIGHT_OUTER]: [new RightOuter(), new LeftOuter(), new RightInner(), new LeftInner()],
139
+ [HorizontalAlign.RIGHT_CENTER]: [new RightCenter(), new LeftCenter()],
119
140
  [HorizontalAlign.RIGHT_INNER]: [new RightInner(), new LeftInner()],
120
141
  [HorizontalAlign.FILL]: [new Fill()],
121
142
  [HorizontalAlign.CENTER]: [new Center()],
122
143
  [HorizontalAlign.LEFT_INNER]: [new LeftInner(), new RightInner()],
144
+ [HorizontalAlign.LEFT_CENTER]: [new LeftCenter(), new RightCenter()],
123
145
  [HorizontalAlign.LEFT_OUTER]: [new LeftOuter(), new RightOuter(), new LeftInner(), new RightInner()]
124
146
  };
125
147
  function searchStyleGetter(order, parentRect, maxHeightOrWidth) {
@@ -136,4 +158,4 @@ function _maxHeightOrWidthGetter(getter, parentRect, maxHeightOrWidth) {
136
158
  else return maxHeightOrWidth + margin;
137
159
  }
138
160
 
139
- export { HorizontalGetter, VerticalGetter, horizontalGetterOrderMap, searchStyleGetter };
161
+ export { HorizontalGetter, LeftCenter, LeftInner, LeftOuter, RightInner, RightOuter, VerticalGetter, horizontalGetterOrderMap, searchStyleGetter };
@@ -11,6 +11,8 @@ declare function __VLS_template(): {
11
11
  top: string;
12
12
  bottom: string;
13
13
  isTop: boolean;
14
+ isLeft: boolean;
15
+ isRight: boolean;
14
16
  }): any;
15
17
  };
16
18
  refs: {
@@ -81,6 +83,8 @@ declare function __VLS_template(): {
81
83
  top: string;
82
84
  bottom: string;
83
85
  isTop: boolean;
86
+ isLeft: boolean;
87
+ isRight: boolean;
84
88
  }): any;
85
89
  };
86
90
  }) | null;
@@ -162,6 +166,8 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownMenuProps,
162
166
  top: string;
163
167
  bottom: string;
164
168
  isTop: boolean;
169
+ isLeft: boolean;
170
+ isRight: boolean;
165
171
  }): any;
166
172
  };
167
173
  }) | null;
@@ -1 +1 @@
1
- {"version":3,"file":"WDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/WDropdownMenu.vue"],"names":[],"mappings":"AA6CA;AAsEA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AA8B9C,iBAAS,cAAc;WAsHT,OAAO,IAA6B;;;;YAbtB,GAAG;;;;;;;YACD,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAqDq4iB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;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