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

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 (170) 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.d.ts +22 -0
  21. package/dist/UIKit/BasePin.js +5 -0
  22. package/dist/UIKit/BaseSelect.d.ts +26 -0
  23. package/dist/UIKit/BaseSelect.js +5 -0
  24. package/dist/UIKit/BaseSlider.d.ts +14 -10
  25. package/dist/UIKit/BaseSlider.js +1 -4
  26. package/dist/UIKit/BaseSnackbar.js +4 -4
  27. package/dist/UIKit/BaseTextarea.d.ts +4 -4
  28. package/dist/UIKit/BaseTextarea.js +3 -3
  29. package/dist/UIKit/BaseToggle.d.ts +5 -8
  30. package/dist/UIKit/BaseToggle.js +1 -4
  31. package/dist/UIKit/BaseTooltip.d.ts +10 -20
  32. package/dist/UIKit/BaseTooltip.js +2 -2
  33. package/dist/UIKit/Checkbox/CheckboxBtn.d.ts +9 -16
  34. package/dist/UIKit/Checkbox/CheckboxBtn.js +2 -5
  35. package/dist/UIKit/Checkbox/CheckboxGroup.d.ts +2 -3
  36. package/dist/UIKit/DatePicker.js +5 -0
  37. package/dist/UIKit/InputDropdown.js +4 -0
  38. package/dist/UIKit/Navigation/NavigationBar.d.ts +17 -0
  39. package/dist/UIKit/Navigation/NavigationBar.js +5 -0
  40. package/dist/UIKit/Navigation/NavigationBarItem.d.ts +34 -0
  41. package/dist/UIKit/Navigation/NavigationBarItem.js +4 -0
  42. package/dist/UIKit/SegmentedControl/SegmentedControl.js +4 -0
  43. package/dist/UIKit/SegmentedControl/SegmentedControlItem.js +4 -0
  44. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +1 -3
  45. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.d.ts +1 -5
  46. package/dist/UIKit/Tab/BaseTabItem.d.ts +27 -0
  47. package/dist/UIKit/Tab/BaseTabItem.js +4 -0
  48. package/dist/UIKit/Tab/BaseTabList.d.ts +3 -3
  49. package/dist/UIKit/types.d.ts +11 -6
  50. 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
  51. package/dist/assets/packages/components/lib/UIKit/BaseAlert.css +1 -1
  52. package/dist/assets/packages/components/lib/UIKit/BaseBadge.css +1 -1
  53. package/dist/assets/packages/components/lib/UIKit/BaseBreadcrumb.css +1 -0
  54. package/dist/assets/packages/components/lib/UIKit/BaseCard.css +1 -1
  55. package/dist/assets/packages/components/lib/UIKit/BaseCollapse.css +1 -0
  56. package/dist/assets/packages/components/lib/UIKit/BaseComplexToggle.css +1 -1
  57. package/dist/assets/packages/components/lib/UIKit/BaseFloatingLabel.css +1 -1
  58. package/dist/assets/packages/components/lib/UIKit/BaseInput.css +1 -1
  59. package/dist/assets/packages/components/lib/UIKit/BaseModal.css +1 -1
  60. package/dist/assets/packages/components/lib/UIKit/BasePin.css +1 -0
  61. package/dist/assets/packages/components/lib/UIKit/BaseSelect.css +1 -0
  62. package/dist/assets/packages/components/lib/UIKit/BaseSnackbar.css +1 -1
  63. package/dist/assets/packages/components/lib/UIKit/BaseTextarea.css +1 -1
  64. package/dist/assets/packages/components/lib/UIKit/BaseTooltip.css +1 -1
  65. package/dist/assets/packages/components/lib/UIKit/DatePicker.css +1 -0
  66. package/dist/assets/packages/components/lib/UIKit/Navigation/NavigationBar.css +1 -0
  67. package/dist/assets/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.css +1 -1
  68. package/dist/assets/packages/components/src/tailwind.css +1 -1
  69. package/dist/composables/useFloatingLabel.d.ts +1 -1
  70. package/dist/composables/useFloatingLabel.js +20 -20
  71. package/dist/index.d.ts +5 -2
  72. package/dist/index.js +98 -85
  73. 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
  74. 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
  75. 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
  76. 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
  77. package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/controller.js +1 -1
  78. package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/free-mode.js +1 -1
  79. package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/keyboard.js +9 -9
  80. package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/pagination.js +17 -17
  81. package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/thumbs.js +1 -1
  82. package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/zoom.js +13 -13
  83. package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/shared/utils.js +32 -26
  84. package/dist/packages/components/lazyModules/Swiper/autoplay.js +2 -2
  85. package/dist/packages/components/lazyModules/Swiper/controller.js +2 -2
  86. package/dist/packages/components/lazyModules/Swiper/free-mode.js +2 -2
  87. package/dist/packages/components/lazyModules/Swiper/keyboard.js +2 -2
  88. package/dist/packages/components/lazyModules/Swiper/navigation.js +2 -2
  89. package/dist/packages/components/lazyModules/Swiper/pagination.js +2 -2
  90. package/dist/packages/components/lazyModules/Swiper/thumbs.js +2 -2
  91. package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +30 -30
  92. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js +2 -2
  93. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js +9 -9
  94. package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +107 -13
  95. package/dist/packages/components/lib/UIKit/BaseAutocomplete.vue.js +28 -27
  96. package/dist/packages/components/lib/UIKit/BaseBadge.vue.js +46 -11
  97. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement1.vue.js +29 -0
  98. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement2.vue.js +56 -0
  99. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement3.vue.js +56 -0
  100. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement4.vue.js +56 -0
  101. package/dist/packages/components/lib/UIKit/BaseBanner.vue.js +75 -0
  102. package/dist/packages/components/lib/UIKit/BaseBreadcrumb.vue.js +32 -35
  103. package/dist/packages/components/lib/UIKit/BaseButton.vue.js +56 -36
  104. package/dist/packages/components/lib/UIKit/BaseChip.vue.js +38 -0
  105. package/dist/packages/components/lib/UIKit/BaseCollapse.vue.js +54 -0
  106. package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +12 -12
  107. package/dist/packages/components/lib/UIKit/BaseDropDown.vue.js +48 -45
  108. package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +14 -17
  109. package/dist/packages/components/lib/UIKit/BaseInput.vue.js +93 -119
  110. package/dist/packages/components/lib/UIKit/BaseModal.vue.js +70 -66
  111. package/dist/packages/components/lib/UIKit/BaseNotificationBadge.vue.js +19 -0
  112. package/dist/packages/components/lib/UIKit/BasePagination.vue.js +89 -134
  113. package/dist/packages/components/lib/UIKit/BasePin.vue.js +37 -0
  114. package/dist/packages/components/lib/UIKit/BaseSelect.vue.js +65 -0
  115. package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +107 -178
  116. package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +7 -7
  117. package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +55 -73
  118. package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +27 -31
  119. package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +48 -33
  120. package/dist/packages/components/lib/UIKit/BaseUploadFile.vue.js +19 -40
  121. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js +55 -52
  122. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +20 -26
  123. package/dist/packages/components/lib/UIKit/DatePicker.vue.js +143 -0
  124. package/dist/packages/components/lib/UIKit/InputDropdown.vue.js +152 -0
  125. package/dist/packages/components/lib/UIKit/Navigation/NavigationBar.vue.js +21 -0
  126. package/dist/packages/components/lib/UIKit/Navigation/NavigationBarItem.vue.js +48 -0
  127. package/dist/packages/components/lib/UIKit/Radio/RadioButton.vue.js +9 -9
  128. package/dist/packages/components/lib/UIKit/SegmentedControl/SegmentedControl.vue.js +93 -0
  129. package/dist/packages/components/lib/UIKit/SegmentedControl/SegmentedControlItem.vue.js +30 -0
  130. package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +10 -9
  131. package/dist/packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +10 -9
  132. package/dist/packages/components/lib/UIKit/Tab/BaseTabItem.vue.js +39 -0
  133. package/dist/packages/components/lib/UIKit/Tab/BaseTabList.vue.js +30 -27
  134. package/dist/packages/components/lib/UIKit/Tab/BaseTabView.vue.js +40 -36
  135. package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +5 -6
  136. package/dist/utils.d.ts +1 -1
  137. package/dist/utils.js +5 -3
  138. package/package.json +26 -19
  139. package/plugins/buttonPlugin.ts +290 -0
  140. package/dist/UIKit/Slider/SimpleSlider.d.ts +0 -19
  141. package/dist/UIKit/Slider/SimpleSlider.js +0 -7
  142. package/dist/assets/packages/components/lib/UIKit/BaseSlider.css +0 -1
  143. package/dist/assets/packages/components/lib/UIKit/BaseToggle.css +0 -1
  144. package/dist/assets/packages/components/lib/UIKit/Checkbox/CheckboxBtn.css +0 -1
  145. package/dist/assets/packages/components/lib/UIKit/Slider/SimpleSlider.css +0 -1
  146. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js +0 -4
  147. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js +0 -4
  148. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js +0 -12
  149. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/NumberUtils.js +0 -18
  150. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js +0 -4
  151. package/dist/packages/components/lib/UIKit/Slider/SimpleSlider.vue.js +0 -82
  152. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/free-mode.css +0 -0
  153. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/navigation.css +0 -0
  154. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/pagination.css +0 -0
  155. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/zoom.css +0 -0
  156. /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/swiper.css +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/ArrowIcon.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/CloseIcon.js +0 -0
  159. /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
  160. /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
  161. /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
  162. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/autoplay.css.js +0 -0
  163. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/autoplay.js +0 -0
  164. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/controller.css.js +0 -0
  165. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/keyboard.css.js +0 -0
  166. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/navigation.js +0 -0
  167. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/thumbs.css.js +0 -0
  168. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/shared/classes-to-selector.js +0 -0
  169. /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
  170. /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/shared/ssr-window.esm.js +0 -0
@@ -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,12 +1,13 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "2.1.3",
3
+ "version": "2.1.4-alpha.10",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "files": [
9
- "dist"
9
+ "dist",
10
+ "plugins"
10
11
  ],
11
12
  "sideEffects": [
12
13
  "**/*.css"
@@ -28,6 +29,9 @@
28
29
  "./chart/*": {
29
30
  "import": "./dist/chart/*.js",
30
31
  "types": "./dist/chart/*.d.ts"
32
+ },
33
+ "./plugins/*": {
34
+ "import": "./plugins/*.ts"
31
35
  }
32
36
  },
33
37
  "repository": {
@@ -41,43 +45,46 @@
41
45
  },
42
46
  "homepage": "https://bitbucket.org/wikicasa/wikicasa-fe#readme",
43
47
  "dependencies": {
44
- "caniuse-lite": "^1.0.30001715",
48
+ "@vuepic/vue-datepicker": "^11.0.2",
49
+ "caniuse-lite": "^1.0.30001722",
45
50
  "chart.js": "^4.4.9",
46
51
  "chartjs-adapter-date-fns": "^3.0.0",
47
52
  "date-fns": "^4.1.0",
48
- "swiper": "^11.2.6",
49
- "vue": "3.5.13",
53
+ "reka-ui": "^2.3.1",
54
+ "swiper": "^11.2.8",
55
+ "vue": "^3.5.13",
50
56
  "vue-chartjs": "^5.3.2",
51
57
  "vue-router": "^4.5.0"
52
58
  },
53
59
  "devDependencies": {
54
- "@babel/eslint-parser": "^7.27.0",
60
+ "@babel/eslint-parser": "^7.27.5",
55
61
  "@histoire/plugin-vue": "^1.0.0-alpha.2",
56
- "@types/node": "^22.14.1",
57
- "@vitejs/plugin-vue": "^5.2.3",
62
+ "@types/node": "^24.0.1",
63
+ "@vitejs/plugin-vue": "^5.2.4",
58
64
  "@vue/eslint-config-prettier": "^10.2.0",
59
65
  "@vue/eslint-config-typescript": "^14.5.0",
60
- "@wikicasa-dev/svg-icons": "1.2.11",
66
+ "@wikicasa-dev/svg-icons": "1.2.12",
61
67
  "@wikicasa-dev/tailwind-plugins": "^0.0.3",
62
- "@wikicasa-dev/types": "2.1.2",
68
+ "@wikicasa-dev/types": "2.2.0",
63
69
  "@wikicasa-dev/utilities": "1.1.21",
64
70
  "@wikicasa-dev/vue-composables": "0.0.23",
65
71
  "ajv": "^8.17.1",
66
72
  "autoprefixer": "^10.4.21",
67
- "eslint": "^9.25",
68
- "eslint-plugin-vue": "^10.0.0",
69
- "glob": "^11.0.1",
73
+ "eslint": "^9.28",
74
+ "eslint-plugin-vue": "^10.2.0",
75
+ "glob": "^11.0.2",
70
76
  "histoire": "^1.0.0-alpha.2",
71
- "postcss": "^8.5.3",
77
+ "postcss": "^8.5.5",
72
78
  "prettier": "^3.5.3",
73
- "prettier-plugin-tailwindcss": "^0.6.11",
74
- "rollup-plugin-visualizer": "^5.14.0",
79
+ "prettier-plugin-tailwindcss": "^0.6.12",
80
+ "rollup-plugin-visualizer": "^6.0.3",
75
81
  "tailwindcss": "^3.4.15",
76
82
  "typescript": "^5.8.3",
77
- "vite": "^6.3.2",
78
- "vite-plugin-dts": "^4.5.3",
83
+ "vite": "^6.3.5",
84
+ "vite-plugin-dts": "^4.5.4",
79
85
  "vite-plugin-lib-inject-css": "^2.2.2",
80
- "vue-tsc": "^2.2.8"
86
+ "vite-plugin-vue-devtools": "^7.7.6",
87
+ "vue-tsc": "^2.2.10"
81
88
  },
82
89
  "readme": "ERROR: No README data found!",
83
90
  "scripts": {
@@ -0,0 +1,290 @@
1
+ import plugin from "tailwindcss/plugin";
2
+
3
+ const colors = {
4
+ //New colors
5
+ primary: { value: "#F20282", hover: "#E30C79", outlineHover: "#FFF8FB" },
6
+ secondary: { value: "#2b5dff", hover: "#244FD9" },
7
+ lightgray: { value: "#C1C8D5", hover: "" },
8
+ ghost: { value: "#FAFBFF", hover: "" },
9
+
10
+ //Old colors
11
+ darkPrimary: { value: "#2A3761", hover: "" },
12
+ lavender: { value: "#E9EFFE", hover: "" },
13
+ cultured: { value: "#F4F7FF", hover: "" },
14
+ carbon: { value: "#3C474D", hover: "" },
15
+ gray: { value: "#6D7687", hover: "" },
16
+ black: { value: "#222222", hover: "" },
17
+ warning: { value: "#FFD167", hover: "" },
18
+ white: { value: "#FFF", hover: "" },
19
+ danger: { value: "#FA4F64", hover: "" },
20
+ } as const;
21
+
22
+ export const buttonPlugin = plugin(({ addComponents, theme }) => {
23
+ addComponents({
24
+ ".btn": {
25
+ "--btn-px": "25px",
26
+ "--btn-py": "11px",
27
+ "--btn-bg-color": "transparent",
28
+ "--btn-text-color": colors.black.value,
29
+ "--btn-border-color": "unset",
30
+ "--btn-border-width": "0",
31
+ "--btn-border-radius": "24px",
32
+ "--btn-border-style": "solid",
33
+ "--btn-height": "40px",
34
+ "--btn-width": "auto",
35
+ "--btn-font-size": theme("fontSize.16"),
36
+ "--btn-transition":
37
+ "color, background-color cubic-bezier(0.4, 0, 0.2, 1) 150ms",
38
+ "--btn-font-weight": `${theme("fontWeight.semibold")}`,
39
+ display: "inline-flex",
40
+ "align-items": "center",
41
+ "justify-content": "center",
42
+ "font-size": "var(--btn-font-size)",
43
+ "font-weight": "var(--btn-font-weight)",
44
+ "white-space": "nowrap",
45
+ border:
46
+ "var(--btn-border-width) var(--btn-border-color) var(--btn-border-style)",
47
+ "border-radius": "var(--btn-border-radius)",
48
+ cursor: "pointer",
49
+ height: "var(--btn-height)",
50
+ width: "var(--btn-width)",
51
+ "background-color": "var(--btn-bg-color)",
52
+ color: "var(--btn-text-color)",
53
+ padding: "var(--btn-py) var(--btn-px)",
54
+ transition: "var(--btn-transition)",
55
+ "line-height": "1",
56
+ "-webkit-tap-highlight-color": "transparent",
57
+ "&.btn-lg": {
58
+ "--btn-height": "48px",
59
+ "--btn-px": "24px",
60
+ "--btn-py": "12px",
61
+ },
62
+ "&.btn-sm": {
63
+ "--btn-px": "24px",
64
+ "--btn-py": "8px",
65
+ "--btn-height": "40px",
66
+ },
67
+ "&.btn-rounded": {
68
+ "--btn-px": "0",
69
+ "--btn-py": "0",
70
+ },
71
+ "&.btn-outline": {
72
+ "--btn-border-width": "1px",
73
+ "--btn-bg-color": colors.white.value,
74
+ },
75
+ "&.btn-primary": {
76
+ ...createBtn(
77
+ {
78
+ bgColor: colors.primary.value,
79
+ textColor: colors.white.value,
80
+ hoverBgColor: colors.primary.hover,
81
+ hoverDisabledBgColor: colors.primary.value,
82
+ },
83
+ {
84
+ mainColor: colors.white.hover,
85
+ textColor: colors.primary.value,
86
+ hoverBgColor: colors.primary.outlineHover,
87
+ },
88
+ ),
89
+ "text-transform": "uppercase",
90
+ },
91
+ "&.btn-secondary": createBtn(
92
+ {
93
+ bgColor: colors.secondary.value,
94
+ textColor: colors.white.value,
95
+ hoverBgColor: colors.secondary.hover,
96
+ hoverDisabledBgColor: colors.secondary.value,
97
+ },
98
+ {
99
+ mainColor: colors.secondary.value,
100
+ textColor: colors.secondary.value,
101
+ },
102
+ ),
103
+ "&.btn-ternary": {
104
+ ...createBtn({
105
+ bgColor: colors.white.value,
106
+ textColor: colors.secondary.value,
107
+ hoverBgColor: colors.white.value,
108
+ hoverDisabledBgColor: colors.secondary.value,
109
+ hoverTextColor: colors.secondary.hover,
110
+ }),
111
+ "--btn-border-color": colors.lightgray.value,
112
+ "--btn-border-width": "1px",
113
+ "--btn-border-radius": "24px",
114
+ },
115
+ "&.btn-quaternary": {
116
+ "--btn-px": "0",
117
+ "--btn-py": "0",
118
+ "--btn-text-color": colors.secondary.value,
119
+ "--btn-height": "auto",
120
+ "&:hover": {
121
+ "text-decoration": "underline",
122
+ "--btn-text-color": colors.secondary.hover,
123
+ },
124
+ "&:disabled": {
125
+ "--btn-bg-color": "transparent",
126
+ "--btn-text-color": colors.lightgray.value,
127
+ },
128
+ },
129
+ "&.btn-single-selection": {
130
+ "--btn-px": "16px",
131
+ "--btn-py": "8px",
132
+ "--btn-border-radius": theme("borderRadius.2xs"),
133
+ "--btn-border-color": colors.lightgray.value,
134
+ "--btn-border-width": "1px",
135
+ "--btn-font-weight": theme("fontWeight.regular"),
136
+ "&:hover": {
137
+ "--btn-border-color": colors.secondary.value,
138
+ },
139
+ "&:active,&.active,&[data-active='true']": {
140
+ "--btn-bg-color": colors.ghost.value,
141
+ "--btn-text-color": colors.secondary.value,
142
+ "--btn-border-color": colors.secondary.value,
143
+ },
144
+ },
145
+ },
146
+ //OLD style. Kept for retro-compatibility
147
+ ".btn-light": createBtn({
148
+ textColor: colors.primary.value,
149
+ bgColor: colors.white.value,
150
+ hoverTextColor: colors.primary.value,
151
+ hoverBgColor: "#FAFAFA",
152
+ hoverDisabledBgColor: colors.white.value,
153
+ }),
154
+ ".btn-warning": createBtn({
155
+ bgColor: colors.warning.value,
156
+ textColor: "#2A3761",
157
+ hoverBgColor: "#F2C761",
158
+ hoverDisabledBgColor: colors.warning.value,
159
+ }),
160
+ ".btn-danger": createBtn(
161
+ {
162
+ bgColor: colors.danger.value,
163
+ textColor: colors.white.value,
164
+ hoverBgColor: "#E0485A",
165
+ hoverDisabledBgColor: colors.danger.value,
166
+ },
167
+ {
168
+ mainColor: colors.danger.value,
169
+ textColor: colors.danger.value,
170
+ },
171
+ ),
172
+ ".btn-multi-selection": {
173
+ "--btn-py": "10px",
174
+ "--btn-height": "40px",
175
+ "font-weight": theme("fontWeight.regular"),
176
+ "--btn-border-radius": theme("borderRadius.xs"),
177
+ "--btn-border-color": "#EAEFFD",
178
+ "--btn-border-width": "1px",
179
+ "white-space": "normal",
180
+ ...createBtn({
181
+ textColor: colors.black.value,
182
+ bgColor: "#F5F7FA",
183
+ hoverBgColor: colors.lavender.value,
184
+ hoverDisabledBgColor: colors.white.value,
185
+ hoverBorderColor: "#385CF6",
186
+ }),
187
+ },
188
+
189
+ ".btn-facile": {
190
+ "--btn-facile-color": "#FF6600",
191
+ "--btn-facile-hover-color": "#b34700",
192
+ ...createBtn({
193
+ bgColor: "var(--btn-facile-color)",
194
+ textColor: colors.white.value,
195
+ hoverBgColor: "var(--btn-facile-hover-color)",
196
+ hoverTextColor: colors.white.value,
197
+ hoverDisabledBgColor: "var(--btn-facile-color)",
198
+ }),
199
+ },
200
+ ".btn-show-more": {
201
+ "--btn-border-radius": "0",
202
+ "--btn-border-color": colors.white.value,
203
+ ...createBtn({
204
+ textColor: "#2B5DFF",
205
+ bgColor: colors.white.value,
206
+ hoverTextColor: "#3646B3",
207
+ hoverBgColor: colors.white.value,
208
+ hoverDisabledBgColor: colors.white.value,
209
+ }),
210
+ },
211
+ ".btn-transparent": {
212
+ "--border-color": "transparent",
213
+ "--btn-px": "0",
214
+ "--btn-py": "0",
215
+ "&:hover": {
216
+ "--btn-bg-color": "transparent",
217
+ "--border-color": "transparent",
218
+ },
219
+ },
220
+ });
221
+ });
222
+
223
+ type BtnAttributes = {
224
+ bgColor: string;
225
+ textColor: string;
226
+ hoverBgColor: string;
227
+ hoverTextColor?: string;
228
+ /* The border color will be applied to desktop mode */
229
+ hoverBorderColor?: string;
230
+ activeBorderColor?: string;
231
+ activeBgColor?: string;
232
+ activeTextColor?: string;
233
+ hoverDisabledBgColor: string;
234
+ };
235
+ type BtnOutlineVariantAttributes = {
236
+ /* If present, it will be used to set the color to borders, text and background */
237
+ mainColor?: string;
238
+ borderColor?: string;
239
+ textColor?: string;
240
+ /* The hover bg color will be activated only from tablet mode on */
241
+ hoverBgColor?: string;
242
+ hoverDisabledBgColor?: string;
243
+ /* The hover text color will be activated only from tablet mode on */
244
+ hoverTextColor?: string;
245
+ activeBgColor?: string;
246
+ activeTextColor?: string;
247
+ };
248
+
249
+ const createBtn = (
250
+ btnProps: BtnAttributes,
251
+ btnOutlineProps?: BtnOutlineVariantAttributes,
252
+ ): any => ({
253
+ "--btn-bg-color": btnProps.bgColor,
254
+ "--btn-text-color": btnProps.textColor,
255
+ "&:disabled": {
256
+ cursor: "not-allowed",
257
+ },
258
+ "&:hover:not(:disabled)": {
259
+ "--btn-text-color": btnProps.hoverTextColor,
260
+ "--btn-bg-color": btnProps.hoverBgColor,
261
+ },
262
+ ...(btnOutlineProps
263
+ ? {
264
+ "&.btn-outline": createOutlineVariant(btnOutlineProps),
265
+ }
266
+ : {}),
267
+ });
268
+
269
+ const createOutlineVariant = (props: BtnOutlineVariantAttributes): any => ({
270
+ "--btn-border-color": props.mainColor ?? props.borderColor,
271
+ "--btn-text-color": props.textColor,
272
+ "--btn-bg-color": "#fff",
273
+ //By default, the active section is the same of the hover section in desktop mode
274
+ "&:active": {
275
+ "--btn-bg-color":
276
+ (props.mainColor ?? props.activeBgColor ?? props.hoverBgColor) +
277
+ " !important",
278
+ //By default, on active the text is white
279
+ ...(props.activeTextColor || props.hoverTextColor
280
+ ? {
281
+ "--btn-text-color": props.activeTextColor ?? props.hoverTextColor,
282
+ }
283
+ : {}),
284
+ },
285
+ "&:hover": {
286
+ //By default, the text color is white
287
+ ...(props.hoverBgColor ? { "--btn-bg-color": props.hoverBgColor } : {}),
288
+ "--btn-text-color": props.hoverTextColor ?? props.textColor,
289
+ },
290
+ });
@@ -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
- };
@@ -1,18 +0,0 @@
1
- function a(t, i = !1) {
2
- return t == null ? "" : n(i ? Math.round(t) : Math.floor(t), 0);
3
- }
4
- function n(t, i) {
5
- return !t && t !== 0 ? "" : t.toLocaleString(
6
- "it-IT",
7
- // usare una stringa tipo 'en-US' per sovrascrivere la lingua del browser
8
- {
9
- minimumFractionDigits: i,
10
- maximumFractionDigits: i,
11
- useGrouping: "always"
12
- }
13
- );
14
- }
15
- export {
16
- a as formatInteger,
17
- n as formatNumber
18
- };