iryx-ui 0.9.0 → 0.10.2
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 +178 -3
- package/dist/component-names.d.ts +1 -1
- package/dist/component-names.js +4 -0
- package/dist/{packages/iryx-ui/src/components → components}/Alert.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/Banner.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/BarChart.vue.d.ts +61 -2
- package/dist/components/BarChart.vue_vue_type_script_setup_true_lang.js +258 -0
- package/dist/{packages/iryx-ui/src/components → components}/Breadcrumb.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/Button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/ChartLegend.js +5 -0
- package/dist/components/ChartLegend.vue.d.ts +12 -0
- package/dist/components/ChartLegend.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/{packages/iryx-ui/src/components → components}/Checkbox.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/Combobox.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/DatePicker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/DateRangePicker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/Dialog.vue_vue_type_script_setup_true_lang.js +99 -0
- package/dist/{packages/iryx-ui/src/components → components}/DropdownMenuItems.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/FileUpload.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/Icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/Input.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/LineChart.js +5 -0
- package/dist/components/LineChart.vue.d.ts +100 -0
- package/dist/components/LineChart.vue_vue_type_script_setup_true_lang.js +265 -0
- package/dist/{packages/iryx-ui/src/components → components}/NumberInput.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/Pagination.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/PasswordInput.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/Select.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/Stat.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/Stepper.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/Table.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/{packages/iryx-ui/src/components → components}/Toaster.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +88 -0
- package/dist/composables/cartesian.d.ts +105 -0
- package/dist/composables/cartesian.js +43 -0
- package/dist/{packages/iryx-ui/src/composables → composables}/date.js +4 -4
- package/dist/index.d.ts +3 -0
- package/dist/index.js +94 -89
- package/dist/nuxt.js +1 -1
- package/dist/theme/bar-chart.d.ts +21 -0
- package/dist/{packages/iryx-ui/src/theme → theme}/bar-chart.js +2 -1
- package/dist/theme/breadcrumb.d.ts +3 -3
- package/dist/theme/chart-legend.d.ts +55 -0
- package/dist/theme/chart-legend.js +10 -0
- package/dist/theme/index.d.ts +2 -0
- package/dist/theme/line-chart.d.ts +143 -0
- package/dist/theme/line-chart.js +22 -0
- package/package.json +8 -8
- package/theme.css +42 -0
- package/dist/packages/iryx-ui/src/component-names.js +0 -4
- package/dist/packages/iryx-ui/src/components/BarChart.vue_vue_type_script_setup_true_lang.js +0 -178
- package/dist/packages/iryx-ui/src/components/Dialog.vue_vue_type_script_setup_true_lang.js +0 -99
- package/dist/packages/iryx-ui/src/components/index.js +0 -84
- /package/dist/{packages/iryx-ui/src/components → components}/Alert.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/App.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/App.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Badge.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Badge.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Banner.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/BarChart.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Breadcrumb.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Button.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/ButtonGroup.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/ButtonGroup.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Card.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Card.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Checkbox.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Combobox.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/ConfirmDialog.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/ConfirmDialog.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/DatePicker.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/DateRangePicker.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Dialog.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/DropdownMenu.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/DropdownMenu.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/DropdownMenuItems.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/EmptyState.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/EmptyState.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/FileUpload.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Form.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Form.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/FormField.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/FormField.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Icon.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Input.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Label.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Label.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/NumberInput.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Pagination.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/PasswordInput.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Progress.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Progress.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/RadioGroup.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/RadioGroup.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Select.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Separator.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Separator.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Skeleton.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Skeleton.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Sparkline.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Sparkline.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Stat.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Stepper.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Switch.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Switch.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Table.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Tabs.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Tabs.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Textarea.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Textarea.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Toaster.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Tooltip.js +0 -0
- /package/dist/{packages/iryx-ui/src/components → components}/Tooltip.vue_vue_type_script_setup_true_lang.js +0 -0
- /package/dist/{packages/iryx-ui/src/composables → composables}/appearance.js +0 -0
- /package/dist/{packages/iryx-ui/src/composables → composables}/button-group.js +0 -0
- /package/dist/{packages/iryx-ui/src/composables → composables}/confirm.js +0 -0
- /package/dist/{packages/iryx-ui/src/composables → composables}/data-table.js +0 -0
- /package/dist/{packages/iryx-ui/src/composables → composables}/decimal.js +0 -0
- /package/dist/{packages/iryx-ui/src/composables → composables}/dropdown-menu.js +0 -0
- /package/dist/{packages/iryx-ui/src/composables → composables}/element-size.js +0 -0
- /package/dist/{packages/iryx-ui/src/composables → composables}/form.js +0 -0
- /package/dist/{packages/iryx-ui/src/composables → composables}/icon.js +0 -0
- /package/dist/{packages/iryx-ui/src/composables → composables}/scale.js +0 -0
- /package/dist/{packages/iryx-ui/src/composables → composables}/toast.js +0 -0
- /package/dist/{packages/iryx-ui/src/config.js → config.js} +0 -0
- /package/dist/{packages/iryx-ui/src/plugin.js → plugin.js} +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/alert.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/badge.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/banner.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/breadcrumb.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/button-group.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/button.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/card.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/checkbox.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/combobox.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/date-picker.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/dialog.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/dropdown-menu.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/empty-state.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/file-upload.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/form.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/input.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/label.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/number-input.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/pagination.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/password-input.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/presets.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/progress.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/radio-group.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/select.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/separator.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/skeleton.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/sparkline.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/stat.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/stepper.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/switch.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/table.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/tabs.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/toast.js +0 -0
- /package/dist/{packages/iryx-ui/src/theme → theme}/tooltip.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArrowLeft01Icon as e, ArrowRight01Icon as t, Calendar03Icon as n } from "
|
|
1
|
+
import { ArrowLeft01Icon as e, ArrowRight01Icon as t, Calendar03Icon as n } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
|
|
2
2
|
import { useIryxUiConfig as r } from "../config.js";
|
|
3
3
|
import i from "./Icon.js";
|
|
4
4
|
import { useFormField as a } from "../composables/form.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArrowLeft01Icon as e, ArrowRight01Icon as t, Calendar03Icon as n } from "
|
|
1
|
+
import { ArrowLeft01Icon as e, ArrowRight01Icon as t, Calendar03Icon as n } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
|
|
2
2
|
import { useIryxUiConfig as r } from "../config.js";
|
|
3
3
|
import i from "./Icon.js";
|
|
4
4
|
import { useFormField as a } from "../composables/form.js";
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Cancel01Icon as e } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
|
|
2
|
+
import { useIryxUiConfig as t } from "../config.js";
|
|
3
|
+
import n from "./Icon.js";
|
|
4
|
+
import { dialogTheme as r } from "../theme/dialog.js";
|
|
5
|
+
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, mergeModels as f, mergeProps as p, normalizeClass as m, openBlock as h, renderSlot as g, toDisplayString as _, unref as v, useModel as y, useSlots as b, withCtx as x } from "vue";
|
|
6
|
+
import { DialogContent as S, DialogDescription as C, DialogOverlay as w, DialogPortal as T, DialogRoot as E, DialogTitle as D, DialogTrigger as O, VisuallyHidden as k } from "reka-ui";
|
|
7
|
+
//#region src/components/Dialog.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var A = ["aria-label"], j = /*@__PURE__*/ d({
|
|
9
|
+
__name: "Dialog",
|
|
10
|
+
props: /*@__PURE__*/ f({
|
|
11
|
+
title: {},
|
|
12
|
+
description: {},
|
|
13
|
+
size: {},
|
|
14
|
+
dismissible: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !0
|
|
17
|
+
},
|
|
18
|
+
showClose: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !0
|
|
21
|
+
},
|
|
22
|
+
closeLabel: { default: "Close" },
|
|
23
|
+
unstyled: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: void 0
|
|
26
|
+
},
|
|
27
|
+
class: {},
|
|
28
|
+
ui: {}
|
|
29
|
+
}, {
|
|
30
|
+
open: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: !1
|
|
33
|
+
},
|
|
34
|
+
openModifiers: {}
|
|
35
|
+
}),
|
|
36
|
+
emits: ["update:open"],
|
|
37
|
+
setup(d) {
|
|
38
|
+
let f = d, j = y(d, "open"), M = t(), N = i(() => f.unstyled ?? M.unstyled), P = i(() => r({ size: f.size })), F = i(() => N.value ? f.ui?.overlay : P.value.overlay({ class: f.ui?.overlay })), I = i(() => N.value ? [f.ui?.content, f.class] : P.value.content({ class: [f.ui?.content, f.class] })), L = i(() => N.value ? f.ui?.header : P.value.header({ class: f.ui?.header })), R = i(() => N.value ? f.ui?.title : P.value.title({ class: f.ui?.title })), z = i(() => N.value ? f.ui?.description : P.value.description({ class: f.ui?.description })), B = b(), V = i(() => f.description || B.description ? {} : { "aria-describedby": void 0 }), H = i(() => N.value ? f.ui?.body : P.value.body({ class: f.ui?.body })), U = i(() => N.value ? f.ui?.footer : P.value.footer({ class: f.ui?.footer })), W = i(() => N.value ? f.ui?.close : P.value.close({ class: f.ui?.close }));
|
|
39
|
+
function G(e) {
|
|
40
|
+
!e && !f.dismissible || (j.value = e);
|
|
41
|
+
}
|
|
42
|
+
function K() {
|
|
43
|
+
j.value = !1;
|
|
44
|
+
}
|
|
45
|
+
return (t, r) => (h(), a(v(E), {
|
|
46
|
+
open: j.value,
|
|
47
|
+
"onUpdate:open": G
|
|
48
|
+
}, {
|
|
49
|
+
default: x(() => [t.$slots.trigger ? (h(), a(v(O), {
|
|
50
|
+
key: 0,
|
|
51
|
+
"as-child": ""
|
|
52
|
+
}, {
|
|
53
|
+
default: x(() => [g(t.$slots, "trigger")]),
|
|
54
|
+
_: 3
|
|
55
|
+
})) : o("", !0), u(v(T), null, {
|
|
56
|
+
default: x(() => [u(v(w), { class: m(F.value) }, null, 8, ["class"]), u(v(S), p({ class: I.value }, V.value), {
|
|
57
|
+
default: x(() => [
|
|
58
|
+
f.title || f.description || t.$slots.header ? (h(), s("div", {
|
|
59
|
+
key: 0,
|
|
60
|
+
class: m(L.value)
|
|
61
|
+
}, [g(t.$slots, "header", {}, () => [u(v(D), { class: m(R.value) }, {
|
|
62
|
+
default: x(() => [g(t.$slots, "title", {}, () => [l(_(f.title), 1)])]),
|
|
63
|
+
_: 3
|
|
64
|
+
}, 8, ["class"]), f.description || t.$slots.description ? (h(), a(v(C), {
|
|
65
|
+
key: 0,
|
|
66
|
+
class: m(z.value)
|
|
67
|
+
}, {
|
|
68
|
+
default: x(() => [g(t.$slots, "description", {}, () => [l(_(f.description), 1)])]),
|
|
69
|
+
_: 3
|
|
70
|
+
}, 8, ["class"])) : o("", !0)])], 2)) : (h(), a(v(k), { key: 1 }, {
|
|
71
|
+
default: x(() => [u(v(D), null, {
|
|
72
|
+
default: x(() => [l(_(f.closeLabel), 1)]),
|
|
73
|
+
_: 1
|
|
74
|
+
})]),
|
|
75
|
+
_: 1
|
|
76
|
+
})),
|
|
77
|
+
c("div", { class: m(H.value) }, [g(t.$slots, "default")], 2),
|
|
78
|
+
t.$slots.footer ? (h(), s("div", {
|
|
79
|
+
key: 2,
|
|
80
|
+
class: m(U.value)
|
|
81
|
+
}, [g(t.$slots, "footer", { close: K })], 2)) : o("", !0),
|
|
82
|
+
f.showClose ? (h(), s("button", {
|
|
83
|
+
key: 3,
|
|
84
|
+
type: "button",
|
|
85
|
+
"aria-label": f.closeLabel,
|
|
86
|
+
class: m(W.value),
|
|
87
|
+
onClick: K
|
|
88
|
+
}, [u(n, { icon: v(e) }, null, 8, ["icon"])], 10, A)) : o("", !0)
|
|
89
|
+
]),
|
|
90
|
+
_: 3
|
|
91
|
+
}, 16, ["class"])]),
|
|
92
|
+
_: 3
|
|
93
|
+
})]),
|
|
94
|
+
_: 3
|
|
95
|
+
}, 8, ["open"]));
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
//#endregion
|
|
99
|
+
export { j as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArrowRight01Icon as e } from "
|
|
1
|
+
import { ArrowRight01Icon as e } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
|
|
2
2
|
import t from "./Icon.js";
|
|
3
3
|
import { dropdownMenuTheme as n } from "../theme/dropdown-menu.js";
|
|
4
4
|
import { isSeparator as r, isSubmenu as i } from "../composables/dropdown-menu.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Delete02Icon as e, File01Icon as t, Upload05Icon as n } from "
|
|
1
|
+
import { Delete02Icon as e, File01Icon as t, Upload05Icon as n } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
|
|
2
2
|
import { useIryxUiConfig as r } from "../config.js";
|
|
3
3
|
import i from "./Icon.js";
|
|
4
4
|
import a from "./Button.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HugeiconsIcon as e } from "
|
|
1
|
+
import { HugeiconsIcon as e } from "../node_modules/.pnpm/@hugeicons_vue@1.0.7_vue@3.5.35_typescript@6.0.3_/node_modules/@hugeicons/vue/dist/esm/components/HugeiconsIcon.vue.js";
|
|
2
2
|
import { isIconArray as t } from "../composables/icon.js";
|
|
3
3
|
import { computed as n, createBlock as r, createCommentVNode as i, defineComponent as a, normalizeClass as o, openBlock as s, resolveDynamicComponent as c, unref as l } from "vue";
|
|
4
4
|
//#region src/components/Icon.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Cancel01Icon as e, Loading03Icon as t } from "
|
|
1
|
+
import { Cancel01Icon as e, Loading03Icon as t } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
|
|
2
2
|
import { useIryxUiConfig as n } from "../config.js";
|
|
3
3
|
import r from "./Icon.js";
|
|
4
4
|
import { useFormField as i } from "../composables/form.js";
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { ChartSeries } from '../composables/cartesian';
|
|
2
|
+
import type { SparseValue } from '../composables/scale';
|
|
3
|
+
/**
|
|
4
|
+
* A row. `value` is the single-series shortcut; with `series` set, each entry
|
|
5
|
+
* reads its own key off the row instead.
|
|
6
|
+
*/
|
|
7
|
+
export interface LineChartDatum {
|
|
8
|
+
label: string;
|
|
9
|
+
/** `null` is a missing reading — the line breaks rather than bridging it. */
|
|
10
|
+
value?: SparseValue;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
export interface LineChartProps {
|
|
14
|
+
data?: readonly LineChartDatum[];
|
|
15
|
+
/** Two or more measures per category. Omit for the single-series case. */
|
|
16
|
+
series?: readonly ChartSeries[];
|
|
17
|
+
/**
|
|
18
|
+
* `area` adds a wash beneath the line. Ignored for multiple series, where
|
|
19
|
+
* overlapping washes muddy into a colour that belongs to neither.
|
|
20
|
+
*/
|
|
21
|
+
variant?: 'line' | 'area';
|
|
22
|
+
/** Rendered height in px. Width always fills the container. */
|
|
23
|
+
height?: number;
|
|
24
|
+
/** Target tick count. The axis lands on round numbers, so this is a hint. */
|
|
25
|
+
ticks?: number;
|
|
26
|
+
/** Drop the value axis and its gridlines. */
|
|
27
|
+
axis?: boolean;
|
|
28
|
+
/** Drop the legend. Only honoured for a single series. */
|
|
29
|
+
legend?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Force zero onto the axis. Off by default: a line is read by its shape, and
|
|
32
|
+
* a series hovering around 8,000 flattens into a straight edge once the axis
|
|
33
|
+
* starts at nothing. Bars are the opposite case and always include zero.
|
|
34
|
+
*/
|
|
35
|
+
zero?: boolean;
|
|
36
|
+
/** Locale and options for every number shown — ticks and tooltip alike. */
|
|
37
|
+
locale?: string;
|
|
38
|
+
format?: Intl.NumberFormatOptions;
|
|
39
|
+
/**
|
|
40
|
+
* Accessible name for the figure. The line is hidden from assistive tech and
|
|
41
|
+
* the data is exposed as a table instead, so this names what that is.
|
|
42
|
+
*/
|
|
43
|
+
label?: string;
|
|
44
|
+
/** Skip built-in classes; you take over styling entirely. */
|
|
45
|
+
unstyled?: boolean;
|
|
46
|
+
class?: string;
|
|
47
|
+
ui?: Partial<Record<'root' | 'svg' | 'grid' | 'tick' | 'category' | 'line' | 'area' | 'crosshair' | 'marker' | 'markerRing' | 'tooltip' | 'tooltipLabel' | 'tooltipValue' | 'table', string>>;
|
|
48
|
+
}
|
|
49
|
+
declare var __VLS_6: {
|
|
50
|
+
orientation: import("..").ChartOrientation;
|
|
51
|
+
ticks: number[];
|
|
52
|
+
plot: {
|
|
53
|
+
left: number;
|
|
54
|
+
top: number;
|
|
55
|
+
width: number;
|
|
56
|
+
height: number;
|
|
57
|
+
};
|
|
58
|
+
value: (value: number) => number;
|
|
59
|
+
y: (value: number) => number;
|
|
60
|
+
bandWidth: number;
|
|
61
|
+
labelStep: number;
|
|
62
|
+
bandCentre: (index: number) => number;
|
|
63
|
+
}, __VLS_8: {
|
|
64
|
+
orientation: import("..").ChartOrientation;
|
|
65
|
+
ticks: number[];
|
|
66
|
+
plot: {
|
|
67
|
+
left: number;
|
|
68
|
+
top: number;
|
|
69
|
+
width: number;
|
|
70
|
+
height: number;
|
|
71
|
+
};
|
|
72
|
+
value: (value: number) => number;
|
|
73
|
+
y: (value: number) => number;
|
|
74
|
+
bandWidth: number;
|
|
75
|
+
labelStep: number;
|
|
76
|
+
bandCentre: (index: number) => number;
|
|
77
|
+
};
|
|
78
|
+
type __VLS_Slots = {} & {
|
|
79
|
+
underlay?: (props: typeof __VLS_6) => any;
|
|
80
|
+
} & {
|
|
81
|
+
overlay?: (props: typeof __VLS_8) => any;
|
|
82
|
+
};
|
|
83
|
+
declare const __VLS_base: import("vue").DefineComponent<LineChartProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LineChartProps> & Readonly<{}>, {
|
|
84
|
+
variant: "line" | "area";
|
|
85
|
+
unstyled: boolean;
|
|
86
|
+
data: readonly LineChartDatum[];
|
|
87
|
+
legend: boolean;
|
|
88
|
+
height: number;
|
|
89
|
+
ticks: number;
|
|
90
|
+
axis: boolean;
|
|
91
|
+
zero: boolean;
|
|
92
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
93
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
94
|
+
declare const _default: typeof __VLS_export;
|
|
95
|
+
export default _default;
|
|
96
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
97
|
+
new (): {
|
|
98
|
+
$slots: S;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import { useIryxUiConfig as e } from "../config.js";
|
|
2
|
+
import { cartesianLayout as t, clampTooltip as n, seriesColor as r, slotOf as i, warnOnSlotOverflow as a } from "../composables/cartesian.js";
|
|
3
|
+
import { useElementSize as o } from "../composables/element-size.js";
|
|
4
|
+
import ee from "./ChartLegend.js";
|
|
5
|
+
import { lineChartTheme as s } from "../theme/line-chart.js";
|
|
6
|
+
import { Fragment as c, computed as l, createBlock as te, createCommentVNode as u, createElementBlock as d, createElementVNode as f, defineComponent as p, guardReactiveProps as m, normalizeClass as h, normalizeProps as g, normalizeStyle as _, openBlock as v, ref as y, renderList as b, renderSlot as x, toDisplayString as S, unref as C } from "vue";
|
|
7
|
+
//#region src/components/LineChart.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var w = ["role", "aria-label"], T = [
|
|
9
|
+
"width",
|
|
10
|
+
"height",
|
|
11
|
+
"viewBox"
|
|
12
|
+
], E = [
|
|
13
|
+
"x1",
|
|
14
|
+
"y1",
|
|
15
|
+
"x2",
|
|
16
|
+
"y2"
|
|
17
|
+
], D = ["x", "y"], O = ["d"], k = [
|
|
18
|
+
"x1",
|
|
19
|
+
"y1",
|
|
20
|
+
"x2",
|
|
21
|
+
"y2"
|
|
22
|
+
], A = ["d"], j = ["cx", "cy"], M = ["cx", "cy"], ne = ["x", "y"], re = [
|
|
23
|
+
"x",
|
|
24
|
+
"y",
|
|
25
|
+
"width",
|
|
26
|
+
"height",
|
|
27
|
+
"onPointerenter"
|
|
28
|
+
], ie = { scope: "row" }, N = /*@__PURE__*/ p({
|
|
29
|
+
__name: "LineChart",
|
|
30
|
+
props: {
|
|
31
|
+
data: { default: () => [] },
|
|
32
|
+
series: {},
|
|
33
|
+
variant: { default: "line" },
|
|
34
|
+
height: { default: 240 },
|
|
35
|
+
ticks: { default: 5 },
|
|
36
|
+
axis: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: !0
|
|
39
|
+
},
|
|
40
|
+
legend: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
default: !0
|
|
43
|
+
},
|
|
44
|
+
zero: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: !1
|
|
47
|
+
},
|
|
48
|
+
locale: {},
|
|
49
|
+
format: {},
|
|
50
|
+
label: {},
|
|
51
|
+
unstyled: {
|
|
52
|
+
type: Boolean,
|
|
53
|
+
default: void 0
|
|
54
|
+
},
|
|
55
|
+
class: {},
|
|
56
|
+
ui: {}
|
|
57
|
+
},
|
|
58
|
+
setup(p) {
|
|
59
|
+
let N = p, ae = e(), P = l(() => N.unstyled ?? ae.unstyled), F = y(), { width: I } = o(F), L = l(() => new Intl.NumberFormat(N.locale, N.format));
|
|
60
|
+
function R(e) {
|
|
61
|
+
return L.value.format(e);
|
|
62
|
+
}
|
|
63
|
+
let z = l(() => {
|
|
64
|
+
let e = N.series?.length ? [...N.series] : [{ key: "value" }];
|
|
65
|
+
return a(e.length), e;
|
|
66
|
+
}), B = l(() => z.value.length > 1), V = l(() => B.value || N.legend && z.value[0].name != null);
|
|
67
|
+
function H(e, t) {
|
|
68
|
+
let n = e[t];
|
|
69
|
+
return typeof n == "number" && Number.isFinite(n) ? n : null;
|
|
70
|
+
}
|
|
71
|
+
let U = l(() => t({
|
|
72
|
+
values: N.data.flatMap((e) => z.value.map((t) => H(e, t.key))),
|
|
73
|
+
categories: N.data.length,
|
|
74
|
+
longestLabel: Math.max(...N.data.map((e) => e.label.length), 1),
|
|
75
|
+
width: I.value,
|
|
76
|
+
height: N.height,
|
|
77
|
+
tickCount: N.ticks,
|
|
78
|
+
showAxis: N.axis,
|
|
79
|
+
formatTick: R,
|
|
80
|
+
includeZero: N.zero
|
|
81
|
+
}));
|
|
82
|
+
function W(e) {
|
|
83
|
+
return Math.round(e * 100) / 100;
|
|
84
|
+
}
|
|
85
|
+
let G = l(() => I.value ? z.value.map((e, t) => {
|
|
86
|
+
let n = [], a = [];
|
|
87
|
+
return N.data.forEach((t, r) => {
|
|
88
|
+
let i = H(t, e.key);
|
|
89
|
+
if (i == null) {
|
|
90
|
+
a.length && n.push(a), a = [];
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
a.push({
|
|
94
|
+
x: W(U.value.bandCentre(r)),
|
|
95
|
+
y: W(U.value.y(i)),
|
|
96
|
+
index: r
|
|
97
|
+
});
|
|
98
|
+
}), a.length && n.push(a), {
|
|
99
|
+
runs: n,
|
|
100
|
+
color: r(i(e, t)),
|
|
101
|
+
seriesIndex: t
|
|
102
|
+
};
|
|
103
|
+
}) : []), K = l(() => N.variant === "area" && !B.value && G.value.length > 0);
|
|
104
|
+
function q(e) {
|
|
105
|
+
return e.map((e, t) => `${t === 0 ? "M" : "L"}${e.x} ${e.y}`).join(" ");
|
|
106
|
+
}
|
|
107
|
+
function oe(e) {
|
|
108
|
+
let t = U.value.plot.top + U.value.plot.height, n = e[0], r = e[e.length - 1];
|
|
109
|
+
return `${q(e)} L${r.x} ${t} L${n.x} ${t} Z`;
|
|
110
|
+
}
|
|
111
|
+
let J = y(), Y = l(() => J.value == null ? [] : G.value.flatMap((e) => {
|
|
112
|
+
for (let t of e.runs) {
|
|
113
|
+
let n = t.find((e) => e.index === J.value);
|
|
114
|
+
if (n) return [{
|
|
115
|
+
...n,
|
|
116
|
+
color: e.color
|
|
117
|
+
}];
|
|
118
|
+
}
|
|
119
|
+
return [];
|
|
120
|
+
})), X = l(() => J.value == null ? void 0 : W(U.value.bandCentre(J.value))), Z = l(() => {
|
|
121
|
+
if (J.value == null) return;
|
|
122
|
+
let e = N.data[J.value];
|
|
123
|
+
if (!e) return;
|
|
124
|
+
let t = z.value.map((t, n) => ({
|
|
125
|
+
name: t.name ?? t.key,
|
|
126
|
+
color: r(i(t, n)),
|
|
127
|
+
value: H(e, t.key)
|
|
128
|
+
})).filter((e) => e.value != null).map((e) => ({
|
|
129
|
+
...e,
|
|
130
|
+
value: R(e.value)
|
|
131
|
+
}));
|
|
132
|
+
if (!t.length) return;
|
|
133
|
+
let a = B.value ? Math.max(e.label.length, ...t.map((e) => e.name.length + e.value.length + 3)) : e.label.length + t[0].value.length + 2;
|
|
134
|
+
return {
|
|
135
|
+
label: e.label,
|
|
136
|
+
rows: t,
|
|
137
|
+
multi: B.value,
|
|
138
|
+
x: n(U.value.bandCentre(J.value), "x".repeat(a), I.value),
|
|
139
|
+
y: Math.min(...Y.value.map((e) => e.y), U.value.plot.top + U.value.plot.height)
|
|
140
|
+
};
|
|
141
|
+
}), Q = l(() => s());
|
|
142
|
+
function $(e, t) {
|
|
143
|
+
let n = N.ui?.[e];
|
|
144
|
+
return P.value ? [n, t] : Q.value[e]({ class: [n, t] });
|
|
145
|
+
}
|
|
146
|
+
return (e, t) => (v(), d("div", {
|
|
147
|
+
ref_key: "root",
|
|
148
|
+
ref: F,
|
|
149
|
+
role: N.label ? "figure" : void 0,
|
|
150
|
+
"aria-label": N.label,
|
|
151
|
+
class: h($("root", N.class))
|
|
152
|
+
}, [
|
|
153
|
+
V.value ? (v(), te(ee, {
|
|
154
|
+
key: 0,
|
|
155
|
+
series: z.value,
|
|
156
|
+
unstyled: N.unstyled
|
|
157
|
+
}, null, 8, ["series", "unstyled"])) : u("", !0),
|
|
158
|
+
f("div", { class: h(P.value ? void 0 : Q.value.plot()) }, [(v(), d("svg", {
|
|
159
|
+
width: C(I),
|
|
160
|
+
height: N.height,
|
|
161
|
+
viewBox: `0 0 ${C(I)} ${N.height}`,
|
|
162
|
+
"aria-hidden": "true",
|
|
163
|
+
class: h($("svg"))
|
|
164
|
+
}, [
|
|
165
|
+
N.axis ? (v(!0), d(c, { key: 0 }, b(U.value.ticks, (e) => (v(), d("g", { key: `tick-${e}` }, [f("line", {
|
|
166
|
+
x1: U.value.plot.left,
|
|
167
|
+
y1: U.value.y(e),
|
|
168
|
+
x2: U.value.plot.left + U.value.plot.width,
|
|
169
|
+
y2: U.value.y(e),
|
|
170
|
+
"stroke-width": "1",
|
|
171
|
+
class: h($("grid"))
|
|
172
|
+
}, null, 10, E), f("text", {
|
|
173
|
+
x: U.value.plot.left - C(8),
|
|
174
|
+
y: U.value.y(e),
|
|
175
|
+
"text-anchor": "end",
|
|
176
|
+
"dominant-baseline": "middle",
|
|
177
|
+
class: h($("tick"))
|
|
178
|
+
}, S(R(e)), 11, D)]))), 128)) : u("", !0),
|
|
179
|
+
x(e.$slots, "underlay", g(m(U.value))),
|
|
180
|
+
K.value ? (v(!0), d(c, { key: 1 }, b(G.value[0].runs, (e, t) => (v(), d("path", {
|
|
181
|
+
key: `area-${t}`,
|
|
182
|
+
d: oe(e),
|
|
183
|
+
style: _({ fill: G.value[0].color }),
|
|
184
|
+
class: h($("area"))
|
|
185
|
+
}, null, 14, O))), 128)) : u("", !0),
|
|
186
|
+
X.value == null ? u("", !0) : (v(), d("line", {
|
|
187
|
+
key: 2,
|
|
188
|
+
x1: X.value,
|
|
189
|
+
y1: U.value.plot.top,
|
|
190
|
+
x2: X.value,
|
|
191
|
+
y2: U.value.plot.top + U.value.plot.height,
|
|
192
|
+
"stroke-width": "1",
|
|
193
|
+
class: h($("crosshair"))
|
|
194
|
+
}, null, 10, k)),
|
|
195
|
+
(v(!0), d(c, null, b(G.value, (e) => (v(), d(c, { key: `series-${e.seriesIndex}` }, [(v(!0), d(c, null, b(e.runs, (t, n) => (v(), d("path", {
|
|
196
|
+
key: `line-${e.seriesIndex}-${n}`,
|
|
197
|
+
d: q(t),
|
|
198
|
+
style: _({ stroke: e.color }),
|
|
199
|
+
class: h($("line"))
|
|
200
|
+
}, null, 14, A))), 128))], 64))), 128)),
|
|
201
|
+
(v(!0), d(c, null, b(Y.value, (e, t) => (v(), d(c, { key: `marker-${t}` }, [f("circle", {
|
|
202
|
+
cx: e.x,
|
|
203
|
+
cy: e.y,
|
|
204
|
+
r: "6",
|
|
205
|
+
class: h($("markerRing"))
|
|
206
|
+
}, null, 10, j), f("circle", {
|
|
207
|
+
cx: e.x,
|
|
208
|
+
cy: e.y,
|
|
209
|
+
r: "4",
|
|
210
|
+
style: _({ fill: e.color }),
|
|
211
|
+
class: h($("marker"))
|
|
212
|
+
}, null, 14, M)], 64))), 128)),
|
|
213
|
+
(v(!0), d(c, null, b(N.data, (e, t) => (v(), d(c, { key: `label-${e.label}-${t}` }, [t % U.value.labelStep === 0 ? (v(), d("text", {
|
|
214
|
+
key: 0,
|
|
215
|
+
x: U.value.bandCentre(t),
|
|
216
|
+
y: U.value.plot.top + U.value.plot.height + 14,
|
|
217
|
+
"text-anchor": "middle",
|
|
218
|
+
class: h($("category"))
|
|
219
|
+
}, S(e.label), 11, ne)) : u("", !0)], 64))), 128)),
|
|
220
|
+
x(e.$slots, "overlay", g(m(U.value))),
|
|
221
|
+
(v(!0), d(c, null, b(N.data, (e, n) => (v(), d("rect", {
|
|
222
|
+
key: `hit-${e.label}-${n}`,
|
|
223
|
+
x: U.value.plot.left + U.value.bandWidth * n,
|
|
224
|
+
y: U.value.plot.top,
|
|
225
|
+
width: U.value.bandWidth,
|
|
226
|
+
height: U.value.plot.height,
|
|
227
|
+
class: h(P.value ? void 0 : Q.value.hit()),
|
|
228
|
+
onPointerenter: (e) => J.value = n,
|
|
229
|
+
onPointerleave: t[0] ||= (e) => J.value = void 0
|
|
230
|
+
}, null, 42, re))), 128))
|
|
231
|
+
], 10, T)), Z.value ? (v(), d("div", {
|
|
232
|
+
key: 0,
|
|
233
|
+
class: h($("tooltip", Z.value.multi ? "flex-col items-start gap-1" : void 0)),
|
|
234
|
+
style: _({
|
|
235
|
+
left: `${Z.value.x}px`,
|
|
236
|
+
top: `${Z.value.y}px`,
|
|
237
|
+
transform: "translate(-50%, -100%) translateY(-12px)"
|
|
238
|
+
})
|
|
239
|
+
}, [f("span", { class: h($("tooltipLabel")) }, S(Z.value.label), 3), Z.value.multi ? (v(!0), d(c, { key: 0 }, b(Z.value.rows, (e) => (v(), d("span", {
|
|
240
|
+
key: e.name,
|
|
241
|
+
class: "flex items-center gap-1.5"
|
|
242
|
+
}, [
|
|
243
|
+
f("span", {
|
|
244
|
+
class: "size-2 shrink-0 rounded-full",
|
|
245
|
+
style: _({ background: e.color })
|
|
246
|
+
}, null, 4),
|
|
247
|
+
f("span", { class: h($("tooltipLabel")) }, S(e.name), 3),
|
|
248
|
+
f("span", { class: h($("tooltipValue")) }, S(e.value), 3)
|
|
249
|
+
]))), 128)) : (v(), d("span", {
|
|
250
|
+
key: 1,
|
|
251
|
+
class: h($("tooltipValue"))
|
|
252
|
+
}, S(Z.value.rows[0].value), 3))], 6)) : u("", !0)], 2),
|
|
253
|
+
f("table", { class: h($("table")) }, [
|
|
254
|
+
f("caption", null, S(N.label), 1),
|
|
255
|
+
f("thead", null, [f("tr", null, [t[1] ||= f("th", { scope: "col" }, " Category ", -1), (v(!0), d(c, null, b(z.value, (e) => (v(), d("th", {
|
|
256
|
+
key: e.key,
|
|
257
|
+
scope: "col"
|
|
258
|
+
}, S(e.name ?? "Value"), 1))), 128))])]),
|
|
259
|
+
f("tbody", null, [(v(!0), d(c, null, b(N.data, (e, t) => (v(), d("tr", { key: `row-${e.label}-${t}` }, [f("th", ie, S(e.label), 1), (v(!0), d(c, null, b(z.value, (t) => (v(), d("td", { key: t.key }, S(H(e, t.key) == null ? "—" : R(H(e, t.key))), 1))), 128))]))), 128))])
|
|
260
|
+
], 2)
|
|
261
|
+
], 10, w));
|
|
262
|
+
}
|
|
263
|
+
});
|
|
264
|
+
//#endregion
|
|
265
|
+
export { N as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArrowDown01Icon as e, ArrowUp01Icon as t } from "
|
|
1
|
+
import { ArrowDown01Icon as e, ArrowUp01Icon as t } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
|
|
2
2
|
import { useIryxUiConfig as n } from "../config.js";
|
|
3
3
|
import r from "./Icon.js";
|
|
4
4
|
import { useFormField as i } from "../composables/form.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArrowLeft01Icon as e, ArrowRight01Icon as t } from "
|
|
1
|
+
import { ArrowLeft01Icon as e, ArrowRight01Icon as t } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
|
|
2
2
|
import { useIryxUiConfig as n } from "../config.js";
|
|
3
3
|
import r from "./Icon.js";
|
|
4
4
|
import { paginationTheme as i } from "../theme/pagination.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewIcon as e, ViewOffIcon as t } from "
|
|
1
|
+
import { ViewIcon as e, ViewOffIcon as t } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
|
|
2
2
|
import { useIryxUiConfig as n } from "../config.js";
|
|
3
3
|
import r from "./Icon.js";
|
|
4
4
|
import i from "./Input.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArrowDown01Icon as e, Tick02Icon as t } from "
|
|
1
|
+
import { ArrowDown01Icon as e, Tick02Icon as t } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
|
|
2
2
|
import { useIryxUiConfig as n } from "../config.js";
|
|
3
3
|
import r from "./Icon.js";
|
|
4
4
|
import { selectTheme as i } from "../theme/select.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArrowDown01Icon as e, ArrowRight01Icon as t, ArrowUp01Icon as n } from "
|
|
1
|
+
import { ArrowDown01Icon as e, ArrowRight01Icon as t, ArrowUp01Icon as n } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
|
|
2
2
|
import { useIryxUiConfig as r } from "../config.js";
|
|
3
3
|
import i from "./Icon.js";
|
|
4
4
|
import { statTheme as a } from "../theme/stat.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Tick02Icon as e } from "
|
|
1
|
+
import { Tick02Icon as e } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
|
|
2
2
|
import { useIryxUiConfig as t } from "../config.js";
|
|
3
3
|
import n from "./Icon.js";
|
|
4
4
|
import { stepperTheme as r } from "../theme/stepper.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArrowDown01Icon as e, ArrowRight01Icon as t, ArrowUp01Icon as n, UnfoldMoreIcon as r } from "
|
|
1
|
+
import { ArrowDown01Icon as e, ArrowRight01Icon as t, ArrowUp01Icon as n, UnfoldMoreIcon as r } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
|
|
2
2
|
import { useIryxUiConfig as i } from "../config.js";
|
|
3
3
|
import a from "./Icon.js";
|
|
4
4
|
import o from "./Checkbox.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Alert02Icon as e, AlertCircleIcon as t, Cancel01Icon as n, CheckmarkCircle02Icon as r, InformationCircleIcon as i } from "
|
|
1
|
+
import { Alert02Icon as e, AlertCircleIcon as t, Cancel01Icon as n, CheckmarkCircle02Icon as r, InformationCircleIcon as i } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
|
|
2
2
|
import { useIryxUiConfig as a } from "../config.js";
|
|
3
3
|
import o from "./Icon.js";
|
|
4
4
|
import { useToast as s, useToastState as c } from "../composables/toast.js";
|
|
@@ -7,6 +7,7 @@ export { default as Breadcrumb } from './Breadcrumb.vue';
|
|
|
7
7
|
export { default as Button } from './Button.vue';
|
|
8
8
|
export { default as ButtonGroup } from './ButtonGroup.vue';
|
|
9
9
|
export { default as Card } from './Card.vue';
|
|
10
|
+
export { default as ChartLegend } from './ChartLegend.vue';
|
|
10
11
|
export { default as Checkbox } from './Checkbox.vue';
|
|
11
12
|
export { default as Combobox } from './Combobox.vue';
|
|
12
13
|
export { default as ConfirmDialog } from './ConfirmDialog.vue';
|
|
@@ -20,6 +21,7 @@ export { default as Form } from './Form.vue';
|
|
|
20
21
|
export { default as FormField } from './FormField.vue';
|
|
21
22
|
export { default as Input } from './Input.vue';
|
|
22
23
|
export { default as Label } from './Label.vue';
|
|
24
|
+
export { default as LineChart } from './LineChart.vue';
|
|
23
25
|
export { default as NumberInput } from './NumberInput.vue';
|
|
24
26
|
export { default as Pagination } from './Pagination.vue';
|
|
25
27
|
export { default as PasswordInput } from './PasswordInput.vue';
|