@hebium-ui/vue 0.0.0-stage → 0.1.0-alpha.0
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/LICENSE +21 -0
- package/README.md +7 -2
- package/dist/_virtual/_/plugin-vue/export-helper.js +8 -0
- package/dist/components/alert/alert.js +108 -0
- package/dist/components/alert/alert.js.map +1 -0
- package/dist/components/alert/alert.types.d.ts +31 -0
- package/dist/components/alert/alert.vue.d.ts +28 -0
- package/dist/components/alert/index.d.ts +3 -0
- package/dist/components/anchor/anchor.js +106 -0
- package/dist/components/anchor/anchor.js.map +1 -0
- package/dist/components/anchor/anchor.types.d.ts +31 -0
- package/dist/components/anchor/anchor.vue.d.ts +30 -0
- package/dist/components/anchor/index.d.ts +3 -0
- package/dist/components/avatar/avatar.js +111 -0
- package/dist/components/avatar/avatar.js.map +1 -0
- package/dist/components/avatar/avatar.types.d.ts +17 -0
- package/dist/components/avatar/avatar.vue.d.ts +17 -0
- package/dist/components/avatar/index.d.ts +3 -0
- package/dist/components/blockquote/blockquote.js +82 -0
- package/dist/components/blockquote/blockquote.js.map +1 -0
- package/dist/components/blockquote/blockquote.types.d.ts +25 -0
- package/dist/components/blockquote/blockquote.vue.d.ts +27 -0
- package/dist/components/blockquote/index.d.ts +3 -0
- package/dist/components/button/button.js +106 -0
- package/dist/components/button/button.js.map +1 -0
- package/dist/components/button/button.types.d.ts +31 -0
- package/dist/components/button/button.vue.d.ts +30 -0
- package/dist/components/button/index.d.ts +3 -0
- package/dist/components/checkbox/checkbox.js +124 -0
- package/dist/components/checkbox/checkbox.js.map +1 -0
- package/dist/components/checkbox/checkbox.types.d.ts +27 -0
- package/dist/components/checkbox/checkbox.vue.d.ts +29 -0
- package/dist/components/checkbox/index.d.ts +3 -0
- package/dist/components/code/code.js +84 -0
- package/dist/components/code/code.js.map +1 -0
- package/dist/components/code/code.types.d.ts +12 -0
- package/dist/components/code/code.vue.d.ts +30 -0
- package/dist/components/code/index.d.ts +3 -0
- package/dist/components/details/details.js +76 -0
- package/dist/components/details/details.js.map +1 -0
- package/dist/components/details/details.types.d.ts +19 -0
- package/dist/components/details/details.vue.d.ts +27 -0
- package/dist/components/details/index.d.ts +3 -0
- package/dist/components/dialog/dialog-close.js +100 -0
- package/dist/components/dialog/dialog-close.js.map +1 -0
- package/dist/components/dialog/dialog-close.vue.d.ts +27 -0
- package/dist/components/dialog/dialog-content.js +180 -0
- package/dist/components/dialog/dialog-content.js.map +1 -0
- package/dist/components/dialog/dialog-content.vue.d.ts +30 -0
- package/dist/components/dialog/dialog-trigger.js +105 -0
- package/dist/components/dialog/dialog-trigger.js.map +1 -0
- package/dist/components/dialog/dialog-trigger.vue.d.ts +31 -0
- package/dist/components/dialog/dialog.context.d.ts +5 -0
- package/dist/components/dialog/dialog.context.js +15 -0
- package/dist/components/dialog/dialog.context.js.map +1 -0
- package/dist/components/dialog/dialog.js +62 -0
- package/dist/components/dialog/dialog.js.map +1 -0
- package/dist/components/dialog/dialog.types.d.ts +73 -0
- package/dist/components/dialog/dialog.vue.d.ts +18 -0
- package/dist/components/dialog/index.d.ts +7 -0
- package/dist/components/dl/dl-dd.js +71 -0
- package/dist/components/dl/dl-dd.js.map +1 -0
- package/dist/components/dl/dl-dd.vue.d.ts +24 -0
- package/dist/components/dl/dl-dt.js +71 -0
- package/dist/components/dl/dl-dt.js.map +1 -0
- package/dist/components/dl/dl-dt.vue.d.ts +24 -0
- package/dist/components/dl/dl.js +71 -0
- package/dist/components/dl/dl.js.map +1 -0
- package/dist/components/dl/dl.types.d.ts +19 -0
- package/dist/components/dl/dl.vue.d.ts +24 -0
- package/dist/components/dl/index.d.ts +5 -0
- package/dist/components/drawer/drawer-close.js +100 -0
- package/dist/components/drawer/drawer-close.js.map +1 -0
- package/dist/components/drawer/drawer-close.vue.d.ts +27 -0
- package/dist/components/drawer/drawer-content.js +185 -0
- package/dist/components/drawer/drawer-content.js.map +1 -0
- package/dist/components/drawer/drawer-content.vue.d.ts +30 -0
- package/dist/components/drawer/drawer-trigger.js +96 -0
- package/dist/components/drawer/drawer-trigger.js.map +1 -0
- package/dist/components/drawer/drawer-trigger.vue.d.ts +31 -0
- package/dist/components/drawer/drawer.context.d.ts +5 -0
- package/dist/components/drawer/drawer.context.js +15 -0
- package/dist/components/drawer/drawer.context.js.map +1 -0
- package/dist/components/drawer/drawer.js +43 -0
- package/dist/components/drawer/drawer.js.map +1 -0
- package/dist/components/drawer/drawer.types.d.ts +73 -0
- package/dist/components/drawer/drawer.vue.d.ts +16 -0
- package/dist/components/drawer/index.d.ts +7 -0
- package/dist/components/fieldset/fieldset.js +71 -0
- package/dist/components/fieldset/fieldset.js.map +1 -0
- package/dist/components/fieldset/fieldset.types.d.ts +11 -0
- package/dist/components/fieldset/fieldset.vue.d.ts +24 -0
- package/dist/components/fieldset/index.d.ts +3 -0
- package/dist/components/heading/heading.js +95 -0
- package/dist/components/heading/heading.js.map +1 -0
- package/dist/components/heading/heading.types.d.ts +25 -0
- package/dist/components/heading/heading.vue.d.ts +25 -0
- package/dist/components/heading/index.d.ts +3 -0
- package/dist/components/hr/hr.js +81 -0
- package/dist/components/hr/hr.js.map +1 -0
- package/dist/components/hr/hr.types.d.ts +12 -0
- package/dist/components/hr/hr.vue.d.ts +28 -0
- package/dist/components/hr/index.d.ts +3 -0
- package/dist/components/index.d.ts +122 -0
- package/dist/components/input/index.d.ts +3 -0
- package/dist/components/input/input.js +136 -0
- package/dist/components/input/input.js.map +1 -0
- package/dist/components/input/input.types.d.ts +27 -0
- package/dist/components/input/input.vue.d.ts +28 -0
- package/dist/components/label/index.d.ts +3 -0
- package/dist/components/label/label.js +142 -0
- package/dist/components/label/label.js.map +1 -0
- package/dist/components/label/label.types.d.ts +26 -0
- package/dist/components/label/label.vue.d.ts +33 -0
- package/dist/components/menu/index.d.ts +7 -0
- package/dist/components/menu/menu-content.js +128 -0
- package/dist/components/menu/menu-content.js.map +1 -0
- package/dist/components/menu/menu-content.vue.d.ts +30 -0
- package/dist/components/menu/menu-item.js +165 -0
- package/dist/components/menu/menu-item.js.map +1 -0
- package/dist/components/menu/menu-item.vue.d.ts +30 -0
- package/dist/components/menu/menu-trigger.js +103 -0
- package/dist/components/menu/menu-trigger.js.map +1 -0
- package/dist/components/menu/menu-trigger.vue.d.ts +31 -0
- package/dist/components/menu/menu.context.d.ts +5 -0
- package/dist/components/menu/menu.context.js +15 -0
- package/dist/components/menu/menu.context.js.map +1 -0
- package/dist/components/menu/menu.js +43 -0
- package/dist/components/menu/menu.js.map +1 -0
- package/dist/components/menu/menu.types.d.ts +80 -0
- package/dist/components/menu/menu.vue.d.ts +16 -0
- package/dist/components/paragraph/index.d.ts +3 -0
- package/dist/components/paragraph/paragraph.js +89 -0
- package/dist/components/paragraph/paragraph.js.map +1 -0
- package/dist/components/paragraph/paragraph.types.d.ts +19 -0
- package/dist/components/paragraph/paragraph.vue.d.ts +30 -0
- package/dist/components/popover/index.d.ts +6 -0
- package/dist/components/popover/popover-content.js +120 -0
- package/dist/components/popover/popover-content.js.map +1 -0
- package/dist/components/popover/popover-content.vue.d.ts +30 -0
- package/dist/components/popover/popover-trigger.js +91 -0
- package/dist/components/popover/popover-trigger.js.map +1 -0
- package/dist/components/popover/popover-trigger.vue.d.ts +31 -0
- package/dist/components/popover/popover.context.d.ts +5 -0
- package/dist/components/popover/popover.context.js +15 -0
- package/dist/components/popover/popover.context.js.map +1 -0
- package/dist/components/popover/popover.js +43 -0
- package/dist/components/popover/popover.js.map +1 -0
- package/dist/components/popover/popover.types.d.ts +50 -0
- package/dist/components/popover/popover.vue.d.ts +16 -0
- package/dist/components/progress/index.d.ts +3 -0
- package/dist/components/progress/progress.js +149 -0
- package/dist/components/progress/progress.js.map +1 -0
- package/dist/components/progress/progress.types.d.ts +53 -0
- package/dist/components/progress/progress.vue.d.ts +26 -0
- package/dist/components/radio/index.d.ts +3 -0
- package/dist/components/radio/radio.js +112 -0
- package/dist/components/radio/radio.js.map +1 -0
- package/dist/components/radio/radio.types.d.ts +21 -0
- package/dist/components/radio/radio.vue.d.ts +27 -0
- package/dist/components/radiogroup/index.d.ts +3 -0
- package/dist/components/radiogroup/radiogroup.js +130 -0
- package/dist/components/radiogroup/radiogroup.js.map +1 -0
- package/dist/components/radiogroup/radiogroup.types.d.ts +25 -0
- package/dist/components/radiogroup/radiogroup.vue.d.ts +34 -0
- package/dist/components/section/index.d.ts +3 -0
- package/dist/components/section/section.js +112 -0
- package/dist/components/section/section.js.map +1 -0
- package/dist/components/section/section.types.d.ts +37 -0
- package/dist/components/section/section.vue.d.ts +30 -0
- package/dist/components/segmented-control/index.d.ts +4 -0
- package/dist/components/segmented-control/segmented-control-item.js +110 -0
- package/dist/components/segmented-control/segmented-control-item.js.map +1 -0
- package/dist/components/segmented-control/segmented-control-item.vue.d.ts +30 -0
- package/dist/components/segmented-control/segmented-control.context.js +12 -0
- package/dist/components/segmented-control/segmented-control.context.js.map +1 -0
- package/dist/components/segmented-control/segmented-control.js +112 -0
- package/dist/components/segmented-control/segmented-control.js.map +1 -0
- package/dist/components/segmented-control/segmented-control.types.d.ts +42 -0
- package/dist/components/segmented-control/segmented-control.vue.d.ts +26 -0
- package/dist/components/select/index.d.ts +3 -0
- package/dist/components/select/select.js +124 -0
- package/dist/components/select/select.js.map +1 -0
- package/dist/components/select/select.types.d.ts +21 -0
- package/dist/components/select/select.vue.d.ts +29 -0
- package/dist/components/table/index.d.ts +10 -0
- package/dist/components/table/table-caption.js +79 -0
- package/dist/components/table/table-caption.js.map +1 -0
- package/dist/components/table/table-caption.vue.d.ts +25 -0
- package/dist/components/table/table-tbody.js +70 -0
- package/dist/components/table/table-tbody.js.map +1 -0
- package/dist/components/table/table-tbody.vue.d.ts +24 -0
- package/dist/components/table/table-td.js +71 -0
- package/dist/components/table/table-td.js.map +1 -0
- package/dist/components/table/table-td.vue.d.ts +24 -0
- package/dist/components/table/table-tfoot.js +70 -0
- package/dist/components/table/table-tfoot.js.map +1 -0
- package/dist/components/table/table-tfoot.vue.d.ts +24 -0
- package/dist/components/table/table-th.js +71 -0
- package/dist/components/table/table-th.js.map +1 -0
- package/dist/components/table/table-th.vue.d.ts +24 -0
- package/dist/components/table/table-thead.js +70 -0
- package/dist/components/table/table-thead.js.map +1 -0
- package/dist/components/table/table-thead.vue.d.ts +24 -0
- package/dist/components/table/table-tr.js +79 -0
- package/dist/components/table/table-tr.js.map +1 -0
- package/dist/components/table/table-tr.vue.d.ts +25 -0
- package/dist/components/table/table.js +79 -0
- package/dist/components/table/table.js.map +1 -0
- package/dist/components/table/table.types.d.ts +59 -0
- package/dist/components/table/table.vue.d.ts +25 -0
- package/dist/components/tabs/index.d.ts +6 -0
- package/dist/components/tabs/tabs-list.js +98 -0
- package/dist/components/tabs/tabs-list.js.map +1 -0
- package/dist/components/tabs/tabs-list.vue.d.ts +29 -0
- package/dist/components/tabs/tabs-panel.js +100 -0
- package/dist/components/tabs/tabs-panel.js.map +1 -0
- package/dist/components/tabs/tabs-panel.vue.d.ts +30 -0
- package/dist/components/tabs/tabs-tab.js +135 -0
- package/dist/components/tabs/tabs-tab.js.map +1 -0
- package/dist/components/tabs/tabs-tab.vue.d.ts +30 -0
- package/dist/components/tabs/tabs.context.js +12 -0
- package/dist/components/tabs/tabs.context.js.map +1 -0
- package/dist/components/tabs/tabs.js +144 -0
- package/dist/components/tabs/tabs.js.map +1 -0
- package/dist/components/tabs/tabs.types.d.ts +61 -0
- package/dist/components/tabs/tabs.vue.d.ts +30 -0
- package/dist/components/textarea/index.d.ts +3 -0
- package/dist/components/textarea/textarea.js +137 -0
- package/dist/components/textarea/textarea.js.map +1 -0
- package/dist/components/textarea/textarea.types.d.ts +27 -0
- package/dist/components/textarea/textarea.vue.d.ts +28 -0
- package/dist/components/tooltip/index.d.ts +6 -0
- package/dist/components/tooltip/tooltip-content.js +128 -0
- package/dist/components/tooltip/tooltip-content.js.map +1 -0
- package/dist/components/tooltip/tooltip-content.vue.d.ts +30 -0
- package/dist/components/tooltip/tooltip-trigger.js +125 -0
- package/dist/components/tooltip/tooltip-trigger.js.map +1 -0
- package/dist/components/tooltip/tooltip-trigger.vue.d.ts +31 -0
- package/dist/components/tooltip/tooltip.context.d.ts +5 -0
- package/dist/components/tooltip/tooltip.context.js +15 -0
- package/dist/components/tooltip/tooltip.context.js.map +1 -0
- package/dist/components/tooltip/tooltip.js +43 -0
- package/dist/components/tooltip/tooltip.js.map +1 -0
- package/dist/components/tooltip/tooltip.types.d.ts +50 -0
- package/dist/components/tooltip/tooltip.vue.d.ts +16 -0
- package/dist/components/visually-hidden/index.d.ts +3 -0
- package/dist/components/visually-hidden/visually-hidden.js +84 -0
- package/dist/components/visually-hidden/visually-hidden.js.map +1 -0
- package/dist/components/visually-hidden/visually-hidden.types.d.ts +12 -0
- package/dist/components/visually-hidden/visually-hidden.vue.d.ts +30 -0
- package/dist/index.d.ts +98 -0
- package/dist/index.js +64 -0
- package/dist/plugin.d.ts +126 -0
- package/dist/plugin.js +124 -0
- package/dist/plugin.js.map +1 -0
- package/dist/provider/hui-provider.context.d.ts +108 -0
- package/dist/provider/hui-provider.context.js +79 -0
- package/dist/provider/hui-provider.context.js.map +1 -0
- package/dist/provider/hui-provider.js +37 -0
- package/dist/provider/hui-provider.js.map +1 -0
- package/dist/provider/hui-provider.vue.d.ts +27 -0
- package/dist/provider/index.d.ts +3 -0
- package/dist/types/element.d.ts +12 -0
- package/dist/types/hui-component.d.ts +13 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/polymorphic.d.ts +19 -0
- package/dist/utils/attr-to-bool.js +8 -0
- package/dist/utils/attr-to-bool.js.map +1 -0
- package/package.json +59 -3
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HuiElementInstance, HuiElementProps } from "../../types/element.js";
|
|
2
|
+
import { HuiComponentProps } from "../../types/hui-component.js";
|
|
3
|
+
import "../../types/index.js";
|
|
4
|
+
import { FieldsetSlots } from "@hebium-ui/core";
|
|
5
|
+
//#region src/components/fieldset/fieldset.types.d.ts
|
|
6
|
+
export type FieldsetProps = HuiComponentProps<HuiElementProps<"fieldset">, FieldsetSlots>;
|
|
7
|
+
export interface FieldsetExposed {
|
|
8
|
+
readonly root: HuiElementInstance<"fieldset"> | null;
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
//# sourceMappingURL=fieldset.types.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { HuiElementPropsNoInfer } from "../../types/element.js";
|
|
2
|
+
import "../../types/index.js";
|
|
3
|
+
import { ClassValue, StyleValue } from "vue";
|
|
4
|
+
//#region src/components/fieldset/fieldset.vue.d.ts
|
|
5
|
+
type Props = {
|
|
6
|
+
class?: ClassValue | undefined;
|
|
7
|
+
style?: StyleValue | undefined;
|
|
8
|
+
} & /* @vue-ignore */ Omit<HuiElementPropsNoInfer<"fieldset">, "class" | "style">;
|
|
9
|
+
type __VLS_Slots = {
|
|
10
|
+
default?: () => unknown;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {
|
|
13
|
+
root: Readonly<import("vue").ShallowRef<HTMLFieldSetElement | null>>;
|
|
14
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { _default as default };
|
|
24
|
+
//# sourceMappingURL=fieldset.vue.d.ts.map
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { useHuiAttrs, useHuiClasses, useHuiProps, useHuiStyles } from "../../provider/hui-provider.context.js";
|
|
2
|
+
import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.js";
|
|
3
|
+
import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, useAttrs, useTemplateRef, withCtx } from "vue";
|
|
4
|
+
import { headingRecipe } from "@hebium-ui/core";
|
|
5
|
+
//#region src/components/heading/heading.vue
|
|
6
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
|
+
name: "HuiHeading",
|
|
8
|
+
inheritAttrs: false,
|
|
9
|
+
__name: "heading",
|
|
10
|
+
props: {
|
|
11
|
+
level: {
|
|
12
|
+
type: null,
|
|
13
|
+
required: false
|
|
14
|
+
},
|
|
15
|
+
margin: {
|
|
16
|
+
type: null,
|
|
17
|
+
required: false
|
|
18
|
+
},
|
|
19
|
+
class: {
|
|
20
|
+
type: [
|
|
21
|
+
Boolean,
|
|
22
|
+
null,
|
|
23
|
+
String,
|
|
24
|
+
Object,
|
|
25
|
+
Array
|
|
26
|
+
],
|
|
27
|
+
required: false,
|
|
28
|
+
skipCheck: true
|
|
29
|
+
},
|
|
30
|
+
style: {
|
|
31
|
+
type: [
|
|
32
|
+
Boolean,
|
|
33
|
+
null,
|
|
34
|
+
String,
|
|
35
|
+
Object,
|
|
36
|
+
Array
|
|
37
|
+
],
|
|
38
|
+
required: false,
|
|
39
|
+
skipCheck: true
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
setup(__props, { expose: __expose }) {
|
|
43
|
+
const props = __props;
|
|
44
|
+
const attrs = useAttrs();
|
|
45
|
+
const resolvedProps = useHuiProps("Heading", props, attrs);
|
|
46
|
+
const component = computed(() => `h${resolvedProps.value.level ?? 2}`);
|
|
47
|
+
const recipe = computed(() => {
|
|
48
|
+
const resolved = resolvedProps.value;
|
|
49
|
+
return headingRecipe({
|
|
50
|
+
level: `${resolved.level ?? 2}`,
|
|
51
|
+
margin: resolved.margin
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
const cls = useHuiClasses("Heading", recipe, computed(() => ({ root: props.class })));
|
|
55
|
+
const sls = useHuiStyles("Heading", computed(() => ({ root: props.style })));
|
|
56
|
+
const rootAttrs = useHuiAttrs(resolvedProps, [
|
|
57
|
+
"level",
|
|
58
|
+
"margin",
|
|
59
|
+
"class",
|
|
60
|
+
"style"
|
|
61
|
+
]);
|
|
62
|
+
const rootRef = useTemplateRef("root");
|
|
63
|
+
__expose({ root: rootRef });
|
|
64
|
+
const __returned__ = {
|
|
65
|
+
props,
|
|
66
|
+
attrs,
|
|
67
|
+
resolvedProps,
|
|
68
|
+
component,
|
|
69
|
+
recipe,
|
|
70
|
+
cls,
|
|
71
|
+
sls,
|
|
72
|
+
rootAttrs,
|
|
73
|
+
rootRef
|
|
74
|
+
};
|
|
75
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
76
|
+
enumerable: false,
|
|
77
|
+
value: true
|
|
78
|
+
});
|
|
79
|
+
return __returned__;
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
|
+
return openBlock(), createBlock(resolveDynamicComponent($setup.component), mergeProps({ ref: "root" }, $setup.rootAttrs, {
|
|
84
|
+
class: $setup.cls.root,
|
|
85
|
+
style: $setup.sls.root
|
|
86
|
+
}), {
|
|
87
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
88
|
+
_: 3
|
|
89
|
+
}, 16, ["class", "style"]);
|
|
90
|
+
}
|
|
91
|
+
var heading_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/Users/dawn/Desktop/dev/hebium-ui/packages/vue/src/components/heading/heading.vue"]]);
|
|
92
|
+
//#endregion
|
|
93
|
+
export { heading_default as default };
|
|
94
|
+
|
|
95
|
+
//# sourceMappingURL=heading.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading.js","names":["_openBlock","_createBlock","_resolveDynamicComponent","_mergeProps","_withCtx","_renderSlot"],"sources":["../../../src/components/heading/heading.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { headingRecipe } from \"@hebium-ui/core\";\nimport {\n type ClassValue,\n computed,\n type StyleValue,\n useAttrs,\n useTemplateRef,\n} from \"vue\";\nimport {\n useHuiAttrs,\n useHuiClasses,\n useHuiProps,\n useHuiStyles,\n} from \"~/provider\";\nimport type { HuiElementInstance, HuiElementPropsNoInfer } from \"~/types\";\nimport type { HeadingOwnProps } from \"./heading.types\";\n\ndefineOptions({\n name: \"HuiHeading\",\n inheritAttrs: false,\n});\n\ntype Props =\n & HeadingOwnProps\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"h2\">,\n keyof HeadingOwnProps | \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"Heading\", props, attrs);\nconst component = computed(() => `h${resolvedProps.value.level ?? 2}` as const);\nconst recipe = computed(() => {\n const resolved = resolvedProps.value;\n\n return headingRecipe({\n level: `${resolved.level ?? 2}`,\n margin: resolved.margin,\n });\n});\nconst cls = useHuiClasses(\n \"Heading\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"Heading\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps, [\n \"level\",\n \"margin\",\n \"class\",\n \"style\",\n]);\nconst rootRef = useTemplateRef<HuiElementInstance<\"h2\">>(\"root\");\n\ndefineExpose({\n root: rootRef,\n});\n</script>\n\n<template>\n <component\n :is=\"component\"\n ref=\"root\"\n v-bind=\"rootAttrs\"\n :class=\"cls.root\"\n :style=\"sls.root\"\n >\n <slot />\n </component>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCA,MAAM,QAAQ;EAMd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,WAAW,OAAO,KAAK;EACzD,MAAM,YAAY,eAAe,IAAI,cAAc,MAAM,SAAS,GAAY;EAC9E,MAAM,SAAS,eAAe;GAC5B,MAAM,WAAW,cAAc;GAE/B,OAAO,cAAc;IACnB,OAAO,GAAG,SAAS,SAAS;IAC5B,QAAQ,SAAS;GACnB,CAAC;EACH,CAAC;EACD,MAAM,MAAM,cACV,WACA,QACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,MAAM,aACV,WACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,YAAY,YAAY,eAAe;GAC3C;GACA;GACA;GACA;EACF,CAAC;EACD,MAAM,UAAU,eAAyC,MAAM;EAE/D,SAAa,EACX,MAAM,QACR,CAAC;;;;;;;;;;;;;;;;;;;;CAIC,OAAAA,UAAA,GAAAC,YAQYC,wBAPL,OAAA,SAAS,GADhBC,WAQY,EANV,KAAI,OAAM,GACF,OAAA,WAAS;EAChB,OAAO,OAAA,IAAI;EACX,OAAO,OAAA,IAAI;;EAEZ,SAAAC,cAAQ,CAARC,WAAQ,KAAA,QAAA,SAAA,CAAA,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HuiElementInstance, HuiElementProps } from "../../types/element.js";
|
|
2
|
+
import { HuiComponentProps } from "../../types/hui-component.js";
|
|
3
|
+
import "../../types/index.js";
|
|
4
|
+
import { HeadingSlots, HeadingVariants } from "@hebium-ui/core";
|
|
5
|
+
//#region src/components/heading/heading.types.d.ts
|
|
6
|
+
export interface HeadingOwnProps {
|
|
7
|
+
/**
|
|
8
|
+
* The heading level used to choose the rendered heading element.
|
|
9
|
+
*
|
|
10
|
+
* @default 2
|
|
11
|
+
*/
|
|
12
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6 | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* The block margin applied to the heading.
|
|
15
|
+
*
|
|
16
|
+
* @default "none"
|
|
17
|
+
*/
|
|
18
|
+
margin?: HeadingVariants["margin"] | undefined;
|
|
19
|
+
}
|
|
20
|
+
export type HeadingProps = HuiComponentProps<HuiElementProps<"h2"> & HeadingOwnProps, HeadingSlots>;
|
|
21
|
+
export interface HeadingExposed {
|
|
22
|
+
readonly root: HuiElementInstance<"h2"> | null;
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
//# sourceMappingURL=heading.types.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HuiElementPropsNoInfer } from "../../types/element.js";
|
|
2
|
+
import "../../types/index.js";
|
|
3
|
+
import { HeadingOwnProps } from "./heading.types.js";
|
|
4
|
+
import { ClassValue, StyleValue } from "vue";
|
|
5
|
+
//#region src/components/heading/heading.vue.d.ts
|
|
6
|
+
type Props = HeadingOwnProps & {
|
|
7
|
+
class?: ClassValue | undefined;
|
|
8
|
+
style?: StyleValue | undefined;
|
|
9
|
+
} & /* @vue-ignore */ Omit<HuiElementPropsNoInfer<"h2">, keyof HeadingOwnProps | "class" | "style">;
|
|
10
|
+
type __VLS_Slots = {
|
|
11
|
+
default?: () => unknown;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {
|
|
14
|
+
root: Readonly<import("vue").ShallowRef<HTMLHeadingElement | null>>;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { _default as default };
|
|
25
|
+
//# sourceMappingURL=heading.vue.d.ts.map
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { useHuiAttrs, useHuiClasses, useHuiProps, useHuiStyles } from "../../provider/hui-provider.context.js";
|
|
2
|
+
import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.js";
|
|
3
|
+
import { computed, createBlock, defineComponent, mergeProps, openBlock, resolveDynamicComponent, toRaw, useAttrs, useTemplateRef } from "vue";
|
|
4
|
+
import { hrRecipe } from "@hebium-ui/core";
|
|
5
|
+
//#region src/components/hr/hr.vue
|
|
6
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
|
+
name: "HuiHr",
|
|
8
|
+
inheritAttrs: false,
|
|
9
|
+
__name: "hr",
|
|
10
|
+
props: {
|
|
11
|
+
as: {
|
|
12
|
+
type: null,
|
|
13
|
+
required: false
|
|
14
|
+
},
|
|
15
|
+
class: {
|
|
16
|
+
type: [
|
|
17
|
+
Boolean,
|
|
18
|
+
null,
|
|
19
|
+
String,
|
|
20
|
+
Object,
|
|
21
|
+
Array
|
|
22
|
+
],
|
|
23
|
+
required: false,
|
|
24
|
+
skipCheck: true
|
|
25
|
+
},
|
|
26
|
+
style: {
|
|
27
|
+
type: [
|
|
28
|
+
Boolean,
|
|
29
|
+
null,
|
|
30
|
+
String,
|
|
31
|
+
Object,
|
|
32
|
+
Array
|
|
33
|
+
],
|
|
34
|
+
required: false,
|
|
35
|
+
skipCheck: true
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
setup(__props, { expose: __expose }) {
|
|
39
|
+
const props = __props;
|
|
40
|
+
const attrs = useAttrs();
|
|
41
|
+
const resolvedProps = useHuiProps("Hr", props, attrs);
|
|
42
|
+
const component = computed(() => toRaw(resolvedProps.value.as ?? "hr"));
|
|
43
|
+
const recipe = computed(() => hrRecipe());
|
|
44
|
+
const cls = useHuiClasses("Hr", recipe, computed(() => ({ root: props.class })));
|
|
45
|
+
const sls = useHuiStyles("Hr", computed(() => ({ root: props.style })));
|
|
46
|
+
const rootAttrs = useHuiAttrs(resolvedProps, [
|
|
47
|
+
"as",
|
|
48
|
+
"class",
|
|
49
|
+
"style"
|
|
50
|
+
]);
|
|
51
|
+
const rootRef = useTemplateRef("root");
|
|
52
|
+
__expose({ root: rootRef });
|
|
53
|
+
const __returned__ = {
|
|
54
|
+
props,
|
|
55
|
+
attrs,
|
|
56
|
+
resolvedProps,
|
|
57
|
+
component,
|
|
58
|
+
recipe,
|
|
59
|
+
cls,
|
|
60
|
+
sls,
|
|
61
|
+
rootAttrs,
|
|
62
|
+
rootRef
|
|
63
|
+
};
|
|
64
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
65
|
+
enumerable: false,
|
|
66
|
+
value: true
|
|
67
|
+
});
|
|
68
|
+
return __returned__;
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
72
|
+
return openBlock(), createBlock(resolveDynamicComponent($setup.component), mergeProps({ ref: "root" }, $setup.rootAttrs, {
|
|
73
|
+
class: $setup.cls.root,
|
|
74
|
+
style: $setup.sls.root
|
|
75
|
+
}), null, 16, ["class", "style"]);
|
|
76
|
+
}
|
|
77
|
+
var hr_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/Users/dawn/Desktop/dev/hebium-ui/packages/vue/src/components/hr/hr.vue"]]);
|
|
78
|
+
//#endregion
|
|
79
|
+
export { hr_default as default };
|
|
80
|
+
|
|
81
|
+
//# sourceMappingURL=hr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hr.js","names":["_openBlock","_createBlock","_resolveDynamicComponent","_mergeProps"],"sources":["../../../src/components/hr/hr.vue"],"sourcesContent":["<script\n setup\n lang=\"ts\"\n generic=\"E extends ElementType = 'hr'\"\n>\nimport { hrRecipe } from \"@hebium-ui/core\";\nimport {\n type ClassValue,\n computed,\n type StyleValue,\n toRaw,\n useAttrs,\n useTemplateRef,\n} from \"vue\";\nimport {\n useHuiAttrs,\n useHuiClasses,\n useHuiProps,\n useHuiStyles,\n} from \"~/provider\";\nimport type {\n ElementType,\n HuiElementInstance,\n HuiElementPropsNoInfer,\n} from \"~/types\";\nimport type { HrOwnProps } from \"./hr.types\";\n\ndefineOptions({\n name: \"HuiHr\",\n inheritAttrs: false,\n});\n\ntype Props =\n & HrOwnProps\n & { as?: E | undefined }\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<E>,\n keyof HrOwnProps | \"as\" | \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"Hr\", props, attrs);\nconst component = computed<E | \"hr\">(() =>\n toRaw(resolvedProps.value.as ?? \"hr\")\n);\nconst recipe = computed(() => hrRecipe());\nconst cls = useHuiClasses(\n \"Hr\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"Hr\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps, [\"as\", \"class\", \"style\"]);\nconst rootRef = useTemplateRef<HuiElementInstance<E>>(\"root\");\n\ndefineExpose({\n root: rootRef,\n});\n</script>\n\n<template>\n <component\n :is=\"component\"\n ref=\"root\"\n v-bind=\"rootAttrs\"\n :class=\"cls.root\"\n :style=\"sls.root\"\n />\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4CA,MAAM,QAAQ;EAEd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,MAAM,OAAO,KAAK;EACpD,MAAM,YAAY,eAChB,MAAM,cAAc,MAAM,MAAM,IAAI,CACtC;EACA,MAAM,SAAS,eAAe,SAAS,CAAC;EACxC,MAAM,MAAM,cACV,MACA,QACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,MAAM,aACV,MACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,YAAY,YAAY,eAAe;GAAC;GAAM;GAAS;EAAO,CAAC;EACrE,MAAM,UAAU,eAAsC,MAAM;EAE5D,SAAa,EACX,MAAM,QACR,CAAC;;;;;;;;;;;;;;;;;;;;CAIC,OAAAA,UAAA,GAAAC,YAMEC,wBALK,OAAA,SAAS,GADhBC,WAME,EAJA,KAAI,OAAM,GACF,OAAA,WAAS;EAChB,OAAO,OAAA,IAAI;EACX,OAAO,OAAA,IAAI"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementType, HuiElementInstance } from "../../types/element.js";
|
|
2
|
+
import { HuiPolymorphicProps } from "../../types/polymorphic.js";
|
|
3
|
+
import "../../types/index.js";
|
|
4
|
+
import { HrSlots } from "@hebium-ui/core";
|
|
5
|
+
//#region src/components/hr/hr.types.d.ts
|
|
6
|
+
export interface HrOwnProps {}
|
|
7
|
+
export type HrProps<E extends ElementType = "hr"> = HuiPolymorphicProps<E, HrOwnProps, HrSlots>;
|
|
8
|
+
export interface HrExposed<E extends ElementType = "hr"> {
|
|
9
|
+
readonly root: HuiElementInstance<E> | null;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
//# sourceMappingURL=hr.types.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ElementType, HuiElementInstance, HuiElementPropsNoInfer } from "../../types/element.js";
|
|
2
|
+
import "../../types/index.js";
|
|
3
|
+
import { HrOwnProps } from "./hr.types.js";
|
|
4
|
+
import { ClassValue, StyleValue } from "vue";
|
|
5
|
+
//#region src/components/hr/hr.vue.d.ts
|
|
6
|
+
declare const __VLS_export: <E extends ElementType = "hr">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<HrOwnProps & {
|
|
8
|
+
as?: E | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
class?: ClassValue | undefined;
|
|
11
|
+
style?: StyleValue | undefined;
|
|
12
|
+
} & Omit<HuiElementPropsNoInfer<E>, "style" | "class" | "as">> & (typeof globalThis extends {
|
|
13
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
14
|
+
} ? P : {});
|
|
15
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
16
|
+
root: Readonly<import("vue").ShallowRef<HuiElementInstance<E> | null>>;
|
|
17
|
+
}>) => void;
|
|
18
|
+
attrs: any;
|
|
19
|
+
slots: {};
|
|
20
|
+
emit: {};
|
|
21
|
+
}>) => import("vue").VNode & {
|
|
22
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
23
|
+
};
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { _default as default };
|
|
28
|
+
//# sourceMappingURL=hr.vue.d.ts.map
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { AlertExposed, AlertProps } from "./alert/alert.types.js";
|
|
2
|
+
import _default from "./alert/alert.vue.js";
|
|
3
|
+
import "./alert/index.js";
|
|
4
|
+
import { AnchorExposed, AnchorProps } from "./anchor/anchor.types.js";
|
|
5
|
+
import _default$1 from "./anchor/anchor.vue.js";
|
|
6
|
+
import "./anchor/index.js";
|
|
7
|
+
import { AvatarExposed, AvatarProps } from "./avatar/avatar.types.js";
|
|
8
|
+
import _default$2 from "./avatar/avatar.vue.js";
|
|
9
|
+
import "./avatar/index.js";
|
|
10
|
+
import { BlockquoteExposed, BlockquoteProps } from "./blockquote/blockquote.types.js";
|
|
11
|
+
import _default$3 from "./blockquote/blockquote.vue.js";
|
|
12
|
+
import "./blockquote/index.js";
|
|
13
|
+
import { ButtonExposed, ButtonProps } from "./button/button.types.js";
|
|
14
|
+
import _default$4 from "./button/button.vue.js";
|
|
15
|
+
import "./button/index.js";
|
|
16
|
+
import { CheckboxExposed, CheckboxProps } from "./checkbox/checkbox.types.js";
|
|
17
|
+
import _default$5 from "./checkbox/checkbox.vue.js";
|
|
18
|
+
import "./checkbox/index.js";
|
|
19
|
+
import { CodeExposed, CodeProps } from "./code/code.types.js";
|
|
20
|
+
import _default$6 from "./code/code.vue.js";
|
|
21
|
+
import "./code/index.js";
|
|
22
|
+
import { DetailsExposed, DetailsProps } from "./details/details.types.js";
|
|
23
|
+
import _default$7 from "./details/details.vue.js";
|
|
24
|
+
import "./details/index.js";
|
|
25
|
+
import { DialogCloseExposed, DialogCloseProps, DialogContentExposed, DialogContentProps, DialogHeadingOptions, DialogProps, DialogTriggerExposed, DialogTriggerProps } from "./dialog/dialog.types.js";
|
|
26
|
+
import _default$8 from "./dialog/dialog-close.vue.js";
|
|
27
|
+
import _default$9 from "./dialog/dialog-content.vue.js";
|
|
28
|
+
import _default$10 from "./dialog/dialog-trigger.vue.js";
|
|
29
|
+
import { useDialogId } from "./dialog/dialog.context.js";
|
|
30
|
+
import _default$11 from "./dialog/dialog.vue.js";
|
|
31
|
+
import "./dialog/index.js";
|
|
32
|
+
import _default$12 from "./dl/dl-dd.vue.js";
|
|
33
|
+
import _default$13 from "./dl/dl-dt.vue.js";
|
|
34
|
+
import { DlDdExposed, DlDdProps, DlDtExposed, DlDtProps, DlExposed, DlProps } from "./dl/dl.types.js";
|
|
35
|
+
import _default$14 from "./dl/dl.vue.js";
|
|
36
|
+
import "./dl/index.js";
|
|
37
|
+
import { DrawerCloseExposed, DrawerCloseProps, DrawerContentExposed, DrawerContentProps, DrawerHeadingOptions, DrawerProps, DrawerTriggerExposed, DrawerTriggerProps } from "./drawer/drawer.types.js";
|
|
38
|
+
import _default$15 from "./drawer/drawer-close.vue.js";
|
|
39
|
+
import _default$16 from "./drawer/drawer-content.vue.js";
|
|
40
|
+
import _default$17 from "./drawer/drawer-trigger.vue.js";
|
|
41
|
+
import { useDrawerId } from "./drawer/drawer.context.js";
|
|
42
|
+
import _default$18 from "./drawer/drawer.vue.js";
|
|
43
|
+
import "./drawer/index.js";
|
|
44
|
+
import { FieldsetExposed, FieldsetProps } from "./fieldset/fieldset.types.js";
|
|
45
|
+
import _default$19 from "./fieldset/fieldset.vue.js";
|
|
46
|
+
import "./fieldset/index.js";
|
|
47
|
+
import { HeadingExposed, HeadingProps } from "./heading/heading.types.js";
|
|
48
|
+
import _default$20 from "./heading/heading.vue.js";
|
|
49
|
+
import "./heading/index.js";
|
|
50
|
+
import { HrExposed, HrProps } from "./hr/hr.types.js";
|
|
51
|
+
import _default$21 from "./hr/hr.vue.js";
|
|
52
|
+
import "./hr/index.js";
|
|
53
|
+
import { LabelExposed, LabelProps } from "./label/label.types.js";
|
|
54
|
+
import _default$22 from "./label/label.vue.js";
|
|
55
|
+
import "./label/index.js";
|
|
56
|
+
import { InputExposed, InputProps } from "./input/input.types.js";
|
|
57
|
+
import _default$23 from "./input/input.vue.js";
|
|
58
|
+
import "./input/index.js";
|
|
59
|
+
import { MenuContentExposed, MenuContentProps, MenuItemExposed, MenuItemProps, MenuProps, MenuTriggerExposed, MenuTriggerProps } from "./menu/menu.types.js";
|
|
60
|
+
import _default$24 from "./menu/menu-content.vue.js";
|
|
61
|
+
import _default$25 from "./menu/menu-item.vue.js";
|
|
62
|
+
import _default$26 from "./menu/menu-trigger.vue.js";
|
|
63
|
+
import { useMenuId } from "./menu/menu.context.js";
|
|
64
|
+
import _default$27 from "./menu/menu.vue.js";
|
|
65
|
+
import "./menu/index.js";
|
|
66
|
+
import { ParagraphExposed, ParagraphProps } from "./paragraph/paragraph.types.js";
|
|
67
|
+
import _default$28 from "./paragraph/paragraph.vue.js";
|
|
68
|
+
import "./paragraph/index.js";
|
|
69
|
+
import { PopoverContentExposed, PopoverContentProps, PopoverProps, PopoverTriggerExposed, PopoverTriggerProps } from "./popover/popover.types.js";
|
|
70
|
+
import _default$29 from "./popover/popover-content.vue.js";
|
|
71
|
+
import _default$30 from "./popover/popover-trigger.vue.js";
|
|
72
|
+
import { usePopoverId } from "./popover/popover.context.js";
|
|
73
|
+
import _default$31 from "./popover/popover.vue.js";
|
|
74
|
+
import "./popover/index.js";
|
|
75
|
+
import { ProgressExposed, ProgressProps } from "./progress/progress.types.js";
|
|
76
|
+
import _default$32 from "./progress/progress.vue.js";
|
|
77
|
+
import "./progress/index.js";
|
|
78
|
+
import { RadioExposed, RadioProps } from "./radio/radio.types.js";
|
|
79
|
+
import _default$33 from "./radio/radio.vue.js";
|
|
80
|
+
import "./radio/index.js";
|
|
81
|
+
import { RadiogroupExposed, RadiogroupProps } from "./radiogroup/radiogroup.types.js";
|
|
82
|
+
import _default$34 from "./radiogroup/radiogroup.vue.js";
|
|
83
|
+
import "./radiogroup/index.js";
|
|
84
|
+
import { SectionExposed, SectionProps } from "./section/section.types.js";
|
|
85
|
+
import _default$35 from "./section/section.vue.js";
|
|
86
|
+
import "./section/index.js";
|
|
87
|
+
import { SegmentedControlExposed, SegmentedControlItemExposed, SegmentedControlItemProps, SegmentedControlProps } from "./segmented-control/segmented-control.types.js";
|
|
88
|
+
import _default$36 from "./segmented-control/segmented-control-item.vue.js";
|
|
89
|
+
import _default$37 from "./segmented-control/segmented-control.vue.js";
|
|
90
|
+
import "./segmented-control/index.js";
|
|
91
|
+
import { SelectExposed, SelectProps } from "./select/select.types.js";
|
|
92
|
+
import _default$38 from "./select/select.vue.js";
|
|
93
|
+
import "./select/index.js";
|
|
94
|
+
import { TableCaptionExposed, TableCaptionOwnProps, TableCaptionProps, TableExposed, TableOwnProps, TableProps, TableTbodyExposed, TableTbodyProps, TableTdExposed, TableTdProps, TableTfootExposed, TableTfootProps, TableThExposed, TableThProps, TableTheadExposed, TableTheadProps, TableTrExposed, TableTrOwnProps, TableTrProps } from "./table/table.types.js";
|
|
95
|
+
import _default$39 from "./table/table-caption.vue.js";
|
|
96
|
+
import _default$40 from "./table/table-tbody.vue.js";
|
|
97
|
+
import _default$41 from "./table/table-td.vue.js";
|
|
98
|
+
import _default$42 from "./table/table-tfoot.vue.js";
|
|
99
|
+
import _default$43 from "./table/table-th.vue.js";
|
|
100
|
+
import _default$44 from "./table/table-thead.vue.js";
|
|
101
|
+
import _default$45 from "./table/table-tr.vue.js";
|
|
102
|
+
import _default$46 from "./table/table.vue.js";
|
|
103
|
+
import "./table/index.js";
|
|
104
|
+
import _default$47 from "./tabs/tabs-list.vue.js";
|
|
105
|
+
import { ActivationMode, TabsExposed, TabsListExposed, TabsListProps, TabsPanelExposed, TabsPanelProps, TabsProps, TabsTabExposed, TabsTabProps } from "./tabs/tabs.types.js";
|
|
106
|
+
import _default$48 from "./tabs/tabs-panel.vue.js";
|
|
107
|
+
import _default$49 from "./tabs/tabs-tab.vue.js";
|
|
108
|
+
import _default$50 from "./tabs/tabs.vue.js";
|
|
109
|
+
import "./tabs/index.js";
|
|
110
|
+
import { TextareaExposed, TextareaProps } from "./textarea/textarea.types.js";
|
|
111
|
+
import _default$51 from "./textarea/textarea.vue.js";
|
|
112
|
+
import "./textarea/index.js";
|
|
113
|
+
import { TooltipContentExposed, TooltipContentProps, TooltipProps, TooltipTriggerExposed, TooltipTriggerProps } from "./tooltip/tooltip.types.js";
|
|
114
|
+
import _default$52 from "./tooltip/tooltip-content.vue.js";
|
|
115
|
+
import _default$53 from "./tooltip/tooltip-trigger.vue.js";
|
|
116
|
+
import { useTooltipId } from "./tooltip/tooltip.context.js";
|
|
117
|
+
import _default$54 from "./tooltip/tooltip.vue.js";
|
|
118
|
+
import "./tooltip/index.js";
|
|
119
|
+
import { VisuallyHiddenExposed, VisuallyHiddenProps } from "./visually-hidden/visually-hidden.types.js";
|
|
120
|
+
import _default$55 from "./visually-hidden/visually-hidden.vue.js";
|
|
121
|
+
import "./visually-hidden/index.js";
|
|
122
|
+
export { type ActivationMode, _default as Alert, type AlertExposed, type AlertProps, _default$1 as Anchor, type AnchorExposed, type AnchorProps, _default$2 as Avatar, type AvatarExposed, type AvatarProps, _default$3 as Blockquote, type BlockquoteExposed, type BlockquoteProps, _default$4 as Button, type ButtonExposed, type ButtonProps, _default$5 as Checkbox, type CheckboxExposed, type CheckboxProps, _default$6 as Code, type CodeExposed, type CodeProps, _default$7 as Details, type DetailsExposed, type DetailsProps, _default$11 as Dialog, _default$8 as DialogClose, type DialogCloseExposed, type DialogCloseProps, _default$9 as DialogContent, type DialogContentExposed, type DialogContentProps, type DialogHeadingOptions, type DialogProps, _default$10 as DialogTrigger, type DialogTriggerExposed, type DialogTriggerProps, _default$14 as Dl, _default$12 as DlDd, type DlDdExposed, type DlDdProps, _default$13 as DlDt, type DlDtExposed, type DlDtProps, type DlExposed, type DlProps, _default$18 as Drawer, _default$15 as DrawerClose, type DrawerCloseExposed, type DrawerCloseProps, _default$16 as DrawerContent, type DrawerContentExposed, type DrawerContentProps, type DrawerHeadingOptions, type DrawerProps, _default$17 as DrawerTrigger, type DrawerTriggerExposed, type DrawerTriggerProps, _default$19 as Fieldset, type FieldsetExposed, type FieldsetProps, _default$20 as Heading, type HeadingExposed, type HeadingProps, _default$21 as Hr, type HrExposed, type HrProps, _default$23 as Input, type InputExposed, type InputProps, _default$22 as Label, type LabelExposed, type LabelProps, _default$27 as Menu, _default$24 as MenuContent, type MenuContentExposed, type MenuContentProps, _default$25 as MenuItem, type MenuItemExposed, type MenuItemProps, type MenuProps, _default$26 as MenuTrigger, type MenuTriggerExposed, type MenuTriggerProps, _default$28 as Paragraph, type ParagraphExposed, type ParagraphProps, _default$31 as Popover, _default$29 as PopoverContent, type PopoverContentExposed, type PopoverContentProps, type PopoverProps, _default$30 as PopoverTrigger, type PopoverTriggerExposed, type PopoverTriggerProps, _default$32 as Progress, type ProgressExposed, type ProgressProps, _default$33 as Radio, type RadioExposed, type RadioProps, _default$34 as Radiogroup, type RadiogroupExposed, type RadiogroupProps, _default$35 as Section, type SectionExposed, type SectionProps, _default$37 as SegmentedControl, type SegmentedControlExposed, _default$36 as SegmentedControlItem, type SegmentedControlItemExposed, type SegmentedControlItemProps, type SegmentedControlProps, _default$38 as Select, type SelectExposed, type SelectProps, _default$46 as Table, _default$39 as TableCaption, type TableCaptionExposed, type TableCaptionOwnProps, type TableCaptionProps, type TableExposed, type TableOwnProps, type TableProps, _default$40 as TableTbody, type TableTbodyExposed, type TableTbodyProps, _default$41 as TableTd, type TableTdExposed, type TableTdProps, _default$42 as TableTfoot, type TableTfootExposed, type TableTfootProps, _default$43 as TableTh, type TableThExposed, type TableThProps, _default$44 as TableThead, type TableTheadExposed, type TableTheadProps, _default$45 as TableTr, type TableTrExposed, type TableTrOwnProps, type TableTrProps, _default$50 as Tabs, type TabsExposed, _default$47 as TabsList, type TabsListExposed, type TabsListProps, _default$48 as TabsPanel, type TabsPanelExposed, type TabsPanelProps, type TabsProps, _default$49 as TabsTab, type TabsTabExposed, type TabsTabProps, _default$51 as Textarea, type TextareaExposed, type TextareaProps, _default$54 as Tooltip, _default$52 as TooltipContent, type TooltipContentExposed, type TooltipContentProps, type TooltipProps, _default$53 as TooltipTrigger, type TooltipTriggerExposed, type TooltipTriggerProps, _default$55 as VisuallyHidden, type VisuallyHiddenExposed, type VisuallyHiddenProps, useDialogId, useDrawerId, useMenuId, usePopoverId, useTooltipId };
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { useHuiAttrs, useHuiClasses, useHuiProps, useHuiStyles } from "../../provider/hui-provider.context.js";
|
|
2
|
+
import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.js";
|
|
3
|
+
import { attrToBool } from "../../utils/attr-to-bool.js";
|
|
4
|
+
import label_default from "../label/label.js";
|
|
5
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, defineComponent, mergeProps, normalizeClass, normalizeProps, normalizeStyle, onBeforeUpdate, openBlock, ref, renderSlot, useAttrs, useId, useSlots, useTemplateRef, withCtx } from "vue";
|
|
6
|
+
import { inputControl, inputRecipe, toStrbool } from "@hebium-ui/core";
|
|
7
|
+
//#region src/components/input/input.vue
|
|
8
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
9
|
+
name: "HuiInput",
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
__name: "input",
|
|
12
|
+
props: {
|
|
13
|
+
color: {
|
|
14
|
+
type: null,
|
|
15
|
+
required: false
|
|
16
|
+
},
|
|
17
|
+
labelProps: {
|
|
18
|
+
type: null,
|
|
19
|
+
required: false
|
|
20
|
+
},
|
|
21
|
+
classes: {
|
|
22
|
+
type: null,
|
|
23
|
+
required: false
|
|
24
|
+
},
|
|
25
|
+
styles: {
|
|
26
|
+
type: null,
|
|
27
|
+
required: false
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
setup(__props, { expose: __expose }) {
|
|
31
|
+
const props = __props;
|
|
32
|
+
const slots = useSlots();
|
|
33
|
+
const attrs = useAttrs();
|
|
34
|
+
const resolvedProps = useHuiProps("Input", props, attrs);
|
|
35
|
+
const generatedId = useId();
|
|
36
|
+
const hasLabel = ref(Boolean(slots.label || slots.description || slots.error));
|
|
37
|
+
const hasError = ref(Boolean(slots.error));
|
|
38
|
+
onBeforeUpdate(() => {
|
|
39
|
+
hasLabel.value = Boolean(slots.label || slots.description || slots.error);
|
|
40
|
+
hasError.value = Boolean(slots.error);
|
|
41
|
+
});
|
|
42
|
+
const inputState = computed(() => {
|
|
43
|
+
const resolved = resolvedProps.value;
|
|
44
|
+
return {
|
|
45
|
+
id: resolved.id || generatedId,
|
|
46
|
+
invalid: hasError.value,
|
|
47
|
+
required: attrToBool(resolved.required ?? resolved["aria-required"]),
|
|
48
|
+
disabled: attrToBool(resolved.disabled) || attrToBool(resolved["aria-disabled"]),
|
|
49
|
+
readOnly: attrToBool(resolved.readonly) || attrToBool(resolved["aria-readonly"])
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
const recipe = computed(() => {
|
|
53
|
+
const state = inputState.value;
|
|
54
|
+
return inputRecipe({
|
|
55
|
+
color: resolvedProps.value.color,
|
|
56
|
+
error: toStrbool(state.invalid)
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
const cls = useHuiClasses("Input", recipe, computed(() => props.classes ?? {}));
|
|
60
|
+
const sls = useHuiStyles("Input", computed(() => props.styles ?? {}));
|
|
61
|
+
const forwardedAttrs = useHuiAttrs(resolvedProps, [
|
|
62
|
+
"id",
|
|
63
|
+
"color",
|
|
64
|
+
"labelProps",
|
|
65
|
+
"classes",
|
|
66
|
+
"styles",
|
|
67
|
+
"class",
|
|
68
|
+
"style"
|
|
69
|
+
]);
|
|
70
|
+
const inputAttrs = computed(() => ({
|
|
71
|
+
...inputControl.getControlAttributes(inputState.value),
|
|
72
|
+
...forwardedAttrs.value
|
|
73
|
+
}));
|
|
74
|
+
const labelAttrs = computed(() => ({
|
|
75
|
+
...inputControl.getLabelAttributes(inputState.value),
|
|
76
|
+
...resolvedProps.value.labelProps
|
|
77
|
+
}));
|
|
78
|
+
const inputRef = useTemplateRef("input");
|
|
79
|
+
__expose({ input: inputRef });
|
|
80
|
+
const __returned__ = {
|
|
81
|
+
props,
|
|
82
|
+
slots,
|
|
83
|
+
attrs,
|
|
84
|
+
resolvedProps,
|
|
85
|
+
generatedId,
|
|
86
|
+
hasLabel,
|
|
87
|
+
hasError,
|
|
88
|
+
inputState,
|
|
89
|
+
recipe,
|
|
90
|
+
cls,
|
|
91
|
+
sls,
|
|
92
|
+
forwardedAttrs,
|
|
93
|
+
inputAttrs,
|
|
94
|
+
labelAttrs,
|
|
95
|
+
inputRef,
|
|
96
|
+
get Label() {
|
|
97
|
+
return label_default;
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
101
|
+
enumerable: false,
|
|
102
|
+
value: true
|
|
103
|
+
});
|
|
104
|
+
return __returned__;
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
108
|
+
return openBlock(), createElementBlock("div", {
|
|
109
|
+
class: normalizeClass($setup.cls.root),
|
|
110
|
+
style: normalizeStyle($setup.sls.root)
|
|
111
|
+
}, [$setup.hasLabel ? (openBlock(), createBlock($setup["Label"], normalizeProps(mergeProps({ key: 0 }, $setup.labelAttrs)), createSlots({ _: 2 }, [
|
|
112
|
+
$setup.slots.label ? {
|
|
113
|
+
name: "default",
|
|
114
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "label")]),
|
|
115
|
+
key: "0"
|
|
116
|
+
} : void 0,
|
|
117
|
+
$setup.slots.description ? {
|
|
118
|
+
name: "description",
|
|
119
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "description")]),
|
|
120
|
+
key: "1"
|
|
121
|
+
} : void 0,
|
|
122
|
+
$setup.slots.error ? {
|
|
123
|
+
name: "error",
|
|
124
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "error")]),
|
|
125
|
+
key: "2"
|
|
126
|
+
} : void 0
|
|
127
|
+
]), 1040)) : createCommentVNode("v-if", true), createElementVNode("input", mergeProps({ ref: "input" }, $setup.inputAttrs, {
|
|
128
|
+
class: $setup.cls.input,
|
|
129
|
+
style: $setup.sls.input
|
|
130
|
+
}), null, 16)], 6);
|
|
131
|
+
}
|
|
132
|
+
var input_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/Users/dawn/Desktop/dev/hebium-ui/packages/vue/src/components/input/input.vue"]]);
|
|
133
|
+
//#endregion
|
|
134
|
+
export { input_default as default };
|
|
135
|
+
|
|
136
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","names":["_useSlots","Label","_openBlock","_createElementBlock","_normalizeClass","_normalizeStyle","_createBlock","_normalizeProps","_mergeProps","_createSlots","_withCtx","_renderSlot","_createCommentVNode","_createElementVNode"],"sources":["../../../src/components/input/input.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport {\n inputControl,\n inputRecipe,\n type InputSlots as InputRecipeSlots,\n toStrbool,\n} from \"@hebium-ui/core\";\nimport {\n type ClassValue,\n computed,\n onBeforeUpdate,\n ref,\n type StyleValue,\n useAttrs,\n useId,\n useTemplateRef,\n} from \"vue\";\nimport {\n useHuiAttrs,\n useHuiClasses,\n useHuiProps,\n useHuiStyles,\n} from \"~/provider\";\nimport type { HuiElementInstance, HuiElementPropsNoInfer } from \"~/types\";\nimport { attrToBool } from \"~/utils\";\nimport { Label } from \"../label\";\nimport type { InputOwnProps } from \"./input.types\";\n\ndefineOptions({\n name: \"HuiInput\",\n inheritAttrs: false,\n});\n\ntype Props =\n & InputOwnProps\n & {\n classes?:\n | Partial<Record<InputRecipeSlots, ClassValue | undefined>>\n | undefined;\n styles?:\n | Partial<Record<InputRecipeSlots, StyleValue | undefined>>\n | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"input\">,\n keyof InputOwnProps | \"children\" | \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\nconst slots = defineSlots<{\n label?: () => unknown;\n description?: () => unknown;\n error?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"Input\", props, attrs);\nconst generatedId = useId();\nconst hasLabel = ref(Boolean(slots.label || slots.description || slots.error));\nconst hasError = ref(Boolean(slots.error));\n\nonBeforeUpdate(() => {\n hasLabel.value = Boolean(slots.label || slots.description || slots.error);\n hasError.value = Boolean(slots.error);\n});\n\nconst inputState = computed(() => {\n const resolved = resolvedProps.value;\n\n return {\n id: resolved.id || generatedId,\n invalid: hasError.value,\n required: attrToBool(resolved.required ?? resolved[\"aria-required\"]),\n disabled: attrToBool(resolved.disabled)\n || attrToBool(resolved[\"aria-disabled\"]),\n readOnly: attrToBool(resolved.readonly)\n || attrToBool(resolved[\"aria-readonly\"]),\n };\n});\nconst recipe = computed(() => {\n const state = inputState.value;\n\n return inputRecipe({\n color: resolvedProps.value.color,\n error: toStrbool(state.invalid),\n });\n});\nconst cls = useHuiClasses(\n \"Input\",\n recipe,\n computed(() => props.classes ?? {}),\n);\nconst sls = useHuiStyles<\"Input\", InputRecipeSlots>(\n \"Input\",\n computed(() => props.styles ?? {}),\n);\nconst forwardedAttrs = useHuiAttrs(resolvedProps, [\n \"id\",\n \"color\",\n \"labelProps\",\n \"classes\",\n \"styles\",\n \"class\",\n \"style\",\n]);\nconst inputAttrs = computed<Record<string, unknown>>(() => ({\n ...inputControl.getControlAttributes(inputState.value),\n ...forwardedAttrs.value,\n}));\nconst labelAttrs = computed<Record<string, unknown>>(() => ({\n ...inputControl.getLabelAttributes(inputState.value),\n ...resolvedProps.value.labelProps,\n}));\nconst inputRef = useTemplateRef<HuiElementInstance<\"input\">>(\"input\");\n\ndefineExpose({\n input: inputRef,\n});\n</script>\n\n<template>\n <div :class=\"cls.root\" :style=\"sls.root\">\n <Label v-if=\"hasLabel\" v-bind=\"labelAttrs\">\n <template v-if=\"slots.label\" #default>\n <slot name=\"label\" />\n </template>\n <template v-if=\"slots.description\" #description>\n <slot name=\"description\" />\n </template>\n <template v-if=\"slots.error\" #error>\n <slot name=\"error\" />\n </template>\n </Label>\n <input\n ref=\"input\"\n v-bind=\"inputAttrs\"\n :class=\"cls.input\"\n :style=\"sls.input\"\n />\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDA,MAAM,QAAQ;EAEd,MAAM,QAAQA,SAAA;EAMd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,SAAS,OAAO,KAAK;EACvD,MAAM,cAAc,MAAM;EAC1B,MAAM,WAAW,IAAI,QAAQ,MAAM,SAAS,MAAM,eAAe,MAAM,KAAK,CAAC;EAC7E,MAAM,WAAW,IAAI,QAAQ,MAAM,KAAK,CAAC;EAEzC,qBAAqB;GACnB,SAAS,QAAQ,QAAQ,MAAM,SAAS,MAAM,eAAe,MAAM,KAAK;GACxE,SAAS,QAAQ,QAAQ,MAAM,KAAK;EACtC,CAAC;EAED,MAAM,aAAa,eAAe;GAChC,MAAM,WAAW,cAAc;GAE/B,OAAO;IACL,IAAI,SAAS,MAAM;IACnB,SAAS,SAAS;IAClB,UAAU,WAAW,SAAS,YAAY,SAAS,gBAAgB;IACnE,UAAU,WAAW,SAAS,QAAQ,KACjC,WAAW,SAAS,gBAAgB;IACzC,UAAU,WAAW,SAAS,QAAQ,KACjC,WAAW,SAAS,gBAAgB;GAC3C;EACF,CAAC;EACD,MAAM,SAAS,eAAe;GAC5B,MAAM,QAAQ,WAAW;GAEzB,OAAO,YAAY;IACjB,OAAO,cAAc,MAAM;IAC3B,OAAO,UAAU,MAAM,OAAO;GAChC,CAAC;EACH,CAAC;EACD,MAAM,MAAM,cACV,SACA,QACA,eAAe,MAAM,WAAW,CAAC,CAAC,CACpC;EACA,MAAM,MAAM,aACV,SACA,eAAe,MAAM,UAAU,CAAC,CAAC,CACnC;EACA,MAAM,iBAAiB,YAAY,eAAe;GAChD;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAAC;EACD,MAAM,aAAa,gBAAyC;GAC1D,GAAG,aAAa,qBAAqB,WAAW,KAAK;GACrD,GAAG,eAAe;EACpB,EAAE;EACF,MAAM,aAAa,gBAAyC;GAC1D,GAAG,aAAa,mBAAmB,WAAW,KAAK;GACnD,GAAG,cAAc,MAAM;EACzB,EAAE;EACF,MAAM,WAAW,eAA4C,OAAO;EAEpE,SAAa,EACX,OAAO,SACT,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIC,OAAAE,UAAA,GAAAC,mBAkBM,OAAA;EAlBA,OAAKC,eAAE,OAAA,IAAI,IAAI;EAAG,OAAKC,eAAE,OAAA,IAAI,IAAI;CACxB,GAAA,CAAA,OAAA,YAAbH,UAAA,GAAAI,YAUQ,OAAA,UAAAC,eAAAC,WAAA,EAAA,KAAA,EAAA,GAVuB,OAAA,UAAU,CAAA,GAAAC,YAAA,EAAA,GAAA,EAAA,GAAA;EACvB,OAAA,MAAM,QAAA;GAAQ,MAAA;GAC5B,IAAAC,cAAqB,CAArBC,WAAqB,KAAA,QAAA,OAAA,CAAA,CAAA;;;EAEP,OAAA,MAAM,cAAA;GAAc,MAAA;GAClC,IAAAD,cAA2B,CAA3BC,WAA2B,KAAA,QAAA,aAAA,CAAA,CAAA;;;EAEb,OAAA,MAAM,QAAA;GAAQ,MAAA;GAC5B,IAAAD,cAAqB,CAArBC,WAAqB,KAAA,QAAA,OAAA,CAAA,CAAA;;;CAGzB,CAAA,GAAA,IAAA,KAAAC,mBAAA,QAAA,IAAA,GAAAC,mBAKE,SALFL,WAKE,EAJA,KAAI,QAAO,GACH,OAAA,YAAU;EACjB,OAAO,OAAA,IAAI;EACX,OAAO,OAAA,IAAI"}
|