@bagelink/vue 1.15.63 → 1.15.65
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/components/AccordionItem.vue.d.ts.map +1 -1
- package/dist/components/Avatar.vue.d.ts +6 -1
- package/dist/components/Avatar.vue.d.ts.map +1 -1
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/Card.vue.d.ts +7 -0
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/EmptyState.vue.d.ts +43 -0
- package/dist/components/EmptyState.vue.d.ts.map +1 -0
- package/dist/components/Icon/Icon.vue.d.ts +13 -0
- package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
- package/dist/components/Image.vue.d.ts +26 -1
- package/dist/components/Image.vue.d.ts.map +1 -1
- package/dist/components/ListItem.vue.d.ts +9 -9
- package/dist/components/ListItem.vue.d.ts.map +1 -1
- package/dist/components/Menu.vue.d.ts.map +1 -1
- package/dist/components/Swiper.vue.d.ts +3 -3
- package/dist/components/calendar/CalendarPopover.vue.d.ts +10 -0
- package/dist/components/calendar/CalendarPopover.vue.d.ts.map +1 -1
- package/dist/components/charts/BarChart.vue.d.ts +34 -0
- package/dist/components/charts/BarChart.vue.d.ts.map +1 -0
- package/dist/components/charts/ChartTooltip.vue.d.ts +33 -0
- package/dist/components/charts/ChartTooltip.vue.d.ts.map +1 -0
- package/dist/components/charts/Donut.vue.d.ts +53 -0
- package/dist/components/charts/Donut.vue.d.ts.map +1 -0
- package/dist/components/charts/Funnel.vue.d.ts +53 -0
- package/dist/components/charts/Funnel.vue.d.ts.map +1 -0
- package/dist/components/charts/Gauge.vue.d.ts +28 -0
- package/dist/components/charts/Gauge.vue.d.ts.map +1 -0
- package/dist/components/charts/LineChart.vue.d.ts +37 -0
- package/dist/components/charts/LineChart.vue.d.ts.map +1 -0
- package/dist/components/charts/RadialBars.vue.d.ts +34 -0
- package/dist/components/charts/RadialBars.vue.d.ts.map +1 -0
- package/dist/components/charts/RankBars.vue.d.ts +27 -0
- package/dist/components/charts/RankBars.vue.d.ts.map +1 -0
- package/dist/components/charts/Sparkline.vue.d.ts +25 -0
- package/dist/components/charts/Sparkline.vue.d.ts.map +1 -0
- package/dist/components/charts/StatCard.vue.d.ts +28 -0
- package/dist/components/charts/StatCard.vue.d.ts.map +1 -0
- package/dist/components/charts/core/data.d.ts +46 -0
- package/dist/components/charts/core/data.d.ts.map +1 -0
- package/dist/components/charts/core/format.d.ts +13 -0
- package/dist/components/charts/core/format.d.ts.map +1 -0
- package/dist/components/charts/core/palette.d.ts +19 -0
- package/dist/components/charts/core/palette.d.ts.map +1 -0
- package/dist/components/charts/core/uid.d.ts +2 -0
- package/dist/components/charts/core/uid.d.ts.map +1 -0
- package/dist/components/charts/core/useChartAnim.d.ts +11 -0
- package/dist/components/charts/core/useChartAnim.d.ts.map +1 -0
- package/dist/components/charts/core/useChartFrame.d.ts +21 -0
- package/dist/components/charts/core/useChartFrame.d.ts.map +1 -0
- package/dist/components/charts/core/useScale.d.ts +16 -0
- package/dist/components/charts/core/useScale.d.ts.map +1 -0
- package/dist/components/charts/index.d.ts +12 -0
- package/dist/components/charts/index.d.ts.map +1 -0
- package/dist/components/form/inputs/RadioGroup.vue.d.ts +1 -0
- package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RangeInput.vue.d.ts +13 -4
- package/dist/components/form/inputs/RangeInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/layout/Layout.vue.d.ts +1 -1
- package/dist/components/layout/Layout.vue.d.ts.map +1 -1
- package/dist/components/layout/Panel.vue.d.ts +1 -1
- package/dist/components/layout/Panel.vue.d.ts.map +1 -1
- package/dist/components/layout/Timeline.types.d.ts +9 -0
- package/dist/components/layout/Timeline.types.d.ts.map +1 -0
- package/dist/components/layout/Timeline.vue.d.ts +42 -0
- package/dist/components/layout/Timeline.vue.d.ts.map +1 -0
- package/dist/components/layout/TimelineItem.vue.d.ts +37 -0
- package/dist/components/layout/TimelineItem.vue.d.ts.map +1 -0
- package/dist/components/layout/index.d.ts +3 -0
- package/dist/components/layout/index.d.ts.map +1 -1
- package/dist/dialog/Dialog.vue.d.ts +4 -0
- package/dist/dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/index.cjs +110 -116
- package/dist/index.mjs +38059 -37009
- package/dist/style.css +1 -1
- package/package.json +2 -1
- package/src/components/AccordionItem.vue +24 -22
- package/src/components/Avatar.vue +49 -11
- package/src/components/Badge.vue +4 -7
- package/src/components/Card.vue +32 -2
- package/src/components/Dropdown.vue +14 -3
- package/src/components/EmptyState.vue +91 -0
- package/src/components/Icon/Icon.vue +118 -25
- package/src/components/Image.vue +70 -3
- package/src/components/ListItem.vue +43 -22
- package/src/components/Menu.vue +10 -2
- package/src/components/charts/BarChart.vue +197 -0
- package/src/components/charts/ChartTooltip.vue +74 -0
- package/src/components/charts/Donut.vue +219 -0
- package/src/components/charts/Funnel.vue +377 -0
- package/src/components/charts/Gauge.vue +90 -0
- package/src/components/charts/LineChart.vue +255 -0
- package/src/components/charts/RadialBars.vue +99 -0
- package/src/components/charts/RankBars.vue +72 -0
- package/src/components/charts/Sparkline.vue +90 -0
- package/src/components/charts/StatCard.vue +84 -0
- package/src/components/charts/core/data.ts +95 -0
- package/src/components/charts/core/format.ts +64 -0
- package/src/components/charts/core/palette.ts +52 -0
- package/src/components/charts/core/uid.ts +6 -0
- package/src/components/charts/core/useChartAnim.ts +60 -0
- package/src/components/charts/core/useChartFrame.ts +49 -0
- package/src/components/charts/core/useScale.ts +39 -0
- package/src/components/charts/index.ts +12 -0
- package/src/components/form/inputs/RadioGroup.vue +2 -1
- package/src/components/form/inputs/RangeInput.vue +43 -15
- package/src/components/form/inputs/SelectInput.vue +1 -19
- package/src/components/index.ts +3 -1
- package/src/components/layout/Timeline.types.ts +9 -0
- package/src/components/layout/Timeline.vue +54 -0
- package/src/components/layout/TimelineItem.vue +93 -0
- package/src/components/layout/index.ts +3 -0
- package/src/dialog/Dialog.vue +29 -1
- package/src/styles/bagel.css +1 -0
- package/src/styles/gradients.css +181 -0
- package/src/styles/layout.css +9 -0
- package/src/styles/theme.css +1 -1
- package/dist/components/analytics/BarChart.vue.d.ts +0 -47
- package/dist/components/analytics/BarChart.vue.d.ts.map +0 -1
- package/dist/components/analytics/KpiCard.vue.d.ts +0 -24
- package/dist/components/analytics/KpiCard.vue.d.ts.map +0 -1
- package/dist/components/analytics/LineChart.vue.d.ts +0 -35
- package/dist/components/analytics/LineChart.vue.d.ts.map +0 -1
- package/dist/components/analytics/PieChart.vue.d.ts +0 -53
- package/dist/components/analytics/PieChart.vue.d.ts.map +0 -1
- package/dist/components/analytics/index.d.ts +0 -5
- package/dist/components/analytics/index.d.ts.map +0 -1
- package/src/components/analytics/BarChart.vue +0 -262
- package/src/components/analytics/KpiCard.vue +0 -84
- package/src/components/analytics/LineChart.vue +0 -357
- package/src/components/analytics/PieChart.vue +0 -544
- package/src/components/analytics/index.ts +0 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LineChart.vue.d.ts","sourceRoot":"","sources":["../../../src/components/charts/LineChart.vue"],"names":[],"mappings":"AA2QA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAStD,KAAK,WAAW,GAAG;IAClB,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAA;IACjB,MAAM,CAAC,EAAE,SAAS,EAAE,CAAA;IACpB,MAAM,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAA;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iCAAiC;IACjC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;sEACkE;IAClE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,wEAAwE;IACxE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,4CAA4C;IAC5C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,4BAA4B;IAC5B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;YAZQ,MAAM;UAER,OAAO;cASH,OAAO;YAPT,OAAO;eAMJ,MAAM;;;;AAsXnB,wBASG"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ThemeType } from '../../types';
|
|
2
|
+
interface Ring {
|
|
3
|
+
label: string;
|
|
4
|
+
value: number;
|
|
5
|
+
color?: ThemeType | string;
|
|
6
|
+
max?: number;
|
|
7
|
+
}
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
data: Ring[];
|
|
10
|
+
/** Shared max when a ring doesn't set its own. */
|
|
11
|
+
max?: number;
|
|
12
|
+
size?: number;
|
|
13
|
+
/** Ring thickness in px. */
|
|
14
|
+
thickness?: number;
|
|
15
|
+
/** Gap between rings in px. */
|
|
16
|
+
gap?: number;
|
|
17
|
+
legend?: boolean;
|
|
18
|
+
/** Show the value of each ring in the legend. Default %. */
|
|
19
|
+
suffix?: string;
|
|
20
|
+
animated?: boolean;
|
|
21
|
+
};
|
|
22
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
23
|
+
legend: boolean;
|
|
24
|
+
size: number;
|
|
25
|
+
thickness: number;
|
|
26
|
+
animated: boolean;
|
|
27
|
+
suffix: string;
|
|
28
|
+
max: number;
|
|
29
|
+
gap: number;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
|
+
el: HTMLDivElement;
|
|
32
|
+
}, HTMLDivElement>;
|
|
33
|
+
export default _default;
|
|
34
|
+
//# sourceMappingURL=RadialBars.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadialBars.vue.d.ts","sourceRoot":"","sources":["../../../src/components/charts/RadialBars.vue"],"names":[],"mappings":"AA+GA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAE5C,UAAU,IAAI;IAAG,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE;AAEzF,KAAK,WAAW,GAAG;IAClB,IAAI,EAAE,IAAI,EAAE,CAAA;IACZ,kDAAkD;IAClD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,+BAA+B;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;YAJQ,OAAO;UALT,MAAM;eAED,MAAM;cAMP,OAAO;YADT,MAAM;SART,MAAM;SAKN,MAAM;;;;AA2Jb,wBASG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ThemeType } from '../../types';
|
|
2
|
+
interface Row {
|
|
3
|
+
label: string;
|
|
4
|
+
value: number;
|
|
5
|
+
color?: ThemeType | string;
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
data: Row[];
|
|
9
|
+
/** Base tone for bars (monochrome shade ramp by rank). */
|
|
10
|
+
color?: ThemeType | string;
|
|
11
|
+
/** One tone per row instead of shades. Per-row `color` always wins. */
|
|
12
|
+
mode?: 'shades' | 'multi';
|
|
13
|
+
/** Cap rows shown (already-sorted input recommended). */
|
|
14
|
+
maxRows?: number;
|
|
15
|
+
/** Sort descending by value before rendering. */
|
|
16
|
+
sort?: boolean;
|
|
17
|
+
currency?: string;
|
|
18
|
+
prefix?: string;
|
|
19
|
+
suffix?: string;
|
|
20
|
+
};
|
|
21
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
|
+
sort: boolean;
|
|
23
|
+
color: ThemeType | string;
|
|
24
|
+
mode: "shades" | "multi";
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
|
+
export default _default;
|
|
27
|
+
//# sourceMappingURL=RankBars.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RankBars.vue.d.ts","sourceRoot":"","sources":["../../../src/components/charts/RankBars.vue"],"names":[],"mappings":"AAoFA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAE5C,UAAU,GAAG;IAAG,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;CAAE;AAE1E,KAAK,WAAW,GAAG;IAClB,IAAI,EAAE,GAAG,EAAE,CAAA;IACX,0DAA0D;IAC1D,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IAC1B,uEAAuE;IACvE,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IACzB,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iDAAiD;IACjD,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;;UAJM,OAAO;WANN,SAAS,GAAG,MAAM;UAEnB,QAAQ,GAAG,OAAO;;AA0G1B,wBAQG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { RawPoint } from './core/data';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
data: RawPoint[];
|
|
4
|
+
color?: string;
|
|
5
|
+
/** Fill the area under the line. */
|
|
6
|
+
area?: boolean;
|
|
7
|
+
/** Use a soft gradient for the area fill (default on when `area`). */
|
|
8
|
+
gradient?: boolean;
|
|
9
|
+
width?: number;
|
|
10
|
+
height?: number;
|
|
11
|
+
strokeWidth?: number;
|
|
12
|
+
/** Draw a dot on the last point. */
|
|
13
|
+
marker?: boolean;
|
|
14
|
+
animated?: boolean;
|
|
15
|
+
};
|
|
16
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
height: number;
|
|
18
|
+
width: number;
|
|
19
|
+
strokeWidth: number;
|
|
20
|
+
animated: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
22
|
+
el: HTMLSpanElement;
|
|
23
|
+
}, HTMLSpanElement>;
|
|
24
|
+
export default _default;
|
|
25
|
+
//# sourceMappingURL=Sparkline.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sparkline.vue.d.ts","sourceRoot":"","sources":["../../../src/components/charts/Sparkline.vue"],"names":[],"mappings":"AAoGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAS3C,KAAK,WAAW,GAAG;IAClB,IAAI,EAAE,QAAQ,EAAE,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oCAAoC;IACpC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,sEAAsE;IACtE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oCAAoC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;YALQ,MAAM;WADP,MAAM;iBAEA,MAAM;cAGT,OAAO;;;;AAwJnB,wBASG"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { RawPoint } from './core/data';
|
|
2
|
+
import { ThemeType } from '../../types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number | string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
color?: ThemeType | string;
|
|
8
|
+
/** Percentage change; sign drives the up/down chip color. */
|
|
9
|
+
change?: number;
|
|
10
|
+
/** Invert chip colors when down is good (e.g. churn, cost). */
|
|
11
|
+
invertChange?: boolean;
|
|
12
|
+
/** Sparkline data for a trend line. */
|
|
13
|
+
trend?: RawPoint[];
|
|
14
|
+
currency?: string;
|
|
15
|
+
prefix?: string;
|
|
16
|
+
suffix?: string;
|
|
17
|
+
subtitle?: string;
|
|
18
|
+
loading?: boolean;
|
|
19
|
+
/** Outlined card (transparent bg + border), like `<Card outline>`. */
|
|
20
|
+
outline?: boolean;
|
|
21
|
+
/** Hairline framed card, like `<Card frame>`. */
|
|
22
|
+
frame?: boolean;
|
|
23
|
+
};
|
|
24
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
|
+
color: ThemeType | string;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=StatCard.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/charts/StatCard.vue"],"names":[],"mappings":"AAiGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAG3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAE5C,KAAK,WAAW,GAAG;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IAC1B,6DAA6D;IAC7D,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,+DAA+D;IAC/D,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,uCAAuC;IACvC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,sEAAsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,iDAAiD;IACjD,KAAK,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;;WAhBO,SAAS,GAAG,MAAM;;AAwL3B,wBAQG"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ThemeType } from '../../../types';
|
|
2
|
+
/** A single value the way callers pass it. */
|
|
3
|
+
export type RawPoint = number | {
|
|
4
|
+
x?: string | number;
|
|
5
|
+
y: number;
|
|
6
|
+
label?: string;
|
|
7
|
+
};
|
|
8
|
+
/** A caller-supplied series. */
|
|
9
|
+
export interface RawSeries {
|
|
10
|
+
name?: string;
|
|
11
|
+
/** Tone name (`primary`, `blue`, …) or any CSS color. */
|
|
12
|
+
color?: ThemeType | string;
|
|
13
|
+
data: RawPoint[];
|
|
14
|
+
}
|
|
15
|
+
/** Normalized point used internally by every chart. */
|
|
16
|
+
export interface Point {
|
|
17
|
+
/** Numeric x for scaling (index if labels are categorical). */
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
/** Display label for the x value. */
|
|
21
|
+
label: string;
|
|
22
|
+
}
|
|
23
|
+
/** Normalized series used internally by every chart. */
|
|
24
|
+
export interface Series {
|
|
25
|
+
name: string;
|
|
26
|
+
/** Resolved CSS color (already `var(--bgl-…)` or a raw color). */
|
|
27
|
+
color?: ThemeType | string;
|
|
28
|
+
points: Point[];
|
|
29
|
+
}
|
|
30
|
+
export interface NormalizeOptions {
|
|
31
|
+
/** Shared x labels; overrides per-point labels when provided. */
|
|
32
|
+
labels?: (string | number)[];
|
|
33
|
+
/** Fallback color (tone name or CSS) for series that don't set their own.
|
|
34
|
+
Lets a single-series chart honor a top-level `color` prop. */
|
|
35
|
+
defaultColor?: ThemeType | string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Resolve `data` / `series` props into a uniform `Series[]`.
|
|
39
|
+
* Exactly one of `data` or `series` is expected; `series` wins if both given.
|
|
40
|
+
*/
|
|
41
|
+
export declare function normalizeSeries(data: RawPoint[] | undefined, series: RawSeries[] | undefined, opts?: NormalizeOptions): Series[];
|
|
42
|
+
/** Flatten all y-values across series (for domain calc). */
|
|
43
|
+
export declare function allValues(series: Series[]): number[];
|
|
44
|
+
/** The x labels of the first/longest series (charts share an x axis). */
|
|
45
|
+
export declare function sharedLabels(series: Series[]): string[];
|
|
46
|
+
//# sourceMappingURL=data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|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B,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAEpD;AAED,yEAAyE;AACzE,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAIvD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface ValueFormat {
|
|
2
|
+
/** ISO currency code (e.g. 'USD', 'ILS'). When set, formats as currency. */
|
|
3
|
+
currency?: string;
|
|
4
|
+
prefix?: string;
|
|
5
|
+
suffix?: string;
|
|
6
|
+
/** Compact large numbers (1.2K, 3.4M). Default true for axis ticks. */
|
|
7
|
+
compact?: boolean;
|
|
8
|
+
maximumFractionDigits?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function formatValue(value: number, fmt?: ValueFormat): string;
|
|
11
|
+
/** Format an x label that may be an ISO date; otherwise pass through. */
|
|
12
|
+
export declare function formatLabel(label: string): string;
|
|
13
|
+
//# sourceMappingURL=format.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../src/components/charts/core/format.ts"],"names":[],"mappings":"AAkBA,MAAM,WAAW,WAAW;IAC3B,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,uEAAuE;IACvE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,qBAAqB,CAAC,EAAE,MAAM,CAAA;CAC9B;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,GAAE,WAAgB,GAAG,MAAM,CAqBxE;AAED,yEAAyE;AACzE,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAWjD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ThemeType } from '../../../types';
|
|
2
|
+
/** A pleasant default multi-series sequence (theme tokens). */
|
|
3
|
+
export declare const SERIES_TONES: ThemeType[];
|
|
4
|
+
/**
|
|
5
|
+
* Resolve a caller color into a paintable CSS value.
|
|
6
|
+
* - tone name → `var(--bgl-<tone>)`
|
|
7
|
+
* - anything else (hex/rgb/var(...)) → returned as-is
|
|
8
|
+
* - undefined → falls back to the series-index tone
|
|
9
|
+
*/
|
|
10
|
+
export declare function resolveColor(color: ThemeType | string | undefined, index?: number): string;
|
|
11
|
+
/** A translucent version of a resolved color (for area fills / hovers). */
|
|
12
|
+
export declare function alpha(cssColor: string, pct: number): string;
|
|
13
|
+
/**
|
|
14
|
+
* A monochrome ramp: `count` shades of one base color, from full strength to a
|
|
15
|
+
* lighter tint. Reads premium for donut/pie slices and stacked categories.
|
|
16
|
+
* `index 0` is the strongest; later slices fade toward white.
|
|
17
|
+
*/
|
|
18
|
+
export declare function ramp(base: ThemeType | string | undefined, count: number, index?: number): string;
|
|
19
|
+
//# sourceMappingURL=palette.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../../../src/components/charts/core/palette.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAO/C,+DAA+D;AAC/D,eAAO,MAAM,YAAY,EAAE,SAAS,EAEnC,CAAA;AAQD;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,EAAE,KAAK,SAAI,GAAG,MAAM,CAIrF;AAED,2EAA2E;AAC3E,wBAAgB,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAE3D;AAED;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,SAAI,GAAG,MAAM,CAO3F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uid.d.ts","sourceRoot":"","sources":["../../../../src/components/charts/core/uid.ts"],"names":[],"mappings":"AAEA,wBAAgB,QAAQ,CAAC,MAAM,SAAS,GAAG,MAAM,CAGhD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export interface AnimOptions {
|
|
3
|
+
el: Ref<HTMLElement | undefined>;
|
|
4
|
+
enabled?: boolean;
|
|
5
|
+
duration?: number;
|
|
6
|
+
delay?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function useChartAnim(opts: AnimOptions): {
|
|
9
|
+
progress: Ref<number, number>;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=useChartAnim.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChartAnim.d.ts","sourceRoot":"","sources":["../../../../src/components/charts/core/useChartAnim.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAA+B,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAE3D,MAAM,WAAW,WAAW;IAC3B,EAAE,EAAE,GAAG,CAAC,WAAW,GAAG,SAAS,CAAC,CAAA;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACd;AAWD,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW;;EAqC7C"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export interface Padding {
|
|
3
|
+
top: number;
|
|
4
|
+
right: number;
|
|
5
|
+
bottom: number;
|
|
6
|
+
left: number;
|
|
7
|
+
}
|
|
8
|
+
export interface FrameOptions {
|
|
9
|
+
height: Ref<number> | number;
|
|
10
|
+
padding?: Partial<Padding>;
|
|
11
|
+
}
|
|
12
|
+
export declare function useChartFrame(el: Ref<HTMLElement | undefined>, opts: FrameOptions): {
|
|
13
|
+
width: Ref<number, number>;
|
|
14
|
+
height: import('vue').ComputedRef<number>;
|
|
15
|
+
pad: import('vue').ComputedRef<Padding>;
|
|
16
|
+
innerWidth: import('vue').ComputedRef<number>;
|
|
17
|
+
innerHeight: import('vue').ComputedRef<number>;
|
|
18
|
+
isRTL: Ref<boolean, boolean>;
|
|
19
|
+
flipX: (x: number) => number;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=useChartFrame.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChartFrame.d.ts","sourceRoot":"","sources":["../../../../src/components/charts/core/useChartFrame.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAyC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAErE,MAAM,WAAW,OAAO;IAAG,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE;AAErF,MAAM,WAAW,YAAY;IAC5B,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,CAAA;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAA;CAC1B;AAID,wBAAgB,aAAa,CAAC,EAAE,EAAE,GAAG,CAAC,WAAW,GAAG,SAAS,CAAC,EAAE,IAAI,EAAE,YAAY;;;;;;;eA8B/D,MAAM;EAGxB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal scale + tick helpers. No d3 — just the bits dashboards need.
|
|
3
|
+
*/
|
|
4
|
+
/** "Nice" rounded domain max so axis ticks land on clean numbers. */
|
|
5
|
+
export declare function niceMax(max: number, ticks?: number): number;
|
|
6
|
+
/** Evenly spaced tick values from min..max (inclusive). */
|
|
7
|
+
export declare function ticks(min: number, max: number, count?: number): number[];
|
|
8
|
+
/** Linear scale factory: maps a value in [d0,d1] → pixel in [r0,r1]. */
|
|
9
|
+
export declare function linear(d0: number, d1: number, r0: number, r1: number): (v: number) => number;
|
|
10
|
+
/** Band scale for categorical x: returns center x + band width. */
|
|
11
|
+
export declare function band(count: number, range: number, padding?: number): {
|
|
12
|
+
bandWidth: number;
|
|
13
|
+
center: (i: number) => number;
|
|
14
|
+
start: (i: number) => number;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=useScale.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScale.d.ts","sourceRoot":"","sources":["../../../../src/components/charts/core/useScale.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,qEAAqE;AACrE,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,SAAI,GAAG,MAAM,CAQtD;AAED,2DAA2D;AAC3D,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,SAAI,GAAG,MAAM,EAAE,CAKnE;AAED,wEAAwE;AACxE,wBAAgB,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,IAE5D,GAAG,MAAM,YACjB;AAED,mEAAmE;AACnE,wBAAgB,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,SAAM;;gBAKlD,MAAM;eACP,MAAM;EAElB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { default as Sparkline } from './Sparkline.vue';
|
|
2
|
+
export { default as LineChart } from './LineChart.vue';
|
|
3
|
+
export { default as BarChart } from './BarChart.vue';
|
|
4
|
+
export { default as Donut } from './Donut.vue';
|
|
5
|
+
export { default as Funnel } from './Funnel.vue';
|
|
6
|
+
export { default as Gauge } from './Gauge.vue';
|
|
7
|
+
export { default as RadialBars } from './RadialBars.vue';
|
|
8
|
+
export { default as RankBars } from './RankBars.vue';
|
|
9
|
+
export { default as StatCard } from './StatCard.vue';
|
|
10
|
+
export type { RawPoint, RawSeries, NormalizeOptions } from './core/data';
|
|
11
|
+
export type { ValueFormat } from './core/format';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/charts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEpD,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AACxE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -41,6 +41,7 @@ declare const _default: <ContextObjType extends {
|
|
|
41
41
|
borderColor?: string;
|
|
42
42
|
textColor?: string;
|
|
43
43
|
textAlign?: "left" | "center" | "right";
|
|
44
|
+
wrapperClass?: string;
|
|
44
45
|
} & BagelInputShellProps) & Partial<{}>> & import('vue').PublicProps;
|
|
45
46
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
46
47
|
attrs: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RadioGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RadioGroup.vue"],"names":[],"mappings":"AA6LA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAI3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAG7D,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,GAAG;IACnC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,UAAU,CAAC,EAAE,CAAC,CAAA;IACd,KAAK,EAAE,GAAG,CAAA;CACV;yBAEgB,cAAc,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,EAC7D,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAsSO,mBAAmB,CAAC;;;;;;;qBA3Lb,GAAG;;aArGX,MAAM;gBACH,MAAM;oBACF,MAAM;;oBAEN,OAAO;mBACR,OAAO;gBACV,MAAM;mBACH,OAAO;eACX,OAAO;eACP,OAAO;yBACG,OAAO;gBAChB,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ;oBACzC,OAAO;kBACT,MAAM;wBACA,MAAM;0BACJ,MAAM;sBACV,MAAM;oBACR,MAAM;oBACN,MAAM,GAAG,QAAQ,GAAG,OAAO;uBACxB,MAAM;2CA6QuE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;mBA/SH,GAAG;oBAJF,MAAM;iBAET,MAAM;mBADJ,MAAM;qBAJJ,MAAM;qBACN,MAAM;uBACJ,MAAM;;YAwQa,GAAG;;UA8C3B,4HAAoC;EAEvC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAjTzE,wBAiT4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -8,13 +8,18 @@ export interface RangeInputProps extends BagelInputShellProps {
|
|
|
8
8
|
label?: string;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
id?: string;
|
|
11
|
+
/** Force direction. Omit to inherit the page/parent `dir` (recommended). */
|
|
11
12
|
rtl?: boolean;
|
|
12
13
|
multiRange?: boolean;
|
|
13
14
|
formatValue?: (value: number) => string;
|
|
14
|
-
/**
|
|
15
|
+
/** Track (background) color. */
|
|
15
16
|
trackColor?: string;
|
|
16
|
-
/**
|
|
17
|
+
/** Active range + thumb color — defaults to labelActiveColor or primary. */
|
|
17
18
|
activeColor?: string;
|
|
19
|
+
/** Slim variant for bare sliders / media scrubbers (smaller thumb + track). */
|
|
20
|
+
size?: 'sm' | 'md';
|
|
21
|
+
/** Hide the min/max footer labels (e.g. for a media scrubber). */
|
|
22
|
+
hideMinMax?: boolean;
|
|
18
23
|
}
|
|
19
24
|
declare function __VLS_template(): {
|
|
20
25
|
attrs: Partial<{}>;
|
|
@@ -51,7 +56,9 @@ declare function __VLS_template(): {
|
|
|
51
56
|
progress: string;
|
|
52
57
|
}): any;
|
|
53
58
|
};
|
|
54
|
-
refs: {
|
|
59
|
+
refs: {
|
|
60
|
+
rootEl: HTMLDivElement;
|
|
61
|
+
};
|
|
55
62
|
rootEl: HTMLDivElement;
|
|
56
63
|
};
|
|
57
64
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
@@ -59,7 +66,9 @@ declare const __VLS_component: import('vue').DefineComponent<RangeInputProps, {}
|
|
|
59
66
|
"update:modelValue": (...args: any[]) => void;
|
|
60
67
|
}, string, import('vue').PublicProps, Readonly<RangeInputProps> & Readonly<{
|
|
61
68
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
62
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
69
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
70
|
+
rootEl: HTMLDivElement;
|
|
71
|
+
}, HTMLDivElement>;
|
|
63
72
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
64
73
|
export default _default;
|
|
65
74
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RangeInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RangeInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RangeInput.vue"],"names":[],"mappings":"AA6QA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAE7D,MAAM,WAAW,eAAgB,SAAQ,oBAAoB;IAC5D,UAAU,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACrC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,4EAA4E;IAC5E,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IACvC,gCAAgC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+EAA+E;IAC/E,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,kEAAkE;IAClE,UAAU,CAAC,EAAE,OAAO,CAAA;CACpB;AAsED,iBAAS,cAAc;WAuJT,OAAO,IAA6B;;;;;;YAfpB,GAAG;;;;;;YACP,GAAG;;;;;;YACL,GAAG;;;;;;;YACF,GAAG;;;;;;;YACH,GAAG;;;;;;EAgB3B;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kBASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectInput.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","s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E,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;CACf;AAsOD,iBAAS,cAAc;WAmXT,OAAO,IAA6B;;sBAdvB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAhS3B,GAAG,8CACA,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkT1E;AAyCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;eAhpBR,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAmT1B,GAAG,8CACA,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsWzE,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -3,7 +3,8 @@ export { default as AccordionItem } from './AccordionItem.vue';
|
|
|
3
3
|
export { default as AddressSearch } from './AddressSearch.vue';
|
|
4
4
|
export { default as AddToCalendar } from './AddToCalendar.vue';
|
|
5
5
|
export { default as Alert } from './Alert.vue';
|
|
6
|
-
export
|
|
6
|
+
export { BarChart, Donut, Funnel, Gauge, LineChart, RadialBars, RankBars, Sparkline, StatCard } from './charts';
|
|
7
|
+
export type { NormalizeOptions, RawPoint, RawSeries, ValueFormat } from './charts';
|
|
7
8
|
export { default as Avatar } from './Avatar.vue';
|
|
8
9
|
export { default as Badge } from './Badge.vue';
|
|
9
10
|
/** @deprecated Renamed to Badge. Pill is an alias that will be removed in a future version. */
|
|
@@ -19,6 +20,7 @@ export { default as TableSchema } from './dataTable/DataTable.vue';
|
|
|
19
20
|
export { Draggable, useDraggable, vDraggable } from './draggable';
|
|
20
21
|
export { default as DragOver } from './DragOver.vue';
|
|
21
22
|
export { default as Dropdown } from './Dropdown.vue';
|
|
23
|
+
export { default as EmptyState } from './EmptyState.vue';
|
|
22
24
|
export { default as FieldSetVue } from './FieldSetVue.vue';
|
|
23
25
|
export { default as FilterQuery } from './FilterQuery.vue';
|
|
24
26
|
export type { FilterField, QueryOption } from './FilterQuery.types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAA;AAC9C,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAA;AACtD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AA;AACxD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -18,9 +18,9 @@ declare function __VLS_template(): {
|
|
|
18
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
19
|
declare const __VLS_component: import('vue').DefineComponent<LayoutProrps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LayoutProrps> & Readonly<{}>, {
|
|
20
20
|
rows: string[];
|
|
21
|
+
gap: number;
|
|
21
22
|
h100: boolean;
|
|
22
23
|
columns: string[];
|
|
23
|
-
gap: number;
|
|
24
24
|
mColumns: string[];
|
|
25
25
|
mRows: string[];
|
|
26
26
|
mGap: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Layout.vue"],"names":[],"mappings":"AAiFA,UAAU,YAAY;IACrB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;CACb;AAuDD,iBAAS,cAAc;WAmCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;UAjHb,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"Layout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Layout.vue"],"names":[],"mappings":"AAiFA,UAAU,YAAY;IACrB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;CACb;AAuDD,iBAAS,cAAc;WAmCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;UAjHb,MAAM,EAAE;SALT,MAAM;UACL,OAAO;aACJ,MAAM,EAAE;cACP,MAAM,EAAE;WACX,MAAM,EAAE;UAET,MAAM;wFAwHZ,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -49,8 +49,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
|
49
49
|
"onUpdate:size"?: ((value: number) => any) | undefined;
|
|
50
50
|
}>, {
|
|
51
51
|
flex: boolean;
|
|
52
|
-
min: number;
|
|
53
52
|
max: number;
|
|
53
|
+
min: number;
|
|
54
54
|
handle: boolean;
|
|
55
55
|
collapsible: boolean;
|
|
56
56
|
collapsed: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Panel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Panel.vue"],"names":[],"mappings":"AA6SA,UAAU,KAAK;IACd,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2FAA2F;IAC3F,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,yCAAyC;IACzC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,gDAAgD;IAChD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,6FAA6F;IAC7F,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,8CAA8C;IAC9C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,8DAA8D;IAC9D,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,mEAAmE;IACnE,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,2EAA2E;IAC3E,MAAM,CAAC,EAAE,OAAO,CAAA;CAChB;AA+FD,iBAAS,cAAc,SAEtB;AAgBD,iBAAS,cAAc;WAgET,OAAO,IAA6B;;;;;;YAXrB,GAAG;;;;;;EAgB/B;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;UAlNb,OAAO;
|
|
1
|
+
{"version":3,"file":"Panel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Panel.vue"],"names":[],"mappings":"AA6SA,UAAU,KAAK;IACd,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2FAA2F;IAC3F,I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AE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { TimelineEntry } from './Timeline.types';
|
|
2
|
+
/**
|
|
3
|
+
* Vertical activity / history feed. Two ways to use it:
|
|
4
|
+
*
|
|
5
|
+
* 1. Data-driven — pass `items`; each maps to a <TimelineItem>. Use the default
|
|
6
|
+
* scoped slot to render custom body content per entry:
|
|
7
|
+
* <Timeline :items="activity">
|
|
8
|
+
* <template #default="{ item }">{{ item.title }}</template>
|
|
9
|
+
* </Timeline>
|
|
10
|
+
*
|
|
11
|
+
* 2. Composition — drop <TimelineItem> children directly (omit `items`). Mark the
|
|
12
|
+
* last one with `last` to drop its connector, or let data-driven mode do it.
|
|
13
|
+
*/
|
|
14
|
+
type __VLS_Props = {
|
|
15
|
+
items?: TimelineEntry[];
|
|
16
|
+
};
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
attrs: Partial<{}>;
|
|
19
|
+
slots: {
|
|
20
|
+
default?(_: {
|
|
21
|
+
item: TimelineEntry;
|
|
22
|
+
index: number;
|
|
23
|
+
}): any;
|
|
24
|
+
meta?(_: {
|
|
25
|
+
item: TimelineEntry;
|
|
26
|
+
index: number;
|
|
27
|
+
}): any;
|
|
28
|
+
items?(_: {}): any;
|
|
29
|
+
};
|
|
30
|
+
refs: {};
|
|
31
|
+
rootEl: HTMLDivElement;
|
|
32
|
+
};
|
|
33
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
34
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=Timeline.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timeline.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Timeline.vue"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAGrD;;;;;;;;;;;GAWG;AACH,KAAK,WAAW,GAAG;IAClB,KAAK,CAAC,EAAE,aAAa,EAAE,CAAA;CACvB,CAAC;AAQF,iBAAS,cAAc;WA6ET,OAAO,IAA6B;;;;;YAZrB,GAAG;;;;YACN,GAAG;uBACF,GAAG;;;;EAe7B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IconType, ThemeType } from '../..';
|
|
2
|
+
/**
|
|
3
|
+
* One node in a <Timeline>: a marker (icon dot or plain dot) with a connecting
|
|
4
|
+
* line, a title, optional meta line, and free content via the default slot.
|
|
5
|
+
* - `icon` renders inside the dot; otherwise a small solid dot is shown.
|
|
6
|
+
* - `color` themes the dot (and icon).
|
|
7
|
+
* - `last` removes the connector line (auto-handled by <Timeline>).
|
|
8
|
+
* - Slots: `#marker` (replace the dot), `#meta`, default (body).
|
|
9
|
+
*/
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
title?: string;
|
|
12
|
+
meta?: string;
|
|
13
|
+
icon?: IconType;
|
|
14
|
+
color?: ThemeType;
|
|
15
|
+
last?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
attrs: Partial<{}>;
|
|
19
|
+
slots: {
|
|
20
|
+
marker?(_: {}): any;
|
|
21
|
+
title?(_: {}): any;
|
|
22
|
+
default?(_: {}): any;
|
|
23
|
+
meta?(_: {}): any;
|
|
24
|
+
};
|
|
25
|
+
refs: {};
|
|
26
|
+
rootEl: HTMLDivElement;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=TimelineItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimelineItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/TimelineItem.vue"],"names":[],"mappings":"AAgGA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAIxD;;;;;;;GAOG;AACH,KAAK,WAAW,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,IAAI,CAAC,EAAE,OAAO,CAAA;CACd,CAAC;AAcF,iBAAS,cAAc;WAgGT,OAAO,IAA6B;;wBAbtB,GAAG;uBACJ,GAAG;yBACD,GAAG;sBACN,GAAG;;;;EAe5B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -12,6 +12,9 @@ export { default as SidebarMenu } from './SidebarMenu.vue';
|
|
|
12
12
|
export { default as Skeleton } from './Skeleton.vue';
|
|
13
13
|
export { default as TabbedLayout } from './TabbedLayout.vue';
|
|
14
14
|
export { default as Tabs } from './Tabs.vue';
|
|
15
|
+
export { default as Timeline } from './Timeline.vue';
|
|
16
|
+
export type { TimelineEntry } from './Timeline.types';
|
|
17
|
+
export { default as TimelineItem } from './TimelineItem.vue';
|
|
15
18
|
export { default as TabsBody } from './TabsBody.vue';
|
|
16
19
|
export { default as TabsNav } from './TabsNav.vue';
|
|
17
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,EAAE,OAAO,IA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