@wikicasa-dev/components 2.1.4-alpha.8 → 2.1.4

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 (178) 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 -6
  49. package/dist/index.js +85 -100
  50. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js +4 -0
  51. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js +4 -0
  52. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js +12 -0
  53. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/NumberUtils.js +18 -0
  54. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/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 +30 -30
  70. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js +2 -2
  71. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js +9 -9
  72. package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +13 -107
  73. package/dist/packages/components/lib/UIKit/BaseAutocomplete.vue.js +27 -28
  74. package/dist/packages/components/lib/UIKit/BaseBadge.vue.js +11 -46
  75. package/dist/packages/components/lib/UIKit/BaseBreadcrumb.vue.js +35 -32
  76. package/dist/packages/components/lib/UIKit/BaseButton.vue.js +36 -56
  77. package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +12 -12
  78. package/dist/packages/components/lib/UIKit/BaseDropDown.vue.js +45 -48
  79. package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +17 -14
  80. package/dist/packages/components/lib/UIKit/BaseInput.vue.js +119 -93
  81. package/dist/packages/components/lib/UIKit/BaseModal.vue.js +66 -70
  82. package/dist/packages/components/lib/UIKit/BasePagination.vue.js +134 -89
  83. package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +178 -107
  84. package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +7 -7
  85. package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +73 -55
  86. package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +31 -27
  87. package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +33 -48
  88. package/dist/packages/components/lib/UIKit/BaseUploadFile.vue.js +40 -19
  89. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js +52 -55
  90. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +26 -20
  91. package/dist/packages/components/lib/UIKit/Radio/RadioButton.vue.js +9 -9
  92. package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +9 -10
  93. package/dist/packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +9 -10
  94. package/dist/packages/components/lib/UIKit/Slider/SimpleSlider.vue.js +82 -0
  95. package/dist/packages/components/lib/UIKit/Tab/BaseTabList.vue.js +27 -28
  96. package/dist/packages/components/lib/UIKit/Tab/BaseTabView.vue.js +19 -21
  97. package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +6 -5
  98. package/dist/utils.d.ts +1 -1
  99. package/dist/utils.js +3 -5
  100. package/package.json +17 -20
  101. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement1.js +0 -4
  102. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement2.js +0 -4
  103. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement3.js +0 -4
  104. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement4.js +0 -4
  105. package/dist/UIKit/BaseBanner.js +0 -4
  106. package/dist/UIKit/BaseChip.js +0 -4
  107. package/dist/UIKit/BaseCollapse.js +0 -7
  108. package/dist/UIKit/BaseNotificationBadge.js +0 -4
  109. package/dist/UIKit/BasePin.d.ts +0 -22
  110. package/dist/UIKit/BasePin.js +0 -5
  111. package/dist/UIKit/BaseSelect.d.ts +0 -26
  112. package/dist/UIKit/BaseSelect.js +0 -5
  113. package/dist/UIKit/DatePicker.js +0 -5
  114. package/dist/UIKit/InputDropdown.js +0 -4
  115. package/dist/UIKit/Navigation/NavigationBar.d.ts +0 -17
  116. package/dist/UIKit/Navigation/NavigationBar.js +0 -5
  117. package/dist/UIKit/Navigation/NavigationBarItem.d.ts +0 -34
  118. package/dist/UIKit/Navigation/NavigationBarItem.js +0 -4
  119. package/dist/UIKit/SegmentedControl/SegmentedControl.js +0 -4
  120. package/dist/UIKit/SegmentedControl/SegmentedControlItem.js +0 -4
  121. package/dist/UIKit/Tab/BaseTabItem.d.ts +0 -27
  122. package/dist/UIKit/Tab/BaseTabItem.js +0 -4
  123. package/dist/_virtual/_commonjsHelpers.js +0 -6
  124. package/dist/_virtual/create-plugin.js +0 -4
  125. package/dist/_virtual/createPlugin.js +0 -4
  126. package/dist/_virtual/plugin.js +0 -7
  127. 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
  128. package/dist/assets/packages/components/lib/UIKit/BaseBreadcrumb.css +0 -1
  129. package/dist/assets/packages/components/lib/UIKit/BaseCollapse.css +0 -1
  130. package/dist/assets/packages/components/lib/UIKit/BasePin.css +0 -1
  131. package/dist/assets/packages/components/lib/UIKit/BaseSelect.css +0 -1
  132. package/dist/assets/packages/components/lib/UIKit/DatePicker.css +0 -1
  133. package/dist/assets/packages/components/lib/UIKit/Navigation/NavigationBar.css +0 -1
  134. 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
  135. 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
  136. 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
  137. 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
  138. package/dist/node_modules/.pnpm/tailwindcss@3.4.15_ts-node@10.9.2_@types_node@24.0.1_typescript@5.8.3_/node_modules/tailwindcss/lib/public/create-plugin.js +0 -25
  139. package/dist/node_modules/.pnpm/tailwindcss@3.4.15_ts-node@10.9.2_@types_node@24.0.1_typescript@5.8.3_/node_modules/tailwindcss/lib/util/createPlugin.js +0 -34
  140. package/dist/node_modules/.pnpm/tailwindcss@3.4.15_ts-node@10.9.2_@types_node@24.0.1_typescript@5.8.3_/node_modules/tailwindcss/plugin.js +0 -11
  141. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement1.vue.js +0 -29
  142. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement2.vue.js +0 -56
  143. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement3.vue.js +0 -56
  144. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement4.vue.js +0 -56
  145. package/dist/packages/components/lib/UIKit/BaseBanner.vue.js +0 -75
  146. package/dist/packages/components/lib/UIKit/BaseChip.vue.js +0 -38
  147. package/dist/packages/components/lib/UIKit/BaseCollapse.vue.js +0 -54
  148. package/dist/packages/components/lib/UIKit/BaseNotificationBadge.vue.js +0 -19
  149. package/dist/packages/components/lib/UIKit/BasePin.vue.js +0 -37
  150. package/dist/packages/components/lib/UIKit/BaseSelect.vue.js +0 -65
  151. package/dist/packages/components/lib/UIKit/DatePicker.vue.js +0 -143
  152. package/dist/packages/components/lib/UIKit/InputDropdown.vue.js +0 -152
  153. package/dist/packages/components/lib/UIKit/Navigation/NavigationBar.vue.js +0 -21
  154. package/dist/packages/components/lib/UIKit/Navigation/NavigationBarItem.vue.js +0 -48
  155. package/dist/packages/components/lib/UIKit/SegmentedControl/SegmentedControl.vue.js +0 -93
  156. package/dist/packages/components/lib/UIKit/SegmentedControl/SegmentedControlItem.vue.js +0 -30
  157. package/dist/packages/components/lib/UIKit/Tab/BaseTabItem.vue.js +0 -39
  158. package/dist/plugins/buttonPlugin.d.ts +0 -4
  159. package/dist/plugins/buttonPlugin.js +0 -232
  160. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/free-mode.css +0 -0
  161. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/navigation.css +0 -0
  162. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/pagination.css +0 -0
  163. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/zoom.css +0 -0
  164. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/swiper.css +0 -0
  165. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js +0 -0
  166. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js +0 -0
  167. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/DefaultValues-CpabIgVz.js +0 -0
  168. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js +0 -0
  169. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js +0 -0
  170. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/autoplay.css.js +0 -0
  171. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/autoplay.js +0 -0
  172. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/controller.css.js +0 -0
  173. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/keyboard.css.js +0 -0
  174. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/navigation.js +0 -0
  175. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/modules/thumbs.css.js +0 -0
  176. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/shared/classes-to-selector.js +0 -0
  177. /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
  178. /package/dist/node_modules/.pnpm/{swiper@11.2.8 → swiper@11.2.6}/node_modules/swiper/shared/ssr-window.esm.js +0 -0
@@ -1,12 +1,12 @@
1
- import { defineComponent as L, mergeModels as h, useId as M, useModel as E, ref as y, computed as H, useTemplateRef as O, watch as d, onBeforeMount as W, onMounted as $, onUnmounted as K, createElementBlock as N, openBlock as p, withModifiers as C, normalizeClass as l, renderSlot as g, createBlock as D, createVNode as T, unref as i, withCtx as S, createElementVNode as V, createCommentVNode as q, resolveDynamicComponent as z } from "vue";
1
+ import { defineComponent as L, mergeModels as b, useId as M, useModel as E, ref as h, computed as O, useTemplateRef as W, watch as n, onBeforeMount as $, onMounted as H, onUnmounted as K, createElementBlock as N, openBlock as u, withModifiers as C, normalizeClass as i, renderSlot as g, createBlock as y, createVNode as T, unref as l, withCtx as D, createElementVNode as V, createCommentVNode as q, resolveDynamicComponent as z } from "vue";
2
2
  import R from "./BaseButton.vue.js";
3
- import { ArrowIcon as U } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
4
- import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
3
+ import { ArrowIcon as U } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
4
+ import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
5
5
  import { useKeyboardController as j } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
6
- const x = ["innerHTML"], Y = /* @__PURE__ */ L({
6
+ const F = ["innerHTML"], Z = /* @__PURE__ */ L({
7
7
  inheritAttrs: !1,
8
8
  __name: "BaseDropDown",
9
- props: /* @__PURE__ */ h({
9
+ props: /* @__PURE__ */ b({
10
10
  dropdownClasses: { default: "" },
11
11
  btnClasses: { default: "" },
12
12
  withArrowIcon: { type: Boolean, default: !1 },
@@ -21,7 +21,6 @@ const x = ["innerHTML"], Y = /* @__PURE__ */ L({
21
21
  dropdownElement: { default: "div" },
22
22
  keepState: { default: "" },
23
23
  activateKeyboardController: { type: Boolean, default: !0 },
24
- disableSpaceHandler: { type: Boolean, default: !1 },
25
24
  dataCy: { default: "" }
26
25
  }, {
27
26
  toggleDropdown: {
@@ -29,15 +28,14 @@ const x = ["innerHTML"], Y = /* @__PURE__ */ L({
29
28
  },
30
29
  toggleDropdownModifiers: {}
31
30
  }),
32
- emits: /* @__PURE__ */ h(["click", "update:dropdownState", "update:selectedIdx"], ["update:toggleDropdown"]),
33
- setup(c, { emit: I }) {
34
- const o = c, f = M(), n = I, k = E(c, "toggleDropdown"), t = y(!1), r = y([]), B = H(() => r.value.length), w = O("dropdown"), { activeIdx: m, selectedIdx: s } = j({
35
- optionsLength: B,
31
+ emits: /* @__PURE__ */ b(["click", "update:dropdownState"], ["update:toggleDropdown"]),
32
+ setup(p, { emit: B }) {
33
+ const o = p, c = M(), f = B, k = E(p, "toggleDropdown"), t = h(!1), d = h([]), I = O(() => d.value.length), w = W("dropdown"), { activeIdx: m, selectedIdx: r } = j({
34
+ optionsLength: I,
36
35
  isDropdownOpen: t,
37
- activate: o.activateKeyboardController,
38
- disableSpaceHandler: o.disableSpaceHandler
36
+ activate: o.activateKeyboardController
39
37
  });
40
- d(
38
+ n(
41
39
  () => o.openDropdown,
42
40
  (e) => {
43
41
  t.value = e;
@@ -45,58 +43,57 @@ const x = ["innerHTML"], Y = /* @__PURE__ */ L({
45
43
  {
46
44
  immediate: !0
47
45
  }
48
- ), d(t, (e) => {
49
- n("update:dropdownState", e);
50
- }), d(k, (e) => {
46
+ ), n(t, (e) => {
47
+ f("update:dropdownState", e);
48
+ }), n(k, (e) => {
51
49
  e && (t.value = !t.value, k.value = !1);
52
- }), d(s, (e) => {
53
- e !== -1 && (r.value[e].querySelector("a")?.click(), n("update:selectedIdx", e));
50
+ }), n(r, (e) => {
51
+ e !== -1 && d.value[e].querySelector("a")?.click();
54
52
  });
55
53
  const v = () => {
56
54
  t.value = !1;
57
- }, u = () => {
55
+ }, s = () => {
58
56
  o.keepState === "closed" && !t.value || o.keepState === "opened" && t.value || (t.value = !t.value);
59
- }, b = (e) => {
57
+ }, S = (e) => {
60
58
  e != null && (m.value = e);
61
59
  }, A = (e) => {
62
- e != null && (s.value = e);
60
+ e != null && (r.value = e);
63
61
  };
64
- return W(() => {
62
+ return $(() => {
65
63
  o.closeWhenClickedOutside && document.body.addEventListener("click", v);
66
- }), $(() => {
67
- w.value && (r.value = w.value.children || []);
64
+ }), H(() => {
65
+ w.value && (d.value = w.value.children || []);
68
66
  }), K(() => {
69
67
  o.closeWhenClickedOutside && document.body.removeEventListener("click", v);
70
- }), (e, a) => (p(), N("div", {
71
- class: l(["uikit-relative uikit-block", e.$attrs.class]),
72
- onClick: a[1] || (a[1] = C((F) => {
73
- n("click"), u();
68
+ }), (e, a) => (u(), N("div", {
69
+ class: i(["uikit-relative uikit-block", e.$attrs.class]),
70
+ onClick: a[1] || (a[1] = C((G) => {
71
+ f("click"), s();
74
72
  }, ["stop"]))
75
73
  }, [
76
74
  g(e.$slots, "btn_slot", {
77
- toggleDropdown: u,
78
- isOpen: t.value,
79
- setActiveIdx: b
75
+ toggleDropdown: s,
76
+ isOpen: t.value
80
77
  }, () => [
81
78
  T(R, {
82
- id: i(f),
79
+ id: l(c),
83
80
  type: "button",
84
81
  "data-cy": e.dataCy,
85
- class: l([
82
+ class: i([
86
83
  "!uikit-flex uikit-w-full uikit-items-center uikit-truncate",
87
84
  e.btnClasses
88
85
  ]),
89
86
  "aria-expanded": t.value,
90
- "btn-class": "single-selection"
87
+ "btn-class": "uikit-btn-single-selection"
91
88
  }, {
92
- default: S(() => [
89
+ default: D(() => [
93
90
  V("span", {
94
- class: l(["uikit-mr-5px", e.labelClasses]),
91
+ class: i(["uikit-mr-5px", e.labelClasses]),
95
92
  innerHTML: e.btnLabel
96
- }, null, 10, x),
97
- e.withArrowIcon ? (p(), D(i(U), {
93
+ }, null, 10, F),
94
+ e.withArrowIcon ? (u(), y(l(U), {
98
95
  key: 0,
99
- class: l(["uikit-shrink-0 uikit-transition-transform motion-reduce:uikit-transition-none", t.value ? "uikit-rotate-180" : ""]),
96
+ class: i(["uikit-shrink-0 uikit-transition-transform motion-reduce:uikit-transition-none", t.value ? "uikit-rotate-180" : ""]),
100
97
  width: e.arrowWidth,
101
98
  height: e.arrowWidth,
102
99
  "stroke-color": e.arrowStrokeColor
@@ -105,11 +102,11 @@ const x = ["innerHTML"], Y = /* @__PURE__ */ L({
105
102
  _: 1
106
103
  }, 8, ["id", "data-cy", "class", "aria-expanded"])
107
104
  ]),
108
- (p(), D(z(e.dropdownElement), {
109
- id: "dropdown_" + i(f),
105
+ (u(), y(z(e.dropdownElement), {
106
+ id: "dropdown_" + l(c),
110
107
  ref: "dropdown",
111
108
  "data-cy": e.dataCy && `${e.dataCy}_dropdown`,
112
- class: l(["uikit-border-w-lavender uikit-max-h-[220px] uikit-w-full uikit-min-w-[90px] uikit-flex-col uikit-overflow-y-auto uikit-border uikit-border-solid uikit-bg-white uikit-pl-0 uikit-opacity-100 uikit-shadow uikit-no-scrollbar", [
109
+ class: i(["uikit-max-h-[220px] uikit-w-full uikit-min-w-[90px] uikit-flex-col uikit-overflow-y-auto uikit-border uikit-border-solid uikit-border-w-lavender uikit-bg-white uikit-pl-0 uikit-opacity-100 uikit-shadow uikit-no-scrollbar", [
113
110
  e.dropdownClasses,
114
111
  t.value ? "uikit-flex" : "uikit-hidden",
115
112
  { "uikit-bottom-[55px] uikit-rounded-xs": e.direction === "up" },
@@ -120,13 +117,13 @@ const x = ["innerHTML"], Y = /* @__PURE__ */ L({
120
117
  onClick: a[0] || (a[0] = C(() => {
121
118
  }, ["stop"]))
122
119
  }, {
123
- default: S(() => [
120
+ default: D(() => [
124
121
  g(e.$slots, "default", {
125
122
  isOpen: t.value,
126
- toggleDropdown: u,
127
- activeIdx: i(m),
128
- selectedIdx: i(s),
129
- setActiveIdx: b,
123
+ toggleDropdown: s,
124
+ activeIdx: l(m),
125
+ selectedIdx: l(r),
126
+ setActiveIdx: S,
130
127
  setSelectedIdx: A
131
128
  })
132
129
  ]),
@@ -136,5 +133,5 @@ const x = ["innerHTML"], Y = /* @__PURE__ */ L({
136
133
  }
137
134
  });
138
135
  export {
139
- Y as default
136
+ Z as default
140
137
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as o, createElementBlock as i, openBlock as s, withModifiers as r, normalizeClass as l, createElementVNode as d, createCommentVNode as u } from "vue";
2
- const k = ["for"], b = ["innerHTML"], C = /* @__PURE__ */ o({
1
+ import { defineComponent as o, createElementBlock as l, openBlock as s, withModifiers as r, normalizeClass as t, createElementVNode as u, createCommentVNode as d } from "vue";
2
+ const k = ["for"], b = ["innerHTML"], c = /* @__PURE__ */ o({
3
3
  __name: "BaseFloatingLabel",
4
4
  props: {
5
5
  labelState: { default: "inline-label" },
@@ -10,28 +10,31 @@ const k = ["for"], b = ["innerHTML"], C = /* @__PURE__ */ o({
10
10
  labelTextClasses: {}
11
11
  },
12
12
  emits: ["click"],
13
- setup(p, { emit: a }) {
13
+ setup(m, { emit: a }) {
14
14
  const n = a;
15
- return (e, t) => (s(), i("label", {
15
+ return (e, i) => (s(), l("label", {
16
16
  for: e.$attrs.for,
17
- class: l(["uikit-floating-label uikit-h-5 uikit-pointer-events-none uikit-absolute uikit-left-sm uikit-text-16 uikit-text-w-gray", [e.labelState, { "uikit-text-w-secondary": e.disabled }, e.labelClasses]]),
18
- onClick: t[0] || (t[0] = r((f) => n("click"), ["stop"]))
17
+ class: t(["uikit-pointer-events-none uikit-absolute uikit-left-15px uikit-h-5 uikit-text-sm", [e.labelState, { "uikit-text-w-secondary": e.disabled }, e.labelClasses]]),
18
+ onClick: i[0] || (i[0] = r((p) => n("click"), ["stop"]))
19
19
  }, [
20
- d("span", {
21
- class: l([{ "uikit-text-w-secondary": e.disabled }, e.labelTextClasses]),
20
+ u("span", {
21
+ class: t(["uikit-text uikit-font-medium", [
22
+ e.disabled ? "uikit-text-w-secondary" : "uikit-text-w-black",
23
+ e.labelTextClasses
24
+ ]]),
22
25
  innerHTML: e.labelText
23
26
  }, null, 10, b),
24
- e.$attrs.required ? (s(), i("span", {
27
+ e.$attrs.required ? (s(), l("sup", {
25
28
  key: 0,
26
- class: l(["uikit-absolute -uikit-top-[0.3rem]", [
29
+ class: t(["uikit-absolute -uikit-top-[0.3rem] uikit-text", [
27
30
  { "uikit-text-w-secondary": e.disabled },
28
- { "uikit-text-w-red": e.isValid === !1 },
29
- { "uikit-text-w-pink": (e.isValid || e.isValid === null) && !e.disabled }
31
+ { "uikit-text-w-danger": e.isValid === !1 },
32
+ { "uikit-text-w-primary": (e.isValid || e.isValid === null) && !e.disabled }
30
33
  ]])
31
- }, " *", 2)) : u("", !0)
34
+ }, " *", 2)) : d("", !0)
32
35
  ], 10, k));
33
36
  }
34
37
  });
35
38
  export {
36
- C as default
39
+ c as default
37
40
  };
@@ -1,14 +1,13 @@
1
- import { defineComponent as A, mergeModels as L, useModel as N, ref as v, useAttrs as O, useId as j, computed as D, watch as p, createElementBlock as o, openBlock as s, normalizeClass as T, unref as k, renderSlot as m, createElementVNode as G, createBlock as J, createCommentVNode as h, withKeys as Q, withModifiers as g, Fragment as B, renderList as E } from "vue";
2
- import W from "./BaseFloatingLabel.vue.js";
3
- import '../../../../assets/packages/components/lib/UIKit/BaseFloatingLabel.css';/* empty css */
4
- import { useFloatingLabel as X } from "../../../../composables/useFloatingLabel.js";
5
- const Y = ["id", "data-cy", "name", "data-validation", "autocomplete", "disabled", "aria-labelledby", "readonly", "type", "pattern", "min", "max", "maxlength", "inputmode", "placeholder", "value"], Z = ["innerHTML"], x = ["innerHTML"], U = {
1
+ import { defineComponent as z, mergeModels as C, useModel as A, ref as m, watch as g, useAttrs as N, createElementBlock as r, openBlock as u, normalizeClass as v, unref as s, renderSlot as p, createElementVNode as h, createBlock as O, createCommentVNode as w, withKeys as j, withModifiers as y, Fragment as T, renderList as M } from "vue";
2
+ import D from "../../../../UIKit/BaseFloatingLabel.js";
3
+ import { useFloatingLabel as G } from "../../../../composables/useFloatingLabel.js";
4
+ const J = ["id", "data-cy", "name", "autocomplete", "disabled", "aria-labelledby", "readonly", "type", "pattern", "min", "max", "maxlength", "inputmode", "placeholder", "value"], Q = { class: "uikit-invisible uikit-float-none uikit-mb-2 uikit-ml-2 uikit-block uikit-h-3 uikit-w-auto uikit-max-w-full uikit-overflow-hidden uikit-whitespace-nowrap uikit-p-0 uikit-text uikit-transition-[max-width] uikit-duration-[50ms] uikit-ease-out" }, W = ["innerHTML"], X = ["innerHTML"], Y = ["innerHTML"], Z = {
6
5
  key: 1,
7
6
  class: "under-label uikit-absolute uikit-text-12"
8
- }, _ = "peer-data-[validation='invalid']:uikit-text-w-red peer-data-[validation='valid']:uikit-text-w-blue", ne = /* @__PURE__ */ A({
7
+ }, ie = /* @__PURE__ */ z({
9
8
  inheritAttrs: !1,
10
9
  __name: "BaseInput",
11
- props: /* @__PURE__ */ L({
10
+ props: /* @__PURE__ */ C({
12
11
  inputClass: {},
13
12
  labelText: { default: "" },
14
13
  feedback: {},
@@ -16,6 +15,7 @@ const Y = ["id", "data-cy", "name", "data-validation", "autocomplete", "disabled
16
15
  keepFloatingLabel: { type: Boolean, default: !1 },
17
16
  formatter: { default: null },
18
17
  labelClasses: {},
18
+ fieldsetClasses: {},
19
19
  labelTextClasses: {},
20
20
  withLeftIcon: { type: Boolean, default: () => {
21
21
  } },
@@ -26,71 +26,73 @@ const Y = ["id", "data-cy", "name", "data-validation", "autocomplete", "disabled
26
26
  modelValue: { default: "" },
27
27
  modelModifiers: {}
28
28
  }),
29
- emits: /* @__PURE__ */ L(["click", "keydownEnterPressed", "focusin", "focusout", "keydown", "keyup"], ["update:modelValue"]),
30
- setup(l, { expose: M, emit: H }) {
31
- const u = N(l, "modelValue"), i = v(""), d = H, {
32
- labelState: c,
33
- handleFocusIn: P,
34
- handleFocusOut: w,
35
- setInlineLabel: $,
36
- setFloatingLabel: V
37
- } = X(), I = O(), q = j(), r = D(() => I.id || q), n = v("text"), f = v({}), b = v(null), K = () => {
29
+ emits: /* @__PURE__ */ C(["click", "keydownEnterPressed", "focusin", "focusout", "keydown", "keyup"], ["update:modelValue"]),
30
+ setup(l, { expose: B, emit: E }) {
31
+ const o = A(l, "modelValue"), a = m(""), k = E, {
32
+ labelState: d,
33
+ handleFocusIn: H,
34
+ handleFocusOut: $,
35
+ setInlineLabel: V,
36
+ setFloatingLabel: I
37
+ } = G(k), n = m("text"), f = m({}), b = m(null), R = () => {
38
38
  l.feedback && (f.value = l.feedback, l.feedback.valid && typeof l.feedback.valid == "string" && (f.value.valid = [l.feedback.valid]), l.feedback.invalid && typeof l.feedback.invalid == "string" && (f.value.invalid = [l.feedback.invalid]));
39
- }, F = (e, a) => {
39
+ }, L = (e, i) => {
40
40
  if (!l.formatter || !l.formatter.formatFn)
41
- return i.value = e, "";
41
+ return a.value = e, "";
42
42
  const t = e.length ? l.formatter.formatFn(e) : e;
43
- return a && (a.value = t), i.value = t, t;
44
- }, C = (e, a = !0) => {
45
- if (a && (!l.formatter || !l.formatter.unFormatFn))
46
- return u.value = e, e;
47
- if (!a || !l.formatter || !l.formatter.unFormatFn) return;
43
+ return i && (i.value = t), a.value = t, t;
44
+ }, F = (e, i = !0) => {
45
+ if (i && (!l.formatter || !l.formatter.unFormatFn))
46
+ return o.value = e, e;
47
+ if (!i || !l.formatter || !l.formatter.unFormatFn) return;
48
48
  const t = l.formatter.unFormatFn(e);
49
- return u.value = t ?? "", t;
50
- }, R = ({ target: e }) => {
51
- const a = e, t = C(a.value);
52
- F(
49
+ return o.value = t ?? "", t;
50
+ }, P = ({ target: e }) => {
51
+ const i = e, t = F(i.value);
52
+ L(
53
53
  `${t}`,
54
- t === u.value ? a : void 0
54
+ t === o.value ? i : void 0
55
55
  );
56
- }, S = () => {
57
- u.value = "", $();
58
- }, z = () => {
56
+ }, q = () => {
57
+ o.value = "", V();
58
+ }, K = () => {
59
59
  n.value === "password" ? n.value = "text" : n.value === "text" && (n.value = "password");
60
60
  };
61
- return p(
61
+ g(
62
62
  () => l.feedback,
63
63
  () => {
64
- K();
64
+ R();
65
65
  },
66
66
  {
67
67
  immediate: !0
68
68
  }
69
- ), p(
70
- u,
69
+ ), g(
70
+ o,
71
71
  (e) => {
72
- F(
72
+ L(
73
73
  `${e}`,
74
- C(`${e}`, !1) === e ? b.value : void 0
75
- ), i.value != null && i.value.length > 0 && c.value !== "floating-label" ? V() : !i.value && document && document.activeElement !== b.value && $();
74
+ F(`${e}`, !1) === e ? b.value : void 0
75
+ ), a.value != null && a.value.length > 0 && d.value !== "floating-label" ? I() : !a.value && document && document.activeElement !== b.value && V();
76
76
  },
77
77
  {
78
78
  immediate: !0
79
79
  }
80
- ), p(
80
+ ), g(
81
81
  () => l.keepFloatingLabel,
82
82
  (e) => {
83
- e ? V() : w(u.value);
83
+ e ? I() : $(o.value);
84
84
  }
85
- ), n.value = I.type || "text", M({
85
+ );
86
+ const S = N();
87
+ return n.value = S.type || "text", B({
86
88
  select: () => {
87
89
  b.value?.select();
88
90
  }
89
- }), (e, a) => (s(), o("div", {
90
- class: T(["uikit-input-wrapper [&.has-right-icon.is-invalid_.text-input-icon]:uikit-mr-25px [&.has-right-icon.is-valid_.text-input-icon]:uikit-mr-25px uikit-relative uikit-inline-block uikit-w-full", [
91
+ }), (e, i) => (u(), r("div", {
92
+ class: v(["input-wrapper uikit-relative uikit-inline-block uikit-w-full [&.has-right-icon.is-invalid_.text-input-icon]:uikit-mr-25px [&.has-right-icon.is-valid_.text-input-icon]:uikit-mr-25px", [
91
93
  e.$attrs.class,
92
94
  { "floating-label": e.labelText },
93
- k(c) === "floating-label" ? "floating-state" : "inline-state",
95
+ s(d) === "floating-label" ? "floating-state" : "inline-state",
94
96
  {
95
97
  "has-right-icon": e.withRightIcon !== void 0 ? e.withRightIcon : !!e.$slots.righticon
96
98
  },
@@ -100,29 +102,34 @@ const Y = ["id", "data-cy", "name", "data-validation", "autocomplete", "disabled
100
102
  { "is-invalid": e.isValid === !1, "is-valid": e.isValid }
101
103
  ]])
102
104
  }, [
103
- m(e.$slots, "leftIcon"),
104
- m(e.$slots, "righticon", {
105
- handleClean: S,
106
- handleShowPasswd: z,
105
+ p(e.$slots, "leftIcon", {}, void 0, !0),
106
+ p(e.$slots, "righticon", {
107
+ handleClean: q,
108
+ handleShowPasswd: K,
107
109
  curType: n.value
108
- }),
109
- G("input", {
110
- id: r.value,
110
+ }, void 0, !0),
111
+ h("input", {
112
+ id: e.$attrs.id,
111
113
  ref_key: "baseInputEl",
112
114
  ref: b,
113
115
  "data-cy": e.dataCy,
114
116
  name: e.$attrs.name,
115
- class: T(["input-element disabled:uikit-text-w-secondary uikit-peer uikit-relative uikit-box-border uikit-block uikit-h-[56px] uikit-w-full uikit-appearance-none uikit-truncate uikit-rounded-2xs uikit-border uikit-border-solid uikit-border-w-lightgray uikit-bg-white uikit-px-sm uikit-pb-0 uikit-pt-md uikit-text-16 uikit-outline-none focus-visible:uikit-border-w-blue disabled:uikit-bg-w-cultured data-[validation='invalid']:uikit-border-w-red data-[validation='valid']:uikit-border-w-blue", [
117
+ class: v(["input-element uikit-peer uikit-relative uikit-ml-[1px] uikit-mt-[6px] uikit-box-border uikit-block uikit-h-[42px] uikit-w-[calc(100%-2px)] uikit-appearance-none uikit-truncate uikit-rounded-[11px] !uikit-border-none uikit-bg-white uikit-bg-no-repeat uikit-px-4 uikit-outline-0 focus:uikit-shadow-none focus:uikit-outline-none disabled:uikit-bg-w-cultured disabled:uikit-text-w-secondary", [
116
118
  {
117
- "is-invalid": e.isValid === !1,
118
- "is-valid": e.isValid
119
+ "is-invalid invalid-bg !uikit-pr-9": e.isValid === !1,
120
+ "is-valid valid-bg !uikit-pr-9": e.isValid
121
+ },
122
+ {
123
+ "uikit-pr-[42px]": e.withRightIcon !== void 0 ? e.withRightIcon : !!e.$slots.righticon
124
+ },
125
+ {
126
+ "uikit-pl-[42px]": e.withLeftIcon !== void 0 ? e.withLeftIcon : !!e.$slots.leftIcon
119
127
  },
120
128
  e.inputClass
121
129
  ]]),
122
- "data-validation": e.isValid ? "valid" : e.isValid === !1 ? "invalid" : "",
123
130
  autocomplete: e.$attrs.autocomplete === "on" ? "on" : "off",
124
131
  disabled: e.$attrs.disabled,
125
- "aria-labelledby": r.value,
132
+ "aria-labelledby": e.$attrs.id,
126
133
  readonly: e.$attrs.readonly,
127
134
  type: n.value,
128
135
  pattern: e.$attrs.pattern,
@@ -131,55 +138,74 @@ const Y = ["id", "data-cy", "name", "data-validation", "autocomplete", "disabled
131
138
  maxlength: e.$attrs.maxlength,
132
139
  inputmode: e.$attrs.inputmode,
133
140
  placeholder: e.$attrs.placeholder,
134
- value: i.value,
135
- onClick: a[0] || (a[0] = (t) => d("click", t)),
136
- onFocusin: a[1] || (a[1] = g(
137
- (t) => {
138
- d("focusin", t), e.labelText && k(P)();
139
- },
140
- ["stop"]
141
- )),
142
- onFocusout: a[2] || (a[2] = g(
143
- (t) => {
144
- d("focusout", t), e.labelText && !e.keepFloatingLabel && k(w)(i.value);
145
- },
146
- ["stop"]
147
- )),
148
- onInput: g(R, ["stop"]),
141
+ value: a.value,
142
+ onClick: i[0] || (i[0] = (t) => k("click", t)),
143
+ onFocusin: i[1] || (i[1] = y(() => e.labelText && s(H)(), ["stop"])),
144
+ onFocusout: i[2] || (i[2] = y((t) => e.labelText && !e.keepFloatingLabel && s($)(a.value), ["stop"])),
145
+ onInput: y(P, ["stop"]),
149
146
  onKeydown: [
150
- a[3] || (a[3] = Q(() => d("keydownEnterPressed"), ["enter"])),
151
- a[4] || (a[4] = (t) => d("keydown", t))
147
+ i[3] || (i[3] = j(() => k("keydownEnterPressed"), ["enter"])),
148
+ i[4] || (i[4] = (t) => k("keydown", t))
152
149
  ],
153
- onKeyup: a[5] || (a[5] = (t) => d("keyup", t))
154
- }, null, 42, Y),
155
- e.labelText ? (s(), J(W, {
150
+ onKeyup: i[5] || (i[5] = (t) => k("keyup", t))
151
+ }, null, 42, J),
152
+ h("fieldset", {
153
+ class: v(["uikit-pointer-events-none uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-m-0 uikit-box-border uikit-h-12 uikit-overflow-hidden uikit-rounded-xs uikit-border uikit-border-solid uikit-px-2 uikit-py-0 uikit-text-left uikit-transition-[border] uikit-duration-100 uikit-ease-out peer-focus:uikit-border-2 peer-focus:uikit-border-w-primary peer-focus:[&.is-invalid]:uikit-border-w-danger", [
154
+ {
155
+ "is-invalid uikit-border-w-danger": e.isValid === !1,
156
+ "is-valid uikit-border-w-primary": e.isValid,
157
+ "uikit-border-w-secondary": e.isValid === null
158
+ },
159
+ { "uikit-top-0": !e.labelText },
160
+ e.fieldsetClasses
161
+ ]])
162
+ }, [
163
+ h("legend", Q, [
164
+ h("span", {
165
+ class: v(["visible-label uikit-opacity-0", [
166
+ { "uikit-mx-5px": e.labelText },
167
+ {
168
+ "uikit-visible uikit-inline-block": s(d) === "floating-label"
169
+ },
170
+ {
171
+ "uikit-invisible uikit-hidden": s(d) === "inline-label"
172
+ }
173
+ ]]),
174
+ innerHTML: e.labelText
175
+ }, null, 10, W)
176
+ ])
177
+ ], 2),
178
+ e.labelText ? (u(), O(D, {
156
179
  key: 0,
157
- for: r.value,
180
+ for: e.$attrs.id,
158
181
  "label-text": e.labelText,
159
- "label-state": k(c),
182
+ "label-state": s(d),
160
183
  "is-valid": e.isValid,
161
184
  required: e.$attrs.required,
162
185
  disabled: e.$attrs.disabled,
163
- "label-classes": [e.labelClasses, _],
186
+ "label-classes": [
187
+ s(d) === "floating-label" ? "!-uikit-top-1" : "!uikit-top-4",
188
+ e.labelClasses
189
+ ],
164
190
  "label-text-classes": e.labelTextClasses
165
- }, null, 8, ["for", "label-text", "label-state", "is-valid", "required", "disabled", "label-classes", "label-text-classes"])) : h("", !0),
166
- m(e.$slots, "feedback", {}, () => [
167
- e.isValid === !1 ? (s(!0), o(B, { key: 0 }, E(f.value.invalid, (t, y) => (s(), o("div", {
168
- key: `${r.value}_invalid_${y}`,
169
- class: "uikit-mt-1 uikit-text-12 uikit-text-w-red",
191
+ }, null, 8, ["for", "label-text", "label-state", "is-valid", "required", "disabled", "label-classes", "label-text-classes"])) : w("", !0),
192
+ p(e.$slots, "feedback", {}, () => [
193
+ e.isValid === !1 ? (u(!0), r(T, { key: 0 }, M(f.value.invalid, (t, c) => (u(), r("div", {
194
+ key: `${e.$attrs.id}_invalid_${c}`,
195
+ class: "uikit-mt-1 uikit-text-12 uikit-text-w-danger",
170
196
  innerHTML: t
171
- }, null, 8, Z))), 128)) : e.isValid === !0 ? (s(!0), o(B, { key: 1 }, E(f.value.valid, (t, y) => (s(), o("div", {
172
- key: `${r.value}_valid_${y}`,
173
- class: "uikit-mt-1 uikit-text-12 uikit-text-w-blue",
197
+ }, null, 8, X))), 128)) : e.isValid === !0 ? (u(!0), r(T, { key: 1 }, M(f.value.valid, (t, c) => (u(), r("div", {
198
+ key: `${e.$attrs.id}_valid_${c}`,
199
+ class: "uikit-mt-1 uikit-text-12 uikit-text-w-primary",
174
200
  innerHTML: t
175
- }, null, 8, x))), 128)) : h("", !0)
176
- ]),
177
- e.$slots["under-label"] ? (s(), o("div", U, [
178
- m(e.$slots, "under-label")
179
- ])) : h("", !0)
201
+ }, null, 8, Y))), 128)) : w("", !0)
202
+ ], !0),
203
+ e.$slots["under-label"] ? (u(), r("div", Z, [
204
+ p(e.$slots, "under-label", {}, void 0, !0)
205
+ ])) : w("", !0)
180
206
  ], 2));
181
207
  }
182
208
  });
183
209
  export {
184
- ne as default
210
+ ie as default
185
211
  };