@wikicasa-dev/components 2.2.9-alpha.34 → 2.2.9-alpha.35
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/Swiper/autoplay.js +3 -4
- package/dist/Swiper/controller.js +1 -2
- package/dist/Swiper/free-mode.js +3 -4
- package/dist/Swiper/keyboard.js +3 -4
- package/dist/Swiper/navigation.js +3 -4
- package/dist/Swiper/pagination.js +3 -4
- package/dist/Swiper/thumbs.js +3 -4
- package/dist/UIKit/AccessibleSelect.js +2 -3
- package/dist/UIKit/Accordion/BaseAccordion.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionBtn.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionContent.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionItem.js +2 -3
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +2 -3
- package/dist/UIKit/BaseAlert.js +2 -3
- package/dist/UIKit/BaseAutocomplete.js +2 -3
- package/dist/UIKit/BaseBadge.js +2 -3
- package/dist/UIKit/BaseBreadcrumb.js +1 -1
- package/dist/UIKit/BaseButton.js +1 -1
- package/dist/UIKit/BaseCard.js +36 -5
- package/dist/UIKit/BaseComplexToggle.js +105 -5
- package/dist/UIKit/BaseDropDown.d.ts +2 -2
- package/dist/UIKit/BaseDropDown.js +2 -3
- package/dist/UIKit/BaseFloatingLabel.js +39 -5
- package/dist/UIKit/BaseInput.js +210 -5
- package/dist/UIKit/BaseModal.js +2 -3
- package/dist/UIKit/BasePagination.js +1 -1
- package/dist/UIKit/BaseSelect/SelectItem.js +1 -1
- package/dist/UIKit/BaseSlider.js +206 -5
- package/dist/UIKit/BaseSnackbar.js +2 -3
- package/dist/UIKit/BaseTextarea.js +126 -5
- package/dist/UIKit/BaseToggle.js +41 -5
- package/dist/UIKit/BaseTooltip.js +40 -5
- package/dist/UIKit/BaseUploadFile.js +1 -1
- package/dist/UIKit/Checkbox/CheckboxBtn.js +2 -3
- package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -1
- package/dist/UIKit/Radio/RadioButton.js +1 -1
- package/dist/UIKit/Radio/RadioGroup.js +1 -1
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +20 -5
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -1
- package/dist/UIKit/Slider/SimpleSlider.js +81 -5
- package/dist/UIKit/StaticSpinner.js +26 -5
- package/dist/UIKit/Tab/BaseTab.js +1 -1
- package/dist/UIKit/Tab/BaseTabList.js +1 -1
- package/dist/UIKit/Tab/BaseTabPanel.js +1 -1
- package/dist/UIKit/Tab/BaseTabView.js +1 -1
- package/dist/assets/BaseInput.css +1 -1
- package/dist/assets/SwiperCarousel.css +1 -1
- package/dist/chart/DoughnutChart.js +1 -1
- package/dist/chart/LineChart.js +1 -1
- package/dist/{packages/components/lib/UIKit/AccessibleSelect.vue.js → chunks/AccessibleSelect.vue_vue_type_style_index_0_lang.DWwkWpAC.js} +3 -4
- package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js → chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.Qp6BrYox.js} +5 -5
- package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js → chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.CL5zNPzY.js} +4 -4
- package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionContent.vue.js → chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.BqjzG2As.js} +5 -5
- package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js → chunks/BaseAccordionItem.vue_vue_type_style_index_0_lang.DwEHSyBO.js} +4 -4
- package/dist/chunks/BaseAlert.vue_vue_type_style_index_0_lang.BVR-COlL.js +19 -0
- package/dist/{packages/components/lib/UIKit/BaseAutocomplete.vue.js → chunks/BaseAutocomplete.vue_vue_type_style_index_0_lang.BW_JCkOV.js} +24 -25
- package/dist/{packages/components/lib/UIKit/BaseBadge.vue.js → chunks/BaseBadge.vue_vue_type_style_index_0_lang.BnYtlFXq.js} +6 -6
- package/dist/{packages/components/lib/UIKit/BaseBreadcrumb.vue.js → chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.CcfuB26u.js} +7 -7
- package/dist/{packages/components/lib/UIKit/BaseButton.vue.js → chunks/BaseButton.vue_vue_type_script_setup_true_lang.CswNVEW_.js} +2 -2
- package/dist/{packages/components/lib/UIKit/BaseDropDown.vue.js → chunks/BaseDropDown.vue_vue_type_style_index_0_lang.z4eFD2_f.js} +12 -12
- package/dist/{packages/components/lib/UIKit/BaseModal.vue.js → chunks/BaseModal.vue_vue_type_style_index_0_lang.B8U_buif.js} +2 -2
- package/dist/{packages/components/lib/UIKit/BasePagination.vue.js → chunks/BasePagination.vue_vue_type_script_setup_true_lang.CkGMhOm-.js} +1 -1
- package/dist/{packages/components/lib/UIKit/BaseSnackbar.vue.js → chunks/BaseSnackbar.vue_vue_type_style_index_0_lang.DJqVfg6P.js} +2 -2
- package/dist/{packages/components/lib/UIKit/Tab/BaseTab.vue.js → chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js} +3 -3
- package/dist/{packages/components/lib/UIKit/Tab/BaseTabList.vue.js → chunks/BaseTabList.vue_vue_type_script_setup_true_lang.BXvkXKbT.js} +3 -3
- package/dist/{packages/components/lib/UIKit/Tab/BaseTabPanel.vue.js → chunks/BaseTabPanel.vue_vue_type_script_setup_true_lang.CM1ObHXU.js} +1 -1
- package/dist/{packages/components/lib/UIKit/Tab/BaseTabView.vue.js → chunks/BaseTabView.vue_vue_type_script_setup_true_lang.BocXkfTw.js} +17 -17
- package/dist/{packages/components/lib/UIKit/BaseUploadFile.vue.js → chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.DMPiMivr.js} +7 -7
- package/dist/{packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js → chunks/CheckboxBtn.vue_vue_type_style_index_0_lang.MYOfjOwM.js} +8 -8
- package/dist/{packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js → chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.aDZDPjgR.js} +3 -4
- package/dist/{packages/components/lib/UIKit/Autocomplete/ClearableAutocomplete.vue.js → chunks/ClearableAutocomplete.vue_vue_type_style_index_0_lang.DUOBcBPN.js} +4 -5
- package/dist/{packages/components/lib/chart/DoughnutChart.vue.js → chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.yALl_gpB.js} +6 -6
- package/dist/{packages/components/lib/components/IntersectionObserver/IntersectionObservable.vue.js → chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.BidNzYDc.js} +5 -5
- package/dist/{packages/components/lib/components/IntersectionObserver/IntersectionObserver.vue.js → chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.BnLNx3be.js} +3 -3
- package/dist/{packages/components/lib/chart/LineChart.vue.js → chunks/LineChart.vue_vue_type_script_setup_true_lang.Df20jEOd.js} +7 -7
- package/dist/{packages/components/lib/UIKit/Radio/RadioButton.vue.js → chunks/RadioButton.vue_vue_type_script_setup_true_lang.g-a7DM3l.js} +3 -3
- package/dist/{packages/components/lib/UIKit/Radio/RadioGroup.vue.js → chunks/RadioGroup.vue_vue_type_script_setup_true_lang.DtBZuHm2.js} +3 -3
- package/dist/{packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js → chunks/SelectItem.vue_vue_type_script_setup_true_lang.DvQ4ZKvE.js} +9 -9
- package/dist/{packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js → chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DEb8nfZp.js} +4 -4
- package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +9 -0
- package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -1
- package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -1
- package/dist/components/carousel/SwiperCarousel.js +243 -6
- package/dist/components/carousel/SwiperSlide.js +1 -1
- package/dist/index.js +82 -92
- package/package.json +2 -1
- package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
- package/dist/assets/SwiperCarousel2.css +0 -1
- package/dist/assets/swiper-swiper.css +0 -1
- package/dist/assets/swiper-zoom.css +0 -1
- package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +0 -19
- package/dist/packages/components/lib/UIKit/BaseCard.vue.js +0 -37
- package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +0 -106
- package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +0 -40
- package/dist/packages/components/lib/UIKit/BaseInput.vue.js +0 -211
- package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +0 -207
- package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +0 -127
- package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +0 -42
- package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +0 -41
- package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +0 -21
- package/dist/packages/components/lib/UIKit/Slider/SimpleSlider.vue.js +0 -82
- package/dist/packages/components/lib/UIKit/StaticSpinner.vue.js +0 -27
- package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +0 -246
- /package/dist/assets/{swiper-free-mode.css → free-mode.css} +0 -0
- /package/dist/assets/{swiper-navigation.css → navigation.css} +0 -0
- /package/dist/assets/{swiper-pagination.css → pagination.css} +0 -0
- /package/dist/assets/{swiper-thumbs.css → thumbs.css} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
.input-wrapper[data-v-
|
|
1
|
+
.input-wrapper[data-v-0f9ebca6]{--icon-default-size: 44px}.invalid-bg[data-v-0f9ebca6]{--invalid-img: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMicgaGVpZ2h0PScxMicgZmlsbD0nbm9uZScgc3Ryb2tlPScjRkE0RjY0Jz48Y2lyY2xlIGN4PSc2JyBjeT0nNicgcj0nNC41Jy8+PHBhdGggc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcgZD0nTTUuOCAzLjZoLjRMNiA2LjV6Jy8+PGNpcmNsZSBjeD0nNicgY3k9JzguMicgcj0nLjYnIGZpbGw9JyNGQTRGNjQnIHN0cm9rZT0nbm9uZScvPjwvc3ZnPg==);background-image:var(--invalid-img)}.valid-bg[data-v-0f9ebca6]{--valid-img: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA4IDgnPjxwYXRoIGZpbGw9JyMyQjVERkYnIGQ9J00yLjMgNi43My42IDQuNTNjLS40LTEuMDQuNDYtMS40IDEuMS0uOGwxLjEgMS40IDMuNC0zLjhjLjYtLjYzIDEuNi0uMjcgMS4yLjdsLTQgNC42Yy0uNDMuNS0uOC40LTEuMS4xeicvPjwvc3ZnPg==);background-image:var(--valid-img)}.invalid-bg[data-v-0f9ebca6],.valid-bg[data-v-0f9ebca6]{background-position:top 10px right 12px;background-size:20px}.has-right-icon[data-v-0f9ebca6]>label.inline-label{right:var(--icon-default-size)}.has-left-icon[data-v-0f9ebca6]>label.inline-label{left:var(--icon-default-size)}[data-v-0f9ebca6] .text-input-icon{position:absolute;z-index:20;box-sizing:border-box;--icon-size-sm: 16px;--icon-size-md: 20px;--icon-size-lg: 25px}[data-v-0f9ebca6] .text-input-icon.left{left:5px}[data-v-0f9ebca6] .text-input-icon.right{right:5px}[data-v-0f9ebca6] .text-input-icon{--icon-top: 5px;--icon-size: var(--icon-size-sm);width:var(--icon-default-size);height:var(--icon-default-size);padding:calc((var(--icon-default-size) - var(--icon-size)) / 2);top:var(--icon-top)}[data-v-0f9ebca6] .text-input-icon.md{--icon-size: var(--icon-size-md)}[data-v-0f9ebca6] .text-input-icon.lg{--icon-top: 0;--icon-size: var(--icon-size-lg)}.under-label[data-v-0f9ebca6]{left:4px;font-style:italic}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.swiper-pagination-bullet{--swiper-pagination-color: #ccc }.swiper-pagination-bullet-active{--swiper-pagination-color: #fff }
|
|
1
|
+
:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>img,.swiper-zoom-container>svg,.swiper-zoom-container>canvas{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper-pagination-bullet{--swiper-pagination-color: #ccc }.swiper-pagination-bullet-active{--swiper-pagination-color: #fff }.no-transition[data-v-1ea2f6ce]{transition-duration:0ms!important}.disable-select[data-v-1ea2f6ce]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.swiper-button-disabled[data-v-1ea2f6ce]{pointer-events:auto!important}
|
package/dist/chart/LineChart.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { defineComponent as B, mergeModels as y, useModel as p, useId as F, useTemplateRef as z, computed as C, watch as I, createElementBlock as o, openBlock as l, createVNode as $, createCommentVNode as r, normalizeClass as s, withCtx as x, Fragment as g, renderList as N, withModifiers as f, createElementVNode as u, renderSlot as P, createBlock as A, unref as M } from "vue";
|
|
2
2
|
import { WarningIconRounded as E, ArrowIcon as R } from "@wikicasa-dev/svg-icons";
|
|
3
|
-
import S from "./BaseDropDown.
|
|
4
|
-
import '
|
|
5
|
-
const q = { class: "uikit-relative uikit-flex uikit-h-12 uikit-items-center" }, K = ["id", "innerHTML"], j = ["onClick"], U = ["id", "data-cy", "aria-required", "aria-controls", "aria-labelledby", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby", "onClick", "onKeydown"], W = ["innerHTML"], D = { class: "uikit-pointer-events-none uikit-mt-1 uikit-inline-flex" }, G = ["innerHTML"], J = ["id", "aria-selected", "onClick", "onMouseover"], O = { class: "uikit-inline-block uikit-cursor-pointer uikit-text-sm" }, Q = ["name", "checked", "onInput"], X = ["innerHTML"], Y = ["id", "arial-live", "innerHTML"], Z = ["id", "arial-live", "innerHTML"], le = /* @__PURE__ */ B({
|
|
3
|
+
import { _ as S } from "./BaseDropDown.vue_vue_type_style_index_0_lang.z4eFD2_f.js";
|
|
4
|
+
import '../assets/AccessibleSelect.css';const q = { class: "uikit-relative uikit-flex uikit-h-12 uikit-items-center" }, K = ["id", "innerHTML"], j = ["onClick"], U = ["id", "data-cy", "aria-required", "aria-controls", "aria-labelledby", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby", "onClick", "onKeydown"], W = ["innerHTML"], D = { class: "uikit-pointer-events-none uikit-mt-1 uikit-inline-flex" }, G = ["innerHTML"], J = ["id", "aria-selected", "onClick", "onMouseover"], O = { class: "uikit-inline-block uikit-cursor-pointer uikit-text-sm" }, Q = ["name", "checked", "onInput"], X = ["innerHTML"], Y = ["id", "arial-live", "innerHTML"], Z = ["id", "arial-live", "innerHTML"], te = /* @__PURE__ */ B({
|
|
6
5
|
__name: "AccessibleSelect",
|
|
7
6
|
props: /* @__PURE__ */ y({
|
|
8
7
|
label: { default: "" },
|
|
@@ -197,5 +196,5 @@ const q = { class: "uikit-relative uikit-flex uikit-h-12 uikit-items-center" },
|
|
|
197
196
|
}
|
|
198
197
|
});
|
|
199
198
|
export {
|
|
200
|
-
|
|
199
|
+
te as _
|
|
201
200
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as i, mergeModels as
|
|
1
|
+
import { defineComponent as i, mergeModels as r, useModel as d, provide as n, createBlock as s, openBlock as u, unref as p, withCtx as m, renderSlot as c } from "vue";
|
|
2
2
|
import { AccordionRoot as f } from "reka-ui";
|
|
3
3
|
const b = /* @__PURE__ */ i({
|
|
4
4
|
__name: "BaseAccordion",
|
|
5
|
-
props: /* @__PURE__ */
|
|
5
|
+
props: /* @__PURE__ */ r({
|
|
6
6
|
collapsible: { type: Boolean },
|
|
7
7
|
type: {}
|
|
8
8
|
}, {
|
|
@@ -11,8 +11,8 @@ const b = /* @__PURE__ */ i({
|
|
|
11
11
|
}),
|
|
12
12
|
emits: ["update:modelValue"],
|
|
13
13
|
setup(t) {
|
|
14
|
-
const e =
|
|
15
|
-
return
|
|
14
|
+
const e = d(t, "modelValue");
|
|
15
|
+
return n("isActive", (l) => typeof e.value == "string" ? e.value === l : !!e.value?.find((o) => o === l)), (l, o) => (u(), s(p(f), {
|
|
16
16
|
collapsible: t.collapsible,
|
|
17
17
|
type: t.type,
|
|
18
18
|
modelValue: e.value,
|
|
@@ -26,5 +26,5 @@ const b = /* @__PURE__ */ i({
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
export {
|
|
29
|
-
b as
|
|
29
|
+
b as _
|
|
30
30
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as s, createElementBlock as l, openBlock as d, normalizeClass as n, renderSlot as i, createElementVNode as u, withModifiers as k, createVNode as m, unref as f } from "vue";
|
|
2
2
|
import { ArrowIcon as g } from "@wikicasa-dev/svg-icons";
|
|
3
|
-
const C = ["id"], w = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */
|
|
3
|
+
const C = ["id"], w = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */ s({
|
|
4
4
|
inheritAttrs: !1,
|
|
5
5
|
__name: "BaseAccordionBtn",
|
|
6
6
|
props: {
|
|
@@ -14,7 +14,7 @@ const C = ["id"], w = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */ l(
|
|
|
14
14
|
emits: ["click"],
|
|
15
15
|
setup(t, { emit: r }) {
|
|
16
16
|
const a = r;
|
|
17
|
-
return (o, e) => (d(),
|
|
17
|
+
return (o, e) => (d(), l("div", {
|
|
18
18
|
id: `${t.id}`,
|
|
19
19
|
class: n(["uikit-flex uikit-items-center uikit-justify-around", [
|
|
20
20
|
o.$attrs["btn-wrapper-classes"],
|
|
@@ -55,5 +55,5 @@ const C = ["id"], w = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */ l(
|
|
|
55
55
|
}
|
|
56
56
|
});
|
|
57
57
|
export {
|
|
58
|
-
b as
|
|
58
|
+
b as _
|
|
59
59
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const s = ["id", "aria-labelledby"], u = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as t, createElementBlock as a, openBlock as c, normalizeClass as o, renderSlot as n, createElementVNode as d } from "vue";
|
|
2
|
+
const s = ["id", "aria-labelledby"], u = /* @__PURE__ */ t({
|
|
3
3
|
__name: "BaseAccordionContent",
|
|
4
4
|
props: {
|
|
5
5
|
id: {},
|
|
@@ -19,16 +19,16 @@ const s = ["id", "aria-labelledby"], u = /* @__PURE__ */ n({
|
|
|
19
19
|
e.$attrs["accordion-classes"]
|
|
20
20
|
]])
|
|
21
21
|
}, [
|
|
22
|
-
|
|
22
|
+
n(e.$slots, "custom-accordion-content", { isOpen: i.accordionOpen }, () => [
|
|
23
23
|
d("div", {
|
|
24
24
|
class: o(["uikit-overflow-hidden", i.accordionContentClasses])
|
|
25
25
|
}, [
|
|
26
|
-
|
|
26
|
+
n(e.$slots, "default", { isOpen: i.accordionOpen })
|
|
27
27
|
], 2)
|
|
28
28
|
])
|
|
29
29
|
], 10, s));
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
export {
|
|
33
|
-
u as
|
|
33
|
+
u as _
|
|
34
34
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as n, inject as c, createBlock as u, openBlock as d, unref as t, withCtx as a, createVNode as s, normalizeClass as r, renderSlot as l, createTextVNode as
|
|
1
|
+
import { defineComponent as n, inject as c, createBlock as u, openBlock as d, unref as t, withCtx as a, createVNode as s, normalizeClass as r, renderSlot as l, createTextVNode as k, toDisplayString as f } from "vue";
|
|
2
2
|
import { AccordionItem as h, AccordionHeader as m, AccordionTrigger as g, AccordionContent as w } from "reka-ui";
|
|
3
3
|
import { ArrowIcon as C } from "@wikicasa-dev/svg-icons";
|
|
4
|
-
const b = /* @__PURE__ */ n({
|
|
4
|
+
import '../assets/BaseAccordionItem.css';const b = /* @__PURE__ */ n({
|
|
5
5
|
__name: "BaseAccordionItem",
|
|
6
6
|
props: {
|
|
7
7
|
title: {},
|
|
@@ -44,7 +44,7 @@ const b = /* @__PURE__ */ n({
|
|
|
44
44
|
l(i.$slots, "trigger", {
|
|
45
45
|
active: t(o)(e.value)
|
|
46
46
|
}, () => [
|
|
47
|
-
f(
|
|
47
|
+
k(f(e.title) + " ", 1),
|
|
48
48
|
s(t(C), {
|
|
49
49
|
class: r(["uikit-flex-shrink-0 uikit-transition-transform motion-reduce:uikit-transition-none", [t(o)(e.value) ? "uikit-rotate-180" : "", e.arrowClasses]]),
|
|
50
50
|
"arrow-classes": e.arrowClasses,
|
|
@@ -75,5 +75,5 @@ const b = /* @__PURE__ */ n({
|
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
export {
|
|
78
|
-
b as
|
|
78
|
+
b as _
|
|
79
79
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineComponent as r, createElementBlock as s, openBlock as a, normalizeClass as l, renderSlot as o } from "vue";
|
|
2
|
+
import '../assets/BaseAlert.css';const n = ["id"], c = /* @__PURE__ */ r({
|
|
3
|
+
__name: "BaseAlert",
|
|
4
|
+
props: {
|
|
5
|
+
alertClass: { default: "" }
|
|
6
|
+
},
|
|
7
|
+
setup(t) {
|
|
8
|
+
return (e, i) => (a(), s("div", {
|
|
9
|
+
id: e.$attrs.id,
|
|
10
|
+
class: l(["uikit-alert", t.alertClass]),
|
|
11
|
+
role: "alert"
|
|
12
|
+
}, [
|
|
13
|
+
o(e.$slots, "default")
|
|
14
|
+
], 10, n));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
c as _
|
|
19
|
+
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { defineComponent as x, mergeModels as $, useModel as F, ref as d, computed as k, onBeforeMount as L, watch as f, createBlock as g, openBlock as w, normalizeClass as H, withCtx as c, createElementBlock as K, Fragment as T, renderList as z, unref as N, renderSlot as p, createElementVNode as U, createVNode as A } from "vue";
|
|
2
|
-
import W from "
|
|
3
|
-
import j from "./BaseDropDown.
|
|
4
|
-
import '../../../../assets/BaseDropDown.css';/* empty css */
|
|
2
|
+
import W from "../UIKit/BaseInput.js";
|
|
3
|
+
import { _ as j } from "./BaseDropDown.vue_vue_type_style_index_0_lang.z4eFD2_f.js";
|
|
5
4
|
import { debounce as q } from "@wikicasa-dev/utilities";
|
|
6
|
-
import G from "./
|
|
5
|
+
import { _ as G } from "./SelectItem.vue_vue_type_script_setup_true_lang.DvQ4ZKvE.js";
|
|
7
6
|
import { useKeyboardController as J } from "@wikicasa-dev/vue-composables";
|
|
8
|
-
const Q = ["innerHTML"],
|
|
7
|
+
import '../assets/BaseAutocomplete.css';const Q = ["innerHTML"], le = /* @__PURE__ */ x({
|
|
9
8
|
__name: "BaseAutocomplete",
|
|
10
9
|
props: /* @__PURE__ */ $({
|
|
11
10
|
isValid: { type: [Boolean, null], default: null },
|
|
@@ -31,7 +30,7 @@ const Q = ["innerHTML"], ne = /* @__PURE__ */ x({
|
|
|
31
30
|
}),
|
|
32
31
|
emits: /* @__PURE__ */ $(["update:dropdownState", "changedValue", "click", "keydown", "keydownEnterPressed"], ["update:modelValue"]),
|
|
33
32
|
setup(t, { expose: V, emit: B }) {
|
|
34
|
-
const u = F(t, "modelValue"), r = B, i = d(""),
|
|
33
|
+
const u = F(t, "modelValue"), r = B, i = d(""), o = d([]), v = d(null), b = d(!1), n = d(!1), C = d(null), S = k(() => o.value.length);
|
|
35
34
|
L(() => {
|
|
36
35
|
v.value = q({ delay: 300 }, t.onInputChangeCb);
|
|
37
36
|
});
|
|
@@ -76,15 +75,15 @@ const Q = ["innerHTML"], ne = /* @__PURE__ */ x({
|
|
|
76
75
|
}), D = async (e) => {
|
|
77
76
|
if (i.value !== e && (r("changedValue", e), i.value = e, !!t.onInputChangeCb)) {
|
|
78
77
|
if (!e || b.value) {
|
|
79
|
-
|
|
78
|
+
o.value = [], b.value = !1, h.value = -1, m.value = -1, u.value && (u.value.label = ""), n.value = !1, await v.value(null);
|
|
80
79
|
return;
|
|
81
80
|
}
|
|
82
|
-
t.disableCb || (
|
|
81
|
+
t.disableCb || (o.value = await v.value(e), n.value = !!o.value.length);
|
|
83
82
|
}
|
|
84
83
|
}, y = (e, l) => {
|
|
85
|
-
t.onOptionSelectedCb && t.onOptionSelectedCb(e), t.cleanupOnClose && (
|
|
84
|
+
t.onOptionSelectedCb && t.onOptionSelectedCb(e), t.cleanupOnClose && (o.value = []), b.value = !0, i.value = e.label, u.value = e, n.value = !1, h.value = l;
|
|
86
85
|
}, E = () => {
|
|
87
|
-
|
|
86
|
+
o.value.length && t.keepState !== "closed" && (n.value = !0);
|
|
88
87
|
};
|
|
89
88
|
return f(
|
|
90
89
|
u,
|
|
@@ -93,13 +92,13 @@ const Q = ["innerHTML"], ne = /* @__PURE__ */ x({
|
|
|
93
92
|
},
|
|
94
93
|
{ immediate: !0 }
|
|
95
94
|
), f(h, (e) => {
|
|
96
|
-
if (e === -1 || !
|
|
97
|
-
const l =
|
|
95
|
+
if (e === -1 || !o.value.length) return;
|
|
96
|
+
const l = o.value[e];
|
|
98
97
|
b.value && l.label === u.value?.label || y(l, e);
|
|
99
98
|
}), f(
|
|
100
99
|
() => t.keepState,
|
|
101
100
|
(e) => {
|
|
102
|
-
e === "closed" ? (n.value = !1, t.cleanupOnClose && (
|
|
101
|
+
e === "closed" ? (n.value = !1, t.cleanupOnClose && (o.value = [])) : e === "open" && o.value.length && (n.value = !0);
|
|
103
102
|
}
|
|
104
103
|
), f(n, (e) => {
|
|
105
104
|
r("update:dropdownState", e);
|
|
@@ -123,11 +122,11 @@ const Q = ["innerHTML"], ne = /* @__PURE__ */ x({
|
|
|
123
122
|
t.dropdownClasses
|
|
124
123
|
],
|
|
125
124
|
"open-dropdown": n.value,
|
|
126
|
-
"keep-state": !
|
|
125
|
+
"keep-state": !o.value.length || t.keepState === "closed" ? "closed" : "opened",
|
|
127
126
|
"close-when-clicked-outside": t.closeDropdownOnBodyPressed,
|
|
128
127
|
"activate-keyboard-controller": !1,
|
|
129
|
-
"onUpdate:open": l[3] || (l[3] = (
|
|
130
|
-
onClick: l[4] || (l[4] = (
|
|
128
|
+
"onUpdate:open": l[3] || (l[3] = (a) => n.value = a),
|
|
129
|
+
onClick: l[4] || (l[4] = (a) => {
|
|
131
130
|
r("click"), E();
|
|
132
131
|
})
|
|
133
132
|
}, {
|
|
@@ -150,34 +149,34 @@ const Q = ["innerHTML"], ne = /* @__PURE__ */ x({
|
|
|
150
149
|
"!uikit-ml-0 !uikit-w-full"
|
|
151
150
|
],
|
|
152
151
|
"fieldset-classes": [I.value, t.fieldsetClasses],
|
|
153
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
154
|
-
onKeydown: l[1] || (l[1] = (
|
|
152
|
+
"onUpdate:modelValue": l[0] || (l[0] = (a) => D(a === void 0 ? "" : `${a}`)),
|
|
153
|
+
onKeydown: l[1] || (l[1] = (a) => r("keydown", a)),
|
|
155
154
|
onKeydownEnterPressed: l[2] || (l[2] = () => r("keydownEnterPressed"))
|
|
156
155
|
}, {
|
|
157
156
|
leftIcon: c(() => [
|
|
158
157
|
p(e.$slots, "lefticon")
|
|
159
158
|
]),
|
|
160
|
-
righticon: c(({ handleClean:
|
|
161
|
-
p(e.$slots, "righticon", { handleClean:
|
|
159
|
+
righticon: c(({ handleClean: a }) => [
|
|
160
|
+
p(e.$slots, "righticon", { handleClean: a })
|
|
162
161
|
]),
|
|
163
162
|
_: 3
|
|
164
163
|
}, 8, ["id", "data-cy", "label-text", "model-value", "is-valid", "disabled", "placeholder", "with-left-icon", "with-right-icon", "input-class", "fieldset-classes"])
|
|
165
164
|
]),
|
|
166
165
|
default: c(() => [
|
|
167
|
-
(w(!0), K(T, null, z(
|
|
166
|
+
(w(!0), K(T, null, z(o.value, (a, s) => (w(), g(G, {
|
|
168
167
|
key: s,
|
|
169
168
|
active: N(m) === s,
|
|
170
169
|
class: "uikit-m-1 uikit-rounded-[5px] uikit-px-5 uikit-py-10px hover:uikit-cursor-pointer",
|
|
171
|
-
onClick: (P) => y(
|
|
170
|
+
onClick: (P) => y(a, s),
|
|
172
171
|
onMouseover: (P) => m.value = s
|
|
173
172
|
}, {
|
|
174
173
|
default: c(() => [
|
|
175
174
|
p(e.$slots, "option-content", {
|
|
176
|
-
option:
|
|
175
|
+
option: a,
|
|
177
176
|
idx: s
|
|
178
177
|
}, () => [
|
|
179
178
|
U("span", {
|
|
180
|
-
innerHTML:
|
|
179
|
+
innerHTML: a.label
|
|
181
180
|
}, null, 8, Q)
|
|
182
181
|
])
|
|
183
182
|
]),
|
|
@@ -189,5 +188,5 @@ const Q = ["innerHTML"], ne = /* @__PURE__ */ x({
|
|
|
189
188
|
}
|
|
190
189
|
});
|
|
191
190
|
export {
|
|
192
|
-
|
|
191
|
+
le as _
|
|
193
192
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as a, createElementBlock as t, openBlock as o, normalizeClass as r, renderSlot as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as a, createElementBlock as t, openBlock as o, normalizeClass as r, renderSlot as i } from "vue";
|
|
2
|
+
import '../assets/BaseBadge.css';const d = ["id"], m = /* @__PURE__ */ a({
|
|
3
3
|
__name: "BaseBadge",
|
|
4
4
|
props: {
|
|
5
5
|
badgeClass: { default: "uikit-badge-w-primary-sm" }
|
|
6
6
|
},
|
|
7
7
|
setup(s) {
|
|
8
|
-
return (e,
|
|
8
|
+
return (e, n) => (o(), t("span", {
|
|
9
9
|
id: e.$attrs.id,
|
|
10
10
|
class: r(["uikit-badge uikit-shadow-sm", s.badgeClass, e.$attrs.class])
|
|
11
11
|
}, [
|
|
12
|
-
|
|
13
|
-
], 10,
|
|
12
|
+
i(e.$slots, "default")
|
|
13
|
+
], 10, d));
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
export {
|
|
17
|
-
m as
|
|
17
|
+
m as _
|
|
18
18
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d, computed as k, createElementBlock as
|
|
1
|
+
import { defineComponent as d, computed as k, createElementBlock as i, openBlock as l, createElementVNode as n, normalizeClass as r, Fragment as u, renderList as h, renderSlot as c, toDisplayString as b, createVNode as p, unref as f } from "vue";
|
|
2
2
|
import { ArrowIcon as C } from "@wikicasa-dev/svg-icons";
|
|
3
3
|
const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], y = /* @__PURE__ */ d({
|
|
4
4
|
__name: "BaseBreadcrumb",
|
|
@@ -15,12 +15,12 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], y
|
|
|
15
15
|
a.push({ ...t.items[e], idx: e }), e < t.items.length - 1 && a.push({ arrowIcon: !0 }), e++;
|
|
16
16
|
return a;
|
|
17
17
|
});
|
|
18
|
-
return (e, a) => (
|
|
18
|
+
return (e, a) => (l(), i("nav", g, [
|
|
19
19
|
n("ol", {
|
|
20
20
|
class: r(["uikit-flex uikit-items-center uikit-gap-10px uikit-p-0", t.listClasses])
|
|
21
21
|
}, [
|
|
22
|
-
(
|
|
23
|
-
s?.label ? (
|
|
22
|
+
(l(!0), i(u, null, h(m.value, (s, o) => (l(), i(u, null, [
|
|
23
|
+
s?.label ? (l(), i("li", {
|
|
24
24
|
key: `breadcrumb-li-${o}`,
|
|
25
25
|
class: r(["uikit-list-none", t.listItemClasses]),
|
|
26
26
|
"data-tooltip": s.dataTooltip
|
|
@@ -33,13 +33,13 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], y
|
|
|
33
33
|
href: s.link
|
|
34
34
|
}, b(s.label), 11, I)
|
|
35
35
|
])
|
|
36
|
-
], 10, w)) : (
|
|
36
|
+
], 10, w)) : (l(), i("li", {
|
|
37
37
|
key: `breadcrumb-li-no-label-${o}`,
|
|
38
38
|
class: r(["uikit-list-none", t.listItemClasses]),
|
|
39
39
|
"aria-hidden": "true"
|
|
40
40
|
}, [
|
|
41
41
|
c(e.$slots, "separator", {}, () => [
|
|
42
|
-
f(
|
|
42
|
+
p(f(C), {
|
|
43
43
|
class: "-uikit-rotate-90",
|
|
44
44
|
"stroke-color": "#222",
|
|
45
45
|
width: 10,
|
|
@@ -53,5 +53,5 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], y
|
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
export {
|
|
56
|
-
y as
|
|
56
|
+
y as _
|
|
57
57
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, useTemplateRef as c, shallowRef as B, computed as l, createElementBlock as C, openBlock as w, withModifiers as s, normalizeStyle as M, normalizeClass as z, renderSlot as u, createVNode as L } from "vue";
|
|
2
|
-
import g from "
|
|
2
|
+
import g from "../UIKit/StaticSpinner.js";
|
|
3
3
|
const S = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "title"], A = /* @__PURE__ */ v({
|
|
4
4
|
__name: "BaseButton",
|
|
5
5
|
props: {
|
|
@@ -66,5 +66,5 @@ const S = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "ti
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
export {
|
|
69
|
-
A as
|
|
69
|
+
A as _
|
|
70
70
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as T, mergeModels as I, useId as N, useModel as A, shallowRef as R, computed as V, useTemplateRef as x, onMounted as z, onUnmounted as P, watch as v, nextTick as q, createElementBlock as F, openBlock as m, normalizeClass as
|
|
2
|
-
import X from "./BaseButton.
|
|
1
|
+
import { defineComponent as T, mergeModels as I, useId as N, useModel as A, shallowRef as R, computed as V, useTemplateRef as x, onMounted as z, onUnmounted as P, watch as v, nextTick as q, createElementBlock as F, openBlock as m, normalizeClass as s, renderSlot as B, createBlock as L, unref as l, createVNode as U, withCtx as D, createElementVNode as j, createCommentVNode as G, resolveDynamicComponent as J, mergeProps as Q } from "vue";
|
|
2
|
+
import { _ as X } from "./BaseButton.vue_vue_type_script_setup_true_lang.CswNVEW_.js";
|
|
3
3
|
import { ArrowIcon as Y } from "@wikicasa-dev/svg-icons";
|
|
4
|
-
import { useKeyboardController as Z } from "
|
|
5
|
-
const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
4
|
+
import { useKeyboardController as Z } from "../composables/mock.js";
|
|
5
|
+
import '../assets/BaseDropDown.css';const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "BaseDropDown",
|
|
8
8
|
props: /* @__PURE__ */ I({
|
|
@@ -35,7 +35,7 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
|
35
35
|
"resetKeyboardController"
|
|
36
36
|
), o = A(t, "open");
|
|
37
37
|
let C = !1;
|
|
38
|
-
const
|
|
38
|
+
const d = R([]), W = V(() => d.value.length), u = x("container"), c = x("dropdown"), { activeIdx: a, selectedIdx: i, onKeyDownHandler: $ } = Z({
|
|
39
39
|
optionsLength: W,
|
|
40
40
|
isDropdownOpen: o,
|
|
41
41
|
global: !1,
|
|
@@ -55,7 +55,7 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
|
55
55
|
}, K = (e) => {
|
|
56
56
|
e != null && (i.value = e);
|
|
57
57
|
}, E = () => {
|
|
58
|
-
c.value && (
|
|
58
|
+
c.value && (d.value = Array.from(c.value.children));
|
|
59
59
|
};
|
|
60
60
|
return z(() => {
|
|
61
61
|
E();
|
|
@@ -68,7 +68,7 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
|
68
68
|
}), v(o, (e) => {
|
|
69
69
|
!e || C || !n.closeWhenClickedOutside || (document.addEventListener("click", h), document.addEventListener("focusin", p), C = !0);
|
|
70
70
|
}), v(i, (e) => {
|
|
71
|
-
e !== -1 &&
|
|
71
|
+
e !== -1 && d.value[e]?.querySelector("a")?.click();
|
|
72
72
|
}), S({
|
|
73
73
|
activeIdx: a,
|
|
74
74
|
selectedIdx: i,
|
|
@@ -76,7 +76,7 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
|
76
76
|
getContentElement: () => c.value
|
|
77
77
|
}), (e, r) => (m(), F("div", {
|
|
78
78
|
ref: "container",
|
|
79
|
-
class:
|
|
79
|
+
class: s(["uikit-relative uikit-block", e.$attrs.class]),
|
|
80
80
|
onKeydown: H
|
|
81
81
|
}, [
|
|
82
82
|
B(e.$slots, "btn_slot", {
|
|
@@ -90,7 +90,7 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
|
90
90
|
id: l(y),
|
|
91
91
|
type: "button",
|
|
92
92
|
"data-cy": t.dataCy,
|
|
93
|
-
class:
|
|
93
|
+
class: s([
|
|
94
94
|
"!uikit-flex uikit-w-full uikit-items-center uikit-truncate",
|
|
95
95
|
t.btnClasses
|
|
96
96
|
]),
|
|
@@ -105,12 +105,12 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
|
105
105
|
}, {
|
|
106
106
|
default: D(() => [
|
|
107
107
|
j("span", {
|
|
108
|
-
class:
|
|
108
|
+
class: s(["uikit-mr-5px", t.labelClasses]),
|
|
109
109
|
innerHTML: t.btnLabel
|
|
110
110
|
}, null, 10, _),
|
|
111
111
|
t.withArrowIcon ? (m(), L(l(Y), {
|
|
112
112
|
key: 0,
|
|
113
|
-
class:
|
|
113
|
+
class: s(["uikit-shrink-0 uikit-transition-transform motion-reduce:uikit-transition-none", o.value ? "uikit-rotate-180" : ""]),
|
|
114
114
|
width: t.arrowWidth,
|
|
115
115
|
height: t.arrowWidth,
|
|
116
116
|
"stroke-color": t.arrowStrokeColor
|
|
@@ -148,5 +148,5 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
|
148
148
|
}
|
|
149
149
|
});
|
|
150
150
|
export {
|
|
151
|
-
le as
|
|
151
|
+
le as _
|
|
152
152
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as I, ref as n, useTemplateRef as T, onUnmounted as z, watch as H, createBlock as O, openBlock as m, Teleport as $, createElementVNode as a, normalizeClass as s, createElementBlock as y, createCommentVNode as h, renderSlot as d, withModifiers as D, createVNode as F, unref as K, nextTick as N } from "vue";
|
|
2
2
|
import { isWindows as g, awaitableSetTimeout as S } from "@wikicasa-dev/utilities";
|
|
3
3
|
import { CloseIcon as V } from "@wikicasa-dev/svg-icons";
|
|
4
|
-
const P = ["id", "data-cy"], U = ["innerHTML"], j = /* @__PURE__ */ I({
|
|
4
|
+
import '../assets/BaseModal.css';const P = ["id", "data-cy"], U = ["innerHTML"], j = /* @__PURE__ */ I({
|
|
5
5
|
__name: "BaseModal",
|
|
6
6
|
props: {
|
|
7
7
|
id: { default: "base-bt-modal" },
|
|
@@ -145,5 +145,5 @@ const P = ["id", "data-cy"], U = ["innerHTML"], j = /* @__PURE__ */ I({
|
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
147
|
export {
|
|
148
|
-
j as
|
|
148
|
+
j as _
|
|
149
149
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as x, mergeModels as I, useModel as w, ref as b, watch as y, nextTick as $, createBlock as s, openBlock as r, unref as i, withCtx as a, renderSlot as f, createVNode as n, normalizeClass as m, createCommentVNode as p, normalizeStyle as B } from "vue";
|
|
2
2
|
import { CloseIcon as V } from "@wikicasa-dev/svg-icons";
|
|
3
3
|
import { ToastProvider as D, ToastRoot as M, ToastTitle as P, ToastDescription as z, ToastClose as S, ToastAction as A, ProgressRoot as N, ProgressIndicator as R, ToastPortal as U, ToastViewport as h } from "reka-ui";
|
|
4
|
-
const q = /* @__PURE__ */ x({
|
|
4
|
+
import '../assets/BaseSnackbar.css';const q = /* @__PURE__ */ x({
|
|
5
5
|
inheritAttrs: !1,
|
|
6
6
|
__name: "BaseSnackbar",
|
|
7
7
|
props: /* @__PURE__ */ I({
|
|
@@ -141,5 +141,5 @@ const q = /* @__PURE__ */ x({
|
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
143
|
export {
|
|
144
|
-
q as
|
|
144
|
+
q as _
|
|
145
145
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, inject as l, createElementBlock as r, openBlock as a, normalizeClass as c, Fragment as y, renderList as C, unref as i, createBlock as h, createCommentVNode as p, toDisplayString as
|
|
1
|
+
import { defineComponent as m, inject as l, createElementBlock as r, openBlock as a, normalizeClass as c, Fragment as y, renderList as C, unref as i, createBlock as h, createCommentVNode as p, toDisplayString as _, resolveDynamicComponent as f } from "vue";
|
|
2
2
|
const v = ["aria-labelledby", "data-cy"], B = ["id", "data-cy", "aria-selected", "aria-controls", "tabindex", "onClick"], F = { key: 0 }, $ = /* @__PURE__ */ m({
|
|
3
3
|
__name: "BaseTabList",
|
|
4
4
|
props: {
|
|
@@ -35,11 +35,11 @@ const v = ["aria-labelledby", "data-cy"], B = ["id", "data-cy", "aria-selected",
|
|
|
35
35
|
i(b)(t, e), u("tabClick", k, t, e);
|
|
36
36
|
}
|
|
37
37
|
}, [
|
|
38
|
-
e["header-title"] ? (a(), r("span", F,
|
|
38
|
+
e["header-title"] ? (a(), r("span", F, _(e["header-title"]), 1)) : e.renderFn.children && e.renderFn.children.header ? (a(), h(f(e.renderFn.children.header), { key: 1 })) : p("", !0)
|
|
39
39
|
], 10, B))), 128))
|
|
40
40
|
], 10, v));
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
export {
|
|
44
|
-
$ as
|
|
44
|
+
$ as _
|
|
45
45
|
};
|