@hebium-ui/vue 0.1.0-alpha.1 → 0.1.0-alpha.3
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/_virtual/_/plugin-vue/export-helper.js +1 -2
- package/dist/components/alert/alert.js +2 -5
- package/dist/components/alert/alert.js.map +1 -1
- package/dist/components/alert/alert.types.d.ts +0 -2
- package/dist/components/alert/alert.vue.d.ts +0 -2
- package/dist/components/anchor/anchor.js +2 -5
- package/dist/components/anchor/anchor.js.map +1 -1
- package/dist/components/anchor/anchor.types.d.ts +0 -2
- package/dist/components/anchor/anchor.vue.d.ts +1 -3
- package/dist/components/avatar/avatar.js +2 -7
- package/dist/components/avatar/avatar.js.map +1 -1
- package/dist/components/avatar/avatar.types.d.ts +0 -2
- package/dist/components/avatar/avatar.vue.d.ts +0 -2
- package/dist/components/blockquote/blockquote.js +2 -10
- package/dist/components/blockquote/blockquote.js.map +1 -1
- package/dist/components/blockquote/blockquote.types.d.ts +0 -2
- package/dist/components/blockquote/blockquote.vue.d.ts +0 -2
- package/dist/components/button/button.js +2 -5
- package/dist/components/button/button.js.map +1 -1
- package/dist/components/button/button.types.d.ts +0 -2
- package/dist/components/button/button.vue.d.ts +1 -3
- package/dist/components/checkbox/checkbox.js +18 -15
- package/dist/components/checkbox/checkbox.js.map +1 -1
- package/dist/components/checkbox/checkbox.types.d.ts +1 -3
- package/dist/components/checkbox/checkbox.vue.d.ts +0 -2
- package/dist/components/code/code.js +2 -7
- package/dist/components/code/code.js.map +1 -1
- package/dist/components/code/code.types.d.ts +0 -2
- package/dist/components/code/code.vue.d.ts +1 -3
- package/dist/components/details/details.js +2 -9
- package/dist/components/details/details.js.map +1 -1
- package/dist/components/details/details.types.d.ts +0 -2
- package/dist/components/details/details.vue.d.ts +0 -2
- package/dist/components/dialog/dialog-close.js +2 -3
- package/dist/components/dialog/dialog-close.js.map +1 -1
- package/dist/components/dialog/dialog-close.vue.d.ts +0 -2
- package/dist/components/dialog/dialog-content.js +1 -6
- package/dist/components/dialog/dialog-content.js.map +1 -1
- package/dist/components/dialog/dialog-content.vue.d.ts +0 -2
- package/dist/components/dialog/dialog-trigger.js +2 -8
- package/dist/components/dialog/dialog-trigger.js.map +1 -1
- package/dist/components/dialog/dialog-trigger.vue.d.ts +1 -3
- package/dist/components/dialog/dialog.context.d.ts +0 -2
- package/dist/components/dialog/dialog.context.js +1 -2
- package/dist/components/dialog/dialog.js +1 -2
- package/dist/components/dialog/dialog.types.d.ts +0 -2
- package/dist/components/dialog/dialog.vue.d.ts +0 -2
- package/dist/components/dl/dl-dd.js +2 -3
- package/dist/components/dl/dl-dd.js.map +1 -1
- package/dist/components/dl/dl-dd.vue.d.ts +0 -2
- package/dist/components/dl/dl-dt.js +2 -3
- package/dist/components/dl/dl-dt.js.map +1 -1
- package/dist/components/dl/dl-dt.vue.d.ts +0 -2
- package/dist/components/dl/dl.js +2 -3
- package/dist/components/dl/dl.js.map +1 -1
- package/dist/components/dl/dl.types.d.ts +0 -2
- package/dist/components/dl/dl.vue.d.ts +0 -2
- package/dist/components/drawer/drawer-close.js +2 -3
- package/dist/components/drawer/drawer-close.js.map +1 -1
- package/dist/components/drawer/drawer-close.vue.d.ts +0 -2
- package/dist/components/drawer/drawer-content.js +1 -6
- package/dist/components/drawer/drawer-content.js.map +1 -1
- package/dist/components/drawer/drawer-content.vue.d.ts +0 -2
- package/dist/components/drawer/drawer-trigger.js +2 -7
- package/dist/components/drawer/drawer-trigger.js.map +1 -1
- package/dist/components/drawer/drawer-trigger.vue.d.ts +1 -3
- package/dist/components/drawer/drawer.context.d.ts +0 -2
- package/dist/components/drawer/drawer.context.js +1 -2
- package/dist/components/drawer/drawer.js +1 -2
- package/dist/components/drawer/drawer.types.d.ts +0 -2
- package/dist/components/drawer/drawer.vue.d.ts +0 -2
- package/dist/components/fieldset/fieldset.js +2 -3
- package/dist/components/fieldset/fieldset.js.map +1 -1
- package/dist/components/fieldset/fieldset.types.d.ts +0 -2
- package/dist/components/fieldset/fieldset.vue.d.ts +0 -2
- package/dist/components/heading/heading.js +2 -8
- package/dist/components/heading/heading.js.map +1 -1
- package/dist/components/heading/heading.types.d.ts +0 -2
- package/dist/components/heading/heading.vue.d.ts +0 -2
- package/dist/components/hr/hr.js +2 -7
- package/dist/components/hr/hr.js.map +1 -1
- package/dist/components/hr/hr.types.d.ts +0 -2
- package/dist/components/hr/hr.vue.d.ts +1 -3
- package/dist/components/index.d.ts +24 -18
- package/dist/components/input/input.js +10 -14
- package/dist/components/input/input.js.map +1 -1
- package/dist/components/input/input.types.d.ts +0 -2
- package/dist/components/input/input.vue.d.ts +0 -2
- package/dist/components/label/label.js +2 -7
- package/dist/components/label/label.js.map +1 -1
- package/dist/components/label/label.types.d.ts +0 -2
- package/dist/components/label/label.vue.d.ts +1 -3
- package/dist/components/menu/menu-content.js +1 -4
- package/dist/components/menu/menu-content.js.map +1 -1
- package/dist/components/menu/menu-content.vue.d.ts +1 -3
- package/dist/components/menu/menu-item.js +1 -4
- package/dist/components/menu/menu-item.js.map +1 -1
- package/dist/components/menu/menu-item.vue.d.ts +1 -3
- package/dist/components/menu/menu-trigger.js +2 -8
- package/dist/components/menu/menu-trigger.js.map +1 -1
- package/dist/components/menu/menu-trigger.vue.d.ts +1 -3
- package/dist/components/menu/menu.context.d.ts +0 -2
- package/dist/components/menu/menu.context.js +1 -2
- package/dist/components/menu/menu.js +1 -2
- package/dist/components/menu/menu.types.d.ts +0 -2
- package/dist/components/menu/menu.vue.d.ts +0 -2
- package/dist/components/paragraph/paragraph.js +10 -5
- package/dist/components/paragraph/paragraph.js.map +1 -1
- package/dist/components/paragraph/paragraph.types.d.ts +6 -2
- package/dist/components/paragraph/paragraph.vue.d.ts +1 -3
- package/dist/components/popover/popover-content.js +2 -5
- package/dist/components/popover/popover-content.js.map +1 -1
- package/dist/components/popover/popover-content.vue.d.ts +1 -3
- package/dist/components/popover/popover-trigger.js +2 -7
- package/dist/components/popover/popover-trigger.js.map +1 -1
- package/dist/components/popover/popover-trigger.vue.d.ts +1 -3
- package/dist/components/popover/popover.context.d.ts +0 -2
- package/dist/components/popover/popover.context.js +1 -2
- package/dist/components/popover/popover.js +1 -2
- package/dist/components/popover/popover.types.d.ts +0 -2
- package/dist/components/popover/popover.vue.d.ts +0 -2
- package/dist/components/progress/progress.js +3 -7
- package/dist/components/progress/progress.js.map +1 -1
- package/dist/components/progress/progress.types.d.ts +0 -2
- package/dist/components/progress/progress.vue.d.ts +0 -2
- package/dist/components/radio/radio.js +4 -11
- package/dist/components/radio/radio.js.map +1 -1
- package/dist/components/radio/radio.types.d.ts +0 -2
- package/dist/components/radio/radio.vue.d.ts +0 -2
- package/dist/components/radiogroup/radiogroup.js +11 -9
- package/dist/components/radiogroup/radiogroup.js.map +1 -1
- package/dist/components/radiogroup/radiogroup.types.d.ts +0 -2
- package/dist/components/radiogroup/radiogroup.vue.d.ts +1 -3
- package/dist/components/section/section.js +2 -5
- package/dist/components/section/section.js.map +1 -1
- package/dist/components/section/section.types.d.ts +0 -2
- package/dist/components/section/section.vue.d.ts +1 -3
- package/dist/components/segmented-control/segmented-control-item.js +1 -4
- package/dist/components/segmented-control/segmented-control-item.js.map +1 -1
- package/dist/components/segmented-control/segmented-control-item.vue.d.ts +1 -3
- package/dist/components/segmented-control/segmented-control.context.js +1 -2
- package/dist/components/segmented-control/segmented-control.js +2 -5
- package/dist/components/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/segmented-control/segmented-control.types.d.ts +1 -3
- package/dist/components/segmented-control/segmented-control.vue.d.ts +1 -3
- package/dist/components/select/select.js +11 -12
- package/dist/components/select/select.js.map +1 -1
- package/dist/components/select/select.types.d.ts +0 -2
- package/dist/components/select/select.vue.d.ts +0 -2
- package/dist/components/skip-link/index.d.ts +3 -0
- package/dist/components/skip-link/skip-link.js +79 -0
- package/dist/components/skip-link/skip-link.js.map +1 -0
- package/dist/components/skip-link/skip-link.types.d.ts +10 -0
- package/dist/components/skip-link/skip-link.vue.d.ts +28 -0
- package/dist/components/table/table-caption.js +2 -7
- package/dist/components/table/table-caption.js.map +1 -1
- package/dist/components/table/table-caption.vue.d.ts +0 -2
- package/dist/components/table/table-tbody.js +2 -3
- package/dist/components/table/table-tbody.js.map +1 -1
- package/dist/components/table/table-tbody.vue.d.ts +0 -2
- package/dist/components/table/table-td.js +2 -3
- package/dist/components/table/table-td.js.map +1 -1
- package/dist/components/table/table-td.vue.d.ts +0 -2
- package/dist/components/table/table-tfoot.js +2 -3
- package/dist/components/table/table-tfoot.js.map +1 -1
- package/dist/components/table/table-tfoot.vue.d.ts +0 -2
- package/dist/components/table/table-th.js +2 -3
- package/dist/components/table/table-th.js.map +1 -1
- package/dist/components/table/table-th.vue.d.ts +0 -2
- package/dist/components/table/table-thead.js +2 -3
- package/dist/components/table/table-thead.js.map +1 -1
- package/dist/components/table/table-thead.vue.d.ts +0 -2
- package/dist/components/table/table-tr.js +2 -7
- package/dist/components/table/table-tr.js.map +1 -1
- package/dist/components/table/table-tr.vue.d.ts +0 -2
- package/dist/components/table/table.js +2 -7
- package/dist/components/table/table.js.map +1 -1
- package/dist/components/table/table.types.d.ts +0 -2
- package/dist/components/table/table.vue.d.ts +0 -2
- package/dist/components/tabs/tabs-list.js +2 -7
- package/dist/components/tabs/tabs-list.js.map +1 -1
- package/dist/components/tabs/tabs-list.vue.d.ts +1 -3
- package/dist/components/tabs/tabs-panel.js +2 -8
- package/dist/components/tabs/tabs-panel.js.map +1 -1
- package/dist/components/tabs/tabs-panel.vue.d.ts +1 -3
- package/dist/components/tabs/tabs-tab.js +1 -4
- package/dist/components/tabs/tabs-tab.js.map +1 -1
- package/dist/components/tabs/tabs-tab.vue.d.ts +1 -3
- package/dist/components/tabs/tabs.context.js +1 -2
- package/dist/components/tabs/tabs.js +2 -5
- package/dist/components/tabs/tabs.js.map +1 -1
- package/dist/components/tabs/tabs.types.d.ts +1 -3
- package/dist/components/tabs/tabs.vue.d.ts +1 -3
- package/dist/components/text/index.d.ts +3 -0
- package/dist/components/text/text.js +96 -0
- package/dist/components/text/text.js.map +1 -0
- package/dist/components/text/text.types.d.ts +24 -0
- package/dist/components/text/text.vue.d.ts +28 -0
- package/dist/components/textarea/textarea.js +10 -14
- package/dist/components/textarea/textarea.js.map +1 -1
- package/dist/components/textarea/textarea.types.d.ts +0 -2
- package/dist/components/textarea/textarea.vue.d.ts +0 -2
- package/dist/components/tooltip/tooltip-content.js +1 -4
- package/dist/components/tooltip/tooltip-content.js.map +1 -1
- package/dist/components/tooltip/tooltip-content.vue.d.ts +1 -3
- package/dist/components/tooltip/tooltip-trigger.js +1 -4
- package/dist/components/tooltip/tooltip-trigger.js.map +1 -1
- package/dist/components/tooltip/tooltip-trigger.vue.d.ts +1 -3
- package/dist/components/tooltip/tooltip.context.d.ts +0 -2
- package/dist/components/tooltip/tooltip.context.js +1 -2
- package/dist/components/tooltip/tooltip.js +1 -2
- package/dist/components/tooltip/tooltip.types.d.ts +0 -2
- package/dist/components/tooltip/tooltip.vue.d.ts +0 -2
- package/dist/components/visually-hidden/visually-hidden.js +2 -7
- package/dist/components/visually-hidden/visually-hidden.js.map +1 -1
- package/dist/components/visually-hidden/visually-hidden.types.d.ts +0 -2
- package/dist/components/visually-hidden/visually-hidden.vue.d.ts +1 -3
- package/dist/index.d.ts +22 -18
- package/dist/index.js +3 -1
- package/dist/plugin.d.ts +40 -38
- package/dist/plugin.js +5 -2
- package/dist/plugin.js.map +1 -1
- package/dist/provider/hui-provider.context.d.ts +8 -4
- package/dist/provider/hui-provider.context.js +9 -3
- package/dist/provider/hui-provider.context.js.map +1 -1
- package/dist/provider/hui-provider.js +1 -2
- package/dist/provider/hui-provider.vue.d.ts +0 -2
- package/dist/types/element.d.ts +0 -2
- package/dist/types/hui-component.d.ts +0 -2
- package/dist/types/polymorphic.d.ts +0 -2
- package/dist/utils/attr-to-bool.js +1 -2
- package/dist/utils/use-slot-presence.js +13 -0
- package/dist/utils/use-slot-presence.js.map +1 -0
- package/package.json +8 -8
package/dist/components/dl/dl.js
CHANGED
|
@@ -2,7 +2,7 @@ import { useHuiAttrs, useHuiClasses, useHuiProps, useHuiStyles } from "../../pro
|
|
|
2
2
|
import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, renderSlot, useAttrs, useTemplateRef } from "vue";
|
|
4
4
|
import { dlRecipe } from "@hebium-ui/core";
|
|
5
|
-
|
|
5
|
+
// src/components/dl/dl.vue
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
name: "HuiDl",
|
|
8
8
|
inheritAttrs: false,
|
|
@@ -38,7 +38,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
38
38
|
const recipe = computed(() => dlRecipe({}));
|
|
39
39
|
const cls = useHuiClasses("Dl", recipe, computed(() => ({ root: props.class })));
|
|
40
40
|
const sls = useHuiStyles("Dl", computed(() => ({ root: props.style })));
|
|
41
|
-
const rootAttrs = useHuiAttrs(resolvedProps
|
|
41
|
+
const rootAttrs = useHuiAttrs(resolvedProps);
|
|
42
42
|
const rootRef = useTemplateRef("root");
|
|
43
43
|
__expose({ root: rootRef });
|
|
44
44
|
const __returned__ = {
|
|
@@ -65,7 +65,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
65
65
|
}), [renderSlot(_ctx.$slots, "default")], 16);
|
|
66
66
|
}
|
|
67
67
|
var dl_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/dl/dl.vue"]]);
|
|
68
|
-
//#endregion
|
|
69
68
|
export { dl_default as default };
|
|
70
69
|
|
|
71
70
|
//# sourceMappingURL=dl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dl.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/dl/dl.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { dlRecipe } 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\";\n\ndefineOptions({\n name: \"HuiDl\",\n inheritAttrs: false,\n});\n\ntype Props =\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"dl\">,\n \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"Dl\", props, attrs);\nconst recipe = computed(() => dlRecipe({}));\nconst cls = useHuiClasses(\n \"Dl\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"Dl\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps
|
|
1
|
+
{"version":3,"file":"dl.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/dl/dl.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { dlRecipe } 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\";\n\ndefineOptions({\n name: \"HuiDl\",\n inheritAttrs: false,\n});\n\ntype Props =\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"dl\">,\n \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"Dl\", props, attrs);\nconst recipe = computed(() => dlRecipe({}));\nconst cls = useHuiClasses(\n \"Dl\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"Dl\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps);\nconst rootRef = useTemplateRef<HuiElementInstance<\"dl\">>(\"root\");\n\ndefineExpose({\n root: rootRef,\n});\n</script>\n\n<template>\n <dl\n ref=\"root\"\n v-bind=\"rootAttrs\"\n :class=\"cls.root\"\n :style=\"sls.root\"\n >\n <slot />\n </dl>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCA,MAAM,QAAQ;EAMd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,MAAM,OAAO,KAAK;EACpD,MAAM,SAAS,eAAe,SAAS,CAAC,CAAC,CAAC;EAC1C,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,aAAa;EAC3C,MAAM,UAAU,eAAyC,MAAM;EAE/D,SAAa,EACX,MAAM,QACR,CAAC;;;;;;;;;;;;;;;;;;;CAIC,OAAAA,UAAA,GAAAC,mBAOK,MAPLC,WAOK,EANH,KAAI,OAAM,GACF,OAAA,WAAS;EAChB,OAAO,OAAA,IAAI;EACX,OAAO,OAAA,IAAI;C,KAEZC,WAAQ,KAAA,QAAA,SAAA,C"}
|
|
@@ -2,7 +2,6 @@ import { HuiElementInstance, HuiElementProps } from "../../types/element.js";
|
|
|
2
2
|
import { HuiComponentProps } from "../../types/hui-component.js";
|
|
3
3
|
import "../../types/index.js";
|
|
4
4
|
import { DdSlots, DlSlots, DtSlots } from "@hebium-ui/core";
|
|
5
|
-
//#region src/components/dl/dl.types.d.ts
|
|
6
5
|
export type DlProps = HuiComponentProps<HuiElementProps<"dl">, DlSlots>;
|
|
7
6
|
export interface DlExposed {
|
|
8
7
|
readonly root: HuiElementInstance<"dl"> | null;
|
|
@@ -15,5 +14,4 @@ export type DlDdProps = HuiComponentProps<HuiElementProps<"dd">, DdSlots>;
|
|
|
15
14
|
export interface DlDdExposed {
|
|
16
15
|
readonly root: HuiElementInstance<"dd"> | null;
|
|
17
16
|
}
|
|
18
|
-
//#endregion
|
|
19
17
|
//# sourceMappingURL=dl.types.d.ts.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { HuiElementPropsNoInfer } from "../../types/element.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { ClassValue, StyleValue } from "vue";
|
|
4
|
-
//#region src/components/dl/dl.vue.d.ts
|
|
5
4
|
type Props = {
|
|
6
5
|
class?: ClassValue | undefined;
|
|
7
6
|
style?: StyleValue | undefined;
|
|
@@ -19,6 +18,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
19
18
|
$slots: S;
|
|
20
19
|
};
|
|
21
20
|
};
|
|
22
|
-
//#endregion
|
|
23
21
|
export { _default as default };
|
|
24
22
|
//# sourceMappingURL=dl.vue.d.ts.map
|
|
@@ -4,7 +4,7 @@ import button_default from "../button/button.js";
|
|
|
4
4
|
import { useDrawerId } from "./drawer.context.js";
|
|
5
5
|
import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, useAttrs, useTemplateRef, withCtx } from "vue";
|
|
6
6
|
import { dialogControl } from "@hebium-ui/core";
|
|
7
|
-
|
|
7
|
+
// src/components/drawer/drawer-close.vue
|
|
8
8
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
9
9
|
name: "HuiDrawerClose",
|
|
10
10
|
inheritAttrs: false,
|
|
@@ -56,7 +56,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
56
56
|
const drawerId = useDrawerId();
|
|
57
57
|
const cls = useHuiClasses("DrawerClose", computed(() => ({ root: "" })), computed(() => ({ root: props.class })));
|
|
58
58
|
const sls = useHuiStyles("DrawerClose", computed(() => ({ root: props.style })));
|
|
59
|
-
const forwardedAttrs = useHuiAttrs(resolvedProps
|
|
59
|
+
const forwardedAttrs = useHuiAttrs(resolvedProps);
|
|
60
60
|
const rootAttrs = computed(() => ({
|
|
61
61
|
...dialogControl.getCloseAttributes({ id: drawerId.value }),
|
|
62
62
|
...forwardedAttrs.value
|
|
@@ -94,7 +94,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
94
94
|
}, 16, ["class", "style"]);
|
|
95
95
|
}
|
|
96
96
|
var drawer_close_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/drawer/drawer-close.vue"]]);
|
|
97
|
-
//#endregion
|
|
98
97
|
export { drawer_close_default as default };
|
|
99
98
|
|
|
100
99
|
//# sourceMappingURL=drawer-close.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer-close.js","names":["Button","_openBlock","_createBlock","_mergeProps","_withCtx","_renderSlot"],"sources":["../../../src/components/drawer/drawer-close.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { dialogControl } 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 { HuiElementPropsNoInfer } from \"~/types\";\nimport { Button, type ButtonExposed } from \"../button\";\nimport type { ButtonOwnProps } from \"../button/button.types\";\nimport { useDrawerId } from \"./drawer.context\";\nimport type { DrawerCloseOwnProps } from \"./drawer.types\";\n\ndefineOptions({\n name: \"HuiDrawerClose\",\n inheritAttrs: false,\n});\n\ntype Props =\n & ButtonOwnProps\n & DrawerCloseOwnProps\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"button\">,\n | keyof ButtonOwnProps\n | keyof DrawerCloseOwnProps\n | \"class\"\n | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"DrawerClose\", props, attrs);\nconst drawerId = useDrawerId();\nconst cls = useHuiClasses<\"DrawerClose\", \"root\">(\n \"DrawerClose\",\n computed(() => ({ root: \"\" })),\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles<\"DrawerClose\", \"root\">(\n \"DrawerClose\",\n computed(() => ({ root: props.style })),\n);\nconst forwardedAttrs = useHuiAttrs(resolvedProps
|
|
1
|
+
{"version":3,"file":"drawer-close.js","names":["Button","_openBlock","_createBlock","_mergeProps","_withCtx","_renderSlot"],"sources":["../../../src/components/drawer/drawer-close.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { dialogControl } 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 { HuiElementPropsNoInfer } from \"~/types\";\nimport { Button, type ButtonExposed } from \"../button\";\nimport type { ButtonOwnProps } from \"../button/button.types\";\nimport { useDrawerId } from \"./drawer.context\";\nimport type { DrawerCloseOwnProps } from \"./drawer.types\";\n\ndefineOptions({\n name: \"HuiDrawerClose\",\n inheritAttrs: false,\n});\n\ntype Props =\n & ButtonOwnProps\n & DrawerCloseOwnProps\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"button\">,\n | keyof ButtonOwnProps\n | keyof DrawerCloseOwnProps\n | \"class\"\n | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"DrawerClose\", props, attrs);\nconst drawerId = useDrawerId();\nconst cls = useHuiClasses<\"DrawerClose\", \"root\">(\n \"DrawerClose\",\n computed(() => ({ root: \"\" })),\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles<\"DrawerClose\", \"root\">(\n \"DrawerClose\",\n computed(() => ({ root: props.style })),\n);\nconst forwardedAttrs = useHuiAttrs(resolvedProps);\nconst rootAttrs = computed<Record<string, unknown>>(() => ({\n ...dialogControl.getCloseAttributes({ id: drawerId.value }),\n ...forwardedAttrs.value,\n}));\nconst rootRef = useTemplateRef<ButtonExposed>(\"root\");\n\ndefineExpose({\n root: rootRef,\n});\n</script>\n\n<template>\n <Button\n ref=\"root\"\n v-bind=\"rootAttrs\"\n :class=\"cls.root\"\n :style=\"sls.root\"\n >\n <slot />\n </Button>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCA,MAAM,QAAQ;EAMd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,eAAe,OAAO,KAAK;EAC7D,MAAM,WAAW,YAAY;EAC7B,MAAM,MAAM,cACV,eACA,gBAAgB,EAAE,MAAM,GAAG,EAAE,GAC7B,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,MAAM,aACV,eACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,iBAAiB,YAAY,aAAa;EAChD,MAAM,YAAY,gBAAyC;GACzD,GAAG,cAAc,mBAAmB,EAAE,IAAI,SAAS,MAAM,CAAC;GAC1D,GAAG,eAAe;EACpB,EAAE;EACF,MAAM,UAAU,eAA8B,MAAM;EAEpD,SAAa,EACX,MAAM,QACR,CAAC;;;;;;;;;;;;;;;;;;;;;;;CAIC,OAAAC,UAAA,GAAAC,YAOS,OAAA,WAPTC,WAOS,EANP,KAAI,OAAM,GACF,OAAA,WAAS;EAChB,OAAO,OAAA,IAAI;EACX,OAAO,OAAA,IAAI;;EAEZ,SAAAC,cAAQ,CAARC,WAAQ,KAAA,QAAA,SAAA,C"}
|
|
@@ -4,7 +4,6 @@ import { ButtonExposed, ButtonOwnProps } from "../button/button.types.js";
|
|
|
4
4
|
import "../button/index.js";
|
|
5
5
|
import { DrawerCloseOwnProps } from "./drawer.types.js";
|
|
6
6
|
import { ClassValue, StyleValue } from "vue";
|
|
7
|
-
//#region src/components/drawer/drawer-close.vue.d.ts
|
|
8
7
|
type Props = ButtonOwnProps & DrawerCloseOwnProps & {
|
|
9
8
|
class?: ClassValue | undefined;
|
|
10
9
|
style?: StyleValue | undefined;
|
|
@@ -22,6 +21,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
22
21
|
$slots: S;
|
|
23
22
|
};
|
|
24
23
|
};
|
|
25
|
-
//#endregion
|
|
26
24
|
export { _default as default };
|
|
27
25
|
//# sourceMappingURL=drawer-close.vue.d.ts.map
|
|
@@ -4,7 +4,7 @@ import { useDrawerId } from "./drawer.context.js";
|
|
|
4
4
|
import drawer_close_default from "./drawer-close.js";
|
|
5
5
|
import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, renderSlot, resolveDynamicComponent, useAttrs, useSlots, useTemplateRef, withCtx } from "vue";
|
|
6
6
|
import { dialogControl, drawerRecipe, headingRecipe } from "@hebium-ui/core";
|
|
7
|
-
|
|
7
|
+
// src/components/drawer/drawer-content.vue
|
|
8
8
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
9
9
|
name: "HuiDrawerContent",
|
|
10
10
|
inheritAttrs: false,
|
|
@@ -95,13 +95,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
95
95
|
}));
|
|
96
96
|
const forwardedRootAttrs = useHuiAttrs(resolvedProps, [
|
|
97
97
|
"placement",
|
|
98
|
-
"classes",
|
|
99
|
-
"styles",
|
|
100
98
|
"headingProps",
|
|
101
99
|
"closeButton",
|
|
102
100
|
"closeButtonProps",
|
|
103
|
-
"class",
|
|
104
|
-
"style",
|
|
105
101
|
"aria-label",
|
|
106
102
|
"aria-labelledby"
|
|
107
103
|
]);
|
|
@@ -179,7 +175,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
179
175
|
}, 16, ["class", "style"])) : createCommentVNode("v-if", true)], 6)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")], 16);
|
|
180
176
|
}
|
|
181
177
|
var drawer_content_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/drawer/drawer-content.vue"]]);
|
|
182
|
-
//#endregion
|
|
183
178
|
export { drawer_content_default as default };
|
|
184
179
|
|
|
185
180
|
//# sourceMappingURL=drawer-content.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer-content.js","names":["_useSlots","_openBlock","_createElementBlock","_mergeProps","_normalizeClass","_normalizeStyle","_createBlock","_resolveDynamicComponent","_withCtx","_renderSlot","_createCommentVNode"],"sources":["../../../src/components/drawer/drawer-content.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport {\n dialogControl,\n drawerRecipe,\n type DrawerSlots as DrawerRecipeSlots,\n headingRecipe,\n} 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 DrawerClose from \"./drawer-close.vue\";\nimport { useDrawerId } from \"./drawer.context\";\nimport type { DrawerContentOwnProps } from \"./drawer.types\";\n\ndefineOptions({\n name: \"HuiDrawerContent\",\n inheritAttrs: false,\n});\n\ntype Props =\n & DrawerContentOwnProps\n & {\n classes?:\n | Partial<Record<DrawerRecipeSlots, ClassValue | undefined>>\n | undefined;\n styles?:\n | Partial<Record<DrawerRecipeSlots, StyleValue | undefined>>\n | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"dialog\">,\n | keyof DrawerContentOwnProps\n | \"id\"\n | \"open\"\n | \"class\"\n | \"style\"\n >;\n\nconst props = withDefaults(defineProps<Props>(), {\n closeButton: undefined,\n});\n\nconst slots = defineSlots<{\n default?: () => unknown;\n heading?: () => unknown;\n closeButton?: () => unknown;\n}>();\n\nconst HEADING_ELEMENTS = {\n 1: \"h1\",\n 2: \"h2\",\n 3: \"h3\",\n 4: \"h4\",\n 5: \"h5\",\n 6: \"h6\",\n} as const;\nconst HEADING_RECIPE_LEVELS = {\n 1: \"1\",\n 2: \"2\",\n 3: \"3\",\n 4: \"4\",\n 5: \"5\",\n 6: \"6\",\n} as const;\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"DrawerContent\", props, attrs);\nconst drawerId = useDrawerId();\nconst recipe = computed(() =>\n drawerRecipe({ placement: resolvedProps.value.placement })\n);\nconst cls = useHuiClasses(\n \"DrawerContent\",\n recipe,\n computed(() => props.classes ?? {}),\n);\nconst sls = useHuiStyles<\"DrawerContent\", DrawerRecipeSlots>(\n \"DrawerContent\",\n computed(() => props.styles ?? {}),\n);\nconst derivedHeadingAttrs = computed(() =>\n dialogControl.getHeadingAttributes({ id: drawerId.value })\n);\nconst headingId = computed(() =>\n slots.heading ? derivedHeadingAttrs.value.id : undefined\n);\nconst headingLevel = computed(() =>\n resolvedProps.value.headingProps?.level ?? 2\n);\nconst headingComponent = computed(() => HEADING_ELEMENTS[headingLevel.value]);\nconst headingRecipeClass = computed(() =>\n headingRecipe({\n level: HEADING_RECIPE_LEVELS[headingLevel.value],\n margin: resolvedProps.value.headingProps?.margin ?? \"none\",\n }).root\n);\nconst headingAttrs = useHuiAttrs(\n computed(() => resolvedProps.value.headingProps ?? {}),\n [\"level\", \"margin\", \"id\", \"class\", \"style\"],\n);\nconst rootHeadingAttrs = computed<Record<string, unknown>>(() => ({\n ...headingAttrs.value,\n ...derivedHeadingAttrs.value,\n}));\nconst shouldRenderCloseButton = computed(() => {\n const closeButton = resolvedProps.value.closeButton;\n return closeButton !== false && closeButton !== null;\n});\nconst shouldRenderHeader = computed(() =>\n headingId.value !== undefined || shouldRenderCloseButton.value\n);\nconst closeButtonAttrs = computed<Record<string, unknown>>(() => ({\n \"aria-label\": \"Close Drawer\",\n variant: \"ghost\",\n color: \"neutral\",\n shape: \"square\",\n ...resolvedProps.value.closeButtonProps,\n}));\nconst forwardedRootAttrs = useHuiAttrs(resolvedProps, [\n \"placement\",\n \"
|
|
1
|
+
{"version":3,"file":"drawer-content.js","names":["_useSlots","_openBlock","_createElementBlock","_mergeProps","_normalizeClass","_normalizeStyle","_createBlock","_resolveDynamicComponent","_withCtx","_renderSlot","_createCommentVNode"],"sources":["../../../src/components/drawer/drawer-content.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport {\n dialogControl,\n drawerRecipe,\n type DrawerSlots as DrawerRecipeSlots,\n headingRecipe,\n} 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 DrawerClose from \"./drawer-close.vue\";\nimport { useDrawerId } from \"./drawer.context\";\nimport type { DrawerContentOwnProps } from \"./drawer.types\";\n\ndefineOptions({\n name: \"HuiDrawerContent\",\n inheritAttrs: false,\n});\n\ntype Props =\n & DrawerContentOwnProps\n & {\n classes?:\n | Partial<Record<DrawerRecipeSlots, ClassValue | undefined>>\n | undefined;\n styles?:\n | Partial<Record<DrawerRecipeSlots, StyleValue | undefined>>\n | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"dialog\">,\n | keyof DrawerContentOwnProps\n | \"id\"\n | \"open\"\n | \"class\"\n | \"style\"\n >;\n\nconst props = withDefaults(defineProps<Props>(), {\n closeButton: undefined,\n});\n\nconst slots = defineSlots<{\n default?: () => unknown;\n heading?: () => unknown;\n closeButton?: () => unknown;\n}>();\n\nconst HEADING_ELEMENTS = {\n 1: \"h1\",\n 2: \"h2\",\n 3: \"h3\",\n 4: \"h4\",\n 5: \"h5\",\n 6: \"h6\",\n} as const;\nconst HEADING_RECIPE_LEVELS = {\n 1: \"1\",\n 2: \"2\",\n 3: \"3\",\n 4: \"4\",\n 5: \"5\",\n 6: \"6\",\n} as const;\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"DrawerContent\", props, attrs);\nconst drawerId = useDrawerId();\nconst recipe = computed(() =>\n drawerRecipe({ placement: resolvedProps.value.placement })\n);\nconst cls = useHuiClasses(\n \"DrawerContent\",\n recipe,\n computed(() => props.classes ?? {}),\n);\nconst sls = useHuiStyles<\"DrawerContent\", DrawerRecipeSlots>(\n \"DrawerContent\",\n computed(() => props.styles ?? {}),\n);\nconst derivedHeadingAttrs = computed(() =>\n dialogControl.getHeadingAttributes({ id: drawerId.value })\n);\nconst headingId = computed(() =>\n slots.heading ? derivedHeadingAttrs.value.id : undefined\n);\nconst headingLevel = computed(() =>\n resolvedProps.value.headingProps?.level ?? 2\n);\nconst headingComponent = computed(() => HEADING_ELEMENTS[headingLevel.value]);\nconst headingRecipeClass = computed(() =>\n headingRecipe({\n level: HEADING_RECIPE_LEVELS[headingLevel.value],\n margin: resolvedProps.value.headingProps?.margin ?? \"none\",\n }).root\n);\nconst headingAttrs = useHuiAttrs(\n computed(() => resolvedProps.value.headingProps ?? {}),\n [\"level\", \"margin\", \"id\", \"class\", \"style\"],\n);\nconst rootHeadingAttrs = computed<Record<string, unknown>>(() => ({\n ...headingAttrs.value,\n ...derivedHeadingAttrs.value,\n}));\nconst shouldRenderCloseButton = computed(() => {\n const closeButton = resolvedProps.value.closeButton;\n return closeButton !== false && closeButton !== null;\n});\nconst shouldRenderHeader = computed(() =>\n headingId.value !== undefined || shouldRenderCloseButton.value\n);\nconst closeButtonAttrs = computed<Record<string, unknown>>(() => ({\n \"aria-label\": \"Close Drawer\",\n variant: \"ghost\",\n color: \"neutral\",\n shape: \"square\",\n ...resolvedProps.value.closeButtonProps,\n}));\nconst forwardedRootAttrs = useHuiAttrs(resolvedProps, [\n \"placement\",\n \"headingProps\",\n \"closeButton\",\n \"closeButtonProps\",\n \"aria-label\",\n \"aria-labelledby\",\n]);\nconst rootAttrs = computed<Record<string, unknown>>(() => {\n const resolved = resolvedProps.value;\n return {\n ...dialogControl.getContentAttributes(\n { id: drawerId.value },\n {\n hasHeading: slots.heading !== undefined,\n ariaLabel: resolved[\"aria-label\"],\n ariaLabelledBy: resolved[\"aria-labelledby\"],\n },\n ),\n ...forwardedRootAttrs.value,\n };\n});\nconst rootRef = useTemplateRef<HuiElementInstance<\"dialog\">>(\"root\");\n\ndefineExpose({\n root: rootRef,\n});\n</script>\n\n<template>\n <dialog\n ref=\"root\"\n v-bind=\"rootAttrs\"\n :class=\"cls.root\"\n :style=\"sls.root\"\n >\n <div v-if=\"shouldRenderHeader\" :class=\"cls.header\" :style=\"sls.header\">\n <component\n :is=\"headingComponent\"\n v-if=\"headingId\"\n v-bind=\"rootHeadingAttrs\"\n :class=\"[headingRecipeClass, cls.heading]\"\n :style=\"sls.heading\"\n >\n <slot name=\"heading\" />\n </component>\n <DrawerClose\n v-if=\"shouldRenderCloseButton\"\n v-bind=\"closeButtonAttrs\"\n :class=\"cls.closeButton\"\n :style=\"sls.closeButton\"\n >\n <slot v-if=\"slots.closeButton\" name=\"closeButton\" />\n <span\n v-else\n aria-hidden=\"true\"\n :class=\"cls.closeButtonIcon\"\n :style=\"sls.closeButtonIcon\"\n />\n </DrawerClose>\n </div>\n <slot />\n </dialog>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDA,MAAM,QAAQ;EAId,MAAM,QAAQA,SAAA;EAMd,MAAM,mBAAmB;GACvB,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG;EACL;EACA,MAAM,wBAAwB;GAC5B,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG;EACL;EAEA,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,iBAAiB,OAAO,KAAK;EAC/D,MAAM,WAAW,YAAY;EAC7B,MAAM,SAAS,eACb,aAAa,EAAE,WAAW,cAAc,MAAM,UAAU,CAAC,CAC3D;EACA,MAAM,MAAM,cACV,iBACA,QACA,eAAe,MAAM,WAAW,CAAC,CAAC,CACpC;EACA,MAAM,MAAM,aACV,iBACA,eAAe,MAAM,UAAU,CAAC,CAAC,CACnC;EACA,MAAM,sBAAsB,eAC1B,cAAc,qBAAqB,EAAE,IAAI,SAAS,MAAM,CAAC,CAC3D;EACA,MAAM,YAAY,eAChB,MAAM,UAAU,oBAAoB,MAAM,KAAK,KAAA,CACjD;EACA,MAAM,eAAe,eACnB,cAAc,MAAM,cAAc,SAAS,CAC7C;EACA,MAAM,mBAAmB,eAAe,iBAAiB,aAAa,MAAM;EAC5E,MAAM,qBAAqB,eACzB,cAAc;GACZ,OAAO,sBAAsB,aAAa;GAC1C,QAAQ,cAAc,MAAM,cAAc,UAAU;EACtD,CAAC,CAAC,CAAC,IACL;EACA,MAAM,eAAe,YACnB,eAAe,cAAc,MAAM,gBAAgB,CAAC,CAAC,GACrD;GAAC;GAAS;GAAU;GAAM;GAAS;EAAO,CAC5C;EACA,MAAM,mBAAmB,gBAAyC;GAChE,GAAG,aAAa;GAChB,GAAG,oBAAoB;EACzB,EAAE;EACF,MAAM,0BAA0B,eAAe;GAC7C,MAAM,cAAc,cAAc,MAAM;GACxC,OAAO,gBAAgB,SAAS,gBAAgB;EAClD,CAAC;EACD,MAAM,qBAAqB,eACzB,UAAU,UAAU,KAAA,KAAa,wBAAwB,KAC3D;EACA,MAAM,mBAAmB,gBAAyC;GAChE,cAAc;GACd,SAAS;GACT,OAAO;GACP,OAAO;GACP,GAAG,cAAc,MAAM;EACzB,EAAE;EACF,MAAM,qBAAqB,YAAY,eAAe;GACpD;GACA;GACA;GACA;GACA;GACA;EACF,CAAC;EACD,MAAM,YAAY,eAAwC;GACxD,MAAM,WAAW,cAAc;GAC/B,OAAO;IACL,GAAG,cAAc,qBACf,EAAE,IAAI,SAAS,MAAM,GACrB;KACE,YAAY,MAAM,YAAY,KAAA;KAC9B,WAAW,SAAS;KACpB,gBAAgB,SAAS;IAC3B,CACF;IACA,GAAG,mBAAmB;GACxB;EACF,CAAC;EACD,MAAM,UAAU,eAA6C,MAAM;EAEnE,SAAa,EACX,MAAM,QACR,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIC,OAAAC,UAAA,GAAAC,mBAgCS,UAhCTC,WAgCS,EA/BP,KAAI,OAAM,GACF,OAAA,WAAS;EAChB,OAAO,OAAA,IAAI;EACX,OAAO,OAAA,IAAI;C,KAED,OAAA,sBAAXF,UAAA,GAAAC,mBAwBM,OAAA;;EAxB0B,OAAKE,eAAE,OAAA,IAAI,MAAM;EAAG,OAAKC,eAAE,OAAA,IAAI,MAAM;C,IAG3D,OAAA,aAFRJ,UAAA,GAAAK,YAQYC,wBAPL,OAAA,gBAAgB,GADvBJ,WAQY,EAAA,KAAA,EAAA,GALF,OAAA,kBAAgB;EACvB,OAAK,CAAG,OAAA,oBAAoB,OAAA,IAAI,OAAO;EACvC,OAAO,OAAA,IAAI;;EAEZ,SAAAK,cAAuB,CAAvBC,WAAuB,KAAA,QAAA,SAAA,C;;C,gEAGjB,OAAA,2BADRR,UAAA,GAAAK,YAac,OAAA,gBAbdH,WAac,EAAA,KAAA,EAAA,GAXJ,OAAA,kBAAgB;EACvB,OAAO,OAAA,IAAI;EACX,OAAO,OAAA,IAAI;;EAEZ,SAAAK,cAAoD,CAAxC,OAAA,MAAM,cAAlBC,WAAoD,KAAA,QAAA,eAAA,CAAA,GAAA,KAAA,GAAA,KAAA,GAAA,CAAA,KACpDR,UAAA,GAAAC,mBAKE,QAAA;;GAHA,eAAY;GACX,OAAKE,eAAE,OAAA,IAAI,eAAe;GAC1B,OAAKC,eAAE,OAAA,IAAI,eAAe;;;C,yGAIjCI,WAAQ,KAAA,QAAA,SAAA,C"}
|
|
@@ -3,7 +3,6 @@ import "../../types/index.js";
|
|
|
3
3
|
import { DrawerContentOwnProps } from "./drawer.types.js";
|
|
4
4
|
import { ClassValue, StyleValue } from "vue";
|
|
5
5
|
import { DrawerSlots } from "@hebium-ui/core";
|
|
6
|
-
//#region src/components/drawer/drawer-content.vue.d.ts
|
|
7
6
|
type Props = DrawerContentOwnProps & {
|
|
8
7
|
classes?: Partial<Record<DrawerSlots, ClassValue | undefined>> | undefined;
|
|
9
8
|
styles?: Partial<Record<DrawerSlots, StyleValue | undefined>> | undefined;
|
|
@@ -25,6 +24,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
25
24
|
$slots: S;
|
|
26
25
|
};
|
|
27
26
|
};
|
|
28
|
-
//#endregion
|
|
29
27
|
export { _default as default };
|
|
30
28
|
//# sourceMappingURL=drawer-content.vue.d.ts.map
|
|
@@ -4,7 +4,7 @@ import button_default from "../button/button.js";
|
|
|
4
4
|
import { useDrawerId } from "./drawer.context.js";
|
|
5
5
|
import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, useAttrs, useTemplateRef, withCtx } from "vue";
|
|
6
6
|
import { dialogControl } from "@hebium-ui/core";
|
|
7
|
-
|
|
7
|
+
// src/components/drawer/drawer-trigger.vue
|
|
8
8
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
9
9
|
name: "HuiDrawerTrigger",
|
|
10
10
|
inheritAttrs: false,
|
|
@@ -45,11 +45,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
45
45
|
const drawerId = useDrawerId();
|
|
46
46
|
const cls = useHuiClasses("DrawerTrigger", computed(() => ({ root: "" })), computed(() => ({ root: props.class })));
|
|
47
47
|
const sls = useHuiStyles("DrawerTrigger", computed(() => ({ root: props.style })));
|
|
48
|
-
const forwardedAttrs = useHuiAttrs(resolvedProps, [
|
|
49
|
-
"as",
|
|
50
|
-
"class",
|
|
51
|
-
"style"
|
|
52
|
-
]);
|
|
48
|
+
const forwardedAttrs = useHuiAttrs(resolvedProps, ["as"]);
|
|
53
49
|
const rootAttrs = computed(() => {
|
|
54
50
|
return {
|
|
55
51
|
...dialogControl.getTriggerAttributes({ id: drawerId.value }, {
|
|
@@ -90,7 +86,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
90
86
|
}, 16, ["class", "style"]);
|
|
91
87
|
}
|
|
92
88
|
var drawer_trigger_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/drawer/drawer-trigger.vue"]]);
|
|
93
|
-
//#endregion
|
|
94
89
|
export { drawer_trigger_default as default };
|
|
95
90
|
|
|
96
91
|
//# sourceMappingURL=drawer-trigger.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer-trigger.js","names":["Button","_openBlock","_createBlock","_resolveDynamicComponent","_mergeProps","_withCtx","_renderSlot"],"sources":["../../../src/components/drawer/drawer-trigger.vue"],"sourcesContent":["<script\n setup\n lang=\"ts\"\n generic=\"E extends ElementType = typeof Button\"\n>\nimport { dialogControl } 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 {\n ElementType,\n HuiElementInstance,\n HuiElementPropsNoInfer,\n} from \"~/types\";\nimport { Button } from \"../button\";\nimport { useDrawerId } from \"./drawer.context\";\n\ndefineOptions({\n name: \"HuiDrawerTrigger\",\n inheritAttrs: false,\n});\n\ntype Props =\n & { as?: E | undefined }\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<E>,\n \"as\" | \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"DrawerTrigger\", props, attrs);\nconst component = computed<E | typeof Button>(() =>\n resolvedProps.value.as ?? Button\n);\nconst drawerId = useDrawerId();\nconst cls = useHuiClasses<\"DrawerTrigger\", \"root\">(\n \"DrawerTrigger\",\n computed(() => ({ root: \"\" })),\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles<\"DrawerTrigger\", \"root\">(\n \"DrawerTrigger\",\n computed(() => ({ root: props.style })),\n);\nconst forwardedAttrs = useHuiAttrs(resolvedProps, [\n \"as\",\n
|
|
1
|
+
{"version":3,"file":"drawer-trigger.js","names":["Button","_openBlock","_createBlock","_resolveDynamicComponent","_mergeProps","_withCtx","_renderSlot"],"sources":["../../../src/components/drawer/drawer-trigger.vue"],"sourcesContent":["<script\n setup\n lang=\"ts\"\n generic=\"E extends ElementType = typeof Button\"\n>\nimport { dialogControl } 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 {\n ElementType,\n HuiElementInstance,\n HuiElementPropsNoInfer,\n} from \"~/types\";\nimport { Button } from \"../button\";\nimport { useDrawerId } from \"./drawer.context\";\n\ndefineOptions({\n name: \"HuiDrawerTrigger\",\n inheritAttrs: false,\n});\n\ntype Props =\n & { as?: E | undefined }\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<E>,\n \"as\" | \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"DrawerTrigger\", props, attrs);\nconst component = computed<E | typeof Button>(() =>\n resolvedProps.value.as ?? Button\n);\nconst drawerId = useDrawerId();\nconst cls = useHuiClasses<\"DrawerTrigger\", \"root\">(\n \"DrawerTrigger\",\n computed(() => ({ root: \"\" })),\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles<\"DrawerTrigger\", \"root\">(\n \"DrawerTrigger\",\n computed(() => ({ root: props.style })),\n);\nconst forwardedAttrs = useHuiAttrs(resolvedProps, [\n \"as\",\n]);\nconst rootAttrs = computed<Record<string, unknown>>(() => {\n return {\n ...dialogControl.getTriggerAttributes(\n { id: drawerId.value },\n {\n modal: true,\n isButtonElement: resolvedProps.value.as === undefined,\n },\n ),\n ...forwardedAttrs.value,\n };\n});\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 <slot />\n </component>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2CA,MAAM,QAAQ;EAMd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,iBAAiB,OAAO,KAAK;EAC/D,MAAM,YAAY,eAChB,cAAc,MAAM,MAAMA,cAC5B;EACA,MAAM,WAAW,YAAY;EAC7B,MAAM,MAAM,cACV,iBACA,gBAAgB,EAAE,MAAM,GAAG,EAAE,GAC7B,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,MAAM,aACV,iBACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,iBAAiB,YAAY,eAAe,CAChD,IACF,CAAC;EACD,MAAM,YAAY,eAAwC;GACxD,OAAO;IACL,GAAG,cAAc,qBACf,EAAE,IAAI,SAAS,MAAM,GACrB;KACE,OAAO;KACP,iBAAiB,cAAc,MAAM,OAAO,KAAA;IAC9C,CACF;IACA,GAAG,eAAe;GACpB;EACF,CAAC;EACD,MAAM,UAAU,eAAsC,MAAM;EAE5D,SAAa,EACX,MAAM,QACR,CAAC;;;;;;;;;;;;;;;;;;;;;CAIC,OAAAC,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,C"}
|
|
@@ -3,14 +3,13 @@ import "../../types/index.js";
|
|
|
3
3
|
import _default$1 from "../button/button.vue.js";
|
|
4
4
|
import "../button/index.js";
|
|
5
5
|
import { ClassValue, StyleValue } from "vue";
|
|
6
|
-
//#region src/components/drawer/drawer-trigger.vue.d.ts
|
|
7
6
|
declare const __VLS_export: <E extends ElementType = typeof _default$1>(__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<{
|
|
8
7
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
9
8
|
as?: E | undefined;
|
|
10
9
|
} & {
|
|
11
10
|
class?: ClassValue | undefined;
|
|
12
11
|
style?: StyleValue | undefined;
|
|
13
|
-
} & Omit<HuiElementPropsNoInfer<E>, "
|
|
12
|
+
} & Omit<HuiElementPropsNoInfer<E>, "class" | "style" | "as">> & (typeof globalThis extends {
|
|
14
13
|
__VLS_PROPS_FALLBACK: infer P;
|
|
15
14
|
} ? P : {});
|
|
16
15
|
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
@@ -26,6 +25,5 @@ declare const __VLS_export: <E extends ElementType = typeof _default$1>(__VLS_pr
|
|
|
26
25
|
};
|
|
27
26
|
declare const _default: typeof __VLS_export;
|
|
28
27
|
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
29
|
-
//#endregion
|
|
30
28
|
export { _default as default };
|
|
31
29
|
//# sourceMappingURL=drawer-trigger.vue.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inject } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/components/drawer/drawer.context.ts
|
|
3
3
|
const DrawerContext = Symbol("Drawer");
|
|
4
4
|
function useDrawerContext() {
|
|
5
5
|
const context = inject(DrawerContext);
|
|
@@ -9,7 +9,6 @@ function useDrawerContext() {
|
|
|
9
9
|
function useDrawerId() {
|
|
10
10
|
return useDrawerContext().drawerId;
|
|
11
11
|
}
|
|
12
|
-
//#endregion
|
|
13
12
|
export { DrawerContext, useDrawerContext, useDrawerId };
|
|
14
13
|
|
|
15
14
|
//# sourceMappingURL=drawer.context.js.map
|
|
@@ -2,7 +2,7 @@ import { useHuiProps } from "../../provider/hui-provider.context.js";
|
|
|
2
2
|
import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.js";
|
|
3
3
|
import { DrawerContext } from "./drawer.context.js";
|
|
4
4
|
import { computed, defineComponent, provide, renderSlot, useAttrs, useId } from "vue";
|
|
5
|
-
|
|
5
|
+
// src/components/drawer/drawer.vue
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
name: "HuiDrawer",
|
|
8
8
|
inheritAttrs: false,
|
|
@@ -37,7 +37,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37
37
|
return renderSlot(_ctx.$slots, "default");
|
|
38
38
|
}
|
|
39
39
|
var drawer_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/drawer/drawer.vue"]]);
|
|
40
|
-
//#endregion
|
|
41
40
|
export { drawer_default as default };
|
|
42
41
|
|
|
43
42
|
//# sourceMappingURL=drawer.js.map
|
|
@@ -6,7 +6,6 @@ import { ButtonExposed, ButtonProps } from "../button/button.types.js";
|
|
|
6
6
|
import _default from "../button/button.vue.js";
|
|
7
7
|
import "../button/index.js";
|
|
8
8
|
import { ButtonSlots, DrawerSlots, DrawerVariants, HeadingVariants } from "@hebium-ui/core";
|
|
9
|
-
//#region src/components/drawer/drawer.types.d.ts
|
|
10
9
|
export interface DrawerProps {
|
|
11
10
|
/**
|
|
12
11
|
* The id of the drawer content element.
|
|
@@ -69,5 +68,4 @@ export type DrawerCloseProps = Omit<ButtonProps, "as" | "command"> & DrawerClose
|
|
|
69
68
|
export interface DrawerCloseExposed {
|
|
70
69
|
readonly root: ButtonExposed | null;
|
|
71
70
|
}
|
|
72
|
-
//#endregion
|
|
73
71
|
//# sourceMappingURL=drawer.types.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DrawerProps } from "./drawer.types.js";
|
|
2
|
-
//#region src/components/drawer/drawer.vue.d.ts
|
|
3
2
|
type __VLS_Slots = {
|
|
4
3
|
default?: () => unknown;
|
|
5
4
|
};
|
|
@@ -11,6 +10,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
11
10
|
$slots: S;
|
|
12
11
|
};
|
|
13
12
|
};
|
|
14
|
-
//#endregion
|
|
15
13
|
export { _default as default };
|
|
16
14
|
//# sourceMappingURL=drawer.vue.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { useHuiAttrs, useHuiClasses, useHuiProps, useHuiStyles } from "../../pro
|
|
|
2
2
|
import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, renderSlot, useAttrs, useTemplateRef } from "vue";
|
|
4
4
|
import { fieldsetRecipe } from "@hebium-ui/core";
|
|
5
|
-
|
|
5
|
+
// src/components/fieldset/fieldset.vue
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
name: "HuiFieldset",
|
|
8
8
|
inheritAttrs: false,
|
|
@@ -38,7 +38,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
38
38
|
const recipe = computed(() => fieldsetRecipe({}));
|
|
39
39
|
const cls = useHuiClasses("Fieldset", recipe, computed(() => ({ root: props.class })));
|
|
40
40
|
const sls = useHuiStyles("Fieldset", computed(() => ({ root: props.style })));
|
|
41
|
-
const rootAttrs = useHuiAttrs(resolvedProps
|
|
41
|
+
const rootAttrs = useHuiAttrs(resolvedProps);
|
|
42
42
|
const rootRef = useTemplateRef("root");
|
|
43
43
|
__expose({ root: rootRef });
|
|
44
44
|
const __returned__ = {
|
|
@@ -65,7 +65,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
65
65
|
}), [renderSlot(_ctx.$slots, "default")], 16);
|
|
66
66
|
}
|
|
67
67
|
var fieldset_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/fieldset/fieldset.vue"]]);
|
|
68
|
-
//#endregion
|
|
69
68
|
export { fieldset_default as default };
|
|
70
69
|
|
|
71
70
|
//# sourceMappingURL=fieldset.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fieldset.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/fieldset/fieldset.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { fieldsetRecipe } 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\";\n\ndefineOptions({\n name: \"HuiFieldset\",\n inheritAttrs: false,\n});\n\ntype Props =\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"fieldset\">,\n \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"Fieldset\", props, attrs);\nconst recipe = computed(() => fieldsetRecipe({}));\nconst cls = useHuiClasses(\n \"Fieldset\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"Fieldset\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps
|
|
1
|
+
{"version":3,"file":"fieldset.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/fieldset/fieldset.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { fieldsetRecipe } 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\";\n\ndefineOptions({\n name: \"HuiFieldset\",\n inheritAttrs: false,\n});\n\ntype Props =\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"fieldset\">,\n \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"Fieldset\", props, attrs);\nconst recipe = computed(() => fieldsetRecipe({}));\nconst cls = useHuiClasses(\n \"Fieldset\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"Fieldset\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps);\nconst rootRef = useTemplateRef<HuiElementInstance<\"fieldset\">>(\"root\");\n\ndefineExpose({\n root: rootRef,\n});\n</script>\n\n<template>\n <fieldset\n ref=\"root\"\n v-bind=\"rootAttrs\"\n :class=\"cls.root\"\n :style=\"sls.root\"\n >\n <slot />\n </fieldset>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCA,MAAM,QAAQ;EAMd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,YAAY,OAAO,KAAK;EAC1D,MAAM,SAAS,eAAe,eAAe,CAAC,CAAC,CAAC;EAChD,MAAM,MAAM,cACV,YACA,QACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,MAAM,aACV,YACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,YAAY,YAAY,aAAa;EAC3C,MAAM,UAAU,eAA+C,MAAM;EAErE,SAAa,EACX,MAAM,QACR,CAAC;;;;;;;;;;;;;;;;;;;CAIC,OAAAA,UAAA,GAAAC,mBAOW,YAPXC,WAOW,EANT,KAAI,OAAM,GACF,OAAA,WAAS;EAChB,OAAO,OAAA,IAAI;EACX,OAAO,OAAA,IAAI;C,KAEZC,WAAQ,KAAA,QAAA,SAAA,C"}
|
|
@@ -2,10 +2,8 @@ import { HuiElementInstance, HuiElementProps } from "../../types/element.js";
|
|
|
2
2
|
import { HuiComponentProps } from "../../types/hui-component.js";
|
|
3
3
|
import "../../types/index.js";
|
|
4
4
|
import { FieldsetSlots } from "@hebium-ui/core";
|
|
5
|
-
//#region src/components/fieldset/fieldset.types.d.ts
|
|
6
5
|
export type FieldsetProps = HuiComponentProps<HuiElementProps<"fieldset">, FieldsetSlots>;
|
|
7
6
|
export interface FieldsetExposed {
|
|
8
7
|
readonly root: HuiElementInstance<"fieldset"> | null;
|
|
9
8
|
}
|
|
10
|
-
//#endregion
|
|
11
9
|
//# sourceMappingURL=fieldset.types.d.ts.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { HuiElementPropsNoInfer } from "../../types/element.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { ClassValue, StyleValue } from "vue";
|
|
4
|
-
//#region src/components/fieldset/fieldset.vue.d.ts
|
|
5
4
|
type Props = {
|
|
6
5
|
class?: ClassValue | undefined;
|
|
7
6
|
style?: StyleValue | undefined;
|
|
@@ -19,6 +18,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
19
18
|
$slots: S;
|
|
20
19
|
};
|
|
21
20
|
};
|
|
22
|
-
//#endregion
|
|
23
21
|
export { _default as default };
|
|
24
22
|
//# sourceMappingURL=fieldset.vue.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { useHuiAttrs, useHuiClasses, useHuiProps, useHuiStyles } from "../../pro
|
|
|
2
2
|
import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.js";
|
|
3
3
|
import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, useAttrs, useTemplateRef, withCtx } from "vue";
|
|
4
4
|
import { headingRecipe } from "@hebium-ui/core";
|
|
5
|
-
|
|
5
|
+
// src/components/heading/heading.vue
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
name: "HuiHeading",
|
|
8
8
|
inheritAttrs: false,
|
|
@@ -53,12 +53,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
53
53
|
});
|
|
54
54
|
const cls = useHuiClasses("Heading", recipe, computed(() => ({ root: props.class })));
|
|
55
55
|
const sls = useHuiStyles("Heading", computed(() => ({ root: props.style })));
|
|
56
|
-
const rootAttrs = useHuiAttrs(resolvedProps, [
|
|
57
|
-
"level",
|
|
58
|
-
"margin",
|
|
59
|
-
"class",
|
|
60
|
-
"style"
|
|
61
|
-
]);
|
|
56
|
+
const rootAttrs = useHuiAttrs(resolvedProps, ["level", "margin"]);
|
|
62
57
|
const rootRef = useTemplateRef("root");
|
|
63
58
|
__expose({ root: rootRef });
|
|
64
59
|
const __returned__ = {
|
|
@@ -89,7 +84,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
89
84
|
}, 16, ["class", "style"]);
|
|
90
85
|
}
|
|
91
86
|
var heading_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/heading/heading.vue"]]);
|
|
92
|
-
//#endregion
|
|
93
87
|
export { heading_default as default };
|
|
94
88
|
|
|
95
89
|
//# sourceMappingURL=heading.js.map
|
|
@@ -1 +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
|
|
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]);\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,CAC3C,SACA,QACF,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,C"}
|
|
@@ -2,7 +2,6 @@ import { HuiElementInstance, HuiElementProps } from "../../types/element.js";
|
|
|
2
2
|
import { HuiComponentProps } from "../../types/hui-component.js";
|
|
3
3
|
import "../../types/index.js";
|
|
4
4
|
import { HeadingSlots, HeadingVariants } from "@hebium-ui/core";
|
|
5
|
-
//#region src/components/heading/heading.types.d.ts
|
|
6
5
|
export interface HeadingOwnProps {
|
|
7
6
|
/**
|
|
8
7
|
* The heading level used to choose the rendered heading element.
|
|
@@ -21,5 +20,4 @@ export type HeadingProps = HuiComponentProps<HuiElementProps<"h2"> & HeadingOwnP
|
|
|
21
20
|
export interface HeadingExposed {
|
|
22
21
|
readonly root: HuiElementInstance<"h2"> | null;
|
|
23
22
|
}
|
|
24
|
-
//#endregion
|
|
25
23
|
//# sourceMappingURL=heading.types.d.ts.map
|
|
@@ -2,7 +2,6 @@ import { HuiElementPropsNoInfer } from "../../types/element.js";
|
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { HeadingOwnProps } from "./heading.types.js";
|
|
4
4
|
import { ClassValue, StyleValue } from "vue";
|
|
5
|
-
//#region src/components/heading/heading.vue.d.ts
|
|
6
5
|
type Props = HeadingOwnProps & {
|
|
7
6
|
class?: ClassValue | undefined;
|
|
8
7
|
style?: StyleValue | undefined;
|
|
@@ -20,6 +19,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
20
19
|
$slots: S;
|
|
21
20
|
};
|
|
22
21
|
};
|
|
23
|
-
//#endregion
|
|
24
22
|
export { _default as default };
|
|
25
23
|
//# sourceMappingURL=heading.vue.d.ts.map
|
package/dist/components/hr/hr.js
CHANGED
|
@@ -2,7 +2,7 @@ import { useHuiAttrs, useHuiClasses, useHuiProps, useHuiStyles } from "../../pro
|
|
|
2
2
|
import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.js";
|
|
3
3
|
import { computed, createBlock, defineComponent, mergeProps, openBlock, resolveDynamicComponent, toRaw, useAttrs, useTemplateRef } from "vue";
|
|
4
4
|
import { hrRecipe } from "@hebium-ui/core";
|
|
5
|
-
|
|
5
|
+
// src/components/hr/hr.vue
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
name: "HuiHr",
|
|
8
8
|
inheritAttrs: false,
|
|
@@ -43,11 +43,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
43
43
|
const recipe = computed(() => hrRecipe());
|
|
44
44
|
const cls = useHuiClasses("Hr", recipe, computed(() => ({ root: props.class })));
|
|
45
45
|
const sls = useHuiStyles("Hr", computed(() => ({ root: props.style })));
|
|
46
|
-
const rootAttrs = useHuiAttrs(resolvedProps, [
|
|
47
|
-
"as",
|
|
48
|
-
"class",
|
|
49
|
-
"style"
|
|
50
|
-
]);
|
|
46
|
+
const rootAttrs = useHuiAttrs(resolvedProps, ["as"]);
|
|
51
47
|
const rootRef = useTemplateRef("root");
|
|
52
48
|
__expose({ root: rootRef });
|
|
53
49
|
const __returned__ = {
|
|
@@ -75,7 +71,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
75
71
|
}), null, 16, ["class", "style"]);
|
|
76
72
|
}
|
|
77
73
|
var hr_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/hr/hr.vue"]]);
|
|
78
|
-
//#endregion
|
|
79
74
|
export { hr_default as default };
|
|
80
75
|
|
|
81
76
|
//# sourceMappingURL=hr.js.map
|
|
@@ -1 +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\"
|
|
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\"]);\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,CAAC,IAAI,CAAC;EACnD,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"}
|
|
@@ -2,11 +2,9 @@ import { ElementType, HuiElementInstance } from "../../types/element.js";
|
|
|
2
2
|
import { HuiPolymorphicProps } from "../../types/polymorphic.js";
|
|
3
3
|
import "../../types/index.js";
|
|
4
4
|
import { HrSlots } from "@hebium-ui/core";
|
|
5
|
-
//#region src/components/hr/hr.types.d.ts
|
|
6
5
|
export interface HrOwnProps {}
|
|
7
6
|
export type HrProps<E extends ElementType = "hr"> = HuiPolymorphicProps<E, HrOwnProps, HrSlots>;
|
|
8
7
|
export interface HrExposed<E extends ElementType = "hr"> {
|
|
9
8
|
readonly root: HuiElementInstance<E> | null;
|
|
10
9
|
}
|
|
11
|
-
//#endregion
|
|
12
10
|
//# sourceMappingURL=hr.types.d.ts.map
|
|
@@ -2,14 +2,13 @@ import { ElementType, HuiElementInstance, HuiElementPropsNoInfer } from "../../t
|
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { HrOwnProps } from "./hr.types.js";
|
|
4
4
|
import { ClassValue, StyleValue } from "vue";
|
|
5
|
-
//#region src/components/hr/hr.vue.d.ts
|
|
6
5
|
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
6
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<HrOwnProps & {
|
|
8
7
|
as?: E | undefined;
|
|
9
8
|
} & {
|
|
10
9
|
class?: ClassValue | undefined;
|
|
11
10
|
style?: StyleValue | undefined;
|
|
12
|
-
} & Omit<HuiElementPropsNoInfer<E>, "
|
|
11
|
+
} & Omit<HuiElementPropsNoInfer<E>, "class" | "style" | "as">> & (typeof globalThis extends {
|
|
13
12
|
__VLS_PROPS_FALLBACK: infer P;
|
|
14
13
|
} ? P : {});
|
|
15
14
|
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
@@ -23,6 +22,5 @@ declare const __VLS_export: <E extends ElementType = "hr">(__VLS_props: NonNulla
|
|
|
23
22
|
};
|
|
24
23
|
declare const _default: typeof __VLS_export;
|
|
25
24
|
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
26
|
-
//#endregion
|
|
27
25
|
export { _default as default };
|
|
28
26
|
//# sourceMappingURL=hr.vue.d.ts.map
|