@hebium-ui/vue 0.1.0-alpha.2 → 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 +2 -5
- package/dist/components/paragraph/paragraph.js.map +1 -1
- package/dist/components/paragraph/paragraph.types.d.ts +0 -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 +4 -4
|
@@ -2,7 +2,6 @@ import { HuiElementPropsNoInfer } from "../../types/element.js";
|
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { TableCaptionOwnProps } from "./table.types.js";
|
|
4
4
|
import { ClassValue, StyleValue } from "vue";
|
|
5
|
-
//#region src/components/table/table-caption.vue.d.ts
|
|
6
5
|
type Props = TableCaptionOwnProps & {
|
|
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=table-caption.vue.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useHuiAttrs, useHuiClasses, useHuiProps, useHuiStyles } from "../../provider/hui-provider.context.js";
|
|
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
|
+
// src/components/table/table-tbody.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
name: "HuiTableTbody",
|
|
7
7
|
inheritAttrs: false,
|
|
@@ -37,7 +37,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
37
37
|
const recipe = computed(() => ({ root: "" }));
|
|
38
38
|
const cls = useHuiClasses("TableTbody", recipe, computed(() => ({ root: props.class })));
|
|
39
39
|
const sls = useHuiStyles("TableTbody", computed(() => ({ root: props.style })));
|
|
40
|
-
const rootAttrs = useHuiAttrs(resolvedProps
|
|
40
|
+
const rootAttrs = useHuiAttrs(resolvedProps);
|
|
41
41
|
const rootRef = useTemplateRef("root");
|
|
42
42
|
__expose({ root: rootRef });
|
|
43
43
|
const __returned__ = {
|
|
@@ -64,7 +64,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64
64
|
}), [renderSlot(_ctx.$slots, "default")], 16);
|
|
65
65
|
}
|
|
66
66
|
var table_tbody_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/table/table-tbody.vue"]]);
|
|
67
|
-
//#endregion
|
|
68
67
|
export { table_tbody_default as default };
|
|
69
68
|
|
|
70
69
|
//# sourceMappingURL=table-tbody.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-tbody.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/table/table-tbody.vue"],"sourcesContent":["<script setup lang=\"ts\">\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: \"HuiTableTbody\",\n inheritAttrs: false,\n});\n\ntype Props =\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"tbody\">,\n \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"TableTbody\", props, attrs);\nconst recipe = computed(() => ({ root: \"\" }));\nconst cls = useHuiClasses(\n \"TableTbody\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TableTbody\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps
|
|
1
|
+
{"version":3,"file":"table-tbody.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/table/table-tbody.vue"],"sourcesContent":["<script setup lang=\"ts\">\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: \"HuiTableTbody\",\n inheritAttrs: false,\n});\n\ntype Props =\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"tbody\">,\n \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"TableTbody\", props, attrs);\nconst recipe = computed(() => ({ root: \"\" }));\nconst cls = useHuiClasses(\n \"TableTbody\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TableTbody\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps);\nconst rootRef = useTemplateRef<HuiElementInstance<\"tbody\">>(\"root\");\n\ndefineExpose({\n root: rootRef,\n});\n</script>\n\n<template>\n <tbody\n ref=\"root\"\n v-bind=\"rootAttrs\"\n :class=\"cls.root\"\n :style=\"sls.root\"\n >\n <slot />\n </tbody>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BA,MAAM,QAAQ;EAMd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,cAAc,OAAO,KAAK;EAC5D,MAAM,SAAS,gBAAgB,EAAE,MAAM,GAAG,EAAE;EAC5C,MAAM,MAAM,cACV,cACA,QACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,MAAM,aACV,cACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,YAAY,YAAY,aAAa;EAC3C,MAAM,UAAU,eAA4C,MAAM;EAElE,SAAa,EACX,MAAM,QACR,CAAC;;;;;;;;;;;;;;;;;;;CAIC,OAAAA,UAAA,GAAAC,mBAOQ,SAPRC,WAOQ,EANN,KAAI,OAAM,GACF,OAAA,WAAS;EAChB,OAAO,OAAA,IAAI;EACX,OAAO,OAAA,IAAI;C,KAEZC,WAAQ,KAAA,QAAA,SAAA,C"}
|
|
@@ -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/table/table-tbody.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=table-tbody.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 { tdRecipe } from "@hebium-ui/core";
|
|
5
|
-
|
|
5
|
+
// src/components/table/table-td.vue
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
name: "HuiTableTd",
|
|
8
8
|
inheritAttrs: false,
|
|
@@ -38,7 +38,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
38
38
|
const recipe = computed(() => tdRecipe({}));
|
|
39
39
|
const cls = useHuiClasses("TableTd", recipe, computed(() => ({ root: props.class })));
|
|
40
40
|
const sls = useHuiStyles("TableTd", 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 table_td_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/table/table-td.vue"]]);
|
|
68
|
-
//#endregion
|
|
69
68
|
export { table_td_default as default };
|
|
70
69
|
|
|
71
70
|
//# sourceMappingURL=table-td.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-td.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/table/table-td.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { tdRecipe } 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: \"HuiTableTd\",\n inheritAttrs: false,\n});\n\ntype Props =\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"td\">,\n \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"TableTd\", props, attrs);\nconst recipe = computed(() => tdRecipe({}));\nconst cls = useHuiClasses(\n \"TableTd\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TableTd\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps
|
|
1
|
+
{"version":3,"file":"table-td.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/table/table-td.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { tdRecipe } 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: \"HuiTableTd\",\n inheritAttrs: false,\n});\n\ntype Props =\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"td\">,\n \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"TableTd\", props, attrs);\nconst recipe = computed(() => tdRecipe({}));\nconst cls = useHuiClasses(\n \"TableTd\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TableTd\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps);\nconst rootRef = useTemplateRef<HuiElementInstance<\"td\">>(\"root\");\n\ndefineExpose({\n root: rootRef,\n});\n</script>\n\n<template>\n <td\n ref=\"root\"\n v-bind=\"rootAttrs\"\n :class=\"cls.root\"\n :style=\"sls.root\"\n >\n <slot />\n </td>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCA,MAAM,QAAQ;EAMd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,WAAW,OAAO,KAAK;EACzD,MAAM,SAAS,eAAe,SAAS,CAAC,CAAC,CAAC;EAC1C,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,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"}
|
|
@@ -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/table/table-td.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=table-td.vue.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useHuiAttrs, useHuiClasses, useHuiProps, useHuiStyles } from "../../provider/hui-provider.context.js";
|
|
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
|
+
// src/components/table/table-tfoot.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
name: "HuiTableTfoot",
|
|
7
7
|
inheritAttrs: false,
|
|
@@ -37,7 +37,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
37
37
|
const recipe = computed(() => ({ root: "" }));
|
|
38
38
|
const cls = useHuiClasses("TableTfoot", recipe, computed(() => ({ root: props.class })));
|
|
39
39
|
const sls = useHuiStyles("TableTfoot", computed(() => ({ root: props.style })));
|
|
40
|
-
const rootAttrs = useHuiAttrs(resolvedProps
|
|
40
|
+
const rootAttrs = useHuiAttrs(resolvedProps);
|
|
41
41
|
const rootRef = useTemplateRef("root");
|
|
42
42
|
__expose({ root: rootRef });
|
|
43
43
|
const __returned__ = {
|
|
@@ -64,7 +64,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64
64
|
}), [renderSlot(_ctx.$slots, "default")], 16);
|
|
65
65
|
}
|
|
66
66
|
var table_tfoot_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/table/table-tfoot.vue"]]);
|
|
67
|
-
//#endregion
|
|
68
67
|
export { table_tfoot_default as default };
|
|
69
68
|
|
|
70
69
|
//# sourceMappingURL=table-tfoot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-tfoot.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/table/table-tfoot.vue"],"sourcesContent":["<script setup lang=\"ts\">\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: \"HuiTableTfoot\",\n inheritAttrs: false,\n});\n\ntype Props =\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"tfoot\">,\n \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"TableTfoot\", props, attrs);\nconst recipe = computed(() => ({ root: \"\" }));\nconst cls = useHuiClasses(\n \"TableTfoot\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TableTfoot\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps
|
|
1
|
+
{"version":3,"file":"table-tfoot.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/table/table-tfoot.vue"],"sourcesContent":["<script setup lang=\"ts\">\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: \"HuiTableTfoot\",\n inheritAttrs: false,\n});\n\ntype Props =\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"tfoot\">,\n \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"TableTfoot\", props, attrs);\nconst recipe = computed(() => ({ root: \"\" }));\nconst cls = useHuiClasses(\n \"TableTfoot\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TableTfoot\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps);\nconst rootRef = useTemplateRef<HuiElementInstance<\"tfoot\">>(\"root\");\n\ndefineExpose({\n root: rootRef,\n});\n</script>\n\n<template>\n <tfoot\n ref=\"root\"\n v-bind=\"rootAttrs\"\n :class=\"cls.root\"\n :style=\"sls.root\"\n >\n <slot />\n </tfoot>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BA,MAAM,QAAQ;EAMd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,cAAc,OAAO,KAAK;EAC5D,MAAM,SAAS,gBAAgB,EAAE,MAAM,GAAG,EAAE;EAC5C,MAAM,MAAM,cACV,cACA,QACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,MAAM,aACV,cACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,YAAY,YAAY,aAAa;EAC3C,MAAM,UAAU,eAA4C,MAAM;EAElE,SAAa,EACX,MAAM,QACR,CAAC;;;;;;;;;;;;;;;;;;;CAIC,OAAAA,UAAA,GAAAC,mBAOQ,SAPRC,WAOQ,EANN,KAAI,OAAM,GACF,OAAA,WAAS;EAChB,OAAO,OAAA,IAAI;EACX,OAAO,OAAA,IAAI;C,KAEZC,WAAQ,KAAA,QAAA,SAAA,C"}
|
|
@@ -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/table/table-tfoot.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=table-tfoot.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 { thRecipe } from "@hebium-ui/core";
|
|
5
|
-
|
|
5
|
+
// src/components/table/table-th.vue
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
name: "HuiTableTh",
|
|
8
8
|
inheritAttrs: false,
|
|
@@ -38,7 +38,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
38
38
|
const recipe = computed(() => thRecipe({}));
|
|
39
39
|
const cls = useHuiClasses("TableTh", recipe, computed(() => ({ root: props.class })));
|
|
40
40
|
const sls = useHuiStyles("TableTh", 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 table_th_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/table/table-th.vue"]]);
|
|
68
|
-
//#endregion
|
|
69
68
|
export { table_th_default as default };
|
|
70
69
|
|
|
71
70
|
//# sourceMappingURL=table-th.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-th.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/table/table-th.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { thRecipe } 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: \"HuiTableTh\",\n inheritAttrs: false,\n});\n\ntype Props =\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"th\">,\n \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"TableTh\", props, attrs);\nconst recipe = computed(() => thRecipe({}));\nconst cls = useHuiClasses(\n \"TableTh\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TableTh\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps
|
|
1
|
+
{"version":3,"file":"table-th.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/table/table-th.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { thRecipe } 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: \"HuiTableTh\",\n inheritAttrs: false,\n});\n\ntype Props =\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"th\">,\n \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"TableTh\", props, attrs);\nconst recipe = computed(() => thRecipe({}));\nconst cls = useHuiClasses(\n \"TableTh\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TableTh\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps);\nconst rootRef = useTemplateRef<HuiElementInstance<\"th\">>(\"root\");\n\ndefineExpose({\n root: rootRef,\n});\n</script>\n\n<template>\n <th\n ref=\"root\"\n v-bind=\"rootAttrs\"\n :class=\"cls.root\"\n :style=\"sls.root\"\n >\n <slot />\n </th>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCA,MAAM,QAAQ;EAMd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,WAAW,OAAO,KAAK;EACzD,MAAM,SAAS,eAAe,SAAS,CAAC,CAAC,CAAC;EAC1C,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,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"}
|
|
@@ -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/table/table-th.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=table-th.vue.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useHuiAttrs, useHuiClasses, useHuiProps, useHuiStyles } from "../../provider/hui-provider.context.js";
|
|
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
|
+
// src/components/table/table-thead.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
name: "HuiTableThead",
|
|
7
7
|
inheritAttrs: false,
|
|
@@ -37,7 +37,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
37
37
|
const recipe = computed(() => ({ root: "" }));
|
|
38
38
|
const cls = useHuiClasses("TableThead", recipe, computed(() => ({ root: props.class })));
|
|
39
39
|
const sls = useHuiStyles("TableThead", computed(() => ({ root: props.style })));
|
|
40
|
-
const rootAttrs = useHuiAttrs(resolvedProps
|
|
40
|
+
const rootAttrs = useHuiAttrs(resolvedProps);
|
|
41
41
|
const rootRef = useTemplateRef("root");
|
|
42
42
|
__expose({ root: rootRef });
|
|
43
43
|
const __returned__ = {
|
|
@@ -64,7 +64,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64
64
|
}), [renderSlot(_ctx.$slots, "default")], 16);
|
|
65
65
|
}
|
|
66
66
|
var table_thead_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/table/table-thead.vue"]]);
|
|
67
|
-
//#endregion
|
|
68
67
|
export { table_thead_default as default };
|
|
69
68
|
|
|
70
69
|
//# sourceMappingURL=table-thead.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-thead.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/table/table-thead.vue"],"sourcesContent":["<script setup lang=\"ts\">\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: \"HuiTableThead\",\n inheritAttrs: false,\n});\n\ntype Props =\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"thead\">,\n \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"TableThead\", props, attrs);\nconst recipe = computed(() => ({ root: \"\" }));\nconst cls = useHuiClasses(\n \"TableThead\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TableThead\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps
|
|
1
|
+
{"version":3,"file":"table-thead.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/table/table-thead.vue"],"sourcesContent":["<script setup lang=\"ts\">\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: \"HuiTableThead\",\n inheritAttrs: false,\n});\n\ntype Props =\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"thead\">,\n \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"TableThead\", props, attrs);\nconst recipe = computed(() => ({ root: \"\" }));\nconst cls = useHuiClasses(\n \"TableThead\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TableThead\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps);\nconst rootRef = useTemplateRef<HuiElementInstance<\"thead\">>(\"root\");\n\ndefineExpose({\n root: rootRef,\n});\n</script>\n\n<template>\n <thead\n ref=\"root\"\n v-bind=\"rootAttrs\"\n :class=\"cls.root\"\n :style=\"sls.root\"\n >\n <slot />\n </thead>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BA,MAAM,QAAQ;EAMd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,cAAc,OAAO,KAAK;EAC5D,MAAM,SAAS,gBAAgB,EAAE,MAAM,GAAG,EAAE;EAC5C,MAAM,MAAM,cACV,cACA,QACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,MAAM,aACV,cACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,YAAY,YAAY,aAAa;EAC3C,MAAM,UAAU,eAA4C,MAAM;EAElE,SAAa,EACX,MAAM,QACR,CAAC;;;;;;;;;;;;;;;;;;;CAIC,OAAAA,UAAA,GAAAC,mBAOQ,SAPRC,WAOQ,EANN,KAAI,OAAM,GACF,OAAA,WAAS;EAChB,OAAO,OAAA,IAAI;EACX,OAAO,OAAA,IAAI;C,KAEZC,WAAQ,KAAA,QAAA,SAAA,C"}
|
|
@@ -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/table/table-thead.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=table-thead.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 { trRecipe } from "@hebium-ui/core";
|
|
5
|
-
|
|
5
|
+
// src/components/table/table-tr.vue
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
name: "HuiTableTr",
|
|
8
8
|
inheritAttrs: false,
|
|
@@ -42,11 +42,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
42
42
|
const recipe = computed(() => trRecipe({ border: resolvedProps.value.border }));
|
|
43
43
|
const cls = useHuiClasses("TableTr", recipe, computed(() => ({ root: props.class })));
|
|
44
44
|
const sls = useHuiStyles("TableTr", computed(() => ({ root: props.style })));
|
|
45
|
-
const rootAttrs = useHuiAttrs(resolvedProps, [
|
|
46
|
-
"border",
|
|
47
|
-
"class",
|
|
48
|
-
"style"
|
|
49
|
-
]);
|
|
45
|
+
const rootAttrs = useHuiAttrs(resolvedProps, ["border"]);
|
|
50
46
|
const rootRef = useTemplateRef("root");
|
|
51
47
|
__expose({ root: rootRef });
|
|
52
48
|
const __returned__ = {
|
|
@@ -73,7 +69,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
73
69
|
}), [renderSlot(_ctx.$slots, "default")], 16);
|
|
74
70
|
}
|
|
75
71
|
var table_tr_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/table/table-tr.vue"]]);
|
|
76
|
-
//#endregion
|
|
77
72
|
export { table_tr_default as default };
|
|
78
73
|
|
|
79
74
|
//# sourceMappingURL=table-tr.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-tr.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/table/table-tr.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { trRecipe } 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 { TableTrOwnProps } from \"./table.types\";\n\ndefineOptions({\n name: \"HuiTableTr\",\n inheritAttrs: false,\n});\n\ntype Props =\n & TableTrOwnProps\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"tr\">,\n keyof TableTrOwnProps | \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"TableTr\", props, attrs);\nconst recipe = computed(() => trRecipe({ border: resolvedProps.value.border }));\nconst cls = useHuiClasses(\n \"TableTr\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TableTr\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps, [\"border\"
|
|
1
|
+
{"version":3,"file":"table-tr.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/table/table-tr.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { trRecipe } 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 { TableTrOwnProps } from \"./table.types\";\n\ndefineOptions({\n name: \"HuiTableTr\",\n inheritAttrs: false,\n});\n\ntype Props =\n & TableTrOwnProps\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"tr\">,\n keyof TableTrOwnProps | \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"TableTr\", props, attrs);\nconst recipe = computed(() => trRecipe({ border: resolvedProps.value.border }));\nconst cls = useHuiClasses(\n \"TableTr\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TableTr\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps, [\"border\"]);\nconst rootRef = useTemplateRef<HuiElementInstance<\"tr\">>(\"root\");\n\ndefineExpose({\n root: rootRef,\n});\n</script>\n\n<template>\n <tr\n ref=\"root\"\n v-bind=\"rootAttrs\"\n :class=\"cls.root\"\n :style=\"sls.root\"\n >\n <slot />\n </tr>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCA,MAAM,QAAQ;EAMd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,WAAW,OAAO,KAAK;EACzD,MAAM,SAAS,eAAe,SAAS,EAAE,QAAQ,cAAc,MAAM,OAAO,CAAC,CAAC;EAC9E,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,CAAC,QAAQ,CAAC;EACvD,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 { HuiElementPropsNoInfer } from "../../types/element.js";
|
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { TableTrOwnProps } from "./table.types.js";
|
|
4
4
|
import { ClassValue, StyleValue } from "vue";
|
|
5
|
-
//#region src/components/table/table-tr.vue.d.ts
|
|
6
5
|
type Props = TableTrOwnProps & {
|
|
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=table-tr.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 { tableRecipe } from "@hebium-ui/core";
|
|
5
|
-
|
|
5
|
+
// src/components/table/table.vue
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
name: "HuiTable",
|
|
8
8
|
inheritAttrs: false,
|
|
@@ -42,11 +42,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
42
42
|
const recipe = computed(() => tableRecipe({ border: resolvedProps.value.border }));
|
|
43
43
|
const cls = useHuiClasses("Table", recipe, computed(() => ({ root: props.class })));
|
|
44
44
|
const sls = useHuiStyles("Table", computed(() => ({ root: props.style })));
|
|
45
|
-
const rootAttrs = useHuiAttrs(resolvedProps, [
|
|
46
|
-
"border",
|
|
47
|
-
"class",
|
|
48
|
-
"style"
|
|
49
|
-
]);
|
|
45
|
+
const rootAttrs = useHuiAttrs(resolvedProps, ["border"]);
|
|
50
46
|
const rootRef = useTemplateRef("root");
|
|
51
47
|
__expose({ root: rootRef });
|
|
52
48
|
const __returned__ = {
|
|
@@ -73,7 +69,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
73
69
|
}), [renderSlot(_ctx.$slots, "default")], 16);
|
|
74
70
|
}
|
|
75
71
|
var table_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/table/table.vue"]]);
|
|
76
|
-
//#endregion
|
|
77
72
|
export { table_default as default };
|
|
78
73
|
|
|
79
74
|
//# sourceMappingURL=table.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/table/table.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { tableRecipe } 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 { TableOwnProps } from \"./table.types\";\n\ndefineOptions({\n name: \"HuiTable\",\n inheritAttrs: false,\n});\n\ntype Props =\n & TableOwnProps\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"table\">,\n keyof TableOwnProps | \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"Table\", props, attrs);\nconst recipe = computed(() =>\n tableRecipe({ border: resolvedProps.value.border })\n);\nconst cls = useHuiClasses(\n \"Table\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"Table\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps, [\"border\"
|
|
1
|
+
{"version":3,"file":"table.js","names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot"],"sources":["../../../src/components/table/table.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { tableRecipe } 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 { TableOwnProps } from \"./table.types\";\n\ndefineOptions({\n name: \"HuiTable\",\n inheritAttrs: false,\n});\n\ntype Props =\n & TableOwnProps\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<\"table\">,\n keyof TableOwnProps | \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"Table\", props, attrs);\nconst recipe = computed(() =>\n tableRecipe({ border: resolvedProps.value.border })\n);\nconst cls = useHuiClasses(\n \"Table\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"Table\",\n computed(() => ({ root: props.style })),\n);\nconst rootAttrs = useHuiAttrs(resolvedProps, [\"border\"]);\nconst rootRef = useTemplateRef<HuiElementInstance<\"table\">>(\"root\");\n\ndefineExpose({\n root: rootRef,\n});\n</script>\n\n<template>\n <table\n ref=\"root\"\n v-bind=\"rootAttrs\"\n :class=\"cls.root\"\n :style=\"sls.root\"\n >\n <slot />\n </table>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCA,MAAM,QAAQ;EAMd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,SAAS,OAAO,KAAK;EACvD,MAAM,SAAS,eACb,YAAY,EAAE,QAAQ,cAAc,MAAM,OAAO,CAAC,CACpD;EACA,MAAM,MAAM,cACV,SACA,QACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,MAAM,aACV,SACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,YAAY,YAAY,eAAe,CAAC,QAAQ,CAAC;EACvD,MAAM,UAAU,eAA4C,MAAM;EAElE,SAAa,EACX,MAAM,QACR,CAAC;;;;;;;;;;;;;;;;;;;CAIC,OAAAA,UAAA,GAAAC,mBAOQ,SAPRC,WAOQ,EANN,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 { CaptionSlots, CaptionVariants, TableSlots, TableVariants, TdSlots, ThSlots, TrSlots, TrVariants } from "@hebium-ui/core";
|
|
5
|
-
//#region src/components/table/table.types.d.ts
|
|
6
5
|
export interface TableOwnProps {
|
|
7
6
|
/**
|
|
8
7
|
* The border style of the table.
|
|
@@ -55,5 +54,4 @@ export type TableTdProps = HuiComponentProps<HuiElementProps<"td">, TdSlots>;
|
|
|
55
54
|
export interface TableTdExposed {
|
|
56
55
|
readonly root: HuiElementInstance<"td"> | null;
|
|
57
56
|
}
|
|
58
|
-
//#endregion
|
|
59
57
|
//# sourceMappingURL=table.types.d.ts.map
|
|
@@ -2,7 +2,6 @@ import { HuiElementPropsNoInfer } from "../../types/element.js";
|
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { TableOwnProps } from "./table.types.js";
|
|
4
4
|
import { ClassValue, StyleValue } from "vue";
|
|
5
|
-
//#region src/components/table/table.vue.d.ts
|
|
6
5
|
type Props = TableOwnProps & {
|
|
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=table.vue.d.ts.map
|
|
@@ -3,7 +3,7 @@ import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.js"
|
|
|
3
3
|
import { useTabsContext } from "./tabs.context.js";
|
|
4
4
|
import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, toRaw, useAttrs, useTemplateRef, withCtx } from "vue";
|
|
5
5
|
import { tablistRecipe, tabsControl } from "@hebium-ui/core";
|
|
6
|
-
|
|
6
|
+
// src/components/tabs/tabs-list.vue
|
|
7
7
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
8
8
|
name: "HuiTabsList",
|
|
9
9
|
inheritAttrs: false,
|
|
@@ -45,11 +45,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
45
45
|
const recipe = computed(() => tablistRecipe({}));
|
|
46
46
|
const cls = useHuiClasses("TabsList", recipe, computed(() => ({ root: props.class })));
|
|
47
47
|
const sls = useHuiStyles("TabsList", 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
|
...tabsControl.getListAttributes({
|
|
55
51
|
rootId: context.rootId.value,
|
|
@@ -92,7 +88,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
92
88
|
}, 16, ["class", "style"]);
|
|
93
89
|
}
|
|
94
90
|
var tabs_list_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/tabs/tabs-list.vue"]]);
|
|
95
|
-
//#endregion
|
|
96
91
|
export { tabs_list_default as default };
|
|
97
92
|
|
|
98
93
|
//# sourceMappingURL=tabs-list.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs-list.js","names":["_openBlock","_createBlock","_resolveDynamicComponent","_mergeProps","_withCtx","_renderSlot"],"sources":["../../../src/components/tabs/tabs-list.vue"],"sourcesContent":["<script\n setup\n lang=\"ts\"\n generic=\"E extends ElementType = 'div'\"\n>\nimport { tablistRecipe, tabsControl } 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 { useTabsContext } from \"./tabs.context\";\n\ndefineOptions({\n name: \"HuiTabsList\",\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(\"TabsList\", props, attrs);\nconst component = computed<E | \"div\">(() =>\n toRaw(resolvedProps.value.as ?? \"div\")\n);\nconst context = useTabsContext();\nconst recipe = computed(() => tablistRecipe({}));\nconst cls = useHuiClasses(\n \"TabsList\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TabsList\",\n computed(() => ({ root: props.style })),\n);\nconst forwardedAttrs = useHuiAttrs(resolvedProps, [\n \"as\",\n
|
|
1
|
+
{"version":3,"file":"tabs-list.js","names":["_openBlock","_createBlock","_resolveDynamicComponent","_mergeProps","_withCtx","_renderSlot"],"sources":["../../../src/components/tabs/tabs-list.vue"],"sourcesContent":["<script\n setup\n lang=\"ts\"\n generic=\"E extends ElementType = 'div'\"\n>\nimport { tablistRecipe, tabsControl } 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 { useTabsContext } from \"./tabs.context\";\n\ndefineOptions({\n name: \"HuiTabsList\",\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(\"TabsList\", props, attrs);\nconst component = computed<E | \"div\">(() =>\n toRaw(resolvedProps.value.as ?? \"div\")\n);\nconst context = useTabsContext();\nconst recipe = computed(() => tablistRecipe({}));\nconst cls = useHuiClasses(\n \"TabsList\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TabsList\",\n computed(() => ({ root: props.style })),\n);\nconst forwardedAttrs = useHuiAttrs(resolvedProps, [\n \"as\",\n]);\nconst rootAttrs = computed<Record<string, unknown>>(() => ({\n ...tabsControl.getListAttributes(\n {\n rootId: context.rootId.value,\n selectedValue: context.selectedValue.value,\n },\n {\n ariaLabel: resolvedProps.value[\"aria-label\"],\n ariaLabelledBy: resolvedProps.value[\"aria-labelledby\"],\n },\n ),\n ...forwardedAttrs.value,\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,YAAY,OAAO,KAAK;EAC1D,MAAM,YAAY,eAChB,MAAM,cAAc,MAAM,MAAM,KAAK,CACvC;EACA,MAAM,UAAU,eAAe;EAC/B,MAAM,SAAS,eAAe,cAAc,CAAC,CAAC,CAAC;EAC/C,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,iBAAiB,YAAY,eAAe,CAChD,IACF,CAAC;EACD,MAAM,YAAY,gBAAyC;GACzD,GAAG,YAAY,kBACb;IACE,QAAQ,QAAQ,OAAO;IACvB,eAAe,QAAQ,cAAc;GACvC,GACA;IACE,WAAW,cAAc,MAAM;IAC/B,gBAAgB,cAAc,MAAM;GACtC,CACF;GACA,GAAG,eAAe;EACpB,EAAE;EACF,MAAM,UAAU,eAAsC,MAAM;EAE5D,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"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { ElementType, HuiElementInstance, HuiElementPropsNoInfer } from "../../types/element.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { ClassValue, StyleValue } from "vue";
|
|
4
|
-
//#region src/components/tabs/tabs-list.vue.d.ts
|
|
5
4
|
declare const __VLS_export: <E extends ElementType = "div">(__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<{
|
|
6
5
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
7
6
|
as?: E | undefined;
|
|
8
7
|
} & {
|
|
9
8
|
class?: ClassValue | undefined;
|
|
10
9
|
style?: StyleValue | undefined;
|
|
11
|
-
} & Omit<HuiElementPropsNoInfer<E>, "
|
|
10
|
+
} & Omit<HuiElementPropsNoInfer<E>, "class" | "style" | "as">> & (typeof globalThis extends {
|
|
12
11
|
__VLS_PROPS_FALLBACK: infer P;
|
|
13
12
|
} ? P : {});
|
|
14
13
|
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
@@ -24,6 +23,5 @@ declare const __VLS_export: <E extends ElementType = "div">(__VLS_props: NonNull
|
|
|
24
23
|
};
|
|
25
24
|
declare const _default: typeof __VLS_export;
|
|
26
25
|
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
27
|
-
//#endregion
|
|
28
26
|
export { _default as default };
|
|
29
27
|
//# sourceMappingURL=tabs-list.vue.d.ts.map
|
|
@@ -3,7 +3,7 @@ import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.js"
|
|
|
3
3
|
import { useTabsContext } from "./tabs.context.js";
|
|
4
4
|
import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, toRaw, useAttrs, useTemplateRef, withCtx } from "vue";
|
|
5
5
|
import { tabpanelRecipe, tabsControl } from "@hebium-ui/core";
|
|
6
|
-
|
|
6
|
+
// src/components/tabs/tabs-panel.vue
|
|
7
7
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
8
8
|
name: "HuiTabsPanel",
|
|
9
9
|
inheritAttrs: false,
|
|
@@ -49,12 +49,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
49
49
|
const recipe = computed(() => tabpanelRecipe({}));
|
|
50
50
|
const cls = useHuiClasses("TabsPanel", recipe, computed(() => ({ root: props.class })));
|
|
51
51
|
const sls = useHuiStyles("TabsPanel", computed(() => ({ root: props.style })));
|
|
52
|
-
const forwardedAttrs = useHuiAttrs(resolvedProps, [
|
|
53
|
-
"as",
|
|
54
|
-
"value",
|
|
55
|
-
"class",
|
|
56
|
-
"style"
|
|
57
|
-
]);
|
|
52
|
+
const forwardedAttrs = useHuiAttrs(resolvedProps, ["as", "value"]);
|
|
58
53
|
const rootAttrs = computed(() => ({
|
|
59
54
|
...tabsControl.getPanelAttributes({
|
|
60
55
|
rootId: context.rootId.value,
|
|
@@ -94,7 +89,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
94
89
|
}, 16, ["class", "style"]);
|
|
95
90
|
}
|
|
96
91
|
var tabs_panel_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/hebium-ui/hebium-ui/packages/vue/src/components/tabs/tabs-panel.vue"]]);
|
|
97
|
-
//#endregion
|
|
98
92
|
export { tabs_panel_default as default };
|
|
99
93
|
|
|
100
94
|
//# sourceMappingURL=tabs-panel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs-panel.js","names":["_openBlock","_createBlock","_resolveDynamicComponent","_mergeProps","_withCtx","_renderSlot"],"sources":["../../../src/components/tabs/tabs-panel.vue"],"sourcesContent":["<script\n setup\n lang=\"ts\"\n generic=\"E extends ElementType = 'div'\"\n>\nimport { tabpanelRecipe, tabsControl } 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 { useTabsContext } from \"./tabs.context\";\nimport type { TabsPanelOwnProps } from \"./tabs.types\";\n\ndefineOptions({\n name: \"HuiTabsPanel\",\n inheritAttrs: false,\n});\n\ntype Props =\n & TabsPanelOwnProps\n & { as?: E | undefined }\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<E>,\n keyof TabsPanelOwnProps | \"as\" | \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"TabsPanel\", props, attrs);\nconst component = computed<E | \"div\">(() =>\n toRaw(resolvedProps.value.as ?? \"div\")\n);\nconst context = useTabsContext();\nconst recipe = computed(() => tabpanelRecipe({}));\nconst cls = useHuiClasses(\n \"TabsPanel\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TabsPanel\",\n computed(() => ({ root: props.style })),\n);\nconst forwardedAttrs = useHuiAttrs(resolvedProps, [\n \"as\",\n \"value\",\n
|
|
1
|
+
{"version":3,"file":"tabs-panel.js","names":["_openBlock","_createBlock","_resolveDynamicComponent","_mergeProps","_withCtx","_renderSlot"],"sources":["../../../src/components/tabs/tabs-panel.vue"],"sourcesContent":["<script\n setup\n lang=\"ts\"\n generic=\"E extends ElementType = 'div'\"\n>\nimport { tabpanelRecipe, tabsControl } 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 { useTabsContext } from \"./tabs.context\";\nimport type { TabsPanelOwnProps } from \"./tabs.types\";\n\ndefineOptions({\n name: \"HuiTabsPanel\",\n inheritAttrs: false,\n});\n\ntype Props =\n & TabsPanelOwnProps\n & { as?: E | undefined }\n & {\n class?: ClassValue | undefined;\n style?: StyleValue | undefined;\n }\n & /* @vue-ignore */ Omit<\n HuiElementPropsNoInfer<E>,\n keyof TabsPanelOwnProps | \"as\" | \"class\" | \"style\"\n >;\n\nconst props = defineProps<Props>();\n\ndefineSlots<{\n default?: () => unknown;\n}>();\n\nconst attrs = useAttrs();\nconst resolvedProps = useHuiProps(\"TabsPanel\", props, attrs);\nconst component = computed<E | \"div\">(() =>\n toRaw(resolvedProps.value.as ?? \"div\")\n);\nconst context = useTabsContext();\nconst recipe = computed(() => tabpanelRecipe({}));\nconst cls = useHuiClasses(\n \"TabsPanel\",\n recipe,\n computed(() => ({ root: props.class })),\n);\nconst sls = useHuiStyles(\n \"TabsPanel\",\n computed(() => ({ root: props.style })),\n);\nconst forwardedAttrs = useHuiAttrs(resolvedProps, [\n \"as\",\n \"value\",\n]);\nconst rootAttrs = computed<Record<string, unknown>>(() => ({\n ...tabsControl.getPanelAttributes(\n {\n rootId: context.rootId.value,\n selectedValue: context.selectedValue.value,\n },\n resolvedProps.value.value,\n ),\n ...forwardedAttrs.value,\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6CA,MAAM,QAAQ;EAMd,MAAM,QAAQ,SAAS;EACvB,MAAM,gBAAgB,YAAY,aAAa,OAAO,KAAK;EAC3D,MAAM,YAAY,eAChB,MAAM,cAAc,MAAM,MAAM,KAAK,CACvC;EACA,MAAM,UAAU,eAAe;EAC/B,MAAM,SAAS,eAAe,eAAe,CAAC,CAAC,CAAC;EAChD,MAAM,MAAM,cACV,aACA,QACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,MAAM,aACV,aACA,gBAAgB,EAAE,MAAM,MAAM,MAAM,EAAE,CACxC;EACA,MAAM,iBAAiB,YAAY,eAAe,CAChD,MACA,OACF,CAAC;EACD,MAAM,YAAY,gBAAyC;GACzD,GAAG,YAAY,mBACb;IACE,QAAQ,QAAQ,OAAO;IACvB,eAAe,QAAQ,cAAc;GACvC,GACA,cAAc,MAAM,KACtB;GACA,GAAG,eAAe;EACpB,EAAE;EACF,MAAM,UAAU,eAAsC,MAAM;EAE5D,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,14 +2,13 @@ import { ElementType, HuiElementInstance, HuiElementPropsNoInfer } from "../../t
|
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { TabsPanelOwnProps } from "./tabs.types.js";
|
|
4
4
|
import { ClassValue, StyleValue } from "vue";
|
|
5
|
-
//#region src/components/tabs/tabs-panel.vue.d.ts
|
|
6
5
|
declare const __VLS_export: <E extends ElementType = "div">(__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<TabsPanelOwnProps & {
|
|
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" | "value">> & (typeof globalThis extends {
|
|
13
12
|
__VLS_PROPS_FALLBACK: infer P;
|
|
14
13
|
} ? P : {});
|
|
15
14
|
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
@@ -25,6 +24,5 @@ declare const __VLS_export: <E extends ElementType = "div">(__VLS_props: NonNull
|
|
|
25
24
|
};
|
|
26
25
|
declare const _default: typeof __VLS_export;
|
|
27
26
|
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
28
|
-
//#endregion
|
|
29
27
|
export { _default as default };
|
|
30
28
|
//# sourceMappingURL=tabs-panel.vue.d.ts.map
|