agnosticui-core 2.0.0-alpha.24 → 2.0.0-alpha.26
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/VueAvatarFx.vue_vue_type_script_setup_true_lang-B5zZ0up1.js +41 -0
- package/dist/{VueCopyButton.vue_vue_type_script_setup_true_lang-BZi5H42P.js → VueCopyButton.vue_vue_type_script_setup_true_lang-BuxS_2Gx.js} +7 -7
- package/dist/VueTagFx.vue_vue_type_script_setup_true_lang-DI_EYIja.js +40 -0
- package/dist/VueTooltipFx.vue_vue_type_script_setup_true_lang-B7XF-J_S.js +52 -0
- package/dist/components/Accordion/vue/index.d.ts +0 -1
- package/dist/components/Accordion/vue/index.d.ts.map +1 -1
- package/dist/components/Accordion/vue/index.js +6 -7
- package/dist/components/Alert/vue/index.d.ts +0 -1
- package/dist/components/Alert/vue/index.d.ts.map +1 -1
- package/dist/components/Alert/vue/index.js +2 -3
- package/dist/components/Avatar/core/_Avatar.d.ts +2 -2
- package/dist/components/Avatar/core/_Avatar.d.ts.map +1 -1
- package/dist/components/AvatarFx/core/AvatarFx.d.ts +9 -0
- package/dist/components/AvatarFx/core/AvatarFx.d.ts.map +1 -0
- package/dist/components/AvatarFx/core/AvatarFx.js +5 -0
- package/dist/components/AvatarFx/core/_AvatarFx.d.ts +33 -0
- package/dist/components/AvatarFx/core/_AvatarFx.d.ts.map +1 -0
- package/dist/components/AvatarFx/core/_AvatarFx.js +210 -0
- package/dist/components/AvatarFx/react/ReactAvatarFx.d.ts +11 -0
- package/dist/components/AvatarFx/react/ReactAvatarFx.d.ts.map +1 -0
- package/dist/components/AvatarFx/react/ReactAvatarFx.js +13 -0
- package/dist/components/AvatarFx/vue/VueAvatarFx.js +4 -0
- package/dist/components/AvatarFx/vue/VueAvatarFx.vue.d.ts +77 -0
- package/dist/components/AvatarFx/vue/VueAvatarFx.vue.d.ts.map +1 -0
- package/dist/components/AvatarFx/vue/index.d.ts +19 -0
- package/dist/components/AvatarFx/vue/index.d.ts.map +1 -0
- package/dist/components/AvatarFx/vue/index.js +4 -0
- package/dist/components/Badge/core/_Badge.d.ts.map +1 -1
- package/dist/components/Badge/core/_Badge.js +2 -1
- package/dist/components/BadgeFx/vue/VueBadgeFx.vue.d.ts +3 -3
- package/dist/components/BadgeFx/vue/VueBadgeFx.vue.d.ts.map +1 -1
- package/dist/components/Breadcrumb/vue/index.d.ts +0 -1
- package/dist/components/Breadcrumb/vue/index.d.ts.map +1 -1
- package/dist/components/Breadcrumb/vue/index.js +2 -3
- package/dist/components/Button/vue/index.d.ts +0 -1
- package/dist/components/Button/vue/index.d.ts.map +1 -1
- package/dist/components/Button/vue/index.js +2 -3
- package/dist/components/ButtonFx/vue/VueButtonFx.vue.d.ts +3 -3
- package/dist/components/Collapsible/core/_Collapsible.d.ts.map +1 -1
- package/dist/components/Collapsible/core/_Collapsible.js +8 -7
- package/dist/components/Combobox/vue/index.d.ts +0 -1
- package/dist/components/Combobox/vue/index.d.ts.map +1 -1
- package/dist/components/Combobox/vue/index.js +2 -3
- package/dist/components/CopyButton/core/_CopyButton.d.ts +10 -1
- package/dist/components/CopyButton/core/_CopyButton.d.ts.map +1 -1
- package/dist/components/CopyButton/vue/VueCopyButton.js +1 -1
- package/dist/components/CopyButton/vue/VueCopyButton.vue.d.ts +5 -2
- package/dist/components/CopyButton/vue/VueCopyButton.vue.d.ts.map +1 -1
- package/dist/components/CopyButton/vue/index.js +1 -1
- package/dist/components/Dialog/vue/index.d.ts +0 -1
- package/dist/components/Dialog/vue/index.d.ts.map +1 -1
- package/dist/components/Dialog/vue/index.js +6 -7
- package/dist/components/Drawer/vue/index.d.ts +0 -1
- package/dist/components/Drawer/vue/index.d.ts.map +1 -1
- package/dist/components/Drawer/vue/index.js +2 -3
- package/dist/components/EmptyState/core/_EmptyState.d.ts +2 -2
- package/dist/components/EmptyState/core/_EmptyState.d.ts.map +1 -1
- package/dist/components/Flex/core/_FlexContainer.d.ts +3 -0
- package/dist/components/Flex/core/_FlexContainer.d.ts.map +1 -1
- package/dist/components/Header/vue/index.d.ts +0 -1
- package/dist/components/Header/vue/index.d.ts.map +1 -1
- package/dist/components/Header/vue/index.js +2 -3
- package/dist/components/IconButton/vue/index.d.ts +0 -1
- package/dist/components/IconButton/vue/index.d.ts.map +1 -1
- package/dist/components/IconButton/vue/index.js +2 -3
- package/dist/components/IconButtonFx/vue/VueIconButtonFx.vue.d.ts +3 -3
- package/dist/components/Image/core/_Image.d.ts +3 -0
- package/dist/components/Image/core/_Image.d.ts.map +1 -1
- package/dist/components/Image/react/ReactImage.d.ts +5 -1
- package/dist/components/Image/react/ReactImage.d.ts.map +1 -1
- package/dist/components/Image/vue/index.d.ts +0 -1
- package/dist/components/Image/vue/index.d.ts.map +1 -1
- package/dist/components/Image/vue/index.js +2 -3
- package/dist/components/Input/vue/index.d.ts +0 -1
- package/dist/components/Input/vue/index.d.ts.map +1 -1
- package/dist/components/Input/vue/index.js +2 -3
- package/dist/components/IntlFormatter/vue/index.d.ts +0 -1
- package/dist/components/IntlFormatter/vue/index.d.ts.map +1 -1
- package/dist/components/IntlFormatter/vue/index.js +2 -3
- package/dist/components/Menu/vue/index.d.ts +0 -1
- package/dist/components/Menu/vue/index.d.ts.map +1 -1
- package/dist/components/Menu/vue/index.js +5 -6
- package/dist/components/Pagination/vue/index.d.ts +0 -1
- package/dist/components/Pagination/vue/index.d.ts.map +1 -1
- package/dist/components/Pagination/vue/index.js +4 -5
- package/dist/components/ProgressRing/core/_ProgressRing.d.ts +3 -0
- package/dist/components/ProgressRing/core/_ProgressRing.d.ts.map +1 -1
- package/dist/components/ProgressRing/vue/index.d.ts +0 -1
- package/dist/components/ProgressRing/vue/index.d.ts.map +1 -1
- package/dist/components/ProgressRing/vue/index.js +2 -3
- package/dist/components/Rating/vue/index.d.ts +0 -1
- package/dist/components/Rating/vue/index.d.ts.map +1 -1
- package/dist/components/Rating/vue/index.js +2 -3
- package/dist/components/ScrollToButton/vue/index.d.ts +0 -1
- package/dist/components/ScrollToButton/vue/index.d.ts.map +1 -1
- package/dist/components/ScrollToButton/vue/index.js +2 -3
- package/dist/components/Sidebar/vue/index.d.ts +0 -1
- package/dist/components/Sidebar/vue/index.d.ts.map +1 -1
- package/dist/components/Sidebar/vue/index.js +2 -3
- package/dist/components/SkeletonLoader/core/_SkeletonLoader.d.ts +3 -0
- package/dist/components/SkeletonLoader/core/_SkeletonLoader.d.ts.map +1 -1
- package/dist/components/Slider/vue/index.d.ts +0 -1
- package/dist/components/Slider/vue/index.d.ts.map +1 -1
- package/dist/components/Slider/vue/index.js +2 -3
- package/dist/components/Tabs/vue/index.d.ts +0 -1
- package/dist/components/Tabs/vue/index.d.ts.map +1 -1
- package/dist/components/Tabs/vue/index.js +6 -7
- package/dist/components/Tag/core/_Tag.d.ts +2 -2
- package/dist/components/Tag/core/_Tag.d.ts.map +1 -1
- package/dist/components/TagFx/core/TagFx.d.ts +9 -0
- package/dist/components/TagFx/core/TagFx.d.ts.map +1 -0
- package/dist/components/TagFx/core/TagFx.js +5 -0
- package/dist/components/TagFx/core/_TagFx.d.ts +33 -0
- package/dist/components/TagFx/core/_TagFx.d.ts.map +1 -0
- package/dist/components/TagFx/core/_TagFx.js +210 -0
- package/dist/components/TagFx/react/ReactTagFx.d.ts +15 -0
- package/dist/components/TagFx/react/ReactTagFx.d.ts.map +1 -0
- package/dist/components/TagFx/react/ReactTagFx.js +15 -0
- package/dist/components/TagFx/vue/VueTagFx.js +4 -0
- package/dist/components/TagFx/vue/VueTagFx.vue.d.ts +70 -0
- package/dist/components/TagFx/vue/VueTagFx.vue.d.ts.map +1 -0
- package/dist/components/TagFx/vue/index.d.ts +16 -0
- package/dist/components/TagFx/vue/index.d.ts.map +1 -0
- package/dist/components/TagFx/vue/index.js +4 -0
- package/dist/components/Timeline/core/_Timeline.d.ts +3 -0
- package/dist/components/Timeline/core/_Timeline.d.ts.map +1 -1
- package/dist/components/Toggle/vue/index.d.ts +0 -1
- package/dist/components/Toggle/vue/index.d.ts.map +1 -1
- package/dist/components/Toggle/vue/index.js +2 -3
- package/dist/components/Tooltip/core/_Tooltip.d.ts +2 -2
- package/dist/components/Tooltip/core/_Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/vue/index.d.ts +0 -1
- package/dist/components/Tooltip/vue/index.d.ts.map +1 -1
- package/dist/components/Tooltip/vue/index.js +2 -3
- package/dist/components/TooltipFx/core/TooltipFx.d.ts +9 -0
- package/dist/components/TooltipFx/core/TooltipFx.d.ts.map +1 -0
- package/dist/components/TooltipFx/core/TooltipFx.js +5 -0
- package/dist/components/TooltipFx/core/_TooltipFx.d.ts +34 -0
- package/dist/components/TooltipFx/core/_TooltipFx.d.ts.map +1 -0
- package/dist/components/TooltipFx/core/_TooltipFx.js +206 -0
- package/dist/components/TooltipFx/react/ReactTooltipFx.d.ts +16 -0
- package/dist/components/TooltipFx/react/ReactTooltipFx.d.ts.map +1 -0
- package/dist/components/TooltipFx/react/ReactTooltipFx.js +16 -0
- package/dist/components/TooltipFx/vue/VueTooltipFx.js +4 -0
- package/dist/components/TooltipFx/vue/VueTooltipFx.vue.d.ts +77 -0
- package/dist/components/TooltipFx/vue/VueTooltipFx.vue.d.ts.map +1 -0
- package/dist/components/TooltipFx/vue/index.d.ts +17 -0
- package/dist/components/TooltipFx/vue/index.d.ts.map +1 -0
- package/dist/components/TooltipFx/vue/index.js +4 -0
- package/package.json +53 -4
- package/src/components/Accordion/vue/index.ts +0 -1
- package/src/components/Alert/vue/index.ts +0 -1
- package/src/components/Avatar/core/_Avatar.ts +2 -2
- package/src/components/AvatarFx/core/AvatarFx.ts +13 -0
- package/src/components/AvatarFx/core/_AvatarFx.ts +281 -0
- package/src/components/AvatarFx/react/ReactAvatarFx.tsx +19 -0
- package/src/components/AvatarFx/vue/VueAvatarFx.vue +63 -0
- package/src/components/AvatarFx/vue/index.ts +19 -0
- package/src/components/Badge/core/_Badge.ts +2 -2
- package/src/components/Breadcrumb/vue/index.ts +0 -1
- package/src/components/Button/vue/index.ts +0 -1
- package/src/components/Collapsible/core/_Collapsible.ts +2 -1
- package/src/components/Combobox/vue/index.ts +0 -1
- package/src/components/CopyButton/core/_CopyButton.ts +14 -4
- package/src/components/CopyButton/vue/VueCopyButton.vue +2 -1
- package/src/components/Dialog/vue/index.ts +0 -1
- package/src/components/Drawer/vue/index.ts +0 -1
- package/src/components/EmptyState/core/_EmptyState.ts +1 -1
- package/src/components/Flex/core/_FlexContainer.ts +3 -0
- package/src/components/Header/vue/index.ts +0 -1
- package/src/components/IconButton/vue/index.ts +0 -1
- package/src/components/Image/core/_Image.ts +3 -0
- package/src/components/Image/react/ReactImage.tsx +5 -1
- package/src/components/Image/vue/index.ts +0 -2
- package/src/components/Input/vue/index.ts +0 -1
- package/src/components/IntlFormatter/vue/index.ts +0 -1
- package/src/components/Menu/vue/index.ts +0 -1
- package/src/components/Pagination/vue/index.ts +0 -1
- package/src/components/ProgressRing/core/_ProgressRing.ts +3 -0
- package/src/components/ProgressRing/vue/index.ts +0 -3
- package/src/components/Rating/vue/index.ts +0 -1
- package/src/components/ScrollToButton/vue/index.ts +0 -3
- package/src/components/Sidebar/vue/index.ts +0 -1
- package/src/components/SkeletonLoader/core/_SkeletonLoader.ts +3 -0
- package/src/components/Slider/vue/index.ts +0 -1
- package/src/components/Tabs/vue/index.ts +0 -1
- package/src/components/Tag/core/_Tag.ts +2 -2
- package/src/components/TagFx/core/TagFx.ts +13 -0
- package/src/components/TagFx/core/_TagFx.ts +281 -0
- package/src/components/TagFx/react/ReactTagFx.tsx +22 -0
- package/src/components/TagFx/vue/VueTagFx.vue +65 -0
- package/src/components/TagFx/vue/index.ts +16 -0
- package/src/components/Timeline/core/_Timeline.ts +3 -0
- package/src/components/Toggle/vue/index.ts +0 -1
- package/src/components/Tooltip/core/_Tooltip.ts +2 -2
- package/src/components/Tooltip/vue/index.ts +0 -1
- package/src/components/TooltipFx/core/TooltipFx.ts +13 -0
- package/src/components/TooltipFx/core/_TooltipFx.ts +270 -0
- package/src/components/TooltipFx/react/ReactTooltipFx.tsx +23 -0
- package/src/components/TooltipFx/vue/VueTooltipFx.vue +95 -0
- package/src/components/TooltipFx/vue/index.ts +19 -0
- package/src/components/Drawer/v1/dialog--drawer-bottom.hbs +0 -48
- package/src/components/Drawer/v1/dialog--drawer-end.hbs +0 -48
- package/src/components/Drawer/v1/dialog--drawer-start.hbs +0 -48
- package/src/components/Drawer/v1/dialog--drawer-top.hbs +0 -48
- package/src/components/Drawer/v1/dialog-demo.css +0 -13
- package/src/components/Drawer/v1/dialog.config.yml +0 -5
- package/src/components/Drawer/v1/dialog.css +0 -99
- package/src/components/Drawer/v1/dialog.hbs +0 -48
- package/src/components/Drawer/v1/drawer-animations.css +0 -52
- package/src/components/Drawer/v1/drawer.css +0 -50
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { defineComponent as f, ref as l, createElementBlock as i, openBlock as d, mergeProps as s, renderSlot as n } from "vue";
|
|
2
|
+
import "./components/AvatarFx/core/AvatarFx.js";
|
|
3
|
+
const r = ["variant", "size", "shape", "aria-label", "img-src", "img-alt", ".text", "fx", "fx-speed", "fx-ease", ".fxDisabled"], c = /* @__PURE__ */ f({
|
|
4
|
+
__name: "VueAvatarFx",
|
|
5
|
+
props: {
|
|
6
|
+
text: { default: "" },
|
|
7
|
+
imgSrc: { default: "" },
|
|
8
|
+
imgAlt: { default: "" },
|
|
9
|
+
size: { default: "md" },
|
|
10
|
+
shape: { default: "circle" },
|
|
11
|
+
variant: { default: "default" },
|
|
12
|
+
ariaLabel: { default: "" },
|
|
13
|
+
fx: {},
|
|
14
|
+
fxSpeed: { default: "md" },
|
|
15
|
+
fxEase: { default: "ease" },
|
|
16
|
+
fxDisabled: { type: Boolean, default: !1 }
|
|
17
|
+
},
|
|
18
|
+
setup(e) {
|
|
19
|
+
const t = l(null);
|
|
20
|
+
return (a, x) => (d(), i("ag-avatar-fx", s({
|
|
21
|
+
ref_key: "agComponent",
|
|
22
|
+
ref: t,
|
|
23
|
+
variant: e.variant,
|
|
24
|
+
size: e.size,
|
|
25
|
+
shape: e.shape,
|
|
26
|
+
"aria-label": e.ariaLabel,
|
|
27
|
+
"img-src": e.imgSrc,
|
|
28
|
+
"img-alt": e.imgAlt,
|
|
29
|
+
".text": e.text,
|
|
30
|
+
fx: e.fx,
|
|
31
|
+
"fx-speed": e.fxSpeed,
|
|
32
|
+
"fx-ease": e.fxEase,
|
|
33
|
+
".fxDisabled": e.fxDisabled
|
|
34
|
+
}, a.$attrs), [
|
|
35
|
+
n(a.$slots, "default")
|
|
36
|
+
], 48, r));
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
c as _
|
|
41
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, ref as u, createElementBlock as r, openBlock as s, mergeProps as d, createCommentVNode as n, renderSlot as
|
|
1
|
+
import { defineComponent as c, ref as u, createElementBlock as r, openBlock as s, mergeProps as d, createCommentVNode as n, renderSlot as a } from "vue";
|
|
2
2
|
import "./components/CopyButton/core/CopyButton.js";
|
|
3
3
|
const m = ["text", "label", "success-label", "error-label", "timeout", "size", "variant"], p = {
|
|
4
4
|
key: 0,
|
|
@@ -12,7 +12,7 @@ const m = ["text", "label", "success-label", "error-label", "timeout", "size", "
|
|
|
12
12
|
}, $ = /* @__PURE__ */ c({
|
|
13
13
|
__name: "VueCopyButton",
|
|
14
14
|
props: {
|
|
15
|
-
text: {},
|
|
15
|
+
text: { default: "" },
|
|
16
16
|
label: { default: "Copy to clipboard" },
|
|
17
17
|
successLabel: { default: "Copied!" },
|
|
18
18
|
errorLabel: { default: "Copy failed" },
|
|
@@ -22,10 +22,10 @@ const m = ["text", "label", "success-label", "error-label", "timeout", "size", "
|
|
|
22
22
|
},
|
|
23
23
|
emits: ["copy", "copy-error"],
|
|
24
24
|
setup(o) {
|
|
25
|
-
const
|
|
25
|
+
const i = u(null);
|
|
26
26
|
return (e, t) => (s(), r("ag-copy-button", d({
|
|
27
27
|
ref_key: "agComponent",
|
|
28
|
-
ref:
|
|
28
|
+
ref: i,
|
|
29
29
|
text: o.text,
|
|
30
30
|
label: o.label,
|
|
31
31
|
"success-label": o.successLabel,
|
|
@@ -38,13 +38,13 @@ const m = ["text", "label", "success-label", "error-label", "timeout", "size", "
|
|
|
38
38
|
onCopyError: t[1] || (t[1] = (l) => e.$emit("copy-error", l))
|
|
39
39
|
}), [
|
|
40
40
|
e.$slots["icon-copy"] ? (s(), r("span", p, [
|
|
41
|
-
|
|
41
|
+
a(e.$slots, "icon-copy")
|
|
42
42
|
])) : n("", !0),
|
|
43
43
|
e.$slots["icon-copied"] ? (s(), r("span", y, [
|
|
44
|
-
|
|
44
|
+
a(e.$slots, "icon-copied")
|
|
45
45
|
])) : n("", !0),
|
|
46
46
|
e.$slots["icon-error"] ? (s(), r("span", b, [
|
|
47
|
-
|
|
47
|
+
a(e.$slots, "icon-error")
|
|
48
48
|
])) : n("", !0)
|
|
49
49
|
], 16, m));
|
|
50
50
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent as r, ref as m, createElementBlock as d, openBlock as i, mergeProps as u, renderSlot as t } from "vue";
|
|
2
|
+
import "./components/TagFx/core/TagFx.js";
|
|
3
|
+
const x = ["variant", "shape", ".uppercase", ".removable", "fx", "fx-speed", "fx-ease", ".fxDisabled"], c = /* @__PURE__ */ r({
|
|
4
|
+
__name: "VueTagFx",
|
|
5
|
+
props: {
|
|
6
|
+
variant: { default: "" },
|
|
7
|
+
shape: { default: "" },
|
|
8
|
+
uppercase: { type: Boolean, default: !1 },
|
|
9
|
+
removable: { type: Boolean, default: !1 },
|
|
10
|
+
fx: {},
|
|
11
|
+
fxSpeed: { default: "md" },
|
|
12
|
+
fxEase: { default: "ease" },
|
|
13
|
+
fxDisabled: { type: Boolean, default: !1 }
|
|
14
|
+
},
|
|
15
|
+
emits: ["tag-remove"],
|
|
16
|
+
setup(e, { emit: o }) {
|
|
17
|
+
const f = o, s = m(null), l = (a) => {
|
|
18
|
+
f("tag-remove", a.detail);
|
|
19
|
+
};
|
|
20
|
+
return (a, n) => (i(), d("ag-tag-fx", u({
|
|
21
|
+
ref_key: "agComponent",
|
|
22
|
+
ref: s,
|
|
23
|
+
variant: e.variant,
|
|
24
|
+
shape: e.shape,
|
|
25
|
+
".uppercase": e.uppercase,
|
|
26
|
+
".removable": e.removable,
|
|
27
|
+
fx: e.fx,
|
|
28
|
+
"fx-speed": e.fxSpeed,
|
|
29
|
+
"fx-ease": e.fxEase,
|
|
30
|
+
".fxDisabled": e.fxDisabled,
|
|
31
|
+
onTagRemove: l
|
|
32
|
+
}, a.$attrs), [
|
|
33
|
+
t(a.$slots, "default"),
|
|
34
|
+
t(a.$slots, "close")
|
|
35
|
+
], 48, x));
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
c as _
|
|
40
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { defineComponent as f, ref as c, createElementBlock as h, openBlock as g, mergeProps as x, renderSlot as r } from "vue";
|
|
2
|
+
import "./components/TooltipFx/core/TooltipFx.js";
|
|
3
|
+
const u = ["content", "placement", "distance", "skidding", "trigger", ".disabled", "fx", "fx-speed", "fx-ease", ".fxDisabled"], p = /* @__PURE__ */ f({
|
|
4
|
+
__name: "VueTooltipFx",
|
|
5
|
+
props: {
|
|
6
|
+
fx: {},
|
|
7
|
+
fxSpeed: { default: "md" },
|
|
8
|
+
fxEase: { default: "ease" },
|
|
9
|
+
fxDisabled: { type: Boolean, default: !1 },
|
|
10
|
+
content: { default: "" },
|
|
11
|
+
placement: { default: "top" },
|
|
12
|
+
distance: { default: 8 },
|
|
13
|
+
skidding: { default: 0 },
|
|
14
|
+
trigger: { default: "hover focus" },
|
|
15
|
+
disabled: { type: Boolean, default: !1 }
|
|
16
|
+
},
|
|
17
|
+
emits: ["show", "hide"],
|
|
18
|
+
setup(e, { expose: a, emit: i }) {
|
|
19
|
+
const n = i, d = c(), s = (t) => {
|
|
20
|
+
n("show", t.detail);
|
|
21
|
+
}, l = (t) => {
|
|
22
|
+
n("hide", t.detail);
|
|
23
|
+
};
|
|
24
|
+
return a({ show: () => {
|
|
25
|
+
d.value?.show();
|
|
26
|
+
}, hide: () => {
|
|
27
|
+
d.value?.hide();
|
|
28
|
+
}, toggle: () => {
|
|
29
|
+
d.value?.toggle();
|
|
30
|
+
} }), (t, o) => (g(), h("ag-tooltip-fx", x({
|
|
31
|
+
ref_key: "tooltipRef",
|
|
32
|
+
ref: d,
|
|
33
|
+
content: e.content,
|
|
34
|
+
placement: e.placement,
|
|
35
|
+
distance: e.distance,
|
|
36
|
+
skidding: e.skidding,
|
|
37
|
+
trigger: e.trigger,
|
|
38
|
+
".disabled": e.disabled,
|
|
39
|
+
fx: e.fx,
|
|
40
|
+
"fx-speed": e.fxSpeed,
|
|
41
|
+
"fx-ease": e.fxEase,
|
|
42
|
+
".fxDisabled": e.fxDisabled,
|
|
43
|
+
onShow: s,
|
|
44
|
+
onHide: l
|
|
45
|
+
}, t.$attrs), [
|
|
46
|
+
r(t.$slots, "default")
|
|
47
|
+
], 48, u));
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
export {
|
|
51
|
+
p as _
|
|
52
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/vue/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/vue/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAG3E,MAAM,WAAW,iBAAiB;CAEjC;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,uBAAuB;CAEvC;AAED,MAAM,WAAW,wBAAwB;CAExC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { _ as
|
|
1
|
+
import { _ as e } from "../../../VueAccordion.vue_vue_type_script_setup_true_lang-pDfOQ53K.js";
|
|
2
|
+
import { _ as t } from "../../../VueAccordionItem.vue_vue_type_script_setup_true_lang-iL8z7vQz.js";
|
|
3
|
+
import { _ as a } from "../../../VueAccordionHeader.vue_vue_type_script_setup_true_lang-DpqsrLdr.js";
|
|
4
4
|
import { _ as m } from "../../../VueAccordionContent.vue_vue_type_script_setup_true_lang-CoCVRQJg.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as VueAccordion,
|
|
7
7
|
m as VueAccordionContent,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
c as default
|
|
8
|
+
a as VueAccordionHeader,
|
|
9
|
+
t as VueAccordionItem
|
|
11
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/vue/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/vue/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,YAAY,EAAE,UAAU,IAAI,aAAa,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
1
|
+
import { LitElement, CSSResultGroup } from 'lit';
|
|
2
2
|
|
|
3
3
|
export type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
4
|
export type AvatarShape = 'circle' | 'square' | 'rounded';
|
|
@@ -27,7 +27,7 @@ export interface AvatarProps {
|
|
|
27
27
|
ariaLabel?: string;
|
|
28
28
|
}
|
|
29
29
|
export declare class Avatar extends LitElement implements AvatarProps {
|
|
30
|
-
static styles:
|
|
30
|
+
static styles: CSSResultGroup;
|
|
31
31
|
text: string;
|
|
32
32
|
imgSrc: string;
|
|
33
33
|
imgAlt: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/core/_Avatar.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"_Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/core/_Avatar.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAa,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGjE,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC1D,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAC1D,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,GAAG,YAAY,CAAC;AAEhH;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IAC1B,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kFAAkF;IAClF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yBAAyB;IACzB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,0BAA0B;IAC1B,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,oBAAoB;IACpB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,MAAO,SAAQ,UAAW,YAAW,WAAW;IAC3D,MAAM,CAAC,MAAM,EAAE,cAAc,CAwG3B;IAGM,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,MAAM,CAAC;IAGf,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,UAAU,CAAC;IAGjB,KAAK,EAAE,WAAW,CAAC;IAGnB,OAAO,EAAE,aAAa,CAAC;IAGvB,SAAS,EAAE,MAAM,CAAC;;IAa1B,OAAO,CAAC,cAAc;IAkBtB,MAAM;CAeP"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AvatarFx.d.ts","sourceRoot":"","sources":["../../../../src/components/AvatarFx/core/AvatarFx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAM1C,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,QAAQ,CAAC;KAC1B;CACF;AAED,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { CSSResultGroup } from 'lit';
|
|
2
|
+
import { Avatar, AvatarProps } from '../../Avatar/core/_Avatar.js';
|
|
3
|
+
import { FxProps } from '../../../types/fx.js';
|
|
4
|
+
|
|
5
|
+
export interface AvatarFxProps extends AvatarProps, FxProps {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* AvatarFx - Avatar with CSS animation effects
|
|
9
|
+
*
|
|
10
|
+
* Extends Avatar to add optional CSS-only animation effects.
|
|
11
|
+
* Inherits all Avatar functionality and styling.
|
|
12
|
+
*
|
|
13
|
+
* Features:
|
|
14
|
+
* - CSS-only FX effects
|
|
15
|
+
* - Automatic reduced-motion support
|
|
16
|
+
*/
|
|
17
|
+
export declare class AvatarFx extends Avatar implements AvatarFxProps {
|
|
18
|
+
static styles: CSSResultGroup;
|
|
19
|
+
fx?: string;
|
|
20
|
+
fxSpeed: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
21
|
+
fxEase: 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'bounce' | 'spring-sm' | 'spring-md' | 'spring-lg';
|
|
22
|
+
fxDisabled: boolean;
|
|
23
|
+
private _observer;
|
|
24
|
+
constructor();
|
|
25
|
+
connectedCallback(): void;
|
|
26
|
+
disconnectedCallback(): void;
|
|
27
|
+
private _updateTheme;
|
|
28
|
+
firstUpdated(changedProperties: Map<PropertyKey, unknown>): void;
|
|
29
|
+
updated(changedProperties: Map<PropertyKey, unknown>): void;
|
|
30
|
+
private _applyFxClasses;
|
|
31
|
+
private _applyFxCustomProperties;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=_AvatarFx.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_AvatarFx.d.ts","sourceRoot":"","sources":["../../../../src/components/AvatarFx/core/_AvatarFx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAE/C,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAGpD,MAAM,WAAW,aAAc,SAAQ,WAAW,EAAE,OAAO;CAAI;AAE/D;;;;;;;;;GASG;AACH,qBAAa,QAAS,SAAQ,MAAO,YAAW,aAAa;IAC3D,OAAgB,MAAM,EAAE,cAAc,CA+IpC;IAIF,EAAE,CAAC,EAAE,MAAM,CAAC;IAGZ,OAAO,EAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAG3C,MAAM,EAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,GAAG,QAAQ,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC;IAG9G,UAAU,EAAG,OAAO,CAAC;IAErB,OAAO,CAAC,SAAS,CAAiC;;IASzC,iBAAiB;IAkBjB,oBAAoB;IAQ7B,OAAO,CAAC,YAAY;IAcX,YAAY,CAAC,iBAAiB,EAAE,GAAG,CAAC,WAAW,EAAE,OAAO,CAAC;IAOzD,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,WAAW,EAAE,OAAO,CAAC;IAgB7D,OAAO,CAAC,eAAe;IAuBvB,OAAO,CAAC,wBAAwB;CAOjC"}
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { css as d } from "lit";
|
|
2
|
+
import { n as i } from "../../../property-CemaeiRl.js";
|
|
3
|
+
import { Avatar as g } from "../../Avatar/core/_Avatar.js";
|
|
4
|
+
import { motionStyles as x } from "../../../styles/motion.styles.js";
|
|
5
|
+
var h = Object.defineProperty, o = (l, a, e, s) => {
|
|
6
|
+
for (var t = void 0, n = l.length - 1, p; n >= 0; n--)
|
|
7
|
+
(p = l[n]) && (t = p(a, e, t) || t);
|
|
8
|
+
return t && h(a, e, t), t;
|
|
9
|
+
};
|
|
10
|
+
const f = class f extends g {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(), this._observer = null, this.fxSpeed = "md", this.fxEase = "ease", this.fxDisabled = !1;
|
|
13
|
+
}
|
|
14
|
+
connectedCallback() {
|
|
15
|
+
super.connectedCallback(), this._updateTheme(), this._observer = new MutationObserver((a) => {
|
|
16
|
+
a.forEach((e) => {
|
|
17
|
+
e.type === "attributes" && e.attributeName === "data-theme" && this._updateTheme();
|
|
18
|
+
});
|
|
19
|
+
}), this._observer.observe(document.documentElement, {
|
|
20
|
+
attributes: !0,
|
|
21
|
+
attributeFilter: ["data-theme"]
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
disconnectedCallback() {
|
|
25
|
+
super.disconnectedCallback(), this._observer && (this._observer.disconnect(), this._observer = null);
|
|
26
|
+
}
|
|
27
|
+
_updateTheme() {
|
|
28
|
+
const a = document.documentElement.getAttribute("data-theme") === "dark", e = this.shadowRoot?.querySelector(".avatar");
|
|
29
|
+
e instanceof HTMLElement && (e.style.setProperty("--ag-fx-shadow-opacity", a ? "0.8" : "0.4"), a && this.variant === "monochrome" ? e.style.setProperty("--ag-fx-sweep-color", "rgba(0, 0, 0, 0.6)") : e.style.setProperty("--ag-fx-sweep-color", "rgba(255, 255, 255, 0.5)"));
|
|
30
|
+
}
|
|
31
|
+
firstUpdated(a) {
|
|
32
|
+
super.firstUpdated(a), this._applyFxClasses(), this._applyFxCustomProperties(), this._updateTheme();
|
|
33
|
+
}
|
|
34
|
+
updated(a) {
|
|
35
|
+
super.updated(a), (a.has("fx") || a.has("fxDisabled")) && this._applyFxClasses(), a.has("variant") && this._updateTheme(), (a.has("fxSpeed") || a.has("fxEase")) && this._applyFxCustomProperties();
|
|
36
|
+
}
|
|
37
|
+
_applyFxClasses() {
|
|
38
|
+
const a = this.shadowRoot?.querySelector(".avatar");
|
|
39
|
+
if (a) {
|
|
40
|
+
const e = [];
|
|
41
|
+
a.classList.forEach((s) => {
|
|
42
|
+
s.startsWith("ag-fx-") && e.push(s);
|
|
43
|
+
}), e.forEach((s) => a.classList.remove(s)), this.fx && !this.fxDisabled && a.classList.add(`ag-fx-${this.fx}`), this.fxDisabled ? a.classList.add("ag-fx-disabled") : a.classList.remove("ag-fx-disabled");
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
_applyFxCustomProperties() {
|
|
47
|
+
const a = this.shadowRoot?.querySelector(".avatar");
|
|
48
|
+
a instanceof HTMLElement && (a.style.setProperty("--ag-fx-duration", `var(--ag-fx-duration-${this.fxSpeed})`), a.style.setProperty("--ag-fx-ease", `var(--ag-fx-ease-${this.fxEase})`));
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
f.styles = [
|
|
52
|
+
x,
|
|
53
|
+
g.styles,
|
|
54
|
+
d`
|
|
55
|
+
/* ========================================
|
|
56
|
+
FX EFFECT SETUP
|
|
57
|
+
Add necessary CSS properties for effects that need them
|
|
58
|
+
======================================== */
|
|
59
|
+
|
|
60
|
+
/* Shimmer needs a gradient mask */
|
|
61
|
+
.avatar.ag-fx-shimmer {
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
-webkit-mask-image: linear-gradient(
|
|
64
|
+
to right,
|
|
65
|
+
rgba(0, 0, 0, 0) 0%,
|
|
66
|
+
rgba(0, 0, 0, 0.9) 40%,
|
|
67
|
+
rgba(0, 0, 0, 0.9) 60%,
|
|
68
|
+
rgba(0, 0, 0, 0) 100%
|
|
69
|
+
);
|
|
70
|
+
mask-image: linear-gradient(
|
|
71
|
+
to right,
|
|
72
|
+
rgba(0, 0, 0, 0) 0%,
|
|
73
|
+
rgba(0, 0, 0, 1) 40%,
|
|
74
|
+
rgba(0, 0, 0, 1) 60%,
|
|
75
|
+
rgba(0, 0, 0, 0) 100%
|
|
76
|
+
);
|
|
77
|
+
-webkit-mask-size: 250% 100%;
|
|
78
|
+
mask-size: 250% 100%;
|
|
79
|
+
-webkit-mask-position: 215% 0;
|
|
80
|
+
mask-position: 215% 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* Ripple needs overflow visible to show expanding ring */
|
|
84
|
+
.avatar.ag-fx-ripple {
|
|
85
|
+
overflow: visible;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* Highlight Sweep needs a gradient background overlay */
|
|
89
|
+
.avatar.ag-fx-highlight-sweep {
|
|
90
|
+
position: relative;
|
|
91
|
+
overflow: hidden;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.avatar.ag-fx-highlight-sweep::before {
|
|
95
|
+
content: '';
|
|
96
|
+
position: absolute;
|
|
97
|
+
inset: 0;
|
|
98
|
+
background: linear-gradient(
|
|
99
|
+
90deg,
|
|
100
|
+
transparent 0%,
|
|
101
|
+
transparent 30%,
|
|
102
|
+
var(--ag-fx-sweep-color, rgba(255, 255, 255, 0.5)) 50%,
|
|
103
|
+
transparent 70%,
|
|
104
|
+
transparent 100%
|
|
105
|
+
);
|
|
106
|
+
transform: translateX(-100%);
|
|
107
|
+
pointer-events: none;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* ========================================
|
|
111
|
+
FX EFFECT CLASSES
|
|
112
|
+
Applied to target element (.avatar)
|
|
113
|
+
======================================== */
|
|
114
|
+
|
|
115
|
+
:host([fx="bounce"]) .avatar,
|
|
116
|
+
:host([fx="flip"]) .avatar,
|
|
117
|
+
:host([fx="jelly"]) .avatar {
|
|
118
|
+
animation-iteration-count: 1;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* Hover-triggered effects */
|
|
122
|
+
:host([fx="bounce"]:hover) .avatar {
|
|
123
|
+
animation: ag-fx-bounce var(--ag-fx-duration, 200ms) var(--ag-fx-ease, ease);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:host([fx="pulse"]:hover) .avatar {
|
|
127
|
+
animation: ag-fx-pulse var(--ag-fx-duration, 200ms) var(--ag-fx-ease, ease);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
:host([fx="jelly"]:hover) .avatar {
|
|
131
|
+
animation: ag-fx-jelly var(--ag-fx-duration, 200ms) var(--ag-fx-ease, ease);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
:host([fx="shimmer"]:hover) .avatar {
|
|
135
|
+
animation: ag-fx-shimmer var(--ag-fx-duration, 200ms) var(--ag-fx-ease, ease);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
:host([fx="glow"]:hover) .avatar {
|
|
139
|
+
animation: ag-fx-glow var(--ag-fx-duration, 200ms) var(--ag-fx-ease, ease);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
:host([fx="flip"]:hover) .avatar {
|
|
143
|
+
animation: ag-fx-flip var(--ag-fx-duration, 200ms) var(--ag-fx-ease, ease);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
:host([fx="ripple"]:hover) .avatar {
|
|
147
|
+
animation: ag-fx-ripple var(--ag-fx-duration, 200ms) var(--ag-fx-ease, ease);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
:host([fx="highlight-sweep"]:hover) .avatar::before {
|
|
151
|
+
animation: ag-fx-highlight-sweep var(--ag-fx-duration, 200ms) var(--ag-fx-ease, ease);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* Active/press effects */
|
|
155
|
+
.avatar.ag-fx-press-pop {
|
|
156
|
+
cursor: pointer;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.avatar.ag-fx-press-pop:active {
|
|
160
|
+
animation: ag-fx-press-pop var(--ag-fx-duration, 200ms) var(--ag-fx-ease, ease);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* Entrance effects */
|
|
164
|
+
.avatar.ag-fx-slide-in {
|
|
165
|
+
animation: ag-fx-slide-in var(--ag-fx-duration, 200ms) var(--ag-fx-ease, ease);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* Disabled state */
|
|
169
|
+
.avatar.ag-fx-disabled {
|
|
170
|
+
animation: none !important;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.avatar.ag-fx-disabled::before {
|
|
174
|
+
animation: none !important;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* Reduced motion support */
|
|
178
|
+
@media (prefers-reduced-motion: reduce) {
|
|
179
|
+
.avatar.ag-fx-bounce,
|
|
180
|
+
.avatar.ag-fx-pulse,
|
|
181
|
+
.avatar.ag-fx-jelly,
|
|
182
|
+
.avatar.ag-fx-shimmer,
|
|
183
|
+
.avatar.ag-fx-glow,
|
|
184
|
+
.avatar.ag-fx-flip,
|
|
185
|
+
.avatar.ag-fx-ripple,
|
|
186
|
+
.avatar.ag-fx-highlight-sweep,
|
|
187
|
+
.avatar.ag-fx-press-pop,
|
|
188
|
+
.avatar.ag-fx-slide-in {
|
|
189
|
+
animation-duration: 0.01ms !important;
|
|
190
|
+
transition-duration: 0.01ms !important;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
`
|
|
194
|
+
];
|
|
195
|
+
let r = f;
|
|
196
|
+
o([
|
|
197
|
+
i({ type: String, reflect: !0 })
|
|
198
|
+
], r.prototype, "fx");
|
|
199
|
+
o([
|
|
200
|
+
i({ type: String, attribute: "fx-speed", reflect: !0 })
|
|
201
|
+
], r.prototype, "fxSpeed");
|
|
202
|
+
o([
|
|
203
|
+
i({ type: String, attribute: "fx-ease", reflect: !0 })
|
|
204
|
+
], r.prototype, "fxEase");
|
|
205
|
+
o([
|
|
206
|
+
i({ type: Boolean, attribute: "fx-disabled", reflect: !0 })
|
|
207
|
+
], r.prototype, "fxDisabled");
|
|
208
|
+
export {
|
|
209
|
+
r as AvatarFx
|
|
210
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AvatarFx, AvatarFxProps } from '../core/AvatarFx';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export interface ReactAvatarFxProps extends AvatarFxProps {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const ReactAvatarFx: import('@lit/react').ReactWebComponent<AvatarFx, {}>;
|
|
9
|
+
export type { AvatarFxProps } from '../core/AvatarFx';
|
|
10
|
+
export type { FxProps } from '../../../types/fx';
|
|
11
|
+
//# sourceMappingURL=ReactAvatarFx.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactAvatarFx.d.ts","sourceRoot":"","sources":["../../../../src/components/AvatarFx/react/ReactAvatarFx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEhE,MAAM,WAAW,kBAAmB,SAAQ,aAAa;IACvD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,aAAa,sDAKxB,CAAC;AAEH,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,YAAY,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as a from "react";
|
|
2
|
+
import { o as t } from "../../../create-component-BPMDMe-q.js";
|
|
3
|
+
import "../core/AvatarFx.js";
|
|
4
|
+
import { AvatarFx as r } from "../core/_AvatarFx.js";
|
|
5
|
+
const p = t({
|
|
6
|
+
tagName: "ag-avatar-fx",
|
|
7
|
+
elementClass: r,
|
|
8
|
+
react: a,
|
|
9
|
+
events: {}
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
p as ReactAvatarFx
|
|
13
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { AvatarSize, AvatarShape, AvatarVariant } from '../../Avatar/core/Avatar';
|
|
2
|
+
|
|
3
|
+
interface VueAvatarFxProps {
|
|
4
|
+
text?: string;
|
|
5
|
+
imgSrc?: string;
|
|
6
|
+
imgAlt?: string;
|
|
7
|
+
size?: AvatarSize;
|
|
8
|
+
shape?: AvatarShape;
|
|
9
|
+
variant?: AvatarVariant;
|
|
10
|
+
ariaLabel?: string;
|
|
11
|
+
fx?: string;
|
|
12
|
+
fxSpeed?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
13
|
+
fxEase?: 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'bounce' | 'spring-sm' | 'spring-md' | 'spring-lg';
|
|
14
|
+
fxDisabled?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VueAvatarFxProps>, {
|
|
20
|
+
text: string;
|
|
21
|
+
imgSrc: string;
|
|
22
|
+
imgAlt: string;
|
|
23
|
+
size: string;
|
|
24
|
+
shape: string;
|
|
25
|
+
variant: string;
|
|
26
|
+
ariaLabel: string;
|
|
27
|
+
fxSpeed: string;
|
|
28
|
+
fxEase: string;
|
|
29
|
+
fxDisabled: boolean;
|
|
30
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VueAvatarFxProps>, {
|
|
31
|
+
text: string;
|
|
32
|
+
imgSrc: string;
|
|
33
|
+
imgAlt: string;
|
|
34
|
+
size: string;
|
|
35
|
+
shape: string;
|
|
36
|
+
variant: string;
|
|
37
|
+
ariaLabel: string;
|
|
38
|
+
fxSpeed: string;
|
|
39
|
+
fxEase: string;
|
|
40
|
+
fxDisabled: boolean;
|
|
41
|
+
}>>> & Readonly<{}>, {
|
|
42
|
+
ariaLabel: string;
|
|
43
|
+
text: string;
|
|
44
|
+
fxSpeed: "xs" | "sm" | "md" | "lg" | "xl";
|
|
45
|
+
fxEase: "ease" | "ease-in" | "ease-out" | "ease-in-out" | "bounce" | "spring-sm" | "spring-md" | "spring-lg";
|
|
46
|
+
fxDisabled: boolean;
|
|
47
|
+
size: AvatarSize;
|
|
48
|
+
variant: AvatarVariant;
|
|
49
|
+
shape: AvatarShape;
|
|
50
|
+
imgSrc: string;
|
|
51
|
+
imgAlt: string;
|
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
54
|
+
export default _default;
|
|
55
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
57
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
+
} : {
|
|
60
|
+
type: import('vue').PropType<T[K]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
type __VLS_WithDefaults<P, D> = {
|
|
65
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
66
|
+
default: D[K];
|
|
67
|
+
}> : P[K];
|
|
68
|
+
};
|
|
69
|
+
type __VLS_Prettify<T> = {
|
|
70
|
+
[K in keyof T]: T[K];
|
|
71
|
+
} & {};
|
|
72
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
73
|
+
new (): {
|
|
74
|
+
$slots: S;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=VueAvatarFx.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VueAvatarFx.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/AvatarFx/vue/VueAvatarFx.vue"],"names":[],"mappings":"AAmBA;AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEvF,OAAO,kBAAkB,CAAC;AAI1B,UAAU,gBAAgB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC3C,MAAM,CAAC,EACH,MAAM,GACN,SAAS,GACT,UAAU,GACV,aAAa,GACb,QAAQ,GACR,WAAW,GACX,WAAW,GACX,WAAW,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAgCD,iBAAS,cAAc;qBA2CM,GAAG;EAK/B;AASD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;eAtGP,MAAM;UANX,MAAM;aAQH,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;YAEtC,MAAM,GACN,SAAS,GACT,UAAU,GACV,aAAa,GACb,QAAQ,GACR,WAAW,GACX,WAAW,GACX,WAAW;gBACF,OAAO;UAfb,UAAU;aAEP,aAAa;WADf,WAAW;YAHV,MAAM;YACN,MAAM;4EAgHf,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|