@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.
- package/dist/UIKit/BaseAlert.d.ts +20 -9
- package/dist/UIKit/BaseBadge.d.ts +40 -5
- package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement1.js +4 -0
- package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement2.js +4 -0
- package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement3.js +4 -0
- package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement4.js +4 -0
- package/dist/UIKit/BaseBanner.js +4 -0
- package/dist/UIKit/BaseBreadcrumb.js +3 -2
- package/dist/UIKit/BaseButton.d.ts +9 -8
- package/dist/UIKit/BaseChip.js +4 -0
- package/dist/UIKit/BaseCollapse.js +7 -0
- package/dist/UIKit/BaseComplexToggle.d.ts +1 -1
- package/dist/UIKit/BaseComplexToggle.js +2 -2
- package/dist/UIKit/BaseDropDown.d.ts +5 -0
- package/dist/UIKit/BaseFloatingLabel.js +1 -3
- package/dist/UIKit/BaseInput.d.ts +4 -5
- package/dist/UIKit/BaseInput.js +1 -3
- package/dist/UIKit/BaseNotificationBadge.js +4 -0
- package/dist/UIKit/BasePagination.d.ts +10 -3
- package/dist/UIKit/BasePin.d.ts +22 -0
- package/dist/UIKit/BasePin.js +5 -0
- package/dist/UIKit/BaseSelect.d.ts +26 -0
- package/dist/UIKit/BaseSelect.js +5 -0
- package/dist/UIKit/BaseSlider.d.ts +14 -10
- package/dist/UIKit/BaseSlider.js +1 -4
- package/dist/UIKit/BaseSnackbar.js +4 -4
- package/dist/UIKit/BaseTextarea.d.ts +4 -4
- package/dist/UIKit/BaseTextarea.js +3 -3
- package/dist/UIKit/BaseToggle.d.ts +5 -8
- package/dist/UIKit/BaseToggle.js +1 -4
- package/dist/UIKit/BaseTooltip.d.ts +10 -20
- package/dist/UIKit/BaseTooltip.js +2 -2
- package/dist/UIKit/Checkbox/CheckboxBtn.d.ts +9 -16
- package/dist/UIKit/Checkbox/CheckboxBtn.js +2 -5
- package/dist/UIKit/Checkbox/CheckboxGroup.d.ts +2 -3
- package/dist/UIKit/DatePicker.js +5 -0
- package/dist/UIKit/InputDropdown.js +4 -0
- package/dist/UIKit/Navigation/NavigationBar.d.ts +17 -0
- package/dist/UIKit/Navigation/NavigationBar.js +5 -0
- package/dist/UIKit/Navigation/NavigationBarItem.d.ts +34 -0
- package/dist/UIKit/Navigation/NavigationBarItem.js +4 -0
- package/dist/UIKit/SegmentedControl/SegmentedControl.js +4 -0
- package/dist/UIKit/SegmentedControl/SegmentedControlItem.js +4 -0
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +1 -3
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.d.ts +1 -5
- package/dist/UIKit/Tab/BaseTabItem.d.ts +27 -0
- package/dist/UIKit/Tab/BaseTabItem.js +4 -0
- package/dist/UIKit/Tab/BaseTabList.d.ts +3 -3
- package/dist/UIKit/types.d.ts +11 -6
- 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
- package/dist/assets/packages/components/lib/UIKit/BaseAlert.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BaseBadge.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BaseBreadcrumb.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/BaseCard.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BaseCollapse.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/BaseComplexToggle.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BaseFloatingLabel.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BaseInput.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BaseModal.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BasePin.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/BaseSelect.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/BaseSnackbar.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BaseTextarea.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BaseTooltip.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/DatePicker.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/Navigation/NavigationBar.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.css +1 -1
- package/dist/assets/packages/components/src/tailwind.css +1 -1
- package/dist/composables/useFloatingLabel.d.ts +1 -1
- package/dist/composables/useFloatingLabel.js +20 -20
- package/dist/index.d.ts +5 -2
- package/dist/index.js +98 -85
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/controller.js +1 -1
- package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/free-mode.js +1 -1
- package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/keyboard.js +9 -9
- package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/pagination.js +17 -17
- package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/thumbs.js +1 -1
- package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/zoom.js +13 -13
- package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/shared/utils.js +32 -26
- package/dist/packages/components/lazyModules/Swiper/autoplay.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/controller.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/free-mode.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/keyboard.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/navigation.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/pagination.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/thumbs.js +2 -2
- package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +30 -30
- package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js +2 -2
- package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js +9 -9
- package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +107 -13
- package/dist/packages/components/lib/UIKit/BaseAutocomplete.vue.js +28 -27
- package/dist/packages/components/lib/UIKit/BaseBadge.vue.js +46 -11
- package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement1.vue.js +29 -0
- package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement2.vue.js +56 -0
- package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement3.vue.js +56 -0
- package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement4.vue.js +56 -0
- package/dist/packages/components/lib/UIKit/BaseBanner.vue.js +75 -0
- package/dist/packages/components/lib/UIKit/BaseBreadcrumb.vue.js +32 -35
- package/dist/packages/components/lib/UIKit/BaseButton.vue.js +56 -36
- package/dist/packages/components/lib/UIKit/BaseChip.vue.js +38 -0
- package/dist/packages/components/lib/UIKit/BaseCollapse.vue.js +54 -0
- package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +12 -12
- package/dist/packages/components/lib/UIKit/BaseDropDown.vue.js +48 -45
- package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +14 -17
- package/dist/packages/components/lib/UIKit/BaseInput.vue.js +93 -119
- package/dist/packages/components/lib/UIKit/BaseModal.vue.js +70 -66
- package/dist/packages/components/lib/UIKit/BaseNotificationBadge.vue.js +19 -0
- package/dist/packages/components/lib/UIKit/BasePagination.vue.js +89 -134
- package/dist/packages/components/lib/UIKit/BasePin.vue.js +37 -0
- package/dist/packages/components/lib/UIKit/BaseSelect.vue.js +65 -0
- package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +107 -178
- package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +7 -7
- package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +55 -73
- package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +27 -31
- package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +48 -33
- package/dist/packages/components/lib/UIKit/BaseUploadFile.vue.js +19 -40
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js +55 -52
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +20 -26
- package/dist/packages/components/lib/UIKit/DatePicker.vue.js +143 -0
- package/dist/packages/components/lib/UIKit/InputDropdown.vue.js +152 -0
- package/dist/packages/components/lib/UIKit/Navigation/NavigationBar.vue.js +21 -0
- package/dist/packages/components/lib/UIKit/Navigation/NavigationBarItem.vue.js +48 -0
- package/dist/packages/components/lib/UIKit/Radio/RadioButton.vue.js +9 -9
- package/dist/packages/components/lib/UIKit/SegmentedControl/SegmentedControl.vue.js +93 -0
- package/dist/packages/components/lib/UIKit/SegmentedControl/SegmentedControlItem.vue.js +30 -0
- package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +10 -9
- package/dist/packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +10 -9
- package/dist/packages/components/lib/UIKit/Tab/BaseTabItem.vue.js +39 -0
- package/dist/packages/components/lib/UIKit/Tab/BaseTabList.vue.js +30 -27
- package/dist/packages/components/lib/UIKit/Tab/BaseTabView.vue.js +40 -36
- package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +5 -6
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +5 -3
- package/package.json +26 -19
- package/plugins/buttonPlugin.ts +290 -0
- package/dist/UIKit/Slider/SimpleSlider.d.ts +0 -19
- package/dist/UIKit/Slider/SimpleSlider.js +0 -7
- package/dist/assets/packages/components/lib/UIKit/BaseSlider.css +0 -1
- package/dist/assets/packages/components/lib/UIKit/BaseToggle.css +0 -1
- package/dist/assets/packages/components/lib/UIKit/Checkbox/CheckboxBtn.css +0 -1
- package/dist/assets/packages/components/lib/UIKit/Slider/SimpleSlider.css +0 -1
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js +0 -4
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js +0 -4
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js +0 -12
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/NumberUtils.js +0 -18
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js +0 -4
- package/dist/packages/components/lib/UIKit/Slider/SimpleSlider.vue.js +0 -82
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/free-mode.css +0 -0
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/navigation.css +0 -0
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/pagination.css +0 -0
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/zoom.css +0 -0
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/swiper.css +0 -0
- /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
- /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
- /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
- /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
- /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
- /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/autoplay.css.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/autoplay.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/controller.css.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/keyboard.css.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/navigation.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/modules/thumbs.css.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/shared/classes-to-selector.js +0 -0
- /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
- /package/dist/node_modules/.pnpm/{swiper@11.2.6 → swiper@11.2.8}/node_modules/swiper/shared/ssr-window.esm.js +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as h, ref as $, inject as
|
|
1
|
+
import { defineComponent as h, ref as $, inject as C, watch as l, unref as d, createElementBlock as v, openBlock as u, normalizeClass as m, createBlock as y, createCommentVNode as g, renderSlot as s, createElementVNode as f, withModifiers as O, createVNode as k, withCtx as c } from "vue";
|
|
2
2
|
import A from "./BaseAccordionBtn.vue.js";
|
|
3
3
|
import B from "./BaseAccordionContent.vue.js";
|
|
4
|
-
import { ArrowIcon as E } from "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
5
|
-
import "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
4
|
+
import { ArrowIcon as E } from "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
|
|
5
|
+
import "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
|
|
6
6
|
const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M = ["itemprop", "innerHTML"], P = /* @__PURE__ */ h({
|
|
7
7
|
inheritAttrs: !1,
|
|
8
8
|
__name: "BaseAccordionItem",
|
|
@@ -26,31 +26,31 @@ const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
|
|
|
26
26
|
},
|
|
27
27
|
emits: ["click", "accordionOpened", "accordionClosed", "update:accordionState"],
|
|
28
28
|
setup(i, { emit: w }) {
|
|
29
|
-
const a = w, o = $(!1), r =
|
|
29
|
+
const a = w, o = $(!1), r = C(
|
|
30
30
|
"accordionItems",
|
|
31
31
|
() => {
|
|
32
32
|
},
|
|
33
33
|
!0
|
|
34
|
-
), b =
|
|
34
|
+
), b = C(
|
|
35
35
|
"handleClick",
|
|
36
36
|
() => {
|
|
37
37
|
},
|
|
38
38
|
!0
|
|
39
|
-
),
|
|
39
|
+
), p = (e, t = !1) => {
|
|
40
40
|
a(t ? "accordionOpened" : "accordionClosed", e), a("update:accordionState", t);
|
|
41
41
|
};
|
|
42
42
|
r && (r.value[i.id] = { id: i.id, title: i.title, active: i.active }), l(
|
|
43
43
|
() => d(r),
|
|
44
44
|
(e) => {
|
|
45
45
|
const t = e?.[i.id];
|
|
46
|
-
!t || o.value === t.active || (o.value = t.active ?? !1,
|
|
46
|
+
!t || o.value === t.active || (o.value = t.active ?? !1, p(
|
|
47
47
|
{ id: i.id, title: i.title, active: t.active },
|
|
48
48
|
t.active
|
|
49
49
|
));
|
|
50
50
|
},
|
|
51
51
|
{ deep: !0, immediate: !0 }
|
|
52
52
|
), l(o, (e) => {
|
|
53
|
-
o.value = e,
|
|
53
|
+
o.value = e, p({ id: i.id, title: i.title, active: o.value }, e);
|
|
54
54
|
}), l(
|
|
55
55
|
() => i.active,
|
|
56
56
|
(e) => {
|
|
@@ -68,7 +68,7 @@ const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
|
|
|
68
68
|
f("button", {
|
|
69
69
|
id: `accordion-title-${e.id}`,
|
|
70
70
|
type: "button",
|
|
71
|
-
class: m(["uikit-flex uikit-w-full uikit-items-center uikit-justify-between uikit-border-0 uikit-bg-white uikit-px-
|
|
71
|
+
class: m(["uikit-flex uikit-w-full uikit-items-center uikit-justify-between uikit-border-0 uikit-bg-white uikit-px-[20px] uikit-py-md uikit-text-left uikit-font-semibold uikit-transition-colors active:max-sm:uikit-bg-w-cultured hover:sm:uikit-bg-w-cultured", e.btnClasses]),
|
|
72
72
|
"data-cy": e.dataCy,
|
|
73
73
|
"aria-expanded": o.value,
|
|
74
74
|
"aria-controls": `accordion-text-${e.id}`,
|
|
@@ -1,19 +1,113 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
1
|
+
import { defineComponent as g, mergeModels as T, useModel as h, ref as w, watch as x, nextTick as y, createBlock as f, openBlock as m, unref as e, withCtx as l, renderSlot as r, createVNode as i, normalizeClass as C, createCommentVNode as I, normalizeStyle as b } from "vue";
|
|
2
|
+
import { CloseIcon as V } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
|
|
3
|
+
import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
|
|
4
|
+
import { ToastProvider as $, ToastRoot as z, ToastTitle as M, ToastDescription as P, ToastClose as B, ToastAction as D, ProgressRoot as j, ProgressIndicator as A, ToastViewport as N } from "reka-ui";
|
|
5
|
+
const X = /* @__PURE__ */ g({
|
|
3
6
|
__name: "BaseAlert",
|
|
4
|
-
props: {
|
|
5
|
-
alertClass: { default: "" }
|
|
6
|
-
|
|
7
|
+
props: /* @__PURE__ */ T({
|
|
8
|
+
alertClass: { default: "primary" },
|
|
9
|
+
duration: { default: 3e3 }
|
|
10
|
+
}, {
|
|
11
|
+
open: { default: !1 },
|
|
12
|
+
openModifiers: {}
|
|
13
|
+
}),
|
|
14
|
+
emits: ["update:open"],
|
|
7
15
|
setup(n) {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
const u = h(n, "open"), o = w(0);
|
|
17
|
+
let d = -1, k = -1;
|
|
18
|
+
const c = (t = 3e3) => {
|
|
19
|
+
o.value = 0;
|
|
20
|
+
const a = Date.now();
|
|
21
|
+
k = setInterval(() => {
|
|
22
|
+
const v = Date.now() - a;
|
|
23
|
+
o.value = Math.min(100, v / t * 100), o.value >= 100 && clearInterval(k);
|
|
24
|
+
}, 30);
|
|
25
|
+
}, p = () => {
|
|
26
|
+
clearTimeout(d), d = setTimeout(() => {
|
|
27
|
+
u.value = !1;
|
|
28
|
+
}, n.duration), c(n.duration);
|
|
29
|
+
};
|
|
30
|
+
return x(
|
|
31
|
+
u,
|
|
32
|
+
(t) => {
|
|
33
|
+
y(() => {
|
|
34
|
+
if (t) {
|
|
35
|
+
p();
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
clearInterval(k), clearTimeout(d), o.value = 0;
|
|
39
|
+
});
|
|
40
|
+
},
|
|
41
|
+
{ immediate: !0 }
|
|
42
|
+
), (t, a) => (m(), f(e($), null, {
|
|
43
|
+
default: l(() => [
|
|
44
|
+
r(t.$slots, "trigger", {
|
|
45
|
+
open: () => u.value = !0
|
|
46
|
+
}),
|
|
47
|
+
i(e(z), {
|
|
48
|
+
open: u.value,
|
|
49
|
+
"onUpdate:open": a[1] || (a[1] = (s) => u.value = s),
|
|
50
|
+
duration: t.duration,
|
|
51
|
+
class: C(["toast-root uikit-shadow-surface uikit-relative uikit-flex uikit-gap-x-xs uikit-overflow-hidden uikit-rounded-2xs uikit-p-md uikit-text-16 uikit-font-medium sm:uikit-max-w-[460px]", ["uikit-alert", `uikit-alert-w-${t.alertClass}`]])
|
|
52
|
+
}, {
|
|
53
|
+
default: l(() => [
|
|
54
|
+
t.$slots.title ? (m(), f(e(M), {
|
|
55
|
+
key: 0,
|
|
56
|
+
"as-child": ""
|
|
57
|
+
}, {
|
|
58
|
+
default: l(() => [
|
|
59
|
+
r(t.$slots, "title")
|
|
60
|
+
]),
|
|
61
|
+
_: 3
|
|
62
|
+
})) : I("", !0),
|
|
63
|
+
i(e(P), { "as-child": "" }, {
|
|
64
|
+
default: l(() => [
|
|
65
|
+
r(t.$slots, "default"),
|
|
66
|
+
i(e(B), { class: "uikit-ml-md uikit-flex uikit-size-lg uikit-shrink-0 uikit-cursor-pointer uikit-appearance-none uikit-items-center uikit-justify-center uikit-rounded-full uikit-bg-w-lightgray" }, {
|
|
67
|
+
default: l(() => [
|
|
68
|
+
i(e(V), {
|
|
69
|
+
width: 12,
|
|
70
|
+
height: 12,
|
|
71
|
+
"stroke-color": "#fff"
|
|
72
|
+
})
|
|
73
|
+
]),
|
|
74
|
+
_: 1
|
|
75
|
+
})
|
|
76
|
+
]),
|
|
77
|
+
_: 3
|
|
78
|
+
}),
|
|
79
|
+
i(e(D), {
|
|
80
|
+
class: "[grid-area:_action]",
|
|
81
|
+
"as-child": "",
|
|
82
|
+
"alt-text": "Goto schedule to undo"
|
|
83
|
+
}, {
|
|
84
|
+
default: l(() => [
|
|
85
|
+
r(t.$slots, "toast-action")
|
|
86
|
+
]),
|
|
87
|
+
_: 3
|
|
88
|
+
}),
|
|
89
|
+
i(e(j), {
|
|
90
|
+
modelValue: o.value,
|
|
91
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => o.value = s),
|
|
92
|
+
class: "uikit-absolute uikit-bottom-0 uikit-left-0 uikit-h-2xs uikit-w-full uikit-overflow-hidden"
|
|
93
|
+
}, {
|
|
94
|
+
default: l(() => [
|
|
95
|
+
i(e(A), {
|
|
96
|
+
class: "uikit-relative uikit-block uikit-size-full uikit-bg-w-blue uikit-transition-transform uikit-duration-75 uikit-will-change-transform",
|
|
97
|
+
style: b(`transform: translateX(-${100 - o.value}%)`)
|
|
98
|
+
}, null, 8, ["style"])
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}, 8, ["modelValue"])
|
|
102
|
+
]),
|
|
103
|
+
_: 3
|
|
104
|
+
}, 8, ["open", "duration", "class"]),
|
|
105
|
+
i(e(N), { class: "uikit-fixed uikit-bottom-0 uikit-right-0 uikit-flex uikit-size-full uikit-list-none uikit-flex-col uikit-items-end uikit-justify-end uikit-p-0" })
|
|
106
|
+
]),
|
|
107
|
+
_: 3
|
|
108
|
+
}));
|
|
15
109
|
}
|
|
16
110
|
});
|
|
17
111
|
export {
|
|
18
|
-
|
|
112
|
+
X as default
|
|
19
113
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineComponent as L, mergeModels as y, useModel as F, ref as d, computed as k, onBeforeMount as H, watch as f, createBlock as g, openBlock as h, normalizeClass as K, withCtx as s, createElementBlock as T, Fragment as z, renderList as A, unref as N, createElementVNode as U, createVNode as W, renderSlot as $ } from "vue";
|
|
2
|
-
import j from "
|
|
2
|
+
import j from "./BaseInput.vue.js";
|
|
3
|
+
import '../../../../assets/packages/components/lib/UIKit/BaseInput.css';/* empty css */
|
|
3
4
|
import q from "./BaseDropDown.vue.js";
|
|
4
5
|
import "../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
|
|
5
6
|
import { debounce as G } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js";
|
|
@@ -35,7 +36,7 @@ const R = ["innerHTML"], ne = /* @__PURE__ */ L({
|
|
|
35
36
|
const r = F(
|
|
36
37
|
o,
|
|
37
38
|
"modelValue"
|
|
38
|
-
), u = V, i = d(""),
|
|
39
|
+
), u = V, i = d(""), a = d([]), p = d(null), b = d(!1), l = d(!1), w = d(null), B = k(() => a.value.length);
|
|
39
40
|
H(() => {
|
|
40
41
|
p.value = G({ delay: 300 }, o.onInputChangeCb);
|
|
41
42
|
});
|
|
@@ -50,22 +51,22 @@ const R = ["innerHTML"], ne = /* @__PURE__ */ L({
|
|
|
50
51
|
case "all-bordered":
|
|
51
52
|
return "!uikit-rounded " + (l.value && "!uikit-rounded-b-none");
|
|
52
53
|
case "all-bordered-thick":
|
|
53
|
-
return "!uikit-rounded-
|
|
54
|
+
return "!uikit-rounded-[30px] !uikit-h-[52px] " + (l.value && "!uikit-rounded-b-none");
|
|
54
55
|
default:
|
|
55
56
|
return "";
|
|
56
57
|
}
|
|
57
|
-
}),
|
|
58
|
+
}), M = k(() => {
|
|
58
59
|
switch (o.theme) {
|
|
59
60
|
case "bordered":
|
|
60
61
|
return "";
|
|
61
62
|
case "all-bordered":
|
|
62
63
|
return "uikit-border uikit-border-w-lavender uikit-border-solid !uikit-rounded !uikit-border-w-lavender !uikit-border " + (l.value ? "!uikit-border-b-0 !uikit-rounded-b-none" : "");
|
|
63
64
|
case "all-bordered-thick":
|
|
64
|
-
return "!uikit-rounded-
|
|
65
|
+
return "!uikit-rounded-[30px] !uikit-h-[60px] !uikit-border-w-lavender !uikit-border-none " + (l.value ? "!uikit-rounded-b-none" : "");
|
|
65
66
|
default:
|
|
66
67
|
return "";
|
|
67
68
|
}
|
|
68
|
-
}),
|
|
69
|
+
}), I = k(() => {
|
|
69
70
|
const e = "uikit-rounded-b-xl uikit-shadow uikit-rounded-t-none uikit-mb-0 !uikit-mt-0 uikit-text-w-black !uikit-rounded-b-xl !uikit-rounded-t-none";
|
|
70
71
|
switch (o.theme) {
|
|
71
72
|
case "bordered":
|
|
@@ -80,15 +81,15 @@ const R = ["innerHTML"], ne = /* @__PURE__ */ L({
|
|
|
80
81
|
}), D = async (e) => {
|
|
81
82
|
if (i.value !== e && (u("changedValue", e), i.value = e, !!o.onInputChangeCb)) {
|
|
82
83
|
if (!e || b.value) {
|
|
83
|
-
|
|
84
|
+
a.value = [], b.value = !1, m.value = -1, v.value = -1, r.value && (r.value.label = ""), l.value = !1, await p.value(null);
|
|
84
85
|
return;
|
|
85
86
|
}
|
|
86
|
-
o.disableCb || (
|
|
87
|
+
o.disableCb || (a.value = await p.value(e), l.value = !!a.value.length);
|
|
87
88
|
}
|
|
88
89
|
}, C = (e, t) => {
|
|
89
|
-
o.onOptionSelectedCb && o.onOptionSelectedCb(e), o.cleanupOnClose && (
|
|
90
|
+
o.onOptionSelectedCb && o.onOptionSelectedCb(e), o.cleanupOnClose && (a.value = []), b.value = !0, i.value = e.label, r.value = e, l.value = !1, m.value = t;
|
|
90
91
|
}, E = () => {
|
|
91
|
-
|
|
92
|
+
a.value.length && o.keepState !== "closed" && (l.value = !0);
|
|
92
93
|
};
|
|
93
94
|
return f(
|
|
94
95
|
r,
|
|
@@ -97,13 +98,13 @@ const R = ["innerHTML"], ne = /* @__PURE__ */ L({
|
|
|
97
98
|
},
|
|
98
99
|
{ immediate: !0 }
|
|
99
100
|
), f(m, (e) => {
|
|
100
|
-
if (e === -1 || !
|
|
101
|
-
const t =
|
|
101
|
+
if (e === -1 || !a.value.length) return;
|
|
102
|
+
const t = a.value[e];
|
|
102
103
|
b.value && t.label === r.value?.label || C(t, e);
|
|
103
104
|
}), f(
|
|
104
105
|
() => o.keepState,
|
|
105
106
|
(e) => {
|
|
106
|
-
e === "closed" ? (l.value = !1, o.cleanupOnClose && (
|
|
107
|
+
e === "closed" ? (l.value = !1, o.cleanupOnClose && (a.value = [])) : e === "open" && a.value.length && (l.value = !0);
|
|
107
108
|
}
|
|
108
109
|
), f(l, (e) => {
|
|
109
110
|
u("update:dropdownState", e);
|
|
@@ -120,18 +121,18 @@ const R = ["innerHTML"], ne = /* @__PURE__ */ L({
|
|
|
120
121
|
{ "all-bordered-dropdown": e.theme === "all-bordered" },
|
|
121
122
|
{ "all-bordered-dropdown thick": e.theme === "all-bordered-thick" },
|
|
122
123
|
{
|
|
123
|
-
"uikit-mt-10px !uikit-border !uikit-border-w-
|
|
124
|
+
"uikit-mt-10px !uikit-border !uikit-border-w-lightgray !uikit-rounded-xs": !e.theme
|
|
124
125
|
},
|
|
125
|
-
|
|
126
|
+
I.value,
|
|
126
127
|
"!uikit-max-h-[210px] uikit-z-30",
|
|
127
128
|
e.dropdownClasses
|
|
128
129
|
],
|
|
129
130
|
"open-dropdown": l.value,
|
|
130
|
-
"keep-state": !
|
|
131
|
+
"keep-state": !a.value.length || e.keepState === "closed" ? "closed" : "opened",
|
|
131
132
|
"close-when-clicked-outside": e.closeDropdownOnBodyPressed,
|
|
132
133
|
"activate-keyboard-controller": !1,
|
|
133
|
-
"onUpdate:dropdownState": t[3] || (t[3] = (
|
|
134
|
-
onClick: t[4] || (t[4] = (
|
|
134
|
+
"onUpdate:dropdownState": t[3] || (t[3] = (n) => l.value = n),
|
|
135
|
+
onClick: t[4] || (t[4] = (n) => {
|
|
135
136
|
u("click"), E();
|
|
136
137
|
})
|
|
137
138
|
}, {
|
|
@@ -153,31 +154,31 @@ const R = ["innerHTML"], ne = /* @__PURE__ */ L({
|
|
|
153
154
|
e.inputClasses,
|
|
154
155
|
"!uikit-ml-0 !uikit-w-full"
|
|
155
156
|
],
|
|
156
|
-
"fieldset-classes": [
|
|
157
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
158
|
-
onKeydown: t[1] || (t[1] = (
|
|
157
|
+
"fieldset-classes": [M.value, e.fieldsetClasses],
|
|
158
|
+
"onUpdate:modelValue": t[0] || (t[0] = (n) => D(n === void 0 ? "" : `${n}`)),
|
|
159
|
+
onKeydown: t[1] || (t[1] = (n) => u("keydown", n)),
|
|
159
160
|
onKeydownEnterPressed: t[2] || (t[2] = () => u("keydownEnterPressed"))
|
|
160
161
|
}, {
|
|
161
162
|
leftIcon: s(() => [
|
|
162
163
|
$(e.$slots, "lefticon")
|
|
163
164
|
]),
|
|
164
|
-
righticon: s(({ handleClean:
|
|
165
|
-
$(e.$slots, "righticon", { handleClean:
|
|
165
|
+
righticon: s(({ handleClean: n }) => [
|
|
166
|
+
$(e.$slots, "righticon", { handleClean: n })
|
|
166
167
|
]),
|
|
167
168
|
_: 3
|
|
168
169
|
}, 8, ["id", "data-cy", "label-text", "model-value", "is-valid", "disabled", "placeholder", "with-left-icon", "with-right-icon", "input-class", "fieldset-classes"])
|
|
169
170
|
]),
|
|
170
171
|
default: s(() => [
|
|
171
|
-
(h(!0), T(z, null, A(
|
|
172
|
+
(h(!0), T(z, null, A(a.value, (n, c) => (h(), g(J, {
|
|
172
173
|
key: c,
|
|
173
174
|
active: N(v) === c,
|
|
174
|
-
class: "uikit-m-1 uikit-rounded-[5px] uikit-px-5
|
|
175
|
-
onClick: (P) => C(
|
|
175
|
+
class: "uikit-py-xs uikit-m-1 uikit-rounded-[5px] uikit-px-5 hover:uikit-cursor-pointer",
|
|
176
|
+
onClick: (P) => C(n, c),
|
|
176
177
|
onMouseover: (P) => v.value = c
|
|
177
178
|
}, {
|
|
178
179
|
default: s(() => [
|
|
179
180
|
U("span", {
|
|
180
|
-
innerHTML:
|
|
181
|
+
innerHTML: n.label
|
|
181
182
|
}, null, 8, R)
|
|
182
183
|
]),
|
|
183
184
|
_: 2
|
|
@@ -1,19 +1,54 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
3
|
-
inheritAttrs: !1,
|
|
1
|
+
import { defineComponent as a, createElementBlock as t, openBlock as u, normalizeClass as d, renderSlot as r } from "vue";
|
|
2
|
+
const l = /* @__PURE__ */ a({
|
|
4
3
|
__name: "BaseBadge",
|
|
5
4
|
props: {
|
|
6
|
-
badgeClass: { default: "
|
|
5
|
+
badgeClass: { default: "primary-sm" }
|
|
7
6
|
},
|
|
8
|
-
setup(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
setup(n) {
|
|
8
|
+
const e = {
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Old style
|
|
11
|
+
*/
|
|
12
|
+
warning: "uikit-badge-w-warning",
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Old style
|
|
15
|
+
*/
|
|
16
|
+
lavender: "uikit-badge-w-lavender",
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated Old style
|
|
19
|
+
*/
|
|
20
|
+
danger: "uikit-badge-w-danger",
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Old style
|
|
23
|
+
*/
|
|
24
|
+
"outline-tag": "uikit-badge-outline-tag",
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Old style
|
|
27
|
+
*/
|
|
28
|
+
"primary-sm": "uikit-badge-w-pink-sm",
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated Old style
|
|
31
|
+
*/
|
|
32
|
+
"dark-primary": "uikit-badge-w-darkblue",
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated Old style
|
|
35
|
+
*/
|
|
36
|
+
"outline-tag-listing": "uikit-badge-outline-tag-listing",
|
|
37
|
+
gold: "uikit-badge-gold",
|
|
38
|
+
silver: "uikit-badge-silver",
|
|
39
|
+
premium: "uikit-badge-premium",
|
|
40
|
+
luxury: "uikit-badge-luxury",
|
|
41
|
+
alert: "uikit-badge-alert",
|
|
42
|
+
new: "uikit-badge-new",
|
|
43
|
+
discount: "uikit-badge-discount"
|
|
44
|
+
};
|
|
45
|
+
return (i, s) => (u(), t("span", {
|
|
46
|
+
class: d(["uikit-badge uikit-rounded-2xs uikit-px-xs uikit-py-2xs uikit-text uikit-font-medium uikit-shadow-sm", e[i.badgeClass]])
|
|
12
47
|
}, [
|
|
13
|
-
i
|
|
14
|
-
],
|
|
48
|
+
r(i.$slots, "default")
|
|
49
|
+
], 2));
|
|
15
50
|
}
|
|
16
51
|
});
|
|
17
52
|
export {
|
|
18
|
-
|
|
53
|
+
l as default
|
|
19
54
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { defineComponent as o, createElementBlock as l, openBlock as n, createElementVNode as t } from "vue";
|
|
2
|
+
const r = ["width", "height"], h = ["fill"], d = /* @__PURE__ */ o({
|
|
3
|
+
__name: "BaseBannerBgElement1",
|
|
4
|
+
props: {
|
|
5
|
+
width: { default: 726 },
|
|
6
|
+
height: { default: 96 },
|
|
7
|
+
color: { default: "#de1681" }
|
|
8
|
+
},
|
|
9
|
+
setup(i) {
|
|
10
|
+
return (e, a) => (n(), l("svg", {
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
13
|
+
width: e.width,
|
|
14
|
+
height: e.height,
|
|
15
|
+
viewBox: "0 0 726 96"
|
|
16
|
+
}, [
|
|
17
|
+
t("g", null, [
|
|
18
|
+
t("path", {
|
|
19
|
+
d: "M391.314,2.476C599.068-14.131,760.7,31.792,752.325,105.049S568.744,251.155,360.989,267.763-8.4,238.447-.022,165.19,183.559,19.084,391.314,2.476Z",
|
|
20
|
+
transform: "translate(400.913 -94.21) rotate(14)",
|
|
21
|
+
fill: e.color
|
|
22
|
+
}, null, 8, h)
|
|
23
|
+
])
|
|
24
|
+
], 8, r));
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export {
|
|
28
|
+
d as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as l, createElementBlock as i, openBlock as n, createElementVNode as e } from "vue";
|
|
2
|
+
const r = ["width", "height"], s = ["fill"], h = /* @__PURE__ */ l({
|
|
3
|
+
__name: "BaseBannerBgElement2",
|
|
4
|
+
props: {
|
|
5
|
+
width: { default: 726 },
|
|
6
|
+
height: { default: 96 },
|
|
7
|
+
color: { default: "#c21973" }
|
|
8
|
+
},
|
|
9
|
+
setup(a) {
|
|
10
|
+
return (t, o) => (n(), i("svg", {
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
13
|
+
width: t.width,
|
|
14
|
+
height: t.height,
|
|
15
|
+
viewBox: "0 0 726 96"
|
|
16
|
+
}, [
|
|
17
|
+
o[0] || (o[0] = e("defs", null, [
|
|
18
|
+
e("filter", {
|
|
19
|
+
x: "-9",
|
|
20
|
+
y: "-7",
|
|
21
|
+
width: "744",
|
|
22
|
+
height: "114",
|
|
23
|
+
filterUnits: "userSpaceOnUse"
|
|
24
|
+
}, [
|
|
25
|
+
e("feOffset", {
|
|
26
|
+
dy: "2",
|
|
27
|
+
input: "SourceAlpha"
|
|
28
|
+
}),
|
|
29
|
+
e("feGaussianBlur", {
|
|
30
|
+
stdDeviation: "3",
|
|
31
|
+
result: "blur"
|
|
32
|
+
}),
|
|
33
|
+
e("feFlood", {
|
|
34
|
+
"flood-color": "#6e6e6e",
|
|
35
|
+
"flood-opacity": "0.6"
|
|
36
|
+
}),
|
|
37
|
+
e("feComposite", {
|
|
38
|
+
operator: "in",
|
|
39
|
+
in2: "blur"
|
|
40
|
+
}),
|
|
41
|
+
e("feComposite", { in: "SourceGraphic" })
|
|
42
|
+
])
|
|
43
|
+
], -1)),
|
|
44
|
+
e("g", null, [
|
|
45
|
+
e("path", {
|
|
46
|
+
d: "M296.562,2.236C453.63-11.06,575.519,21.962,568.808,75.994S429.328,184.605,272.26,197.9-6.7,178.176.013,124.145,139.494,15.533,296.562,2.236Z",
|
|
47
|
+
transform: "translate(442.664 -69.902) rotate(14)",
|
|
48
|
+
fill: t.color
|
|
49
|
+
}, null, 8, s)
|
|
50
|
+
])
|
|
51
|
+
], 8, r));
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
h as default
|
|
56
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as l, createElementBlock as i, openBlock as n, createElementVNode as e } from "vue";
|
|
2
|
+
const r = ["width", "height"], s = ["fill"], h = /* @__PURE__ */ l({
|
|
3
|
+
__name: "BaseBannerBgElement3",
|
|
4
|
+
props: {
|
|
5
|
+
width: { default: 343 },
|
|
6
|
+
height: { default: 164 },
|
|
7
|
+
color: { default: "#c21973" }
|
|
8
|
+
},
|
|
9
|
+
setup(a) {
|
|
10
|
+
return (t, o) => (n(), i("svg", {
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
13
|
+
width: t.width,
|
|
14
|
+
height: t.height,
|
|
15
|
+
viewBox: "0 0 343 164"
|
|
16
|
+
}, [
|
|
17
|
+
o[0] || (o[0] = e("defs", null, [
|
|
18
|
+
e("filter", {
|
|
19
|
+
x: "-9",
|
|
20
|
+
y: "-7",
|
|
21
|
+
width: "361",
|
|
22
|
+
height: "182",
|
|
23
|
+
filterUnits: "userSpaceOnUse"
|
|
24
|
+
}, [
|
|
25
|
+
e("feOffset", {
|
|
26
|
+
dy: "2",
|
|
27
|
+
input: "SourceAlpha"
|
|
28
|
+
}),
|
|
29
|
+
e("feGaussianBlur", {
|
|
30
|
+
stdDeviation: "3",
|
|
31
|
+
result: "blur"
|
|
32
|
+
}),
|
|
33
|
+
e("feFlood", {
|
|
34
|
+
"flood-color": "#6e6e6e",
|
|
35
|
+
"flood-opacity": "0.6"
|
|
36
|
+
}),
|
|
37
|
+
e("feComposite", {
|
|
38
|
+
operator: "in",
|
|
39
|
+
in2: "blur"
|
|
40
|
+
}),
|
|
41
|
+
e("feComposite", { in: "SourceGraphic" })
|
|
42
|
+
])
|
|
43
|
+
], -1)),
|
|
44
|
+
e("g", null, [
|
|
45
|
+
e("path", {
|
|
46
|
+
d: "M127.936,6c81.713,23.824,157.7,113.234,169.726,199.7S253.192,342.96,171.478,319.137,13.776,205.9,1.752,119.434,46.222-17.82,127.936,6Z",
|
|
47
|
+
transform: "translate(24.544 291.435) rotate(-68)",
|
|
48
|
+
fill: t.color
|
|
49
|
+
}, null, 8, s)
|
|
50
|
+
])
|
|
51
|
+
], 8, r));
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
h as default
|
|
56
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as l, createElementBlock as r, openBlock as i, createElementVNode as e } from "vue";
|
|
2
|
+
const n = ["width", "height"], s = { transform: "translate(-475 -2098)" }, a = ["fill"], h = /* @__PURE__ */ l({
|
|
3
|
+
__name: "BaseBannerBgElement4",
|
|
4
|
+
props: {
|
|
5
|
+
width: { default: 343 },
|
|
6
|
+
height: { default: 164 },
|
|
7
|
+
color: { default: "#de1681" }
|
|
8
|
+
},
|
|
9
|
+
setup(f) {
|
|
10
|
+
return (t, o) => (i(), r("svg", {
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
13
|
+
width: t.width,
|
|
14
|
+
height: t.height,
|
|
15
|
+
viewBox: "0 0 343 164"
|
|
16
|
+
}, [
|
|
17
|
+
o[0] || (o[0] = e("defs", null, [
|
|
18
|
+
e("filter", {
|
|
19
|
+
x: "-9",
|
|
20
|
+
y: "-7",
|
|
21
|
+
width: "361",
|
|
22
|
+
height: "182",
|
|
23
|
+
filterUnits: "userSpaceOnUse"
|
|
24
|
+
}, [
|
|
25
|
+
e("feOffset", {
|
|
26
|
+
dy: "2",
|
|
27
|
+
input: "SourceAlpha"
|
|
28
|
+
}),
|
|
29
|
+
e("feGaussianBlur", {
|
|
30
|
+
stdDeviation: "3",
|
|
31
|
+
result: "blur"
|
|
32
|
+
}),
|
|
33
|
+
e("feFlood", {
|
|
34
|
+
"flood-color": "#6e6e6e",
|
|
35
|
+
"flood-opacity": "0.6"
|
|
36
|
+
}),
|
|
37
|
+
e("feComposite", {
|
|
38
|
+
operator: "in",
|
|
39
|
+
in2: "blur"
|
|
40
|
+
}),
|
|
41
|
+
e("feComposite", { in: "SourceGraphic" })
|
|
42
|
+
])
|
|
43
|
+
], -1)),
|
|
44
|
+
e("g", s, [
|
|
45
|
+
e("path", {
|
|
46
|
+
d: "M167.755,7.884C276.138,41.063,377.561,163.273,394.291,280.848S336.72,466.841,228.337,433.663,18.531,278.274,1.8,160.7,59.373-25.294,167.755,7.884Z",
|
|
47
|
+
transform: "translate(426.502 2353.926) rotate(-52)",
|
|
48
|
+
fill: t.color
|
|
49
|
+
}, null, 8, a)
|
|
50
|
+
])
|
|
51
|
+
], 8, n));
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
h as default
|
|
56
|
+
};
|