@wikicasa-dev/components 2.1.4-alpha.9 → 2.1.5-alpha.2

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 (174) hide show
  1. package/dist/UIKit/BaseAlert.d.ts +9 -20
  2. package/dist/UIKit/BaseBadge.d.ts +5 -40
  3. package/dist/UIKit/BaseBreadcrumb.js +2 -3
  4. package/dist/UIKit/BaseButton.d.ts +8 -9
  5. package/dist/UIKit/BaseComplexToggle.d.ts +1 -1
  6. package/dist/UIKit/BaseComplexToggle.js +2 -2
  7. package/dist/UIKit/BaseDropDown.d.ts +0 -5
  8. package/dist/UIKit/BaseFloatingLabel.js +3 -1
  9. package/dist/UIKit/BaseInput.d.ts +5 -4
  10. package/dist/UIKit/BaseInput.js +3 -1
  11. package/dist/UIKit/BasePagination.d.ts +3 -10
  12. package/dist/UIKit/BaseSlider.d.ts +10 -14
  13. package/dist/UIKit/BaseSlider.js +4 -1
  14. package/dist/UIKit/BaseSnackbar.js +4 -4
  15. package/dist/UIKit/BaseTextarea.d.ts +4 -4
  16. package/dist/UIKit/BaseTextarea.js +3 -3
  17. package/dist/UIKit/BaseToggle.d.ts +8 -5
  18. package/dist/UIKit/BaseToggle.js +4 -1
  19. package/dist/UIKit/BaseTooltip.d.ts +20 -10
  20. package/dist/UIKit/BaseTooltip.js +2 -2
  21. package/dist/UIKit/Checkbox/CheckboxBtn.d.ts +16 -9
  22. package/dist/UIKit/Checkbox/CheckboxBtn.js +5 -2
  23. package/dist/UIKit/Checkbox/CheckboxGroup.d.ts +3 -2
  24. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +3 -1
  25. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.d.ts +5 -1
  26. package/dist/UIKit/Slider/SimpleSlider.d.ts +19 -0
  27. package/dist/UIKit/Slider/SimpleSlider.js +7 -0
  28. package/dist/UIKit/Tab/BaseTabList.d.ts +0 -1
  29. package/dist/UIKit/types.d.ts +6 -11
  30. package/dist/assets/packages/components/lib/UIKit/BaseAlert.css +1 -1
  31. package/dist/assets/packages/components/lib/UIKit/BaseBadge.css +1 -1
  32. package/dist/assets/packages/components/lib/UIKit/BaseCard.css +1 -1
  33. package/dist/assets/packages/components/lib/UIKit/BaseComplexToggle.css +1 -1
  34. package/dist/assets/packages/components/lib/UIKit/BaseFloatingLabel.css +1 -1
  35. package/dist/assets/packages/components/lib/UIKit/BaseInput.css +1 -1
  36. package/dist/assets/packages/components/lib/UIKit/BaseModal.css +1 -1
  37. package/dist/assets/packages/components/lib/UIKit/BaseSlider.css +1 -0
  38. package/dist/assets/packages/components/lib/UIKit/BaseSnackbar.css +1 -1
  39. package/dist/assets/packages/components/lib/UIKit/BaseTextarea.css +1 -1
  40. package/dist/assets/packages/components/lib/UIKit/BaseToggle.css +1 -0
  41. package/dist/assets/packages/components/lib/UIKit/BaseTooltip.css +1 -1
  42. package/dist/assets/packages/components/lib/UIKit/Checkbox/CheckboxBtn.css +1 -0
  43. package/dist/assets/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.css +1 -1
  44. package/dist/assets/packages/components/lib/UIKit/Slider/SimpleSlider.css +1 -0
  45. package/dist/assets/packages/components/src/tailwind.css +1 -1
  46. package/dist/composables/useFloatingLabel.d.ts +1 -1
  47. package/dist/composables/useFloatingLabel.js +20 -20
  48. package/dist/index.d.ts +2 -5
  49. package/dist/index.js +85 -98
  50. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22-alpha.2/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js +4 -0
  51. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22-alpha.2/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js +4 -0
  52. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22-alpha.2/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js +12 -0
  53. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22-alpha.2/node_modules/@wikicasa-dev/utilities/dist/utils/NumberUtils.js +18 -0
  54. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22-alpha.2/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js +4 -0
  55. package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/controller.js +1 -1
  56. package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/free-mode.js +1 -1
  57. package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/keyboard.js +9 -9
  58. package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/pagination.js +17 -17
  59. package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/thumbs.js +1 -1
  60. package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/zoom.js +13 -13
  61. package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/shared/utils.js +26 -32
  62. package/dist/packages/components/lazyModules/Swiper/autoplay.js +2 -2
  63. package/dist/packages/components/lazyModules/Swiper/controller.js +2 -2
  64. package/dist/packages/components/lazyModules/Swiper/free-mode.js +2 -2
  65. package/dist/packages/components/lazyModules/Swiper/keyboard.js +2 -2
  66. package/dist/packages/components/lazyModules/Swiper/navigation.js +2 -2
  67. package/dist/packages/components/lazyModules/Swiper/pagination.js +2 -2
  68. package/dist/packages/components/lazyModules/Swiper/thumbs.js +2 -2
  69. package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +31 -31
  70. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js +10 -9
  71. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js +2 -2
  72. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js +9 -9
  73. package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +13 -107
  74. package/dist/packages/components/lib/UIKit/BaseAutocomplete.vue.js +32 -32
  75. package/dist/packages/components/lib/UIKit/BaseBadge.vue.js +11 -46
  76. package/dist/packages/components/lib/UIKit/BaseBreadcrumb.vue.js +35 -32
  77. package/dist/packages/components/lib/UIKit/BaseButton.vue.js +36 -56
  78. package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +12 -12
  79. package/dist/packages/components/lib/UIKit/BaseDropDown.vue.js +46 -49
  80. package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +17 -14
  81. package/dist/packages/components/lib/UIKit/BaseInput.vue.js +119 -93
  82. package/dist/packages/components/lib/UIKit/BaseModal.vue.js +67 -70
  83. package/dist/packages/components/lib/UIKit/BasePagination.vue.js +135 -89
  84. package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +178 -107
  85. package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +7 -7
  86. package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +73 -55
  87. package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +31 -27
  88. package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +33 -48
  89. package/dist/packages/components/lib/UIKit/BaseUploadFile.vue.js +40 -19
  90. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js +52 -55
  91. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +28 -21
  92. package/dist/packages/components/lib/UIKit/Radio/RadioButton.vue.js +9 -9
  93. package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +9 -10
  94. package/dist/packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +9 -10
  95. package/dist/packages/components/lib/UIKit/Slider/SimpleSlider.vue.js +82 -0
  96. package/dist/packages/components/lib/UIKit/Tab/BaseTabList.vue.js +27 -28
  97. package/dist/packages/components/lib/UIKit/Tab/BaseTabView.vue.js +19 -21
  98. package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +27 -25
  99. package/dist/utils.d.ts +1 -1
  100. package/dist/utils.js +3 -5
  101. package/package.json +18 -33
  102. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement1.js +0 -4
  103. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement2.js +0 -4
  104. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement3.js +0 -4
  105. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement4.js +0 -4
  106. package/dist/UIKit/BaseBanner.js +0 -4
  107. package/dist/UIKit/BaseChip.js +0 -4
  108. package/dist/UIKit/BaseCollapse.js +0 -7
  109. package/dist/UIKit/BaseNotificationBadge.js +0 -4
  110. package/dist/UIKit/BasePin.d.ts +0 -22
  111. package/dist/UIKit/BasePin.js +0 -5
  112. package/dist/UIKit/BaseSelect.d.ts +0 -26
  113. package/dist/UIKit/BaseSelect.js +0 -5
  114. package/dist/UIKit/DatePicker.js +0 -5
  115. package/dist/UIKit/InputDropdown.js +0 -4
  116. package/dist/UIKit/Navigation/NavigationBar.d.ts +0 -17
  117. package/dist/UIKit/Navigation/NavigationBar.js +0 -5
  118. package/dist/UIKit/Navigation/NavigationBarItem.d.ts +0 -34
  119. package/dist/UIKit/Navigation/NavigationBarItem.js +0 -4
  120. package/dist/UIKit/SegmentedControl/SegmentedControl.js +0 -4
  121. package/dist/UIKit/SegmentedControl/SegmentedControlItem.js +0 -4
  122. package/dist/UIKit/Tab/BaseTabItem.d.ts +0 -27
  123. package/dist/UIKit/Tab/BaseTabItem.js +0 -4
  124. package/dist/assets/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.16_typescript@5.8.3_/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -1
  125. package/dist/assets/packages/components/lib/UIKit/BaseBreadcrumb.css +0 -1
  126. package/dist/assets/packages/components/lib/UIKit/BaseCollapse.css +0 -1
  127. package/dist/assets/packages/components/lib/UIKit/BasePin.css +0 -1
  128. package/dist/assets/packages/components/lib/UIKit/BaseSelect.css +0 -1
  129. package/dist/assets/packages/components/lib/UIKit/DatePicker.css +0 -1
  130. package/dist/assets/packages/components/lib/UIKit/Navigation/NavigationBar.css +0 -1
  131. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowFilledIcon.js +0 -19
  132. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/CheckIcon.js +0 -16
  133. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/svgIconFactory-BpnFimFz.js +0 -29
  134. package/dist/node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3/node_modules/@wikicasa-dev/vue-composables/dist/useBreakpoints.js +0 -33
  135. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement1.vue.js +0 -29
  136. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement2.vue.js +0 -56
  137. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement3.vue.js +0 -56
  138. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement4.vue.js +0 -56
  139. package/dist/packages/components/lib/UIKit/BaseBanner.vue.js +0 -75
  140. package/dist/packages/components/lib/UIKit/BaseChip.vue.js +0 -38
  141. package/dist/packages/components/lib/UIKit/BaseCollapse.vue.js +0 -54
  142. package/dist/packages/components/lib/UIKit/BaseNotificationBadge.vue.js +0 -19
  143. package/dist/packages/components/lib/UIKit/BasePin.vue.js +0 -37
  144. package/dist/packages/components/lib/UIKit/BaseSelect.vue.js +0 -65
  145. package/dist/packages/components/lib/UIKit/DatePicker.vue.js +0 -143
  146. package/dist/packages/components/lib/UIKit/InputDropdown.vue.js +0 -152
  147. package/dist/packages/components/lib/UIKit/Navigation/NavigationBar.vue.js +0 -21
  148. package/dist/packages/components/lib/UIKit/Navigation/NavigationBarItem.vue.js +0 -48
  149. package/dist/packages/components/lib/UIKit/SegmentedControl/SegmentedControl.vue.js +0 -93
  150. package/dist/packages/components/lib/UIKit/SegmentedControl/SegmentedControlItem.vue.js +0 -30
  151. package/dist/packages/components/lib/UIKit/Tab/BaseTabItem.vue.js +0 -39
  152. package/plugins/buttonPlugin.ts +0 -290
  153. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/free-mode.css +0 -0
  154. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/navigation.css +0 -0
  155. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/pagination.css +0 -0
  156. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/zoom.css +0 -0
  157. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/swiper.css +0 -0
  158. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.12-alpha.2}/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js +0 -0
  159. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.12-alpha.2}/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js +0 -0
  160. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.12-alpha.2}/node_modules/@wikicasa-dev/svg-icons/dist/DefaultValues-CpabIgVz.js +0 -0
  161. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.12-alpha.2}/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js +0 -0
  162. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.12-alpha.2}/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js +0 -0
  163. /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.21 → @wikicasa-dev_utilities@1.1.22-alpha.2}/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js +0 -0
  164. /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.21 → @wikicasa-dev_utilities@1.1.22-alpha.2}/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js +0 -0
  165. /package/dist/node_modules/.pnpm/{@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3 → @wikicasa-dev_vue-composables@0.0.24-alpha.2}/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js +0 -0
  166. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/autoplay.css.js +0 -0
  167. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/autoplay.js +0 -0
  168. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/controller.css.js +0 -0
  169. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/keyboard.css.js +0 -0
  170. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/navigation.js +0 -0
  171. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/thumbs.css.js +0 -0
  172. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/shared/classes-to-selector.js +0 -0
  173. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/shared/create-element-if-not-defined.js +0 -0
  174. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/shared/ssr-window.esm.js +0 -0
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as L, mergeModels as y, useModel as F, ref as d, computed as k, onBeforeMount as H, watch as f, createBlock as g, openBlock as h, normalizeClass as K, withCtx as s, createElementBlock as T, Fragment as z, renderList as A, unref as N, createElementVNode as U, createVNode as W, renderSlot as $ } from "vue";
2
- import j from "./BaseInput.vue.js";
3
- import '../../../../assets/packages/components/lib/UIKit/BaseInput.css';/* empty css */
2
+ import j from "../../../../UIKit/BaseInput.js";
4
3
  import q from "./BaseDropDown.vue.js";
5
4
  import "../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
6
- import { debounce as G } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js";
5
+ import "date-fns";
6
+ import { debounce as G } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22-alpha.2/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js";
7
7
  import "../../../../_virtual/polyline.js";
8
8
  import J from "./BaseSelect/SelectItem.vue.js";
9
- import { useKeyboardController as Q } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
10
- const R = ["innerHTML"], ne = /* @__PURE__ */ L({
9
+ import { useKeyboardController as Q } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.24-alpha.2/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
10
+ const R = ["innerHTML"], ae = /* @__PURE__ */ L({
11
11
  __name: "BaseAutocomplete",
12
12
  props: /* @__PURE__ */ y({
13
13
  isValid: { default: null },
@@ -36,7 +36,7 @@ const R = ["innerHTML"], ne = /* @__PURE__ */ L({
36
36
  const r = F(
37
37
  o,
38
38
  "modelValue"
39
- ), u = V, i = d(""), a = d([]), p = d(null), b = d(!1), l = d(!1), w = d(null), B = k(() => a.value.length);
39
+ ), u = V, i = d(""), n = d([]), p = d(null), b = d(!1), l = d(!1), w = d(null), B = k(() => n.value.length);
40
40
  H(() => {
41
41
  p.value = G({ delay: 300 }, o.onInputChangeCb);
42
42
  });
@@ -51,22 +51,22 @@ const R = ["innerHTML"], ne = /* @__PURE__ */ L({
51
51
  case "all-bordered":
52
52
  return "!uikit-rounded " + (l.value && "!uikit-rounded-b-none");
53
53
  case "all-bordered-thick":
54
- return "!uikit-rounded-[30px] !uikit-h-[52px] " + (l.value && "!uikit-rounded-b-none");
54
+ return "!uikit-rounded-xl !uikit-h-[52px] " + (l.value && "!uikit-rounded-b-none");
55
55
  default:
56
56
  return "";
57
57
  }
58
- }), M = k(() => {
58
+ }), I = k(() => {
59
59
  switch (o.theme) {
60
60
  case "bordered":
61
61
  return "";
62
62
  case "all-bordered":
63
63
  return "uikit-border uikit-border-w-lavender uikit-border-solid !uikit-rounded !uikit-border-w-lavender !uikit-border " + (l.value ? "!uikit-border-b-0 !uikit-rounded-b-none" : "");
64
64
  case "all-bordered-thick":
65
- return "!uikit-rounded-[30px] !uikit-h-[60px] !uikit-border-w-lavender !uikit-border-none " + (l.value ? "!uikit-rounded-b-none" : "");
65
+ return "!uikit-rounded-xl !uikit-h-[60px] !uikit-border-w-lavender !uikit-border-none " + (l.value ? "!uikit-rounded-b-none" : "");
66
66
  default:
67
67
  return "";
68
68
  }
69
- }), I = k(() => {
69
+ }), M = k(() => {
70
70
  const e = "uikit-rounded-b-xl uikit-shadow uikit-rounded-t-none uikit-mb-0 !uikit-mt-0 uikit-text-w-black !uikit-rounded-b-xl !uikit-rounded-t-none";
71
71
  switch (o.theme) {
72
72
  case "bordered":
@@ -81,15 +81,15 @@ const R = ["innerHTML"], ne = /* @__PURE__ */ L({
81
81
  }), D = async (e) => {
82
82
  if (i.value !== e && (u("changedValue", e), i.value = e, !!o.onInputChangeCb)) {
83
83
  if (!e || b.value) {
84
- a.value = [], b.value = !1, m.value = -1, v.value = -1, r.value && (r.value.label = ""), l.value = !1, await p.value(null);
84
+ n.value = [], b.value = !1, m.value = -1, v.value = -1, r.value && (r.value.label = ""), l.value = !1, await p.value(null);
85
85
  return;
86
86
  }
87
- o.disableCb || (a.value = await p.value(e), l.value = !!a.value.length);
87
+ o.disableCb || (n.value = await p.value(e), l.value = !!n.value.length);
88
88
  }
89
89
  }, C = (e, t) => {
90
- o.onOptionSelectedCb && o.onOptionSelectedCb(e), o.cleanupOnClose && (a.value = []), b.value = !0, i.value = e.label, r.value = e, l.value = !1, m.value = t;
90
+ o.onOptionSelectedCb && o.onOptionSelectedCb(e), o.cleanupOnClose && (n.value = []), b.value = !0, i.value = e.label, r.value = e, l.value = !1, m.value = t;
91
91
  }, E = () => {
92
- a.value.length && o.keepState !== "closed" && (l.value = !0);
92
+ n.value.length && o.keepState !== "closed" && (l.value = !0);
93
93
  };
94
94
  return f(
95
95
  r,
@@ -98,13 +98,13 @@ const R = ["innerHTML"], ne = /* @__PURE__ */ L({
98
98
  },
99
99
  { immediate: !0 }
100
100
  ), f(m, (e) => {
101
- if (e === -1 || !a.value.length) return;
102
- const t = a.value[e];
101
+ if (e === -1 || !n.value.length) return;
102
+ const t = n.value[e];
103
103
  b.value && t.label === r.value?.label || C(t, e);
104
104
  }), f(
105
105
  () => o.keepState,
106
106
  (e) => {
107
- e === "closed" ? (l.value = !1, o.cleanupOnClose && (a.value = [])) : e === "open" && a.value.length && (l.value = !0);
107
+ e === "closed" ? (l.value = !1, o.cleanupOnClose && (n.value = [])) : e === "open" && n.value.length && (l.value = !0);
108
108
  }
109
109
  ), f(l, (e) => {
110
110
  u("update:dropdownState", e);
@@ -121,18 +121,18 @@ const R = ["innerHTML"], ne = /* @__PURE__ */ L({
121
121
  { "all-bordered-dropdown": e.theme === "all-bordered" },
122
122
  { "all-bordered-dropdown thick": e.theme === "all-bordered-thick" },
123
123
  {
124
- "uikit-mt-10px !uikit-border !uikit-border-w-lightgray !uikit-rounded-xs": !e.theme
124
+ "uikit-mt-10px !uikit-border !uikit-border-w-secondary !uikit-rounded-xs": !e.theme
125
125
  },
126
- I.value,
126
+ M.value,
127
127
  "!uikit-max-h-[210px] uikit-z-30",
128
128
  e.dropdownClasses
129
129
  ],
130
130
  "open-dropdown": l.value,
131
- "keep-state": !a.value.length || e.keepState === "closed" ? "closed" : "opened",
131
+ "keep-state": !n.value.length || e.keepState === "closed" ? "closed" : "opened",
132
132
  "close-when-clicked-outside": e.closeDropdownOnBodyPressed,
133
133
  "activate-keyboard-controller": !1,
134
- "onUpdate:dropdownState": t[3] || (t[3] = (n) => l.value = n),
135
- onClick: t[4] || (t[4] = (n) => {
134
+ "onUpdate:dropdownState": t[3] || (t[3] = (a) => l.value = a),
135
+ onClick: t[4] || (t[4] = (a) => {
136
136
  u("click"), E();
137
137
  })
138
138
  }, {
@@ -154,31 +154,31 @@ const R = ["innerHTML"], ne = /* @__PURE__ */ L({
154
154
  e.inputClasses,
155
155
  "!uikit-ml-0 !uikit-w-full"
156
156
  ],
157
- "fieldset-classes": [M.value, e.fieldsetClasses],
158
- "onUpdate:modelValue": t[0] || (t[0] = (n) => D(n === void 0 ? "" : `${n}`)),
159
- onKeydown: t[1] || (t[1] = (n) => u("keydown", n)),
157
+ "fieldset-classes": [I.value, e.fieldsetClasses],
158
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => D(a === void 0 ? "" : `${a}`)),
159
+ onKeydown: t[1] || (t[1] = (a) => u("keydown", a)),
160
160
  onKeydownEnterPressed: t[2] || (t[2] = () => u("keydownEnterPressed"))
161
161
  }, {
162
162
  leftIcon: s(() => [
163
163
  $(e.$slots, "lefticon")
164
164
  ]),
165
- righticon: s(({ handleClean: n }) => [
166
- $(e.$slots, "righticon", { handleClean: n })
165
+ righticon: s(({ handleClean: a }) => [
166
+ $(e.$slots, "righticon", { handleClean: a })
167
167
  ]),
168
168
  _: 3
169
169
  }, 8, ["id", "data-cy", "label-text", "model-value", "is-valid", "disabled", "placeholder", "with-left-icon", "with-right-icon", "input-class", "fieldset-classes"])
170
170
  ]),
171
171
  default: s(() => [
172
- (h(!0), T(z, null, A(a.value, (n, c) => (h(), g(J, {
172
+ (h(!0), T(z, null, A(n.value, (a, c) => (h(), g(J, {
173
173
  key: c,
174
174
  active: N(v) === c,
175
- class: "uikit-py-xs uikit-m-1 uikit-rounded-[5px] uikit-px-5 hover:uikit-cursor-pointer",
176
- onClick: (P) => C(n, c),
175
+ class: "uikit-m-1 uikit-rounded-[5px] uikit-px-5 uikit-py-10px hover:uikit-cursor-pointer",
176
+ onClick: (P) => C(a, c),
177
177
  onMouseover: (P) => v.value = c
178
178
  }, {
179
179
  default: s(() => [
180
180
  U("span", {
181
- innerHTML: n.label
181
+ innerHTML: a.label
182
182
  }, null, 8, R)
183
183
  ]),
184
184
  _: 2
@@ -189,5 +189,5 @@ const R = ["innerHTML"], ne = /* @__PURE__ */ L({
189
189
  }
190
190
  });
191
191
  export {
192
- ne as default
192
+ ae as default
193
193
  };
@@ -1,54 +1,19 @@
1
- import { defineComponent as a, createElementBlock as t, openBlock as u, normalizeClass as d, renderSlot as r } from "vue";
2
- const l = /* @__PURE__ */ a({
1
+ import { defineComponent as s, createElementBlock as a, openBlock as t, normalizeClass as r, renderSlot as i } from "vue";
2
+ const o = ["id"], p = /* @__PURE__ */ s({
3
+ inheritAttrs: !1,
3
4
  __name: "BaseBadge",
4
5
  props: {
5
- badgeClass: { default: "primary-sm" }
6
+ badgeClass: { default: "uikit-badge-w-primary-sm" }
6
7
  },
7
- setup(n) {
8
- const e = {
9
- /**
10
- * @deprecated Old style
11
- */
12
- warning: "uikit-badge-w-warning",
13
- /**
14
- * @deprecated Old style
15
- */
16
- lavender: "uikit-badge-w-lavender",
17
- /**
18
- * @deprecated Old style
19
- */
20
- danger: "uikit-badge-w-danger",
21
- /**
22
- * @deprecated Old style
23
- */
24
- "outline-tag": "uikit-badge-outline-tag",
25
- /**
26
- * @deprecated Old style
27
- */
28
- "primary-sm": "uikit-badge-w-pink-sm",
29
- /**
30
- * @deprecated Old style
31
- */
32
- "dark-primary": "uikit-badge-w-darkblue",
33
- /**
34
- * @deprecated Old style
35
- */
36
- "outline-tag-listing": "uikit-badge-outline-tag-listing",
37
- gold: "uikit-badge-gold",
38
- silver: "uikit-badge-silver",
39
- premium: "uikit-badge-premium",
40
- luxury: "uikit-badge-luxury",
41
- alert: "uikit-badge-alert",
42
- new: "uikit-badge-new",
43
- discount: "uikit-badge-discount"
44
- };
45
- return (i, s) => (u(), t("span", {
46
- class: d(["uikit-badge uikit-rounded-2xs uikit-px-xs uikit-py-2xs uikit-text uikit-font-medium uikit-shadow-sm", e[i.badgeClass]])
8
+ setup(d) {
9
+ return (e, l) => (t(), a("span", {
10
+ id: e.$attrs.id,
11
+ class: r(["uikit-badge uikit-shadow-sm", e.badgeClass, e.$attrs.class])
47
12
  }, [
48
- r(i.$slots, "default")
49
- ], 2));
13
+ i(e.$slots, "default")
14
+ ], 10, o));
50
15
  }
51
16
  });
52
17
  export {
53
- l as default
18
+ p as default
54
19
  };
@@ -1,48 +1,51 @@
1
- import { defineComponent as m, computed as k, createElementBlock as i, openBlock as l, createElementVNode as o, normalizeClass as r, Fragment as u, renderList as p, renderSlot as d, toDisplayString as b, createTextVNode as h } from "vue";
2
- const f = {
3
- "aria-label": "Breadcrumb",
4
- class: "uikit-text"
5
- }, C = ["data-tooltip", "data-active"], g = ["href"], B = /* @__PURE__ */ m({
1
+ import { defineComponent as d, computed as k, createElementBlock as s, openBlock as i, createElementVNode as n, normalizeClass as a, Fragment as u, renderList as p, renderSlot as c, toDisplayString as h, createVNode as b, unref as f } from "vue";
2
+ import { ArrowIcon as C } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12-alpha.2/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
3
+ import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12-alpha.2/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
4
+ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], v = /* @__PURE__ */ d({
6
5
  __name: "BaseBreadcrumb",
7
6
  props: {
8
7
  items: {},
9
8
  listClasses: {},
10
9
  listItemClasses: {}
11
10
  },
12
- setup(a) {
13
- const c = k(() => {
11
+ setup(r) {
12
+ const m = k(() => {
14
13
  let e = 0;
15
- const t = [];
16
- for (; e < a.items.length; )
17
- t.push({ ...a.items[e], idx: e }), e < a.items.length - 1 && t.push({ arrowIcon: !0 }), e++;
18
- return t;
14
+ const l = [];
15
+ for (; e < r.items.length; )
16
+ l.push({ ...r.items[e], idx: e }), e < r.items.length - 1 && l.push({ arrowIcon: !0 }), e++;
17
+ return l;
19
18
  });
20
- return (e, t) => (l(), i("nav", f, [
21
- o("ol", {
22
- class: r(["uikit-gap-10px uikit-flex uikit-items-center uikit-p-0", e.listClasses])
19
+ return (e, l) => (i(), s("nav", g, [
20
+ n("ol", {
21
+ class: a(["uikit-flex uikit-items-center uikit-gap-10px uikit-p-0", e.listClasses])
23
22
  }, [
24
- (l(!0), i(u, null, p(c.value, (s, n) => (l(), i(u, null, [
25
- s?.label ? (l(), i("li", {
26
- key: `breadcrumb-li-${n}`,
27
- class: r(["uikit-breadcrumb-item uikit-list-none", e.listItemClasses]),
28
- "data-tooltip": s.dataTooltip,
29
- "data-active": s.active
23
+ (i(!0), s(u, null, p(m.value, (t, o) => (i(), s(u, null, [
24
+ t?.label ? (i(), s("li", {
25
+ key: `breadcrumb-li-${o}`,
26
+ class: a(["uikit-list-none", e.listItemClasses]),
27
+ "data-tooltip": t.dataTooltip
30
28
  }, [
31
- d(e.$slots, "item", {
32
- item: s
29
+ c(e.$slots, "item", {
30
+ item: t
33
31
  }, () => [
34
- o("a", {
35
- class: "uikit-no-underline [font-size:inherit]",
36
- href: s.link
37
- }, b(s.label), 9, g)
32
+ n("a", {
33
+ class: a(["uikit-text-w-black uikit-no-underline", { "uikit-text-w-primary": t.active }]),
34
+ href: t.link
35
+ }, h(t.label), 11, I)
38
36
  ])
39
- ], 10, C)) : (l(), i("li", {
40
- key: `breadcrumb-li-no-label-${n}`,
41
- class: r(["uikit-list-none uikit-px-sm", e.listItemClasses]),
37
+ ], 10, w)) : (i(), s("li", {
38
+ key: `breadcrumb-li-no-label-${o}`,
39
+ class: a(["uikit-list-none", e.listItemClasses]),
42
40
  "aria-hidden": "true"
43
41
  }, [
44
- d(e.$slots, "separator", {}, () => [
45
- t[0] || (t[0] = h(" / "))
42
+ c(e.$slots, "separator", {}, () => [
43
+ b(f(C), {
44
+ class: "-uikit-rotate-90",
45
+ "stroke-color": "#222",
46
+ width: 10,
47
+ height: 10
48
+ })
46
49
  ])
47
50
  ], 2))
48
51
  ], 64))), 256))
@@ -51,5 +54,5 @@ const f = {
51
54
  }
52
55
  });
53
56
  export {
54
- B as default
57
+ v as default
55
58
  };
@@ -1,11 +1,10 @@
1
- import { defineComponent as f, ref as v, computed as s, createElementBlock as c, openBlock as g, withModifiers as l, normalizeStyle as B, normalizeClass as h, renderSlot as r, createVNode as C } from "vue";
2
- import w from "../../../../UIKit/StaticSpinner.js";
3
- const M = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "title"], S = /* @__PURE__ */ f({
1
+ import { defineComponent as y, ref as b, computed as l, createElementBlock as f, openBlock as v, withModifiers as s, normalizeStyle as B, normalizeClass as C, renderSlot as u, createVNode as c } from "vue";
2
+ import M from "../../../../UIKit/StaticSpinner.js";
3
+ const z = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "title"], S = /* @__PURE__ */ y({
4
4
  __name: "BaseButton",
5
5
  props: {
6
- btnClass: { default: "primary" },
6
+ btnClass: { default: "uikit-btn-w-primary" },
7
7
  outlined: { type: Boolean },
8
- rounded: { type: Boolean },
9
8
  size: {},
10
9
  withMinWidth: { type: Boolean, default: !0 },
11
10
  keepActive: { type: Boolean },
@@ -17,68 +16,49 @@ const M = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "ti
17
16
  type: {}
18
17
  },
19
18
  emits: ["mouseover", "mouseout", "click"],
20
- setup(a, { emit: u }) {
21
- const n = u, d = {
22
- primary: "uikit-btn-primary",
23
- secondary: "uikit-btn-secondary",
24
- ternary: "uikit-btn-ternary",
25
- quaternary: "uikit-btn-quaternary",
26
- warning: "uikit-btn-warning",
27
- danger: "uikit-btn-danger",
28
- transparent: "uikit-btn-transparent",
29
- light: "uikit-btn-light",
30
- "show-more": "uikit-btn-show-more",
31
- "multi-selection": "uikit-btn-multi-selection",
32
- "single-selection": "uikit-btn-single-selection",
33
- facile: "uikit-btn-facile"
34
- }, k = {
35
- sm: "uikit-btn-sm",
36
- lg: "uikit-btn-lg"
37
- }, o = v(!1), b = s(
38
- () => k[a.size]
39
- ), m = s(() => a.outlined ? "uikit-btn-outline" : ""), p = () => {
40
- o.value = !0;
41
- }, y = () => {
42
- o.value = !1;
19
+ setup(o, { emit: r }) {
20
+ const a = r, n = b(!1), d = l(() => o.size ? `uikit-btn-${o.size}` : ""), m = l(() => o.outlined ? "uikit-btn-outline" : ""), p = () => {
21
+ n.value = !0;
22
+ }, k = () => {
23
+ n.value = !1;
43
24
  };
44
- return (t, e) => (g(), c("button", {
45
- id: t.$attrs.id,
46
- "data-cy": t.dataCy,
47
- type: t.type,
48
- class: h([
25
+ return (e, t) => (v(), f("button", {
26
+ id: e.$attrs.id,
27
+ "data-cy": e.dataCy,
28
+ type: e.type,
29
+ class: C([
49
30
  "uikit-btn",
50
31
  {
51
- "uikit-btn-empty": !t.withMinWidth,
52
- "active uikit-font-medium": t.keepActive,
53
- "uikit-flex uikit-items-center uikit-justify-center": t.isLoading
32
+ "uikit-btn-empty": !e.withMinWidth,
33
+ "active uikit-font-medium": e.keepActive,
34
+ "uikit-flex uikit-items-center uikit-justify-center": e.isLoading
54
35
  },
55
- d[t.btnClass],
56
- b.value,
57
- m.value,
58
- { "uikit-btn-rounded": t.rounded }
36
+ e.btnClass,
37
+ d.value,
38
+ m.value
59
39
  ]),
60
- style: B(t.$attrs.style),
61
- "data-active": t.keepActive,
62
- disabled: t.isLoading || t.disabled,
63
- "aria-label": t.ariaLabel,
64
- title: t.title,
65
- onMouseover: e[0] || (e[0] = l((i) => {
66
- p(), n("mouseover", i);
40
+ style: B(e.$attrs.style),
41
+ "data-active": e.keepActive,
42
+ disabled: e.isLoading || e.disabled,
43
+ "aria-label": e.ariaLabel,
44
+ title: e.title,
45
+ onMouseover: t[0] || (t[0] = s((i) => {
46
+ p(), a("mouseover", i);
67
47
  }, ["stop"])),
68
- onMouseout: e[1] || (e[1] = l((i) => {
69
- y(), n("mouseout", i);
48
+ onMouseout: t[1] || (t[1] = s((i) => {
49
+ k(), a("mouseout", i);
70
50
  }, ["stop"])),
71
- onClick: e[2] || (e[2] = (i) => n("click", i))
51
+ onClick: t[2] || (t[2] = (i) => a("click", i))
72
52
  }, [
73
- t.isLoading ? r(t.$slots, "spinner", { key: 1 }, () => [
74
- C(w, {
75
- "stroke-color": t.outlined ? "#ACB4C3" : "#fff"
53
+ e.isLoading ? u(e.$slots, "spinner", { key: 1 }, () => [
54
+ c(M, {
55
+ "stroke-color": e.outlined ? "#ACB4C3" : "#fff"
76
56
  }, null, 8, ["stroke-color"])
77
- ]) : r(t.$slots, "default", {
57
+ ]) : u(e.$slots, "default", {
78
58
  key: 0,
79
- hover: o.value
59
+ hover: n.value
80
60
  })
81
- ], 46, M));
61
+ ], 46, z));
82
62
  }
83
63
  });
84
64
  export {
@@ -1,13 +1,13 @@
1
- import { defineComponent as v, mergeModels as T, useModel as y, computed as c, createElementBlock as r, openBlock as g, normalizeClass as o, createElementVNode as t, withModifiers as f, renderSlot as m, createCommentVNode as k } from "vue";
2
- const C = ["id", "data-cy"], $ = ["data-btn-bg-color", "data-cy"], L = ["src", "alt"], M = ["innerHTML"], z = ["data-btn-bg-color", "data-cy"], B = ["src", "alt"], V = ["innerHTML"], j = /* @__PURE__ */ v({
1
+ import { defineComponent as v, mergeModels as T, useModel as C, computed as c, createElementBlock as n, openBlock as r, normalizeClass as o, createElementVNode as t, withModifiers as f, renderSlot as m, createCommentVNode as k } from "vue";
2
+ const y = ["id", "data-cy"], $ = ["data-btn-bg-color", "data-cy"], L = ["src", "alt"], M = ["innerHTML"], z = ["data-btn-bg-color", "data-cy"], B = ["src", "alt"], V = ["innerHTML"], j = /* @__PURE__ */ v({
3
3
  __name: "BaseComplexToggle",
4
4
  props: /* @__PURE__ */ T({
5
5
  labels: {},
6
6
  type: { default: "full" },
7
7
  mode: { default: "" },
8
- btnBgColor: { default: "uikit-bg-w-gray" },
8
+ btnBgColor: { default: "uikit-bg-w-lavender" },
9
9
  btnClasses: {},
10
- borderContainerColor: { default: "uikit-border-w-gray" },
10
+ borderContainerColor: { default: "uikit-border-w-secondary" },
11
11
  size: { default: "" }
12
12
  }, {
13
13
  modelValue: {
@@ -16,8 +16,8 @@ const C = ["id", "data-cy"], $ = ["data-btn-bg-color", "data-cy"], L = ["src", "
16
16
  modelModifiers: {}
17
17
  }),
18
18
  emits: ["update:modelValue"],
19
- setup(n) {
20
- const l = n, a = y(n, "modelValue"), s = () => {
19
+ setup(g) {
20
+ const l = g, a = C(g, "modelValue"), s = () => {
21
21
  a.value = l.labels.leftToggle;
22
22
  }, u = () => {
23
23
  a.value = l.labels.rightToggle;
@@ -34,7 +34,7 @@ const C = ["id", "data-cy"], $ = ["data-btn-bg-color", "data-cy"], L = ["src", "
34
34
  s();
35
35
  })();
36
36
  const b = (e) => a.value?.label === e.label, d = c(() => b(l.labels.leftToggle)), p = c(() => b(l.labels.rightToggle));
37
- return (e, i) => (g(), r("div", {
37
+ return (e, i) => (r(), n("div", {
38
38
  id: e.$attrs.id || "",
39
39
  "data-cy": e.$attrs["data-cy"] || "",
40
40
  class: o(["base-complex-toggle uikit-relative uikit-flex uikit-justify-center uikit-p-0", [e.mode, e.borderContainerColor, e.size]])
@@ -50,9 +50,9 @@ const C = ["id", "data-cy"], $ = ["data-btn-bg-color", "data-cy"], L = ["src", "
50
50
  onClick: i[0] || (i[0] = f((h) => s(), ["stop"]))
51
51
  }, [
52
52
  m(e.$slots, "left_icon", {}, () => [
53
- e.labels.leftToggle.icon ? (g(), r("img", {
53
+ e.labels.leftToggle.icon ? (r(), n("img", {
54
54
  key: 0,
55
- class: "base-complex-toggle-icon uikit-mr-10px uikit-relative uikit-z-10",
55
+ class: "base-complex-toggle-icon uikit-relative uikit-z-10 uikit-mr-10px",
56
56
  src: e.labels.leftToggle.icon.src,
57
57
  alt: e.labels.leftToggle.icon.alt,
58
58
  width: "15",
@@ -75,9 +75,9 @@ const C = ["id", "data-cy"], $ = ["data-btn-bg-color", "data-cy"], L = ["src", "
75
75
  onClick: i[1] || (i[1] = f((h) => u(), ["stop"]))
76
76
  }, [
77
77
  m(e.$slots, "right_icon", {}, () => [
78
- e.labels.rightToggle.icon ? (g(), r("img", {
78
+ e.labels.rightToggle.icon ? (r(), n("img", {
79
79
  key: 0,
80
- class: "base-complex-toggle-icon uikit-mr-10px uikit-relative uikit-z-10",
80
+ class: "base-complex-toggle-icon uikit-relative uikit-z-10 uikit-mr-10px",
81
81
  src: e.labels.rightToggle.icon.src,
82
82
  alt: e.labels.rightToggle.icon.alt,
83
83
  width: "15",
@@ -98,7 +98,7 @@ const C = ["id", "data-cy"], $ = ["data-btn-bg-color", "data-cy"], L = ["src", "
98
98
  e.btnClasses
99
99
  ]])
100
100
  }, null, 2)
101
- ], 10, C));
101
+ ], 10, y));
102
102
  }
103
103
  });
104
104
  export {