@wikicasa-dev/components 1.5.3 → 1.5.5
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/README.md +46 -46
- package/dist/AccessibleSelect.js +4 -0
- package/dist/BaseAccordion.js +4 -0
- package/dist/BaseAccordionBtn.js +4 -0
- package/dist/BaseAccordionContent.js +4 -0
- package/dist/BaseAccordionItem.js +4 -0
- package/dist/BaseAlert.js +4 -0
- package/dist/BaseAutocomplete.js +4 -0
- package/dist/BaseBadge.js +4 -0
- package/dist/BaseButton.js +4 -0
- package/dist/BaseCard.js +4 -0
- package/dist/{lib/UIKit/BaseComplexToggle.js → BaseComplexToggle.js} +3 -3
- package/dist/BaseDropDown.js +4 -0
- package/dist/{lib/UIKit/BaseFloatingLabel.js → BaseFloatingLabel.js} +4 -4
- package/dist/{lib/UIKit/BaseIcon.js → BaseIcon.js} +3 -3
- package/dist/{lib/UIKit/BaseInput.js → BaseInput.js} +5 -5
- package/dist/{lib/UIKit/BaseModal.js → BaseModal.js} +7 -7
- package/dist/{lib/UIKit/BaseNavItem.js → BaseNavItem.js} +15 -15
- package/dist/{lib/UIKit/BasePagination.js → BasePagination.js} +2 -2
- package/dist/{lib/UIKit/BasePaper.js → BasePaper.js} +4 -4
- package/dist/{lib/UIKit/BaseSlider.js → BaseSlider.js} +3 -3
- package/dist/{lib/UIKit/BaseSnackbar.js → BaseSnackbar.js} +4 -4
- package/dist/{lib/UIKit/BaseTab.js → BaseTab.js} +1 -1
- package/dist/{lib/UIKit/BaseTextarea.js → BaseTextarea.js} +8 -8
- package/dist/{lib/UIKit/BaseToggle.js → BaseToggle.js} +4 -4
- package/dist/{lib/UIKit/BaseTooltip.js → BaseTooltip.js} +4 -4
- package/dist/BaseUploadFile.js +4 -0
- package/dist/{lib/UIKit/Checkbox/CheckboxBtn.js → CheckboxBtn.js} +8 -8
- package/dist/CheckboxGroup.js +4 -0
- package/dist/IntersectionObservable.js +4 -0
- package/dist/IntersectionObserver.js +4 -0
- package/dist/RadioButton.js +4 -0
- package/dist/RadioGroup.js +4 -0
- package/dist/SelectItem.js +4 -0
- package/dist/{lib/UIKit/StaticSpinner.js → StaticSpinner.js} +3 -3
- package/dist/SwiperCarousel.js +4 -0
- package/dist/{lib/components/carousel/SwiperSlide.js → SwiperSlide.js} +1 -1
- package/dist/UIKit/BaseButton.vue.d.ts +1 -1
- package/dist/UIKit/BaseCard.vue.d.ts +3 -3
- package/dist/UIKit/BaseDropDown.vue.d.ts +1 -1
- package/dist/UIKit/BaseInput.vue.d.ts +1 -1
- package/dist/UIKit/BaseModal.vue.d.ts +1 -1
- package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +1 -1
- package/dist/UIKit/BaseTextarea.vue.d.ts +1 -1
- package/dist/UIKit/BaseTooltip.vue.d.ts +1 -1
- package/dist/UIKit/BaseUploadFile.vue.d.ts +69 -34
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +1 -1
- package/dist/assets/BaseComplexToggle.css +1 -1
- package/dist/assets/BaseFloatingLabel.css +1 -1
- package/dist/assets/BaseIcon.css +1 -1
- package/dist/assets/BaseInput.css +1 -1
- package/dist/assets/BaseModal.css +1 -1
- package/dist/assets/BaseNavItem.css +1 -1
- package/dist/assets/BasePaper.css +1 -1
- package/dist/assets/BaseSlider.css +1 -1
- package/dist/assets/BaseSnackbar.css +1 -1
- package/dist/assets/BaseTextarea.css +1 -1
- package/dist/assets/BaseToggle.css +1 -1
- package/dist/assets/BaseTooltip.css +1 -1
- package/dist/assets/CheckboxBtn.css +1 -1
- package/dist/assets/StaticSpinner.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.C45Bi9DC.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.DbIX6YbP.js} +3 -3
- package/dist/chunks/{BaseButton.vue_vue_type_script_setup_true_lang.m5d6yre7.js → BaseButton.vue_vue_type_script_setup_true_lang.BrJbAMJ8.js} +2 -2
- package/dist/chunks/{BaseDropDown.vue_vue_type_script_setup_true_lang.lKzbL7AZ.js → BaseDropDown.vue_vue_type_script_setup_true_lang.BTIpnAy4.js} +1 -1
- package/dist/chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.DJqPNQTa.js +70 -0
- package/dist/chunks/{CheckboxGroup.vue_vue_type_script_setup_true_lang.zoxPNnRF.js → CheckboxGroup.vue_vue_type_script_setup_true_lang.DDtN9_Bg.js} +1 -1
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +1 -1
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +1 -1
- package/dist/components/carousel/SwiperCarousel.vue.d.ts +1 -1
- package/dist/index.js +75 -0
- package/package.json +2 -2
- package/dist/lib/UIKit/AccessibleSelect.js +0 -4
- package/dist/lib/UIKit/Accordion/BaseAccordion.js +0 -4
- package/dist/lib/UIKit/Accordion/BaseAccordionBtn.js +0 -4
- package/dist/lib/UIKit/Accordion/BaseAccordionContent.js +0 -4
- package/dist/lib/UIKit/Accordion/BaseAccordionItem.js +0 -4
- package/dist/lib/UIKit/BaseAlert.js +0 -4
- package/dist/lib/UIKit/BaseAutocomplete.js +0 -4
- package/dist/lib/UIKit/BaseBadge.js +0 -4
- package/dist/lib/UIKit/BaseButton.js +0 -4
- package/dist/lib/UIKit/BaseCard.js +0 -4
- package/dist/lib/UIKit/BaseDropDown.js +0 -4
- package/dist/lib/UIKit/BaseSelect/SelectItem.js +0 -4
- package/dist/lib/UIKit/BaseUploadFile.js +0 -70
- package/dist/lib/UIKit/Checkbox/CheckboxGroup.js +0 -4
- package/dist/lib/UIKit/Radio/RadioButton.js +0 -4
- package/dist/lib/UIKit/Radio/RadioGroup.js +0 -4
- package/dist/lib/components/IntersectionObserver/IntersectionObservable.js +0 -4
- package/dist/lib/components/IntersectionObserver/IntersectionObserver.js +0 -4
- package/dist/lib/components/carousel/SwiperCarousel.js +0 -4
- package/dist/lib/index.js +0 -75
- /package/dist/{lib/composables/useBreakpoints.js → useBreakpoints.js} +0 -0
- /package/dist/{lib/composables/useFloatingLabel.js → useFloatingLabel.js} +0 -0
- /package/dist/{lib/composables/useKeyboardController.js → useKeyboardController.js} +0 -0
- /package/dist/{lib/composables/useValidator.js → useValidator.js} +0 -0
package/README.md
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
# @wikicasa-dev/types
|
|
2
|
-
|
|
3
|
-
Libreria condivisa contenente componneti scritte in Vue 3.
|
|
4
|
-
La chiave privata per la condivisione è già configurata su tutti i progetti Wikicasa, per l'installazione o l'aggiornamento della libreria basterà quindi eseguire
|
|
5
|
-
|
|
6
|
-
yarn add @wikicasa-dev/components
|
|
7
|
-
|
|
8
|
-
## Sviluppo e rilascio
|
|
9
|
-
|
|
10
|
-
La libreria fa parte di un monorepo insieme a `@wikicasa-dev/utilities` e `@wikicasa-dev/types`.
|
|
11
|
-
Il monorepo è gestito da **[pnpm](https://pnpm.io/it/)**. Il bundler in uso per questa libreria è **[Vite](https://pnpm.io/it/)**.
|
|
12
|
-
|
|
13
|
-
I file _index.html_ e _main.ts_ possono essere usati come playground per provare il funzionamento del codice. Per avviare il server di sviluppo basterà eseguire
|
|
14
|
-
|
|
15
|
-
pnpm dev
|
|
16
|
-
|
|
17
|
-
e collegarsi all'indirizzo corrispondente. Il server di sviluppo è dotato di hot reload, basterà quidni salvare il file modificato. Il file _main.ts_ è escluso dalla build quindi non bisogna preoccuparsi di sporcarlo.
|
|
18
|
-
|
|
19
|
-
### Rilascio
|
|
20
|
-
|
|
21
|
-
Come prima cosa bisogna buildare i file con
|
|
22
|
-
|
|
23
|
-
pnpm build
|
|
24
|
-
|
|
25
|
-
Successivamente bisognerà incrementare la versione. pnpm ha un comando apposito per cui si sconsiglia di andare a modificare a mano la versione nel _package.json_. Il comando è
|
|
26
|
-
|
|
27
|
-
pnpm version <major|minor|patch>
|
|
28
|
-
|
|
29
|
-
Sta allo sviluppatore scegliere l'incremento di versione più opportuno.
|
|
30
|
-
Dopodiché occorrerà eseguire il commit e push delle modifiche (pnpm blocca il rilascio in caso di modifiche non committate) per poi procedere alla pubblicazione con
|
|
31
|
-
|
|
32
|
-
pnpm publish
|
|
33
|
-
|
|
34
|
-
## Storybook
|
|
35
|
-
|
|
36
|
-
La libreria è configurata con [Storybook](https://storybook.js.org/) per testare le componenti. Per lanciare Storybook in locale basterà eseguire
|
|
37
|
-
|
|
38
|
-
pnpm storybook
|
|
39
|
-
|
|
40
|
-
L'hot reload funziona anche per le componenti e le stories, occasionalmente sarà necessario aggiornare la pagina.
|
|
41
|
-
|
|
42
|
-
Storybook può essere rilasciato su Chromatic, occorre eseguire
|
|
43
|
-
|
|
44
|
-
pnpm chromatic
|
|
45
|
-
|
|
46
|
-
per generare un link pubblico a Storybook.
|
|
1
|
+
# @wikicasa-dev/types
|
|
2
|
+
|
|
3
|
+
Libreria condivisa contenente componneti scritte in Vue 3.
|
|
4
|
+
La chiave privata per la condivisione è già configurata su tutti i progetti Wikicasa, per l'installazione o l'aggiornamento della libreria basterà quindi eseguire
|
|
5
|
+
|
|
6
|
+
yarn add @wikicasa-dev/components
|
|
7
|
+
|
|
8
|
+
## Sviluppo e rilascio
|
|
9
|
+
|
|
10
|
+
La libreria fa parte di un monorepo insieme a `@wikicasa-dev/utilities` e `@wikicasa-dev/types`.
|
|
11
|
+
Il monorepo è gestito da **[pnpm](https://pnpm.io/it/)**. Il bundler in uso per questa libreria è **[Vite](https://pnpm.io/it/)**.
|
|
12
|
+
|
|
13
|
+
I file _index.html_ e _main.ts_ possono essere usati come playground per provare il funzionamento del codice. Per avviare il server di sviluppo basterà eseguire
|
|
14
|
+
|
|
15
|
+
pnpm dev
|
|
16
|
+
|
|
17
|
+
e collegarsi all'indirizzo corrispondente. Il server di sviluppo è dotato di hot reload, basterà quidni salvare il file modificato. Il file _main.ts_ è escluso dalla build quindi non bisogna preoccuparsi di sporcarlo.
|
|
18
|
+
|
|
19
|
+
### Rilascio
|
|
20
|
+
|
|
21
|
+
Come prima cosa bisogna buildare i file con
|
|
22
|
+
|
|
23
|
+
pnpm build
|
|
24
|
+
|
|
25
|
+
Successivamente bisognerà incrementare la versione. pnpm ha un comando apposito per cui si sconsiglia di andare a modificare a mano la versione nel _package.json_. Il comando è
|
|
26
|
+
|
|
27
|
+
pnpm version <major|minor|patch>
|
|
28
|
+
|
|
29
|
+
Sta allo sviluppatore scegliere l'incremento di versione più opportuno.
|
|
30
|
+
Dopodiché occorrerà eseguire il commit e push delle modifiche (pnpm blocca il rilascio in caso di modifiche non committate) per poi procedere alla pubblicazione con
|
|
31
|
+
|
|
32
|
+
pnpm publish
|
|
33
|
+
|
|
34
|
+
## Storybook
|
|
35
|
+
|
|
36
|
+
La libreria è configurata con [Storybook](https://storybook.js.org/) per testare le componenti. Per lanciare Storybook in locale basterà eseguire
|
|
37
|
+
|
|
38
|
+
pnpm storybook
|
|
39
|
+
|
|
40
|
+
L'hot reload funziona anche per le componenti e le stories, occasionalmente sarà necessario aggiornare la pagina.
|
|
41
|
+
|
|
42
|
+
Storybook può essere rilasciato su Chromatic, occorre eseguire
|
|
43
|
+
|
|
44
|
+
pnpm chromatic
|
|
45
|
+
|
|
46
|
+
per generare un link pubblico a Storybook.
|
package/dist/BaseCard.js
ADDED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import './assets/BaseComplexToggle.css';
|
|
2
2
|
import { defineComponent as n, openBlock as l, createElementBlock as o, normalizeClass as a, createElementVNode as t, withModifiers as s, createCommentVNode as r } from "vue";
|
|
3
|
-
import { _ as d } from "
|
|
3
|
+
import { _ as d } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
4
|
const c = n({
|
|
5
5
|
name: "BaseComplexToggle",
|
|
6
6
|
props: {
|
|
@@ -134,7 +134,7 @@ function T(e, i, v, y, B, L) {
|
|
|
134
134
|
}, null, 2)
|
|
135
135
|
], 10, u);
|
|
136
136
|
}
|
|
137
|
-
const w = /* @__PURE__ */ d(c, [["render", T], ["__scopeId", "data-v-
|
|
137
|
+
const w = /* @__PURE__ */ d(c, [["render", T], ["__scopeId", "data-v-f02f3790"]]);
|
|
138
138
|
export {
|
|
139
139
|
w as default
|
|
140
140
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import './assets/BaseFloatingLabel.css';
|
|
2
2
|
import { defineComponent as s, openBlock as a, createElementBlock as l, normalizeClass as t, withModifiers as o, createElementVNode as n, createCommentVNode as r } from "vue";
|
|
3
|
-
import { _ as u } from "
|
|
3
|
+
import { _ as u } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
4
|
const d = s({
|
|
5
5
|
name: "BaseFloatingLabel",
|
|
6
6
|
props: {
|
|
@@ -23,7 +23,7 @@ const d = s({
|
|
|
23
23
|
},
|
|
24
24
|
emits: ["click"]
|
|
25
25
|
}), p = ["for"], k = ["innerHTML"];
|
|
26
|
-
function
|
|
26
|
+
function m(e, i, c, f, b, y) {
|
|
27
27
|
return a(), l("label", {
|
|
28
28
|
for: e.$attrs.for,
|
|
29
29
|
class: t(["uikit-absolute uikit-left-15px uikit-h-5 uikit-text-sm", [
|
|
@@ -43,7 +43,7 @@ function c(e, i, m, f, b, y) {
|
|
|
43
43
|
}, " *", 2)) : r("", !0)
|
|
44
44
|
], 10, p);
|
|
45
45
|
}
|
|
46
|
-
const g = /* @__PURE__ */ u(d, [["render",
|
|
46
|
+
const g = /* @__PURE__ */ u(d, [["render", m], ["__scopeId", "data-v-bc398569"]]);
|
|
47
47
|
export {
|
|
48
48
|
g as default
|
|
49
49
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import './assets/BaseIcon.css';
|
|
2
2
|
import { defineComponent as e, openBlock as a, createElementBlock as i, normalizeClass as n, normalizeStyle as o } from "vue";
|
|
3
|
-
import { _ as s } from "
|
|
3
|
+
import { _ as s } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
4
|
const r = e({
|
|
5
5
|
name: "BaseIcon",
|
|
6
6
|
props: {
|
|
@@ -35,7 +35,7 @@ function d(t, p, c, f, m, u) {
|
|
|
35
35
|
loading: t.lazyLoading ? "lazy" : "eager"
|
|
36
36
|
}, null, 14, l);
|
|
37
37
|
}
|
|
38
|
-
const h = /* @__PURE__ */ s(r, [["render", d], ["__scopeId", "data-v-
|
|
38
|
+
const h = /* @__PURE__ */ s(r, [["render", d], ["__scopeId", "data-v-8b2e5b08"]]);
|
|
39
39
|
export {
|
|
40
40
|
h as default
|
|
41
41
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import './assets/BaseInput.css';
|
|
2
2
|
import v from "./BaseFloatingLabel.js";
|
|
3
|
-
import { useFloatingLabel as y } from "
|
|
3
|
+
import { useFloatingLabel as y } from "./useFloatingLabel.js";
|
|
4
4
|
import { defineComponent as w, resolveComponent as g, openBlock as l, createElementBlock as s, normalizeClass as n, renderSlot as d, createElementVNode as o, withModifiers as p, withKeys as V, createCommentVNode as b, createBlock as c, Fragment as m, renderList as $ } from "vue";
|
|
5
|
-
import { _ as I } from "
|
|
5
|
+
import { _ as I } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
6
|
const F = w({
|
|
7
7
|
name: "BaseInput",
|
|
8
8
|
components: { BaseFloatingLabel: v },
|
|
@@ -219,7 +219,7 @@ function j(e, t, a, k, h, f) {
|
|
|
219
219
|
]
|
|
220
220
|
}, null, 42, L),
|
|
221
221
|
o("fieldset", {
|
|
222
|
-
class: n(["uikit-pointer-events-none uikit-absolute -uikit-top-[
|
|
222
|
+
class: n(["uikit-pointer-events-none uikit-absolute -uikit-top-[6px] uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-m-0 uikit-h-12 uikit-overflow-hidden uikit-px-2 uikit-py-0 uikit-text-left", [
|
|
223
223
|
{ "uikit-border-0": !e.border },
|
|
224
224
|
{
|
|
225
225
|
"uikit-border uikit-border-solid uikit-transition-[border] uikit-duration-100 uikit-ease-out peer-focus:uikit-border-2 peer-focus:uikit-border-w-primary peer-focus:[&.is-invalid]:uikit-border-w-danger": e.border,
|
|
@@ -272,7 +272,7 @@ function j(e, t, a, k, h, f) {
|
|
|
272
272
|
])
|
|
273
273
|
], 2);
|
|
274
274
|
}
|
|
275
|
-
const z = /* @__PURE__ */ I(F, [["render", j], ["__scopeId", "data-v-
|
|
275
|
+
const z = /* @__PURE__ */ I(F, [["render", j], ["__scopeId", "data-v-681dfa04"]]);
|
|
276
276
|
export {
|
|
277
277
|
z as default
|
|
278
278
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import './assets/BaseModal.css';
|
|
2
2
|
import { defineComponent as x, ref as r, watch as M, openBlock as k, createBlock as f, Teleport as B, createElementVNode as s, normalizeClass as i, withModifiers as g, withCtx as E, createVNode as L, unref as $, createCommentVNode as p, renderSlot as d, createElementBlock as T } from "vue";
|
|
3
|
-
import "
|
|
4
|
-
import { _ as H } from "
|
|
5
|
-
import { l as O } from "
|
|
6
|
-
import { useBreakpoints as z } from "
|
|
7
|
-
import { _ as F } from "
|
|
3
|
+
import "./chunks/js.cookie.BQua9eWh.js";
|
|
4
|
+
import { _ as H } from "./chunks/BaseButton.vue_vue_type_script_setup_true_lang.BrJbAMJ8.js";
|
|
5
|
+
import { l as O } from "./chunks/CloseIcon.DiRdm5zi.js";
|
|
6
|
+
import { useBreakpoints as z } from "./useBreakpoints.js";
|
|
7
|
+
import { _ as F } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
8
8
|
const I = (a, n) => new Promise((l, u) => {
|
|
9
9
|
setTimeout(() => {
|
|
10
10
|
try {
|
|
@@ -142,7 +142,7 @@ const I = (a, n) => new Promise((l, u) => {
|
|
|
142
142
|
], 2)
|
|
143
143
|
]));
|
|
144
144
|
}
|
|
145
|
-
}), G = /* @__PURE__ */ F(V, [["__scopeId", "data-v-
|
|
145
|
+
}), G = /* @__PURE__ */ F(V, [["__scopeId", "data-v-7fc1eaab"]]);
|
|
146
146
|
export {
|
|
147
147
|
G as default
|
|
148
148
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import './assets/BaseNavItem.css';
|
|
2
2
|
import s from "./BaseIcon.js";
|
|
3
3
|
import { defineComponent as r, resolveComponent as n, openBlock as i, createElementBlock as l, normalizeClass as c, createBlock as m, createCommentVNode as u, renderSlot as p, createElementVNode as d, toDisplayString as f } from "vue";
|
|
4
|
-
import { _ as b } from "
|
|
4
|
+
import { _ as b } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
5
5
|
const k = r({
|
|
6
6
|
name: "BaseNavItem",
|
|
7
7
|
components: { BaseIcon: s },
|
|
@@ -26,34 +26,34 @@ const k = r({
|
|
|
26
26
|
},
|
|
27
27
|
emits: ["click"],
|
|
28
28
|
watch: {
|
|
29
|
-
isActive(
|
|
30
|
-
const
|
|
31
|
-
|
|
29
|
+
isActive(e) {
|
|
30
|
+
const t = this.$refs["base-nav-item"];
|
|
31
|
+
e ? t.classList.add("active") : t.classList.remove("active");
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}), v = ["id"];
|
|
35
|
-
function g(
|
|
35
|
+
function g(e, t, C, y, $, N) {
|
|
36
36
|
const a = n("base-icon");
|
|
37
37
|
return i(), l("li", {
|
|
38
|
-
id: `${
|
|
39
|
-
class: c(["uikit-group/tabs uikit-relative uikit-flex uikit-cursor-pointer uikit-items-center uikit-pb-5px disabled:uikit-border-transparent disabled:uikit-bg-transparent disabled:uikit-text-gray-600", [
|
|
40
|
-
onClick:
|
|
38
|
+
id: `${e.$attrs.id}`,
|
|
39
|
+
class: c(["uikit-group/tabs uikit-relative uikit-flex uikit-cursor-pointer uikit-items-center uikit-pb-5px disabled:uikit-border-transparent disabled:uikit-bg-transparent disabled:uikit-text-gray-600", [e.navItemCustomClass]]),
|
|
40
|
+
onClick: t[0] || (t[0] = (o) => e.$emit("click", o))
|
|
41
41
|
}, [
|
|
42
|
-
|
|
42
|
+
e.iconName ? (i(), m(a, {
|
|
43
43
|
key: 0,
|
|
44
44
|
"alt-attribute": "icon",
|
|
45
|
-
"icon-name":
|
|
46
|
-
"icon-class":
|
|
45
|
+
"icon-name": e.iconName,
|
|
46
|
+
"icon-class": e.iconClass
|
|
47
47
|
}, null, 8, ["icon-name", "icon-class"])) : u("", !0),
|
|
48
|
-
p(
|
|
48
|
+
p(e.$slots, "default", {}, () => [
|
|
49
49
|
d("a", {
|
|
50
50
|
ref: "base-nav-item",
|
|
51
51
|
class: "after:uikit-absolute after:uikit-bottom-0 after:uikit-left-0 after:uikit-w-full after:uikit-content-[''] group-hover/tabs:after:uikit-border-b-2 group-hover/tabs:after:uikit-border-b-w-primary group-hover/tabs:after:[border-bottom-style:solid]"
|
|
52
|
-
}, f(
|
|
52
|
+
}, f(e.text), 513)
|
|
53
53
|
], !0)
|
|
54
54
|
], 10, v);
|
|
55
55
|
}
|
|
56
|
-
const _ = /* @__PURE__ */ b(k, [["render", g], ["__scopeId", "data-v-
|
|
56
|
+
const _ = /* @__PURE__ */ b(k, [["render", g], ["__scopeId", "data-v-7f3f4fee"]]);
|
|
57
57
|
export {
|
|
58
58
|
_ as default
|
|
59
59
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import c from "./BaseIcon.js";
|
|
2
|
-
import "
|
|
2
|
+
import "./chunks/js.cookie.BQua9eWh.js";
|
|
3
3
|
import { defineComponent as h, resolveComponent as f, openBlock as r, createElementBlock as n, createVNode as k, createCommentVNode as o, Fragment as l, renderList as g, toDisplayString as s, createElementVNode as d } from "vue";
|
|
4
|
-
import { _ as v } from "
|
|
4
|
+
import { _ as v } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
5
5
|
function p(i, t = !1) {
|
|
6
6
|
return i == null ? "" : w(t ? Math.round(i) : Math.floor(i), 0);
|
|
7
7
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import './assets/BasePaper.css';
|
|
2
2
|
import { defineComponent as o, openBlock as t, createElementBlock as r, renderSlot as s } from "vue";
|
|
3
|
-
import { _ as n } from "
|
|
3
|
+
import { _ as n } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
4
|
const a = o({
|
|
5
5
|
name: "BasePaper"
|
|
6
6
|
}), c = { class: "base-paper" };
|
|
7
|
-
function p(e, _, d,
|
|
7
|
+
function p(e, _, d, f, i, m) {
|
|
8
8
|
return t(), r("div", c, [
|
|
9
9
|
s(e.$slots, "content", {}, void 0, !0)
|
|
10
10
|
]);
|
|
11
11
|
}
|
|
12
|
-
const $ = /* @__PURE__ */ n(a, [["render", p], ["__scopeId", "data-v-
|
|
12
|
+
const $ = /* @__PURE__ */ n(a, [["render", p], ["__scopeId", "data-v-f52750e0"]]);
|
|
13
13
|
export {
|
|
14
14
|
$ as default
|
|
15
15
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import './assets/BaseSlider.css';
|
|
2
2
|
import f from "./BaseInput.js";
|
|
3
3
|
import { defineComponent as c, resolveComponent as S, openBlock as V, createElementBlock as g, createElementVNode as a, withModifiers as h, createVNode as d } from "vue";
|
|
4
|
-
import { _ as x } from "
|
|
4
|
+
import { _ as x } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
5
5
|
function p(t, i) {
|
|
6
6
|
const e = parseInt(t.value, 10), l = parseInt(i.value, 10);
|
|
7
7
|
return [e, l];
|
|
@@ -256,7 +256,7 @@ function b(t, i, e, l, s, r) {
|
|
|
256
256
|
])
|
|
257
257
|
]);
|
|
258
258
|
}
|
|
259
|
-
const _ = /* @__PURE__ */ x(I, [["render", b], ["__scopeId", "data-v-
|
|
259
|
+
const _ = /* @__PURE__ */ x(I, [["render", b], ["__scopeId", "data-v-0fa5a933"]]);
|
|
260
260
|
export {
|
|
261
261
|
_ as default
|
|
262
262
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import './assets/BaseSnackbar.css';
|
|
2
2
|
import { defineComponent as b, ref as u, onBeforeMount as f, openBlock as i, createElementBlock as e, createElementVNode as o, normalizeClass as h, withModifiers as l, createCommentVNode as a, createVNode as y, unref as x } from "vue";
|
|
3
|
-
import { l as _ } from "
|
|
4
|
-
import { _ as v } from "
|
|
3
|
+
import { l as _ } from "./chunks/CloseIcon.DiRdm5zi.js";
|
|
4
|
+
import { _ as v } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
5
5
|
const g = { class: "snackbar-container uikit-fixed uikit-bottom-10px uikit-left-10px uikit-z-[2000] max-sm:uikit-left-0 max-sm:uikit-w-full" }, C = ["data-cy"], w = ["src", "alt"], L = {
|
|
6
6
|
key: 1,
|
|
7
7
|
class: "snackbar-type-icon uikit-bg-contain uikit-bg-no-repeat"
|
|
@@ -74,7 +74,7 @@ const g = { class: "snackbar-container uikit-fixed uikit-bottom-10px uikit-left-
|
|
|
74
74
|
], 10, C)
|
|
75
75
|
]));
|
|
76
76
|
}
|
|
77
|
-
}), z = /* @__PURE__ */ v(S, [["__scopeId", "data-v-
|
|
77
|
+
}), z = /* @__PURE__ */ v(S, [["__scopeId", "data-v-1288e108"]]);
|
|
78
78
|
export {
|
|
79
79
|
z as default
|
|
80
80
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import r from "./BaseNavItem.js";
|
|
2
2
|
import { defineComponent as c, resolveComponent as m, openBlock as s, createElementBlock as o, normalizeClass as d, renderSlot as p, createVNode as l, Fragment as k, renderList as b, createBlock as u } from "vue";
|
|
3
|
-
import { _ as f } from "
|
|
3
|
+
import { _ as f } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
4
|
const v = c({
|
|
5
5
|
name: "BaseTab",
|
|
6
6
|
components: { BaseNavItem: r },
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import './assets/BaseTextarea.css';
|
|
2
2
|
import f from "./BaseFloatingLabel.js";
|
|
3
|
-
import { useFloatingLabel as m } from "
|
|
3
|
+
import { useFloatingLabel as m } from "./useFloatingLabel.js";
|
|
4
4
|
import { defineComponent as h, resolveComponent as v, openBlock as o, createElementBlock as r, normalizeClass as t, createElementVNode as l, withModifiers as s, createCommentVNode as b, createVNode as w } from "vue";
|
|
5
|
-
import { _ as g } from "
|
|
5
|
+
import { _ as g } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
6
|
const y = h({
|
|
7
7
|
name: "BaseTextarea",
|
|
8
8
|
components: { BaseFloatingLabel: f },
|
|
@@ -68,7 +68,7 @@ const y = h({
|
|
|
68
68
|
}), V = ["id", "data-cy", "rows", "disabled", "aria-labelledby", "innerHTML"], $ = {
|
|
69
69
|
key: 0,
|
|
70
70
|
class: "uikit-visible uikit-float-none uikit-ml-2 uikit-block uikit-h-3 uikit-w-auto uikit-max-w-full uikit-overflow-hidden uikit-whitespace-nowrap uikit-p-0 uikit-text uikit-duration-[50s] uikit-ease-out"
|
|
71
|
-
},
|
|
71
|
+
}, c = ["innerHTML"], T = ["innerHTML"];
|
|
72
72
|
function L(e, i, n, u, d, k) {
|
|
73
73
|
const p = v("base-floating-label");
|
|
74
74
|
return o(), r("div", {
|
|
@@ -99,7 +99,7 @@ function L(e, i, n, u, d, k) {
|
|
|
99
99
|
innerHTML: e.modelValue
|
|
100
100
|
}, null, 42, V),
|
|
101
101
|
l("fieldset", {
|
|
102
|
-
class: t(["uikit-pointer-events-none uikit-absolute -uikit-top-
|
|
102
|
+
class: t(["uikit-pointer-events-none uikit-absolute -uikit-top-[7px] uikit-bottom-[3px] uikit-left-0 uikit-right-0 uikit-m-0 uikit-min-w-0 uikit-overflow-hidden uikit-rounded-xs uikit-border uikit-border-solid uikit-px-2 uikit-text-start uikit-transition-[border] uikit-duration-100 uikit-ease-out peer-focus/fieldset:uikit-border-2 peer-focus/fieldset:uikit-border-w-primary", [
|
|
103
103
|
{ "is-invalid": e.isValid === !1, "is-valid": e.isValid },
|
|
104
104
|
{ "uikit-border-w-danger": e.isValid === !1 },
|
|
105
105
|
{ "uikit-border-w-primary": e.isValid },
|
|
@@ -117,7 +117,7 @@ function L(e, i, n, u, d, k) {
|
|
|
117
117
|
}
|
|
118
118
|
]]),
|
|
119
119
|
innerHTML: e.labelText
|
|
120
|
-
}, null, 10,
|
|
120
|
+
}, null, 10, c)
|
|
121
121
|
])) : b("", !0)
|
|
122
122
|
], 2),
|
|
123
123
|
w(p, {
|
|
@@ -135,10 +135,10 @@ function L(e, i, n, u, d, k) {
|
|
|
135
135
|
e.isValid === !1 ? "uikit-mt-1 uikit-text-12 uikit-text-w-danger" : "uikit-mt-1 uikit-text-12 uikit-text-w-primary"
|
|
136
136
|
),
|
|
137
137
|
innerHTML: e.isValid === !1 ? e.feedback.invalid : e.feedback.valid
|
|
138
|
-
}, null, 10,
|
|
138
|
+
}, null, 10, T)) : b("", !0)
|
|
139
139
|
], 2);
|
|
140
140
|
}
|
|
141
|
-
const x = /* @__PURE__ */ g(y, [["render", L], ["__scopeId", "data-v-
|
|
141
|
+
const x = /* @__PURE__ */ g(y, [["render", L], ["__scopeId", "data-v-c29deed2"]]);
|
|
142
142
|
export {
|
|
143
143
|
x as default
|
|
144
144
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import './assets/BaseToggle.css';
|
|
2
2
|
import { defineComponent as l, openBlock as a, createElementBlock as s, normalizeClass as u, renderSlot as o, createElementVNode as t, withModifiers as n, createCommentVNode as d, pushScopeId as k, popScopeId as c } from "vue";
|
|
3
|
-
import { _ as p } from "
|
|
3
|
+
import { _ as p } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
4
|
const b = l({
|
|
5
5
|
name: "BaseToggle",
|
|
6
6
|
inheritAttrs: !1,
|
|
@@ -15,7 +15,7 @@ const b = l({
|
|
|
15
15
|
this.$emit("update:modelValue", e.checked);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
}), f = (e) => (k("data-v-
|
|
18
|
+
}), f = (e) => (k("data-v-b0a3ed96"), e = e(), c(), e), h = { class: "switch uikit-relative uikit-inline-block uikit-min-w-[40px] uikit-text-sm" }, m = ["data-cy", "checked"], g = /* @__PURE__ */ f(() => /* @__PURE__ */ t("span", { class: "slider round uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-cursor-pointer uikit-bg-w-lavender uikit-duration-300 before:uikit-absolute before:uikit-bottom-0 before:uikit-left-0 before:uikit-h-[22px] before:uikit-w-[22px] before:uikit-rounded-circle before:uikit-border before:uikit-border-solid before:uikit-border-w-secondary before:uikit-bg-white before:uikit-shadow-sm before:uikit-duration-300 before:uikit-content-[''] peer-checked/toggle:uikit-bg-w-primary" }, null, -1)), w = ["innerHTML"];
|
|
19
19
|
function y(e, i, _, $, v, B) {
|
|
20
20
|
return a(), s("div", {
|
|
21
21
|
class: u(["switch-container uikit-inline-block uikit-items-center", e.$attrs.class])
|
|
@@ -39,7 +39,7 @@ function y(e, i, _, $, v, B) {
|
|
|
39
39
|
], !0) : d("", !0)
|
|
40
40
|
], 2);
|
|
41
41
|
}
|
|
42
|
-
const V = /* @__PURE__ */ p(b, [["render", y], ["__scopeId", "data-v-
|
|
42
|
+
const V = /* @__PURE__ */ p(b, [["render", y], ["__scopeId", "data-v-b0a3ed96"]]);
|
|
43
43
|
export {
|
|
44
44
|
V as default
|
|
45
45
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import './assets/BaseTooltip.css';
|
|
2
2
|
import { defineComponent as a, openBlock as o, createElementBlock as s, normalizeClass as t, renderSlot as r, createElementVNode as l, createCommentVNode as i } from "vue";
|
|
3
|
-
import { _ as n } from "
|
|
3
|
+
import { _ as n } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
4
|
const p = a({
|
|
5
5
|
name: "BaseTooltip",
|
|
6
6
|
inheritAttrs: !1,
|
|
@@ -28,7 +28,7 @@ const p = a({
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
|
-
function d(e, m, u,
|
|
31
|
+
function d(e, c, m, u, f, h) {
|
|
32
32
|
return o(), s("div", {
|
|
33
33
|
class: t(["base-tooltip", e.$attrs.class])
|
|
34
34
|
}, [
|
|
@@ -48,7 +48,7 @@ function d(e, m, u, c, f, h) {
|
|
|
48
48
|
], 2)
|
|
49
49
|
], 2);
|
|
50
50
|
}
|
|
51
|
-
const $ = /* @__PURE__ */ n(p, [["render", d], ["__scopeId", "data-v-
|
|
51
|
+
const $ = /* @__PURE__ */ n(p, [["render", d], ["__scopeId", "data-v-5d6f1c73"]]);
|
|
52
52
|
export {
|
|
53
53
|
$ as default
|
|
54
54
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import { defineComponent as f, openBlock as o, createElementBlock as
|
|
3
|
-
import { _ as g } from "
|
|
1
|
+
import './assets/CheckboxBtn.css';
|
|
2
|
+
import { defineComponent as f, openBlock as o, createElementBlock as s, normalizeClass as l, withModifiers as r, createElementVNode as d, renderSlot as b, toDisplayString as m, createCommentVNode as h } from "vue";
|
|
3
|
+
import { _ as g } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
4
|
const C = ["id"], y = ["id", "data-cy", "checked", "disabled"], V = ["for"], v = /* @__PURE__ */ f({
|
|
5
5
|
__name: "CheckboxBtn",
|
|
6
6
|
props: {
|
|
@@ -26,7 +26,7 @@ const C = ["id"], y = ["id", "data-cy", "checked", "disabled"], V = ["for"], v =
|
|
|
26
26
|
}, p = () => {
|
|
27
27
|
n(), i.handleLabelClick && t("click");
|
|
28
28
|
};
|
|
29
|
-
return (e, a) => (o(),
|
|
29
|
+
return (e, a) => (o(), s("div", {
|
|
30
30
|
id: e.containerId,
|
|
31
31
|
class: l(["uikit-group uikit-relative uikit-block uikit-pl-25px hover:uikit-cursor-pointer", [
|
|
32
32
|
{ "uikit-mr-4 uikit-inline-flex uikit-items-center": e.inline },
|
|
@@ -36,7 +36,7 @@ const C = ["id"], y = ["id", "data-cy", "checked", "disabled"], V = ["for"], v =
|
|
|
36
36
|
]]),
|
|
37
37
|
onClick: r(p, ["stop", "prevent"])
|
|
38
38
|
}, [
|
|
39
|
-
|
|
39
|
+
d("input", {
|
|
40
40
|
id: `${e.id}`,
|
|
41
41
|
ref: "checkbox",
|
|
42
42
|
"data-cy": e.$attrs["data-cy"],
|
|
@@ -52,11 +52,11 @@ const C = ["id"], y = ["id", "data-cy", "checked", "disabled"], V = ["for"], v =
|
|
|
52
52
|
onClick: a[1] || (a[1] = r((c) => t("click"), ["stop"]))
|
|
53
53
|
}, null, 42, y),
|
|
54
54
|
b(e.$slots, "label", {}, () => [
|
|
55
|
-
|
|
55
|
+
d("label", {
|
|
56
56
|
class: l(["uikit-pl-10px uikit-text-sm group-hover:uikit-cursor-pointer", [e.labelClass, { "uikit-text-w-danger": e.isValid === !1 }]]),
|
|
57
57
|
for: `${e.id}`
|
|
58
58
|
}, m(e.label), 11, V),
|
|
59
|
-
e.$attrs.required ? (o(),
|
|
59
|
+
e.$attrs.required ? (o(), s("span", {
|
|
60
60
|
key: 0,
|
|
61
61
|
class: l(["required after:uikit-content-['*']", [
|
|
62
62
|
e.isValid !== !1 ? "after:uikit-text-w-primary" : "after:uikit-text-w-danger"
|
|
@@ -65,7 +65,7 @@ const C = ["id"], y = ["id", "data-cy", "checked", "disabled"], V = ["for"], v =
|
|
|
65
65
|
], !0)
|
|
66
66
|
], 10, C));
|
|
67
67
|
}
|
|
68
|
-
}), B = /* @__PURE__ */ g(v, [["__scopeId", "data-v-
|
|
68
|
+
}), B = /* @__PURE__ */ g(v, [["__scopeId", "data-v-13281133"]]);
|
|
69
69
|
export {
|
|
70
70
|
B as default
|
|
71
71
|
};
|