@wikicasa-dev/components 2.1.3 → 2.1.4-alpha.1

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 (167) hide show
  1. package/dist/UIKit/BaseAlert.d.ts +20 -9
  2. package/dist/UIKit/BaseBadge.d.ts +40 -5
  3. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement1.js +4 -0
  4. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement2.js +4 -0
  5. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement3.js +4 -0
  6. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement4.js +4 -0
  7. package/dist/UIKit/BaseBanner.js +4 -0
  8. package/dist/UIKit/BaseBreadcrumb.js +3 -2
  9. package/dist/UIKit/BaseButton.d.ts +9 -8
  10. package/dist/UIKit/BaseChip.js +4 -0
  11. package/dist/UIKit/BaseCollapse.js +7 -0
  12. package/dist/UIKit/BaseComplexToggle.d.ts +1 -1
  13. package/dist/UIKit/BaseComplexToggle.js +2 -2
  14. package/dist/UIKit/BaseDropDown.d.ts +5 -0
  15. package/dist/UIKit/BaseFloatingLabel.js +1 -3
  16. package/dist/UIKit/BaseInput.d.ts +4 -5
  17. package/dist/UIKit/BaseInput.js +1 -3
  18. package/dist/UIKit/BaseNotificationBadge.js +4 -0
  19. package/dist/UIKit/BasePagination.d.ts +10 -3
  20. package/dist/UIKit/BasePin.js +5 -0
  21. package/dist/UIKit/BaseSlider.d.ts +14 -10
  22. package/dist/UIKit/BaseSlider.js +1 -4
  23. package/dist/UIKit/BaseSnackbar.js +4 -4
  24. package/dist/UIKit/BaseTextarea.d.ts +4 -4
  25. package/dist/UIKit/BaseTextarea.js +4 -4
  26. package/dist/UIKit/BaseToggle.d.ts +5 -8
  27. package/dist/UIKit/BaseToggle.js +1 -4
  28. package/dist/UIKit/BaseTooltip.d.ts +10 -20
  29. package/dist/UIKit/BaseTooltip.js +2 -2
  30. package/dist/UIKit/Checkbox/CheckboxBtn.d.ts +9 -16
  31. package/dist/UIKit/Checkbox/CheckboxBtn.js +2 -5
  32. package/dist/UIKit/Checkbox/CheckboxGroup.d.ts +2 -3
  33. package/dist/UIKit/DatePicker.js +5 -0
  34. package/dist/UIKit/InputDropdown.js +4 -0
  35. package/dist/UIKit/NativeSelect.js +5 -0
  36. package/dist/UIKit/Navigation/NavigationBar.d.ts +17 -0
  37. package/dist/UIKit/Navigation/NavigationBar.js +5 -0
  38. package/dist/UIKit/Navigation/NavigationBarItem.d.ts +34 -0
  39. package/dist/UIKit/Navigation/NavigationBarItem.js +4 -0
  40. package/dist/UIKit/SegmentedControl/SegmentedControl.js +4 -0
  41. package/dist/UIKit/SegmentedControl/SegmentedControlItem.js +4 -0
  42. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +1 -3
  43. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.d.ts +1 -5
  44. package/dist/UIKit/Tab/BaseTabItem.d.ts +27 -0
  45. package/dist/UIKit/Tab/BaseTabItem.js +4 -0
  46. package/dist/UIKit/Tab/BaseTabList.d.ts +3 -3
  47. package/dist/UIKit/types.d.ts +11 -6
  48. 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 +1 -0
  49. package/dist/assets/packages/components/lib/UIKit/BaseAlert.css +1 -1
  50. package/dist/assets/packages/components/lib/UIKit/BaseBadge.css +1 -1
  51. package/dist/assets/packages/components/lib/UIKit/BaseBreadcrumb.css +1 -0
  52. package/dist/assets/packages/components/lib/UIKit/BaseCard.css +1 -1
  53. package/dist/assets/packages/components/lib/UIKit/BaseCollapse.css +1 -0
  54. package/dist/assets/packages/components/lib/UIKit/BaseComplexToggle.css +1 -1
  55. package/dist/assets/packages/components/lib/UIKit/BaseFloatingLabel.css +1 -1
  56. package/dist/assets/packages/components/lib/UIKit/BaseInput.css +1 -1
  57. package/dist/assets/packages/components/lib/UIKit/BaseModal.css +1 -1
  58. package/dist/assets/packages/components/lib/UIKit/BasePin.css +1 -0
  59. package/dist/assets/packages/components/lib/UIKit/BaseSnackbar.css +1 -1
  60. package/dist/assets/packages/components/lib/UIKit/BaseTextarea.css +1 -1
  61. package/dist/assets/packages/components/lib/UIKit/BaseTooltip.css +1 -1
  62. package/dist/assets/packages/components/lib/UIKit/DatePicker.css +1 -0
  63. package/dist/assets/packages/components/lib/UIKit/NativeSelect.css +1 -0
  64. package/dist/assets/packages/components/lib/UIKit/Navigation/NavigationBar.css +1 -0
  65. package/dist/assets/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.css +1 -1
  66. package/dist/assets/packages/components/src/tailwind.css +1 -1
  67. package/dist/composables/useFloatingLabel.d.ts +1 -1
  68. package/dist/composables/useFloatingLabel.js +20 -20
  69. package/dist/index.d.ts +3 -2
  70. package/dist/index.js +92 -85
  71. 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 +19 -0
  72. 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 +16 -0
  73. 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 +29 -0
  74. 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 +33 -0
  75. package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/controller.js +1 -1
  76. package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/free-mode.js +1 -1
  77. package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/keyboard.js +9 -9
  78. package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/pagination.js +17 -17
  79. package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/thumbs.js +1 -1
  80. package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/zoom.js +13 -13
  81. package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/shared/utils.js +32 -26
  82. package/dist/packages/components/lazyModules/Swiper/autoplay.js +2 -2
  83. package/dist/packages/components/lazyModules/Swiper/controller.js +2 -2
  84. package/dist/packages/components/lazyModules/Swiper/free-mode.js +2 -2
  85. package/dist/packages/components/lazyModules/Swiper/keyboard.js +2 -2
  86. package/dist/packages/components/lazyModules/Swiper/navigation.js +2 -2
  87. package/dist/packages/components/lazyModules/Swiper/pagination.js +2 -2
  88. package/dist/packages/components/lazyModules/Swiper/thumbs.js +2 -2
  89. package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +15 -15
  90. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js +2 -2
  91. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js +9 -9
  92. package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +107 -13
  93. package/dist/packages/components/lib/UIKit/BaseAutocomplete.vue.js +28 -27
  94. package/dist/packages/components/lib/UIKit/BaseBadge.vue.js +46 -11
  95. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement1.vue.js +29 -0
  96. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement2.vue.js +56 -0
  97. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement3.vue.js +56 -0
  98. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement4.vue.js +56 -0
  99. package/dist/packages/components/lib/UIKit/BaseBanner.vue.js +75 -0
  100. package/dist/packages/components/lib/UIKit/BaseBreadcrumb.vue.js +32 -35
  101. package/dist/packages/components/lib/UIKit/BaseButton.vue.js +57 -37
  102. package/dist/packages/components/lib/UIKit/BaseChip.vue.js +38 -0
  103. package/dist/packages/components/lib/UIKit/BaseCollapse.vue.js +54 -0
  104. package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +12 -12
  105. package/dist/packages/components/lib/UIKit/BaseDropDown.vue.js +48 -45
  106. package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +12 -15
  107. package/dist/packages/components/lib/UIKit/BaseInput.vue.js +93 -119
  108. package/dist/packages/components/lib/UIKit/BaseModal.vue.js +70 -66
  109. package/dist/packages/components/lib/UIKit/BaseNotificationBadge.vue.js +19 -0
  110. package/dist/packages/components/lib/UIKit/BasePagination.vue.js +89 -134
  111. package/dist/packages/components/lib/UIKit/BasePin.vue.js +37 -0
  112. package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +107 -178
  113. package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +7 -7
  114. package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +55 -73
  115. package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +27 -31
  116. package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +48 -33
  117. package/dist/packages/components/lib/UIKit/BaseUploadFile.vue.js +19 -40
  118. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js +55 -52
  119. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +20 -24
  120. package/dist/packages/components/lib/UIKit/DatePicker.vue.js +143 -0
  121. package/dist/packages/components/lib/UIKit/InputDropdown.vue.js +152 -0
  122. package/dist/packages/components/lib/UIKit/NativeSelect.vue.js +65 -0
  123. package/dist/packages/components/lib/UIKit/Navigation/NavigationBar.vue.js +21 -0
  124. package/dist/packages/components/lib/UIKit/Navigation/NavigationBarItem.vue.js +48 -0
  125. package/dist/packages/components/lib/UIKit/Radio/RadioButton.vue.js +9 -9
  126. package/dist/packages/components/lib/UIKit/SegmentedControl/SegmentedControl.vue.js +93 -0
  127. package/dist/packages/components/lib/UIKit/SegmentedControl/SegmentedControlItem.vue.js +30 -0
  128. package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +10 -9
  129. package/dist/packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +10 -9
  130. package/dist/packages/components/lib/UIKit/Tab/BaseTabItem.vue.js +39 -0
  131. package/dist/packages/components/lib/UIKit/Tab/BaseTabList.vue.js +30 -27
  132. package/dist/packages/components/lib/UIKit/Tab/BaseTabView.vue.js +40 -36
  133. package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +5 -6
  134. package/dist/utils.d.ts +1 -1
  135. package/dist/utils.js +5 -3
  136. package/package.json +21 -18
  137. package/dist/UIKit/Slider/SimpleSlider.d.ts +0 -19
  138. package/dist/UIKit/Slider/SimpleSlider.js +0 -7
  139. package/dist/assets/packages/components/lib/UIKit/BaseSlider.css +0 -1
  140. package/dist/assets/packages/components/lib/UIKit/BaseToggle.css +0 -1
  141. package/dist/assets/packages/components/lib/UIKit/Checkbox/CheckboxBtn.css +0 -1
  142. package/dist/assets/packages/components/lib/UIKit/Slider/SimpleSlider.css +0 -1
  143. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js +0 -4
  144. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js +0 -4
  145. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js +0 -12
  146. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/NumberUtils.js +0 -18
  147. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js +0 -4
  148. package/dist/packages/components/lib/UIKit/Slider/SimpleSlider.vue.js +0 -82
  149. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/free-mode.css +0 -0
  150. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/navigation.css +0 -0
  151. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/pagination.css +0 -0
  152. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/zoom.css +0 -0
  153. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/swiper.css +0 -0
  154. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js +0 -0
  155. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js +0 -0
  156. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/DefaultValues-CpabIgVz.js +0 -0
  157. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js +0 -0
  158. /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3 → @wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js +0 -0
  159. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/autoplay.css.js +0 -0
  160. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/autoplay.js +0 -0
  161. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/controller.css.js +0 -0
  162. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/keyboard.css.js +0 -0
  163. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/navigation.js +0 -0
  164. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/thumbs.css.js +0 -0
  165. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/shared/classes-to-selector.js +0 -0
  166. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/shared/create-element-if-not-defined.js +0 -0
  167. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/shared/ssr-window.esm.js +0 -0
@@ -0,0 +1,93 @@
1
+ import { defineComponent as g, mergeModels as c, useModel as k, createBlock as m, openBlock as a, unref as h, normalizeClass as y, withCtx as d, createElementBlock as p, Fragment as v, renderList as I, renderSlot as C, createTextVNode as M, toDisplayString as V } from "vue";
2
+ import { ToggleGroupRoot as b } from "reka-ui";
3
+ import S from "./SegmentedControlItem.vue.js";
4
+ const E = /* @__PURE__ */ g({
5
+ __name: "SegmentedControl",
6
+ props: /* @__PURE__ */ c({
7
+ items: { default: () => [] },
8
+ type: { default: "single" }
9
+ }, {
10
+ modelValue: {
11
+ required: !0
12
+ },
13
+ modelModifiers: {}
14
+ }),
15
+ emits: ["update:modelValue"],
16
+ setup(i) {
17
+ const o = k(i, "modelValue");
18
+ let u = null, r = null;
19
+ const s = (e = 0, l = 0) => {
20
+ u = e, r = l;
21
+ const t = [];
22
+ for (let n = e; n <= l; n++)
23
+ t.push(i.items[n]);
24
+ o.value = t;
25
+ }, f = (e = 0) => {
26
+ if (i.type === "single") {
27
+ o.value = i.items[e];
28
+ return;
29
+ }
30
+ if (i.items[e].single) {
31
+ u = null, r = null, o.value = [i.items[e]];
32
+ return;
33
+ }
34
+ if (u === null && r === null) {
35
+ s(e, i.items.length);
36
+ return;
37
+ }
38
+ const l = Math.min(u ?? 1 / 0, r ?? 1 / 0), t = Math.max(
39
+ u ?? -1 / 0,
40
+ r ?? -1 / 0
41
+ );
42
+ if (e < l) {
43
+ s(e, t);
44
+ return;
45
+ }
46
+ if (e > t) {
47
+ s(l, e);
48
+ return;
49
+ }
50
+ if (e === l || e === t) {
51
+ s(e, e);
52
+ return;
53
+ }
54
+ s(l, e);
55
+ };
56
+ return (e, l) => (a(), m(h(b), {
57
+ type: e.type,
58
+ class: y([
59
+ "uikit-rounded-2xs uikit-border uikit-border-solid uikit-border-w-lightgray uikit-text-16",
60
+ {
61
+ "uikit-grid uikit-grid-cols-2": e.items.length === 2
62
+ },
63
+ {
64
+ "uikit-grid uikit-grid-cols-3": e.items.length === 3
65
+ },
66
+ {
67
+ "uikit-flex *:uikit-px-md *:uikit-py-sm [&_>_*:first-child]:uikit-px-sm [&_>_*:last-child]:uikit-px-sm": e.items.length === 6
68
+ }
69
+ ]),
70
+ "model-value": o.value
71
+ }, {
72
+ default: d(() => [
73
+ (a(!0), p(v, null, I(e.items, (t, n) => (a(), m(S, {
74
+ key: `segmented-control-item-${n}`,
75
+ theme: e.items.length === 6 ? "square" : "rounded",
76
+ value: t,
77
+ onClick: ($) => f(n)
78
+ }, {
79
+ default: d(() => [
80
+ C(e.$slots, "item", {}, () => [
81
+ M(V(t.label), 1)
82
+ ])
83
+ ]),
84
+ _: 2
85
+ }, 1032, ["theme", "value", "onClick"]))), 128))
86
+ ]),
87
+ _: 3
88
+ }, 8, ["type", "class", "model-value"]));
89
+ }
90
+ });
91
+ export {
92
+ E as default
93
+ };
@@ -0,0 +1,30 @@
1
+ import { defineComponent as t, createBlock as i, openBlock as a, unref as u, normalizeClass as o, withCtx as r, renderSlot as s } from "vue";
2
+ import { ToggleGroupItem as d } from "reka-ui";
3
+ const m = /* @__PURE__ */ t({
4
+ __name: "SegmentedControlItem",
5
+ props: {
6
+ value: {},
7
+ as: {},
8
+ theme: { default: "rounded" }
9
+ },
10
+ setup(n) {
11
+ return (e, l) => (a(), i(u(d), {
12
+ value: e.value,
13
+ as: e.as,
14
+ class: o(["uikit-h-[46px] uikit-w-full uikit-appearance-none uikit-bg-transparent uikit-outline-none [font-size:inherit] focus-visible:uikit-shadow-[0_0_0_2px_#2b5dff] data-[active]:uikit-border data-[active]:uikit-border-solid data-[active]:uikit-border-w-blue data-[active]:uikit-bg-w-ghost data-[active]:uikit-font-medium data-[active]:uikit-text-w-blue", [
15
+ { "uikit-rounded-2xs": e.theme === "rounded" },
16
+ {
17
+ "first:uikit-rounded-l-2xs last:uikit-rounded-r-2xs": e.theme === "square"
18
+ }
19
+ ]])
20
+ }, {
21
+ default: r(() => [
22
+ s(e.$slots, "default")
23
+ ]),
24
+ _: 3
25
+ }, 8, ["value", "as", "class"]));
26
+ }
27
+ });
28
+ export {
29
+ m as default
30
+ };
@@ -1,21 +1,22 @@
1
- import { defineComponent as i, createElementBlock as s, openBlock as l, normalizeClass as t, createElementVNode as r, renderSlot as a } from "vue";
2
- const m = /* @__PURE__ */ i({
1
+ import { defineComponent as i, createElementBlock as s, openBlock as l, normalizeStyle as r, normalizeClass as t, createElementVNode as a, renderSlot as o } from "vue";
2
+ const d = /* @__PURE__ */ i({
3
3
  inheritAttrs: !1,
4
4
  __name: "BaseShimmerLoader",
5
5
  props: {
6
6
  shimmerClasses: { default: "" }
7
7
  },
8
- setup(o) {
9
- return (e, u) => (l(), s("div", {
10
- class: t(["uikit-relative uikit-overflow-hidden uikit-bg-w-lavender", e.$attrs.class])
8
+ setup(u) {
9
+ return (e, m) => (l(), s("div", {
10
+ class: t(["uikit-shimmer-loader uikit-relative uikit-overflow-hidden uikit-rounded-3xs uikit-bg-w-cultured", e.$attrs.class]),
11
+ style: r(e.$attrs.style)
11
12
  }, [
12
- r("div", {
13
+ a("div", {
13
14
  class: t(["shimmer uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-h-full -uikit-translate-x-full", e.shimmerClasses])
14
15
  }, null, 2),
15
- a(e.$slots, "default", {}, void 0, !0)
16
- ], 2));
16
+ o(e.$slots, "default")
17
+ ], 6));
17
18
  }
18
19
  });
19
20
  export {
20
- m as default
21
+ d as default
21
22
  };
@@ -1,6 +1,7 @@
1
- import { defineComponent as i, createElementBlock as n, openBlock as r, Fragment as s, renderList as l, createBlock as a, normalizeStyle as m, normalizeClass as o } from "vue";
2
- import u from "../../../../../UIKit/ShimmerLoader/BaseShimmerLoader.js";
3
- const c = /* @__PURE__ */ i({
1
+ import { defineComponent as i, createElementBlock as n, openBlock as r, Fragment as s, renderList as l, createBlock as m, normalizeStyle as a, normalizeClass as o } from "vue";
2
+ import u from "./BaseShimmerLoader.vue.js";
3
+ import '../../../../../assets/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.css';/* empty css */
4
+ const k = /* @__PURE__ */ i({
4
5
  __name: "ShimmerMultiLine",
5
6
  props: {
6
7
  lines: { default: 1 },
@@ -9,21 +10,21 @@ const c = /* @__PURE__ */ i({
9
10
  inheritHeight: { type: Boolean, default: !1 }
10
11
  },
11
12
  setup(h) {
12
- return (e, d) => (r(!0), n(s, null, l(e.lines, (t) => (r(), a(u, {
13
+ return (e, f) => (r(!0), n(s, null, l(e.lines, (t) => (r(), m(u, {
14
+ key: `sml-${t}`,
13
15
  ref_for: !0,
14
16
  ref: "shimmerLines",
15
17
  class: o(["shimmer-line", [
16
18
  e.shimmerClasses,
17
- e.inheritHeight ? "uikit-h-[1em]" : "uikit-h-8",
18
- "uikit-mb-2 uikit-rounded-xs"
19
+ e.inheritHeight ? "uikit-h-[1em]" : "uikit-h-xl",
20
+ "uikit-mb-xs uikit-rounded-xs"
19
21
  ]]),
20
- key: `sml-${t}`,
21
- style: m({
22
+ style: a({
22
23
  marginRight: e.randomLength ? `${Math.round(Math.random() * 5) * 10}%` : 0
23
24
  })
24
25
  }, null, 8, ["class", "style"]))), 128));
25
26
  }
26
27
  });
27
28
  export {
28
- c as default
29
+ k as default
29
30
  };
@@ -0,0 +1,39 @@
1
+ import { defineComponent as n, createBlock as r, openBlock as l, resolveDynamicComponent as a, normalizeClass as e, withCtx as k, renderSlot as p, withDirectives as c, createElementVNode as m, vShow as d } from "vue";
2
+ const v = /* @__PURE__ */ n({
3
+ __name: "BaseTabItem",
4
+ props: {
5
+ component: { type: [Object, Function, String], default: "button" },
6
+ activeBorderPosition: { default: "bottom" },
7
+ isActive: { type: Boolean, default: !1 }
8
+ },
9
+ emits: ["click"],
10
+ setup(b, { emit: o }) {
11
+ const s = o;
12
+ return (t, i) => (l(), r(a(t.component), {
13
+ class: e([
14
+ "uikit-relative uikit-min-w-[56px] uikit-bg-transparent uikit-text hover:uikit-cursor-pointer",
15
+ {
16
+ "uikit-font-semibold uikit-text-w-blue": t.isActive
17
+ },
18
+ t.activeBorderPosition === "top" ? "uikit-pb-2xs uikit-pt-sm" : "uikit-pb-sm uikit-pt-2xs"
19
+ ]),
20
+ onClick: i[0] || (i[0] = (u) => s("click", u))
21
+ }, {
22
+ default: k(() => [
23
+ p(t.$slots, "default"),
24
+ c(m("div", {
25
+ class: e([
26
+ "uikit-absolute uikit-left-1/2 uikit-h-2xs uikit-w-[56px] -uikit-translate-x-1/2 uikit-bg-w-blue",
27
+ t.activeBorderPosition === "top" ? "uikit-top-0 uikit-rounded-t-3xs" : "uikit-bottom-0 uikit-rounded-b-3xs"
28
+ ])
29
+ }, null, 2), [
30
+ [d, t.isActive]
31
+ ])
32
+ ]),
33
+ _: 3
34
+ }, 8, ["class"]));
35
+ }
36
+ });
37
+ export {
38
+ v as default
39
+ };
@@ -1,43 +1,46 @@
1
- import { defineComponent as p, inject as l, createElementBlock as r, openBlock as a, normalizeClass as o, Fragment as m, renderList as h, unref as i, createBlock as y, createCommentVNode as C, toDisplayString as _, resolveDynamicComponent as f } from "vue";
2
- const v = ["aria-labelledby"], B = ["id", "data-cy", "aria-selected", "aria-controls", "tabindex", "onClick"], F = { key: 0 }, $ = /* @__PURE__ */ p({
1
+ import { defineComponent as C, inject as n, createElementBlock as o, openBlock as i, normalizeClass as l, Fragment as u, renderList as h, unref as s, createBlock as c, withCtx as k, createCommentVNode as v, toDisplayString as _, resolveDynamicComponent as f } from "vue";
2
+ import B from "./BaseTabItem.vue.js";
3
+ const F = ["aria-labelledby", "data-cy"], L = { key: 0 }, D = /* @__PURE__ */ C({
3
4
  __name: "BaseTabList",
4
5
  props: {
6
+ dataCy: {},
5
7
  uid: {},
6
- tabListClasses: { default: "" }
8
+ tabListClasses: {},
9
+ activeBorderPosition: {}
7
10
  },
8
11
  emits: ["tabClick"],
9
- setup(L, { emit: c }) {
10
- const d = l("tabs"), s = l("isTabActive"), b = l("handleClick"), u = c;
11
- return (n, g) => (a(), r("div", {
12
+ setup($, { emit: d }) {
13
+ const b = n("tabs"), r = n("isTabActive"), m = n("handleClick"), p = d;
14
+ return (t, T) => (i(), o("div", {
12
15
  role: "tablist",
13
- "aria-labelledby": `tablist-${n.uid}`,
14
- class: o(n.tabListClasses)
16
+ "aria-labelledby": `tablist-${t.uid}`,
17
+ class: l(t.tabListClasses),
18
+ "data-cy": t.dataCy
15
19
  }, [
16
- (a(!0), r(m, null, h(i(d), (e, t) => (a(), r("button", {
20
+ (i(!0), o(u, null, h(s(b), (e, a) => (i(), c(B, {
17
21
  id: e.tabId,
18
- key: t,
22
+ key: a,
23
+ "active-border-position": t.activeBorderPosition,
24
+ "is-active": s(r)(a),
19
25
  "data-cy": e["data-cy"],
20
26
  type: "button",
21
27
  role: "tab",
22
- "aria-selected": i(s)(t),
23
- "aria-controls": `base-tab-panel-${t}-${n.uid}`,
24
- tabindex: i(s)(t) ? void 0 : -1,
25
- class: o([
26
- "uikit-bg-transparent uikit-p-5px",
27
- {
28
- "uikit-border-b-2 uikit-border-solid uikit-border-w-primary uikit-font-semibold": i(s)(t)
29
- },
30
- e.class
31
- ]),
32
- onClick: (k) => {
33
- i(b)(t, e), u("tabClick", k, t, e);
28
+ "aria-selected": s(r)(a),
29
+ "aria-controls": `base-tab-panel-${a}-${t.uid}`,
30
+ tabindex: s(r)(a) ? void 0 : -1,
31
+ class: l(e.class),
32
+ onClick: (y) => {
33
+ s(m)(a, e), p("tabClick", y, a, e);
34
34
  }
35
- }, [
36
- e["header-title"] ? (a(), r("span", F, _(e["header-title"]), 1)) : e.renderFn.children && e.renderFn.children.header ? (a(), y(f(e.renderFn.children.header), { key: 1 })) : C("", !0)
37
- ], 10, B))), 128))
38
- ], 10, v));
35
+ }, {
36
+ default: k(() => [
37
+ e["header-title"] ? (i(), o("span", L, _(e["header-title"]), 1)) : e.renderFn.children && e.renderFn.children.header ? (i(), c(f(e.renderFn.children.header), { key: 1 })) : v("", !0)
38
+ ]),
39
+ _: 2
40
+ }, 1032, ["id", "active-border-position", "is-active", "data-cy", "aria-selected", "aria-controls", "tabindex", "class", "onClick"]))), 128))
41
+ ], 10, F));
39
42
  }
40
43
  });
41
44
  export {
42
- $ as default
45
+ D as default
43
46
  };
@@ -1,10 +1,10 @@
1
- import { defineComponent as S, mergeModels as C, useModel as z, ref as b, useId as j, useSlots as q, computed as G, provide as v, watch as k, createElementBlock as p, openBlock as l, normalizeClass as I, createElementVNode as H, createBlock as d, createCommentVNode as o, unref as f, toDisplayString as J, Fragment as g, renderList as K, withCtx as O, resolveDynamicComponent as Q } from "vue";
1
+ import { defineComponent as S, mergeModels as T, useModel as z, ref as b, useId as j, useSlots as q, computed as G, provide as p, watch as k, createElementBlock as v, openBlock as i, normalizeClass as I, createElementVNode as H, createBlock as o, createCommentVNode as c, unref as f, toDisplayString as J, Fragment as g, renderList as K, withCtx as O, resolveDynamicComponent as Q } from "vue";
2
2
  import R from "./BaseTabPanel.vue.js";
3
3
  import P from "./BaseTabList.vue.js";
4
4
  const U = ["data-cy"], W = ["id"], te = /* @__PURE__ */ S({
5
5
  inheritAttrs: !1,
6
6
  __name: "BaseTabView",
7
- props: /* @__PURE__ */ C({
7
+ props: /* @__PURE__ */ T({
8
8
  tabsPosition: { default: "top" },
9
9
  tabViewDescription: {},
10
10
  tabListClasses: {},
@@ -13,36 +13,36 @@ const U = ["data-cy"], W = ["id"], te = /* @__PURE__ */ S({
13
13
  activeIdx: { default: 0 },
14
14
  activeIdxModifiers: {}
15
15
  }),
16
- emits: /* @__PURE__ */ C(["tabClicked"], ["update:activeIdx"]),
17
- setup(_, { emit: x }) {
18
- const B = x, i = z(_, "activeIdx"), $ = b(""), u = b(null), A = b(null), r = j(), m = q(), c = (e) => e.props ?? null, h = (e) => e.type.__name === "BaseTab", y = (e, a) => ({
16
+ emits: /* @__PURE__ */ T(["tabClicked"], ["update:activeIdx"]),
17
+ setup($, { emit: B }) {
18
+ const A = B, l = z($, "activeIdx"), _ = b(""), u = b(null), F = b(null), r = j(), m = q(), d = (e) => e.props ?? null, y = (e) => e.type.__name === "BaseTab", h = (e, a) => ({
19
19
  renderFn: e,
20
- tabId: T(a),
21
- "active-tab-panel-idx": c(e)?.["active-tab-panel-idx"] ?? a,
22
- "header-title": c(e)?.["header-title"] || "",
23
- class: c(e)?.class || "",
24
- "tab-panel-classes": c(e)?.["tab-panel-classes"] || "",
25
- "data-cy": c(e)?.["data-cy"] || ""
20
+ tabId: C(a),
21
+ "active-tab-panel-idx": d(e)?.["active-tab-panel-idx"] ?? a,
22
+ "header-title": d(e)?.["header-title"] || "",
23
+ class: d(e)?.class || "",
24
+ "tab-panel-classes": d(e)?.["tab-panel-classes"] || "",
25
+ "data-cy": d(e)?.["data-cy"] || ""
26
26
  }), n = G(() => m.default ? m.default().reduce((e, a) => (a.children && Array.isArray(a.children) ? a.children.forEach((t) => {
27
- h(t) && e.push(y(t, e.length));
28
- }) : h(a) && e.push(y(a, e.length)), e), []) : []);
29
- v("tabs", n), v("isTabActive", (e) => i.value === e);
30
- const F = (e = -1) => u.value === e, T = (e) => `base-tab-${e}-${r}`, V = (e = -1) => `base-tab-panel-${e}-${r}`, w = (e = -1) => {
27
+ y(t) && e.push(h(t, e.length));
28
+ }) : y(a) && e.push(h(a, e.length)), e), []) : []);
29
+ p("tabs", n), p("isTabActive", (e) => l.value === e);
30
+ const V = (e = -1) => u.value === e, C = (e) => `base-tab-${e}-${r}`, w = (e = -1) => `base-tab-panel-${e}-${r}`, x = (e = -1) => {
31
31
  const a = n.value.reduce(
32
32
  (t, s, N) => (s["active-tab-panel-idx"] !== e || t.push({ tab: s, idx: N }), t),
33
33
  []
34
34
  );
35
- return a && a.length === 1 ? a[0].tab.tabId : a.find((t) => t.idx === i.value)?.tab.tabId;
35
+ return a && a.length === 1 ? a[0].tab.tabId : a.find((t) => t.idx === l.value)?.tab.tabId;
36
36
  }, D = (e) => {
37
- $.value = T(e);
37
+ _.value = C(e);
38
38
  }, L = (e) => {
39
39
  const a = n.value.at(e ?? -1);
40
40
  u.value = a?.["active-tab-panel-idx"] ?? null;
41
41
  };
42
- v("handleClick", (e, a) => {
43
- D(e), i.value = e, B("tabClicked", { tabIdx: e, tabElement: a });
42
+ p("handleClick", (e, a) => {
43
+ D(e), l.value = e, A("tabClicked", { tabIdx: e, tabElement: a });
44
44
  }), k(
45
- i,
45
+ l,
46
46
  (e) => {
47
47
  L(e ?? -1);
48
48
  },
@@ -61,11 +61,11 @@ const U = ["data-cy"], W = ["id"], te = /* @__PURE__ */ S({
61
61
  const t = E(e, a);
62
62
  if (t === null) return;
63
63
  const s = n.value[t]["active-tab-panel-idx"];
64
- i.value !== t || s === void 0 || (u.value = s);
64
+ l.value !== t || s === void 0 || (u.value = s);
65
65
  }
66
- ), (e, a) => (l(), p("div", {
66
+ ), (e, a) => (i(), v("div", {
67
67
  ref_key: "root",
68
- ref: A,
68
+ ref: F,
69
69
  class: I(e.$attrs.class),
70
70
  "data-cy": e.dataCy
71
71
  }, [
@@ -73,30 +73,34 @@ const U = ["data-cy"], W = ["id"], te = /* @__PURE__ */ S({
73
73
  id: `tablist-${f(r)}`,
74
74
  class: "uikit-sr-only"
75
75
  }, J(e.tabViewDescription), 9, W),
76
- e.tabsPosition === "top" ? (l(), d(P, {
76
+ e.tabsPosition === "top" ? (i(), o(P, {
77
77
  key: 0,
78
78
  uid: f(r),
79
- "tab-list-classes": e.tabListClasses
80
- }, null, 8, ["uid", "tab-list-classes"])) : o("", !0),
81
- (l(!0), p(g, null, K(n.value, (t, s) => (l(), p(g, { key: s }, [
82
- M(s) ? (l(), d(R, {
79
+ "tab-list-classes": e.tabListClasses,
80
+ "data-cy": e.dataCy ? `${e.dataCy}-tab-list` : "",
81
+ "active-border-position": "bottom"
82
+ }, null, 8, ["uid", "tab-list-classes", "data-cy"])) : c("", !0),
83
+ (i(!0), v(g, null, K(n.value, (t, s) => (i(), v(g, { key: s }, [
84
+ M(s) ? (i(), o(R, {
83
85
  key: 0,
84
- id: V(t["active-tab-panel-idx"]),
85
- "labelled-by": w(s) ?? "",
86
- active: F(s),
86
+ id: w(t["active-tab-panel-idx"]),
87
+ "labelled-by": x(s) ?? "",
88
+ active: V(s),
87
89
  class: I(t["tab-panel-classes"])
88
90
  }, {
89
91
  default: O(() => [
90
- t.renderFn.children && t.renderFn.children.default ? (l(), d(Q(t.renderFn.children.default), { key: 0 })) : o("", !0)
92
+ t.renderFn.children && t.renderFn.children.default ? (i(), o(Q(t.renderFn.children.default), { key: 0 })) : c("", !0)
91
93
  ]),
92
94
  _: 2
93
- }, 1032, ["id", "labelled-by", "active", "class"])) : o("", !0)
95
+ }, 1032, ["id", "labelled-by", "active", "class"])) : c("", !0)
94
96
  ], 64))), 128)),
95
- e.tabsPosition === "bottom" ? (l(), d(P, {
97
+ e.tabsPosition === "bottom" ? (i(), o(P, {
96
98
  key: 1,
97
99
  uid: f(r),
98
- "tab-list-classes": e.tabListClasses
99
- }, null, 8, ["uid", "tab-list-classes"])) : o("", !0)
100
+ "tab-list-classes": e.tabListClasses,
101
+ "data-cy": e.dataCy ? `${e.dataCy}-tab-list` : "",
102
+ "active-border-position": "top"
103
+ }, null, 8, ["uid", "tab-list-classes", "data-cy"])) : c("", !0)
100
104
  ], 10, U));
101
105
  }
102
106
  });
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as J, reactive as Q, ref as k, useId as U, computed as f, onMounted as X, watch as Y, nextTick as M, createElementBlock as l, openBlock as u, normalizeClass as p, createElementVNode as v, createCommentVNode as y, renderSlot as E, Fragment as P, renderList as F, mergeProps as T, withModifiers as O } from "vue";
2
2
  import { Swiper as B } from "swiper";
3
- import x from "../../../../../node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.js";
4
- import '../../../../../assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.css';import '../../../../../assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/swiper.css';/* empty css */
3
+ import x from "../../../../../node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/zoom.js";
4
+ import '../../../../../assets/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/zoom.css';import '../../../../../assets/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/swiper.css';/* empty css */
5
5
  /* empty css */
6
6
  import "../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
7
7
  import { shallowCopyObjectTo as _ } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js";
@@ -184,7 +184,7 @@ const ee = ["id"], te = ["id", "data-cy"], se = ["data-idx", "alt", "width", "he
184
184
  },
185
185
  class: ["disable-select", [e.$attrs["slide-img-classes"] || t.classes]],
186
186
  "data-idx": `${d.value}-slide-img-${a}`
187
- }, z(t, a), {
187
+ }, { ref_for: !0 }, z(t, a), {
188
188
  alt: t.alt,
189
189
  itemprop: "image",
190
190
  width: t.width,
@@ -231,9 +231,8 @@ const ee = ["id"], te = ["id", "data-cy"], se = ["data-idx", "alt", "width", "he
231
231
  class: p(["swiper-slide", e.$attrs["thumb-img-wrapper-classes"]])
232
232
  }, [
233
233
  v("img", T({
234
- class: e.$attrs["thumb-img-classes"],
235
- ref_for: !0
236
- }, z(t, -1, !1), {
234
+ class: e.$attrs["thumb-img-classes"]
235
+ }, { ref_for: !0 }, z(t, -1, !1), {
237
236
  alt: t.alt
238
237
  }), null, 16, ae)
239
238
  ], 2))), 128))
package/dist/utils.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const getUID: (prefix?: string) => string;
1
+ export declare const log: <T>(message: string, payload: T) => void;
package/dist/utils.js CHANGED
@@ -1,5 +1,7 @@
1
- var t = 0;
2
- const e = (r = "uikit_id_") => (t++, `${r}${t}`);
1
+ const c = (o, l) => console.log("DEBUG:", {
2
+ message: o,
3
+ payload: l
4
+ });
3
5
  export {
4
- e as getUID
6
+ c as log
5
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "2.1.3",
3
+ "version": "2.1.4-alpha.1",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -41,43 +41,46 @@
41
41
  },
42
42
  "homepage": "https://bitbucket.org/wikicasa/wikicasa-fe#readme",
43
43
  "dependencies": {
44
- "caniuse-lite": "^1.0.30001715",
44
+ "@vuepic/vue-datepicker": "^11.0.2",
45
+ "caniuse-lite": "^1.0.30001722",
45
46
  "chart.js": "^4.4.9",
46
47
  "chartjs-adapter-date-fns": "^3.0.0",
47
48
  "date-fns": "^4.1.0",
48
- "swiper": "^11.2.6",
49
- "vue": "3.5.13",
49
+ "reka-ui": "^2.3.1",
50
+ "swiper": "^11.2.8",
51
+ "vue": "^3.5.13",
50
52
  "vue-chartjs": "^5.3.2",
51
53
  "vue-router": "^4.5.0"
52
54
  },
53
55
  "devDependencies": {
54
- "@babel/eslint-parser": "^7.27.0",
56
+ "@babel/eslint-parser": "^7.27.5",
55
57
  "@histoire/plugin-vue": "^1.0.0-alpha.2",
56
- "@types/node": "^22.14.1",
57
- "@vitejs/plugin-vue": "^5.2.3",
58
+ "@types/node": "^24.0.1",
59
+ "@vitejs/plugin-vue": "^5.2.4",
58
60
  "@vue/eslint-config-prettier": "^10.2.0",
59
61
  "@vue/eslint-config-typescript": "^14.5.0",
60
- "@wikicasa-dev/svg-icons": "1.2.11",
62
+ "@wikicasa-dev/svg-icons": "1.2.12",
61
63
  "@wikicasa-dev/tailwind-plugins": "^0.0.3",
62
- "@wikicasa-dev/types": "2.1.2",
64
+ "@wikicasa-dev/types": "2.2.0",
63
65
  "@wikicasa-dev/utilities": "1.1.21",
64
66
  "@wikicasa-dev/vue-composables": "0.0.23",
65
67
  "ajv": "^8.17.1",
66
68
  "autoprefixer": "^10.4.21",
67
- "eslint": "^9.25",
68
- "eslint-plugin-vue": "^10.0.0",
69
- "glob": "^11.0.1",
69
+ "eslint": "^9.28",
70
+ "eslint-plugin-vue": "^10.2.0",
71
+ "glob": "^11.0.2",
70
72
  "histoire": "^1.0.0-alpha.2",
71
- "postcss": "^8.5.3",
73
+ "postcss": "^8.5.5",
72
74
  "prettier": "^3.5.3",
73
- "prettier-plugin-tailwindcss": "^0.6.11",
74
- "rollup-plugin-visualizer": "^5.14.0",
75
+ "prettier-plugin-tailwindcss": "^0.6.12",
76
+ "rollup-plugin-visualizer": "^6.0.3",
75
77
  "tailwindcss": "^3.4.15",
76
78
  "typescript": "^5.8.3",
77
- "vite": "^6.3.2",
78
- "vite-plugin-dts": "^4.5.3",
79
+ "vite": "^6.3.5",
80
+ "vite-plugin-dts": "^4.5.4",
79
81
  "vite-plugin-lib-inject-css": "^2.2.2",
80
- "vue-tsc": "^2.2.8"
82
+ "vite-plugin-vue-devtools": "^7.7.6",
83
+ "vue-tsc": "^2.2.10"
81
84
  },
82
85
  "readme": "ERROR: No README data found!",
83
86
  "scripts": {
@@ -1,19 +0,0 @@
1
- import { Optional } from '@wikicasa-dev/types';
2
- type __VLS_Props = {
3
- min?: number;
4
- max?: number;
5
- step?: number;
6
- dataCy?: string;
7
- logarithmic?: boolean;
8
- };
9
- type __VLS_PublicProps = {
10
- modelValue?: Optional<number>;
11
- } & __VLS_Props;
12
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
- "update:modelValue": (value: Optional<number>) => any;
14
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
- "onUpdate:modelValue"?: ((value: Optional<number>) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
17
- customSlider: HTMLDivElement;
18
- }, HTMLDivElement>;
19
- export default _default;
@@ -1,7 +0,0 @@
1
- import o from "../../packages/components/lib/UIKit/Slider/SimpleSlider.vue.js";
2
- import '../../assets/packages/components/lib/UIKit/Slider/SimpleSlider.css';/* empty css */
3
- import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-54b825e3"]]);
5
- export {
6
- p as default
7
- };
@@ -1 +0,0 @@
1
- [data-v-581ec7f4] .form-control{max-width:none!important}.range_container[data-v-581ec7f4]{padding-top:15px}.sliders_control[data-v-581ec7f4]{position:relative;min-height:30px}.form_control[data-v-581ec7f4]{position:relative;display:flex;justify-content:space-between;font-size:24px;color:#635a5a}input[type=range][data-v-581ec7f4]{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:3px;width:100%;position:absolute;background-color:#b4c2f0;pointer-events:none}input[type=range][data-v-581ec7f4]::-webkit-slider-thumb:hover{background:#f7f7f7}input[type=range][data-v-581ec7f4]::-webkit-slider-thumb:active{box-shadow:inset 0 0 3px #387bbe,0 0 9px #387bbe;-webkit-box-shadow:inset 0 0 3px #387bbe,0 0 9px #387bbe}input[type=range][data-v-581ec7f4]::-moz-range-thumb{-moz-appearance:none;appearance:none;pointer-events:all;width:24px;height:24px;background-color:#fff;border-radius:50%;box-shadow:0 0 0 1px #c6c6c6;cursor:pointer}input[type=range][data-v-581ec7f4]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;pointer-events:all;width:24px;height:24px;background-color:#fff;border:2px solid #2B5DFF;border-radius:50%;cursor:pointer}input[type=number][data-v-581ec7f4]{color:#8a8383;width:50px;height:30px;font-size:20px;border:none}input[type=number][data-v-581ec7f4]::-webkit-inner-spin-button,input[type=number][data-v-581ec7f4]::-webkit-outer-spin-button{opacity:1}.fromSlider[data-v-581ec7f4]{height:0!important;z-index:1}.toSlider[data-v-581ec7f4]{height:3px!important}
@@ -1 +0,0 @@
1
- .switch-container[data-v-1e6f488b]{--switch-width: 40px;--switch-height: 22px;--switch-border-radius: 20px;--switch-circle-dim: 22px;--switch-active-transition-x-offset: 1px;--switch-active-transition-x: translateX( calc( var(--switch-width) - var(--switch-circle-dim) + var(--switch-active-transition-x-offset) ) )}.switch[data-v-1e6f488b]{width:var(--switch-width);height:var(--switch-height)}.switch input:checked+.slider[data-v-1e6f488b]:before{transform:var(--switch-active-transition-x)}.slider.round[data-v-1e6f488b]{border-radius:var(--switch-border-radius)}
@@ -1 +0,0 @@
1
- .checked-bg[data-v-505c1129]:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg transform='translate(-307 -2432)'%3E%3Crect width='16' height='16' fill='%232b5dff' data-name='Rettangolo 2689' rx='3' transform='translate(307 2432)'/%3E%3Cpath fill='none' stroke='%23f4f7ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m319.499 2437.499-6 6Zm-9 3 3 3Z' data-name='Unione 5'/%3E%3C/g%3E%3C/svg%3E")}.checked-bg-invalid[data-v-505c1129]:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg transform='translate(-307 -2432)'%3E%3Crect width='16' height='16' fill='%23FA4F64' data-name='Rettangolo 2689' rx='3' transform='translate(307 2432)'/%3E%3Cpath fill='none' stroke='%23f4f7ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m319.499 2437.499-6 6Zm-9 3 3 3Z' data-name='Unione 5'/%3E%3C/g%3E%3C/svg%3E")}
@@ -1 +0,0 @@
1
- .slider-track[data-v-54b825e3]{width:var(--0f43c897)}.slider-thumb[data-v-54b825e3]{left:var(--ec9c737a)}
@@ -1,4 +0,0 @@
1
- const r = (t) => !t?.length;
2
- export {
3
- r as isArrNullOrEmpty
4
- };
@@ -1,4 +0,0 @@
1
- const s = () => navigator?.userAgent.includes("Windows");
2
- export {
3
- s as isWindows
4
- };
@@ -1,12 +0,0 @@
1
- const c = (e, t) => new Promise((a, o) => {
2
- setTimeout(() => {
3
- try {
4
- e && e(), a();
5
- } catch {
6
- o();
7
- }
8
- }, t);
9
- });
10
- export {
11
- c as awaitableSetTimeout
12
- };