@vinicunca/taman-ui 0.1.3 → 0.1.4
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.mjs +1 -2
- package/dist/components/auth/taman-auth-form.mjs +1 -2
- package/dist/components/auth/taman-auth-form.vue.d.ts +0 -2
- package/dist/components/back-to-top/taman-back-to-top.mjs +1 -2
- package/dist/components/back-to-top/taman-back-to-top.vue.d.ts +0 -2
- package/dist/components/button/check-group-selection.mjs +1 -2
- package/dist/components/button/taman-button-check-group.mjs +1 -2
- package/dist/components/button/taman-button-check-group.types.d.ts +1 -3
- package/dist/components/button/taman-button-check-group.vue.d.ts +0 -2
- package/dist/components/button/taman-button-icon.mjs +1 -2
- package/dist/components/button/taman-button-icon.vue.d.ts +0 -2
- package/dist/components/descriptions/taman-description-cell.mjs +1 -2
- package/dist/components/descriptions/taman-description-item.mjs +1 -2
- package/dist/components/descriptions/taman-description-item.vue.d.ts +0 -2
- package/dist/components/descriptions/taman-description-row.mjs +1 -2
- package/dist/components/descriptions/taman-description.mjs +1 -2
- package/dist/components/descriptions/taman-description.types.d.ts +1 -3
- package/dist/components/descriptions/taman-description.vue.d.ts +7 -7
- package/dist/components/descriptions/use-taman-description.mjs +1 -2
- package/dist/components/file-upload/taman-file-upload.mjs +1 -2
- package/dist/components/file-upload/taman-file-upload.types.d.ts +1 -3
- package/dist/components/file-upload/taman-file-upload.vue.d.ts +0 -2
- package/dist/components/full-screen/full-screen.mjs +1 -2
- package/dist/components/full-screen/full-screen.vue.d.ts +0 -2
- package/dist/components/icon/icon.mjs +1 -2
- package/dist/components/icon/icon.vue.d.ts +0 -2
- package/dist/components/index.mjs +10 -10
- package/dist/components/input/password-strength.d.ts +1 -3
- package/dist/components/input/password-strength.mjs +1 -2
- package/dist/components/input/taman-input-currency.mjs +1 -2
- package/dist/components/input/taman-input-currency.types.d.ts +1 -3
- package/dist/components/input/taman-input-currency.vue.d.ts +0 -2
- package/dist/components/input/taman-input-password.mjs +1 -2
- package/dist/components/input/taman-input-password.vue.d.ts +0 -2
- package/dist/components/input-date/format-calendar-input-value.mjs +1 -2
- package/dist/components/input-date/taman-input-date.mjs +1 -2
- package/dist/components/input-date/taman-input-date.types.d.ts +1 -3
- package/dist/components/input-date/taman-input-date.vue.d.ts +0 -2
- package/dist/components/loading/index.d.ts +1 -1
- package/dist/components/loading/taman-loading.mjs +1 -2
- package/dist/components/loading/taman-loading.vue.d.ts +5 -5
- package/dist/components/loading/types.d.ts +1 -3
- package/dist/components/logo/taman-logo.mjs +1 -2
- package/dist/components/logo/taman-logo.vue.d.ts +5 -5
- package/dist/components/render-content/render-content.mjs +1 -2
- package/dist/components/render-content/render-content.vue.d.ts +0 -2
- package/dist/components/scrollbar/scrollbar.mjs +1 -2
- package/dist/components/scrollbar/scrollbar.vue.d.ts +5 -5
- package/dist/form/components/form-actions.mjs +1 -2
- package/dist/form/components/form-field-array.mjs +3 -4
- package/dist/form/components/form-field-array.types.d.ts +1 -3
- package/dist/form/form-render/form-render-field-collapsible.mjs +1 -2
- package/dist/form/form-render/form-render-field-control.mjs +1 -2
- package/dist/form/form-render/form-render-form-field.mjs +1 -2
- package/dist/form/form-render/form-render-form-label.mjs +1 -2
- package/dist/form/form-render/form-render-form.mjs +4 -5
- package/dist/form/form-render/form-render-group.mjs +1 -2
- package/dist/form/form-render/form-render.context.mjs +1 -2
- package/dist/form/form-render/form-render.dependencies.mjs +1 -2
- package/dist/form/form-render/form-render.helper.mjs +1 -2
- package/dist/form/form-render/form-render.schema.mjs +1 -2
- package/dist/form/form-render/index.mjs +1 -1
- package/dist/form/form.api.d.ts +0 -2
- package/dist/form/form.api.mjs +2 -3
- package/dist/form/form.built-ins.d.ts +1 -3
- package/dist/form/form.built-ins.mjs +1 -2
- package/dist/form/form.codec.d.ts +0 -2
- package/dist/form/form.codec.mjs +1 -2
- package/dist/form/form.config.d.ts +1 -3
- package/dist/form/form.config.mjs +2 -3
- package/dist/form/form.empty-value.d.ts +1 -3
- package/dist/form/form.empty-value.mjs +1 -2
- package/dist/form/form.field-name.mjs +1 -2
- package/dist/form/form.rule-registry.mjs +1 -2
- package/dist/form/form.runtime-field.mjs +1 -2
- package/dist/form/form.runtime.mjs +1 -2
- package/dist/form/form.schema-defaults.mjs +1 -2
- package/dist/form/form.types.d.ts +0 -2
- package/dist/form/form.use-delayed-flag.mjs +1 -2
- package/dist/form/form.use-form-context.mjs +1 -2
- package/dist/form/form.use-taman-form.d.ts +0 -2
- package/dist/form/form.use-taman-form.mjs +1 -2
- package/dist/form/index.d.ts +1 -1
- package/dist/form/index.mjs +1 -1
- package/dist/form/taman-use-form.mjs +4 -5
- package/dist/index.mjs +2 -2
- package/dist/layout/components/taman-core-button-collapse.mjs +1 -2
- package/dist/layout/components/taman-core-button-fixed.mjs +1 -2
- package/dist/layout/components/taman-core-layout-content.mjs +1 -2
- package/dist/layout/components/taman-core-layout-footer.mjs +1 -2
- package/dist/layout/components/taman-core-layout-header.mjs +1 -2
- package/dist/layout/components/taman-core-layout-sidebar.mjs +1 -2
- package/dist/layout/components/taman-core-layout-tabbar.mjs +1 -2
- package/dist/layout/composables/use-layout.mjs +1 -2
- package/dist/layout/composables/use-sidebar-drag.mjs +1 -2
- package/dist/layout/header-scroll-state.mjs +1 -2
- package/dist/layout/taman-core-layout.d.ts +0 -2
- package/dist/layout/taman-core-layout.mjs +1 -2
- package/dist/layout/taman-core-layout.vue.d.ts +32 -27
- package/dist/menu/components/collapse-transition.mjs +1 -2
- package/dist/menu/components/index.mjs +3 -3
- package/dist/menu/components/normal-menu/normal-menu.d.ts +0 -2
- package/dist/menu/components/normal-menu/normal-menu.mjs +1 -2
- package/dist/menu/components/normal-menu/normal-menu.vue.d.ts +0 -2
- package/dist/menu/components/taman-menu-badge-dot.mjs +1 -2
- package/dist/menu/components/taman-menu-badge.mjs +1 -2
- package/dist/menu/components/taman-menu-badge.vue.d.ts +0 -2
- package/dist/menu/components/taman-menu-item.mjs +3 -4
- package/dist/menu/components/taman-menu-root.mjs +5 -6
- package/dist/menu/components/taman-menu-sub-menu-content.mjs +1 -2
- package/dist/menu/components/taman-menu-sub-menu.mjs +3 -4
- package/dist/menu/composables/use-menu-context.mjs +1 -2
- package/dist/menu/composables/use-menu-scroll.mjs +1 -2
- package/dist/menu/composables/use-menu.mjs +1 -2
- package/dist/menu/menu.constants.mjs +1 -2
- package/dist/menu/menu.types.d.ts +0 -2
- package/dist/menu/menu.utils.mjs +1 -2
- package/dist/menu/taman-menu.mjs +1 -2
- package/dist/menu/taman-menu.vue.d.ts +0 -2
- package/dist/menu/taman-sub-menu.mjs +1 -2
- package/dist/popup/alert/alert-builder.d.ts +1 -3
- package/dist/popup/alert/alert-builder.mjs +1 -2
- package/dist/popup/alert/alert-overlay.mjs +1 -2
- package/dist/popup/alert/alert.d.ts +1 -3
- package/dist/popup/alert/alert.mjs +1 -2
- package/dist/popup/alert/alert.vue.d.ts +0 -2
- package/dist/popup/alert/alert2.mjs +1 -2
- package/dist/popup/alert/index.mjs +1 -1
- package/dist/popup/dialog/dialog.api.d.ts +1 -3
- package/dist/popup/dialog/dialog.api.mjs +1 -2
- package/dist/popup/dialog/dialog.mjs +26 -16
- package/dist/popup/dialog/dialog.types.d.ts +0 -2
- package/dist/popup/dialog/dialog.vue.d.ts +25 -25
- package/dist/popup/dialog/use-dialog-draggable.mjs +1 -2
- package/dist/popup/dialog/use-taman-dialog.d.ts +0 -2
- package/dist/popup/dialog/use-taman-dialog.mjs +2 -3
- package/dist/popup/drawer/drawer.api.d.ts +1 -3
- package/dist/popup/drawer/drawer.api.mjs +1 -2
- package/dist/popup/drawer/drawer.mjs +29 -14
- package/dist/popup/drawer/drawer.types.d.ts +0 -2
- package/dist/popup/drawer/drawer.vue.d.ts +27 -27
- package/dist/popup/drawer/use-taman-drawer.d.ts +0 -2
- package/dist/popup/drawer/use-taman-drawer.mjs +2 -3
- package/dist/tabs/components/taman-tabs.mjs +1 -2
- package/dist/tabs/components/widgets/tool-more.mjs +1 -2
- package/dist/tabs/components/widgets/tool-more.vue.d.ts +0 -2
- package/dist/tabs/components/widgets/tool-refresh.mjs +1 -2
- package/dist/tabs/components/widgets/tool-refresh.vue.d.ts +0 -2
- package/dist/tabs/components/widgets/tool-screen.mjs +1 -2
- package/dist/tabs/components/widgets/tool-screen.vue.d.ts +0 -2
- package/dist/tabs/strict-context-menu.d.ts +0 -2
- package/dist/tabs/tabs.types.d.ts +1 -3
- package/dist/tabs/taman-tabs-view.mjs +1 -2
- package/dist/tabs/taman-tabs-view.vue.d.ts +0 -2
- package/dist/tabs/use-tabs-drag.mjs +1 -2
- package/dist/tabs/use-tabs-view-scroll.mjs +1 -2
- package/dist/ui/alert-dialog/alert-dialog-action.mjs +1 -2
- package/dist/ui/alert-dialog/alert-dialog-action.vue.d.ts +5 -5
- package/dist/ui/alert-dialog/alert-dialog-cancel.mjs +1 -2
- package/dist/ui/alert-dialog/alert-dialog-cancel.vue.d.ts +5 -5
- package/dist/ui/alert-dialog/alert-dialog-content.mjs +1 -2
- package/dist/ui/alert-dialog/alert-dialog-content.vue.d.ts +5 -5
- package/dist/ui/alert-dialog/alert-dialog-description.mjs +1 -2
- package/dist/ui/alert-dialog/alert-dialog-description.vue.d.ts +5 -5
- package/dist/ui/alert-dialog/alert-dialog-footer.mjs +1 -2
- package/dist/ui/alert-dialog/alert-dialog-footer.vue.d.ts +5 -5
- package/dist/ui/alert-dialog/alert-dialog-header.mjs +1 -2
- package/dist/ui/alert-dialog/alert-dialog-header.vue.d.ts +5 -5
- package/dist/ui/alert-dialog/alert-dialog-overlay.mjs +1 -2
- package/dist/ui/alert-dialog/alert-dialog-root.mjs +1 -2
- package/dist/ui/alert-dialog/alert-dialog-root.vue.d.ts +8 -8
- package/dist/ui/alert-dialog/alert-dialog-title.mjs +1 -2
- package/dist/ui/alert-dialog/alert-dialog-title.vue.d.ts +5 -5
- package/dist/ui/alert-dialog/alert-dialog-trigger.mjs +1 -2
- package/dist/ui/alert-dialog/alert-dialog-trigger.vue.d.ts +5 -5
- package/dist/ui/dialog/dialog-close.mjs +1 -2
- package/dist/ui/dialog/dialog-close.vue.d.ts +5 -5
- package/dist/ui/dialog/dialog-content.mjs +10 -6
- package/dist/ui/dialog/dialog-content.vue.d.ts +7 -5
- package/dist/ui/dialog/dialog-description.mjs +1 -2
- package/dist/ui/dialog/dialog-description.vue.d.ts +5 -5
- package/dist/ui/dialog/dialog-footer.mjs +1 -2
- package/dist/ui/dialog/dialog-footer.vue.d.ts +5 -5
- package/dist/ui/dialog/dialog-header.mjs +1 -2
- package/dist/ui/dialog/dialog-header.vue.d.ts +5 -5
- package/dist/ui/dialog/dialog-overlay.mjs +1 -2
- package/dist/ui/dialog/dialog-overlay.vue.d.ts +0 -2
- package/dist/ui/dialog/dialog-root.mjs +1 -2
- package/dist/ui/dialog/dialog-root.vue.d.ts +8 -8
- package/dist/ui/dialog/dialog-title.mjs +1 -2
- package/dist/ui/dialog/dialog-title.vue.d.ts +5 -5
- package/dist/ui/dialog/dialog-trigger.mjs +1 -2
- package/dist/ui/dialog/dialog-trigger.vue.d.ts +5 -5
- package/dist/ui/dialog/index.mjs +4 -4
- package/dist/ui/dialog/use-dialog-state-events.mjs +1 -2
- package/dist/ui/form/form-control.mjs +1 -2
- package/dist/ui/form/form-control.vue.d.ts +5 -5
- package/dist/ui/form/form-description.mjs +1 -2
- package/dist/ui/form/form-description.vue.d.ts +5 -5
- package/dist/ui/form/form-field.mjs +1 -2
- package/dist/ui/form/form-field.vue.d.ts +5 -5
- package/dist/ui/form/form-item.mjs +1 -2
- package/dist/ui/form/form-item.vue.d.ts +5 -5
- package/dist/ui/form/form-label.mjs +3 -4
- package/dist/ui/form/form-label.vue.d.ts +5 -5
- package/dist/ui/form/form-message.mjs +1 -2
- package/dist/ui/form/form-message.vue.d.ts +0 -2
- package/dist/ui/form/injection-keys.d.ts +1 -3
- package/dist/ui/form/injection-keys.mjs +1 -2
- package/dist/ui/form/use-form-field.mjs +1 -2
- package/dist/ui/index.mjs +2 -2
- package/dist/ui/label/label.mjs +1 -2
- package/dist/ui/label/label.vue.d.ts +5 -5
- package/dist/ui/scroll-area/index.mjs +3 -3
- package/dist/ui/scroll-area/scroll-area.mjs +1 -2
- package/dist/ui/scroll-area/scroll-area.vue.d.ts +5 -5
- package/dist/ui/scroll-area/scroll-bar.mjs +1 -2
- package/dist/ui/scroll-area/scroll-bar.vue.d.ts +0 -2
- package/dist/ui/sheet/sheet-close.mjs +1 -2
- package/dist/ui/sheet/sheet-close.vue.d.ts +5 -5
- package/dist/ui/sheet/sheet-content.mjs +9 -5
- package/dist/ui/sheet/sheet-content.vue.d.ts +7 -5
- package/dist/ui/sheet/sheet-description.mjs +1 -2
- package/dist/ui/sheet/sheet-description.vue.d.ts +5 -5
- package/dist/ui/sheet/sheet-footer.mjs +1 -2
- package/dist/ui/sheet/sheet-footer.vue.d.ts +5 -5
- package/dist/ui/sheet/sheet-header.mjs +1 -2
- package/dist/ui/sheet/sheet-header.vue.d.ts +5 -5
- package/dist/ui/sheet/sheet-overlay.mjs +1 -2
- package/dist/ui/sheet/sheet-root.mjs +1 -2
- package/dist/ui/sheet/sheet-root.vue.d.ts +8 -8
- package/dist/ui/sheet/sheet-title.mjs +1 -2
- package/dist/ui/sheet/sheet-title.vue.d.ts +5 -5
- package/dist/ui/sheet/sheet.variants.d.ts +1 -3
- package/dist/ui/sheet/sheet.variants.mjs +1 -2
- package/dist/unocss/content.d.ts +1 -3
- package/dist/unocss/content.mjs +1 -2
- package/package.json +8 -8
|
@@ -2,7 +2,7 @@ import _sfc_main$1 from "../../components/icon/icon.mjs";
|
|
|
2
2
|
import "../../index.mjs";
|
|
3
3
|
import { Fragment, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, normalizeClass, normalizeStyle, openBlock, renderList, toDisplayString, unref, useModel, vShow, withCtx, withDirectives, withModifiers } from "vue";
|
|
4
4
|
import PContextMenu from "pohon-ui/components/ContextMenu.vue";
|
|
5
|
-
|
|
5
|
+
// src/tabs/components/taman-tabs.vue
|
|
6
6
|
const _hoisted_1 = [
|
|
7
7
|
"data-active-tab",
|
|
8
8
|
"data-index",
|
|
@@ -154,5 +154,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
154
154
|
};
|
|
155
155
|
}
|
|
156
156
|
});
|
|
157
|
-
//#endregion
|
|
158
157
|
export { _sfc_main as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createBlock, createVNode, defineComponent, openBlock, withCtx } from "vue";
|
|
2
2
|
import PButton from "pohon-ui/components/Button.vue";
|
|
3
3
|
import PDropdownMenu from "pohon-ui/components/DropdownMenu.vue";
|
|
4
|
-
|
|
4
|
+
// src/tabs/components/widgets/tool-more.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
__name: "tool-more",
|
|
7
7
|
props: {
|
|
@@ -41,5 +41,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
|
-
//#endregion
|
|
45
44
|
export { _sfc_main as default };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { DropdownMenuProps } from "pohon-ui";
|
|
2
|
-
//#region src/tabs/components/widgets/tool-more.vue.d.ts
|
|
3
2
|
type __VLS_Props = DropdownMenuProps;
|
|
4
3
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
4
|
declare const _default: typeof __VLS_export;
|
|
6
|
-
//#endregion
|
|
7
5
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createBlock, defineComponent, openBlock } from "vue";
|
|
2
2
|
import PButton from "pohon-ui/components/Button.vue";
|
|
3
|
-
|
|
3
|
+
// src/tabs/components/widgets/tool-refresh.vue
|
|
4
4
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "tool-refresh",
|
|
6
6
|
emits: ["refresh"],
|
|
@@ -21,5 +21,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
|
-
//#endregion
|
|
25
24
|
export { _sfc_main as default };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
//#region src/tabs/components/widgets/tool-refresh.vue.d.ts
|
|
2
1
|
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
2
|
refresh: (...args: any[]) => void;
|
|
4
3
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
5
4
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
6
5
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
6
|
declare const _default: typeof __VLS_export;
|
|
8
|
-
//#endregion
|
|
9
7
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createBlock, defineComponent, openBlock, useModel } from "vue";
|
|
2
2
|
import PButton from "pohon-ui/components/Button.vue";
|
|
3
|
-
|
|
3
|
+
// src/tabs/components/widgets/tool-screen.vue
|
|
4
4
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "tool-screen",
|
|
6
6
|
props: {
|
|
@@ -25,5 +25,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
|
-
//#endregion
|
|
29
28
|
export { _sfc_main as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/tabs/components/widgets/tool-screen.vue.d.ts
|
|
2
1
|
type __VLS_ModelProps = {
|
|
3
2
|
'screen'?: boolean;
|
|
4
3
|
};
|
|
@@ -8,5 +7,4 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
8
7
|
"onUpdate:screen"?: ((value: boolean | undefined) => any) | undefined;
|
|
9
8
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
9
|
declare const _default: typeof __VLS_export;
|
|
11
|
-
//#endregion
|
|
12
10
|
export { _default as default };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { RemoveIndexSignature } from "@vinicunca/taman-core/typings";
|
|
2
2
|
import { ContextMenuItem } from "pohon-ui";
|
|
3
|
-
//#region src/tabs/strict-context-menu.d.ts
|
|
4
3
|
type StrictContextMenuItemBase = RemoveIndexSignature<ContextMenuItem>;
|
|
5
4
|
export type StrictContextMenuItem = Omit<StrictContextMenuItemBase, 'children'> & {
|
|
6
5
|
children?: Array<StrictContextMenuItem> | Array<Array<StrictContextMenuItem>>;
|
|
7
6
|
key: string;
|
|
8
7
|
};
|
|
9
|
-
//#endregion
|
|
10
8
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { StrictContextMenuItem } from "./strict-context-menu.js";
|
|
2
2
|
import { TamanTabDefinition } from "@vinicunca/taman-core/typings";
|
|
3
|
-
//#region src/tabs/tabs.types.d.ts
|
|
4
3
|
export interface TabsEmits {
|
|
5
4
|
close: [string];
|
|
6
5
|
sortTabs: [number, number];
|
|
@@ -25,5 +24,4 @@ export interface TabConfig extends TamanTabDefinition {
|
|
|
25
24
|
icon: string;
|
|
26
25
|
key: string;
|
|
27
26
|
title: string;
|
|
28
|
-
}
|
|
29
|
-
//#endregion
|
|
27
|
+
}
|
|
@@ -7,7 +7,7 @@ import { useTabsViewScroll } from "./use-tabs-view-scroll.mjs";
|
|
|
7
7
|
import { createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, normalizeProps, openBlock, unref, vShow, withCtx, withDirectives } from "vue";
|
|
8
8
|
import PButton from "pohon-ui/components/Button.vue";
|
|
9
9
|
import { useForwardPropsEmits } from "@vinicunca/taman-core/composables";
|
|
10
|
-
|
|
10
|
+
// src/tabs/taman-tabs-view.vue
|
|
11
11
|
const _hoisted_1 = { class: "flex flex-1 h-full overflow-hidden" };
|
|
12
12
|
const _hoisted_2 = { class: "pt-0.75 flex-1 size-full overflow-hidden" };
|
|
13
13
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
@@ -97,5 +97,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
|
-
//#endregion
|
|
101
100
|
export { _sfc_main as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TabsProps } from "./tabs.types.js";
|
|
2
|
-
//#region src/tabs/taman-tabs-view.vue.d.ts
|
|
3
2
|
declare const __VLS_export: import("vue").DefineComponent<TabsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
3
|
close: (args_0: string) => any;
|
|
5
4
|
sortTabs: (args_0: number, args_1: number) => any;
|
|
@@ -14,5 +13,4 @@ declare const __VLS_export: import("vue").DefineComponent<TabsProps, {}, {}, {},
|
|
|
14
13
|
wheelable: boolean;
|
|
15
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
15
|
declare const _default: typeof __VLS_export;
|
|
17
|
-
//#endregion
|
|
18
16
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { nextTick, onMounted, onUnmounted, ref } from "vue";
|
|
2
2
|
import { useBreakpoints, useSortable } from "@vinicunca/taman-core/composables";
|
|
3
|
-
|
|
3
|
+
// src/tabs/use-tabs-drag.ts
|
|
4
4
|
function findParentElement(element) {
|
|
5
5
|
const parentCls = "group";
|
|
6
6
|
return element.classList.contains(parentCls) ? element : element.closest(`.${parentCls}`);
|
|
@@ -65,5 +65,4 @@ function useTabsDrag(props, emit) {
|
|
|
65
65
|
sortableInstance.value?.destroy();
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
//#endregion
|
|
69
68
|
export { useTabsDrag };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { nextTick, onMounted, onUnmounted, ref, watch } from "vue";
|
|
2
2
|
import { useDebounceFn } from "@vueuse/core";
|
|
3
|
-
|
|
3
|
+
// src/tabs/use-tabs-view-scroll.ts
|
|
4
4
|
function useTabsViewScroll(props) {
|
|
5
5
|
let resizeObserver = null;
|
|
6
6
|
let mutationObserver = null;
|
|
@@ -110,5 +110,4 @@ function useTabsViewScroll(props) {
|
|
|
110
110
|
showScrollButton
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
|
-
//#endregion
|
|
114
113
|
export { useTabsViewScroll };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
2
2
|
import { AlertDialogAction } from "akar";
|
|
3
|
-
|
|
3
|
+
// src/ui/alert-dialog/alert-dialog-action.vue
|
|
4
4
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "alert-dialog-action",
|
|
6
6
|
props: {
|
|
@@ -17,5 +17,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
//#endregion
|
|
21
20
|
export { _sfc_main as default };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { AlertDialogActionProps } from "akar";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
declare const __VLS_template: () => {
|
|
3
|
+
__VLS_Slots: {
|
|
4
|
+
default?: (props: {}) => any;
|
|
5
|
+
};
|
|
6
6
|
};
|
|
7
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
7
8
|
declare const __VLS_base: import("vue").DefineComponent<AlertDialogActionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AlertDialogActionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
9
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
10
|
declare const _default: typeof __VLS_export;
|
|
@@ -12,5 +13,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
12
13
|
$slots: S;
|
|
13
14
|
};
|
|
14
15
|
};
|
|
15
|
-
//#endregion
|
|
16
16
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
2
2
|
import { AlertDialogCancel } from "akar";
|
|
3
|
-
|
|
3
|
+
// src/ui/alert-dialog/alert-dialog-cancel.vue
|
|
4
4
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "alert-dialog-cancel",
|
|
6
6
|
props: {
|
|
@@ -17,5 +17,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
//#endregion
|
|
21
20
|
export { _sfc_main as default };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { AlertDialogCancelProps } from "akar";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
declare const __VLS_template: () => {
|
|
3
|
+
__VLS_Slots: {
|
|
4
|
+
default?: (props: {}) => any;
|
|
5
|
+
};
|
|
6
6
|
};
|
|
7
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
7
8
|
declare const __VLS_base: import("vue").DefineComponent<AlertDialogCancelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AlertDialogCancelProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
9
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
10
|
declare const _default: typeof __VLS_export;
|
|
@@ -12,5 +13,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
12
13
|
$slots: S;
|
|
13
14
|
};
|
|
14
15
|
};
|
|
15
|
-
//#endregion
|
|
16
16
|
export { _default as default };
|
|
@@ -3,7 +3,7 @@ import _sfc_main$1 from "./alert-dialog-overlay.mjs";
|
|
|
3
3
|
import { Transition, createBlock, createCommentVNode, createVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, unref, withCtx } from "vue";
|
|
4
4
|
import { reactiveOmit } from "@vueuse/core";
|
|
5
5
|
import { AlertDialogContent, AlertDialogPortal, useForwardPropsEmits } from "akar";
|
|
6
|
-
|
|
6
|
+
// src/ui/alert-dialog/alert-dialog-content.vue
|
|
7
7
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
8
8
|
inheritAttrs: false,
|
|
9
9
|
__name: "alert-dialog-content",
|
|
@@ -107,5 +107,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
//#endregion
|
|
111
110
|
export { _sfc_main as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from "vue";
|
|
2
2
|
import { AlertDialogContent, AlertDialogContentProps } from "akar";
|
|
3
|
-
//#region src/ui/alert-dialog/alert-dialog-content.vue.d.ts
|
|
4
3
|
type __VLS_Props = AlertDialogContentProps & {
|
|
5
4
|
centered?: boolean;
|
|
6
5
|
class?: HTMLAttributes['class'];
|
|
@@ -9,10 +8,12 @@ type __VLS_Props = AlertDialogContentProps & {
|
|
|
9
8
|
overlayBlur?: number;
|
|
10
9
|
zIndex?: number;
|
|
11
10
|
};
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
declare const __VLS_template: () => {
|
|
12
|
+
__VLS_Slots: {
|
|
13
|
+
default?: (props: {}) => any;
|
|
14
|
+
};
|
|
15
15
|
};
|
|
16
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
16
17
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
17
18
|
getContentRef: () => InstanceType<typeof AlertDialogContent> | null;
|
|
18
19
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -45,5 +46,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
45
46
|
$slots: S;
|
|
46
47
|
};
|
|
47
48
|
};
|
|
48
|
-
//#endregion
|
|
49
49
|
export { _default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { AlertDialogDescription, useForwardProps } from "akar";
|
|
4
|
-
|
|
4
|
+
// src/ui/alert-dialog/alert-dialog-description.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
__name: "alert-dialog-description",
|
|
7
7
|
props: {
|
|
@@ -26,5 +26,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
});
|
|
29
|
-
//#endregion
|
|
30
29
|
export { _sfc_main as default };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { HTMLAttributes } from "vue";
|
|
2
2
|
import { AlertDialogDescriptionProps } from "akar";
|
|
3
|
-
//#region src/ui/alert-dialog/alert-dialog-description.vue.d.ts
|
|
4
3
|
type __VLS_Props = AlertDialogDescriptionProps & {
|
|
5
4
|
class?: HTMLAttributes['class'];
|
|
6
5
|
};
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
declare const __VLS_template: () => {
|
|
7
|
+
__VLS_Slots: {
|
|
8
|
+
default?: (props: {}) => any;
|
|
9
|
+
};
|
|
10
10
|
};
|
|
11
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
11
12
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
14
|
declare const _default: typeof __VLS_export;
|
|
@@ -16,5 +17,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
16
17
|
$slots: S;
|
|
17
18
|
};
|
|
18
19
|
};
|
|
19
|
-
//#endregion
|
|
20
20
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.mjs";
|
|
2
2
|
import { createElementBlock, openBlock, renderSlot } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/ui/alert-dialog/alert-dialog-footer.vue
|
|
4
4
|
const _sfc_main = {};
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
"data-slot": "alert-dialog-footer",
|
|
@@ -10,5 +10,4 @@ function _sfc_render(_ctx, _cache) {
|
|
|
10
10
|
return openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "default")]);
|
|
11
11
|
}
|
|
12
12
|
var alert_dialog_footer_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
13
|
-
//#endregion
|
|
14
13
|
export { alert_dialog_footer_default as default };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
declare const __VLS_template: () => {
|
|
2
|
+
__VLS_Slots: {
|
|
3
|
+
default?: (props: {}) => any;
|
|
4
|
+
};
|
|
5
5
|
};
|
|
6
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
6
7
|
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
9
|
declare const _default: typeof __VLS_export;
|
|
@@ -11,5 +12,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
11
12
|
$slots: S;
|
|
12
13
|
};
|
|
13
14
|
};
|
|
14
|
-
//#endregion
|
|
15
15
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.mjs";
|
|
2
2
|
import { createElementBlock, openBlock, renderSlot } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/ui/alert-dialog/alert-dialog-header.vue
|
|
4
4
|
const _sfc_main = {};
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
"data-slot": "alert-dialog-header",
|
|
@@ -10,5 +10,4 @@ function _sfc_render(_ctx, _cache) {
|
|
|
10
10
|
return openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "default")]);
|
|
11
11
|
}
|
|
12
12
|
var alert_dialog_header_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
13
|
-
//#endregion
|
|
14
13
|
export { alert_dialog_header_default as default };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
declare const __VLS_template: () => {
|
|
2
|
+
__VLS_Slots: {
|
|
3
|
+
default?: (props: {}) => any;
|
|
4
|
+
};
|
|
5
5
|
};
|
|
6
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
6
7
|
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
9
|
declare const _default: typeof __VLS_export;
|
|
@@ -11,5 +12,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
11
12
|
$slots: S;
|
|
12
13
|
};
|
|
13
14
|
};
|
|
14
|
-
//#endregion
|
|
15
15
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock, defineComponent, normalizeStyle, openBlock } from "vue";
|
|
2
2
|
import { useScrollLock } from "@vinicunca/taman-core/composables";
|
|
3
|
-
|
|
3
|
+
// src/ui/alert-dialog/alert-dialog-overlay.vue
|
|
4
4
|
const _hoisted_1 = ["data-state"];
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
__name: "alert-dialog-overlay",
|
|
@@ -25,5 +25,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
|
-
//#endregion
|
|
29
28
|
export { _sfc_main as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
2
2
|
import { AlertDialogRoot, useForwardPropsEmits } from "akar";
|
|
3
|
-
|
|
3
|
+
// src/ui/alert-dialog/alert-dialog-root.vue
|
|
4
4
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "alert-dialog-root",
|
|
6
6
|
props: {
|
|
@@ -19,5 +19,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
//#endregion
|
|
23
22
|
export { _sfc_main as default };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { AlertDialogProps } from "akar";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
declare const __VLS_template: () => {
|
|
3
|
+
__VLS_Slots: {
|
|
4
|
+
default?: (props: {
|
|
5
|
+
open: boolean;
|
|
6
|
+
close: () => void;
|
|
7
|
+
}) => any;
|
|
8
|
+
};
|
|
9
9
|
};
|
|
10
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
10
11
|
declare const __VLS_base: import("vue").DefineComponent<AlertDialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
12
|
"update:open": (value: boolean) => any;
|
|
12
13
|
}, string, import("vue").PublicProps, Readonly<AlertDialogProps> & Readonly<{
|
|
@@ -19,5 +20,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
19
20
|
$slots: S;
|
|
20
21
|
};
|
|
21
22
|
};
|
|
22
|
-
//#endregion
|
|
23
23
|
export { _default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { AlertDialogTitle } from "akar";
|
|
4
|
-
|
|
4
|
+
// src/ui/alert-dialog/alert-dialog-title.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
__name: "alert-dialog-title",
|
|
7
7
|
props: {
|
|
@@ -26,5 +26,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
});
|
|
29
|
-
//#endregion
|
|
30
29
|
export { _sfc_main as default };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { HTMLAttributes } from "vue";
|
|
2
2
|
import { AlertDialogTitleProps } from "akar";
|
|
3
|
-
//#region src/ui/alert-dialog/alert-dialog-title.vue.d.ts
|
|
4
3
|
type __VLS_Props = AlertDialogTitleProps & {
|
|
5
4
|
class?: HTMLAttributes['class'];
|
|
6
5
|
};
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
declare const __VLS_template: () => {
|
|
7
|
+
__VLS_Slots: {
|
|
8
|
+
default?: (props: {}) => any;
|
|
9
|
+
};
|
|
10
10
|
};
|
|
11
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
11
12
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
14
|
declare const _default: typeof __VLS_export;
|
|
@@ -16,5 +17,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
16
17
|
$slots: S;
|
|
17
18
|
};
|
|
18
19
|
};
|
|
19
|
-
//#endregion
|
|
20
20
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
2
2
|
import { AlertDialogTrigger } from "akar";
|
|
3
|
-
|
|
3
|
+
// src/ui/alert-dialog/alert-dialog-trigger.vue
|
|
4
4
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "alert-dialog-trigger",
|
|
6
6
|
props: {
|
|
@@ -17,5 +17,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
//#endregion
|
|
21
20
|
export { _sfc_main as default };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { AlertDialogTriggerProps } from "akar";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
declare const __VLS_template: () => {
|
|
3
|
+
__VLS_Slots: {
|
|
4
|
+
default?: (props: {}) => any;
|
|
5
|
+
};
|
|
6
6
|
};
|
|
7
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
7
8
|
declare const __VLS_base: import("vue").DefineComponent<AlertDialogTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AlertDialogTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
9
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
10
|
declare const _default: typeof __VLS_export;
|
|
@@ -12,5 +13,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
12
13
|
$slots: S;
|
|
13
14
|
};
|
|
14
15
|
};
|
|
15
|
-
//#endregion
|
|
16
16
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
2
2
|
import { DialogClose } from "akar";
|
|
3
|
-
|
|
3
|
+
// src/ui/dialog/dialog-close.vue
|
|
4
4
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "dialog-close",
|
|
6
6
|
props: {
|
|
@@ -17,5 +17,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
//#endregion
|
|
21
20
|
export { _sfc_main as default };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { DialogCloseProps } from "akar";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
declare const __VLS_template: () => {
|
|
3
|
+
__VLS_Slots: {
|
|
4
|
+
default?: (props: {}) => any;
|
|
5
|
+
};
|
|
6
6
|
};
|
|
7
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
7
8
|
declare const __VLS_base: import("vue").DefineComponent<DialogCloseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DialogCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
9
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
10
|
declare const _default: typeof __VLS_export;
|
|
@@ -12,5 +13,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
12
13
|
$slots: S;
|
|
13
14
|
};
|
|
14
15
|
};
|
|
15
|
-
//#endregion
|
|
16
16
|
export { _default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useDialogStateEvents } from "./use-dialog-state-events.mjs";
|
|
2
1
|
import _sfc_main$1 from "./dialog-overlay.mjs";
|
|
2
|
+
import { useDialogStateEvents } from "./use-dialog-state-events.mjs";
|
|
3
3
|
import { Transition, computed, createBlock, createCommentVNode, createVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, unref, withCtx } from "vue";
|
|
4
4
|
import { DialogContent, DialogPortal, useForwardPropsEmits } from "akar";
|
|
5
|
-
|
|
5
|
+
// src/ui/dialog/dialog-content.vue
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
inheritAttrs: false,
|
|
8
8
|
__name: "dialog-content",
|
|
@@ -20,6 +20,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
20
20
|
Object,
|
|
21
21
|
Array
|
|
22
22
|
] },
|
|
23
|
+
inactive: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: false
|
|
26
|
+
},
|
|
23
27
|
modal: { type: Boolean },
|
|
24
28
|
open: { type: Boolean },
|
|
25
29
|
overlayBlur: {},
|
|
@@ -40,7 +44,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
40
44
|
const props = __props;
|
|
41
45
|
const emits = __emit;
|
|
42
46
|
const delegatedProps = computed(() => {
|
|
43
|
-
const { class: _, modal: _modal, open: _open, animationType: ___, ...delegated } = props;
|
|
47
|
+
const { class: _, inactive: _inactive, modal: _modal, open: _open, animationType: ___, ...delegated } = props;
|
|
44
48
|
return delegated;
|
|
45
49
|
});
|
|
46
50
|
function isAppendToBody() {
|
|
@@ -60,7 +64,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
60
64
|
__expose({ getContentRef: () => contentRef.value });
|
|
61
65
|
return (_ctx, _cache) => {
|
|
62
66
|
return openBlock(), createBlock(unref(DialogPortal), { to: __props.appendTo }, {
|
|
63
|
-
default: withCtx(() => [
|
|
67
|
+
default: withCtx(() => [!__props.inactive ? (openBlock(), createBlock(Transition, {
|
|
68
|
+
key: 0,
|
|
64
69
|
"enter-active-class": "transition-opacity-300",
|
|
65
70
|
"leave-active-class": "transition-opacity-300",
|
|
66
71
|
"enter-from-class": "opacity-0",
|
|
@@ -80,7 +85,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
80
85
|
"z-index"
|
|
81
86
|
])) : createCommentVNode("v-if", true)]),
|
|
82
87
|
_: 1
|
|
83
|
-
}), createVNode(unref(DialogContent), mergeProps({
|
|
88
|
+
})) : createCommentVNode("v-if", true), createVNode(unref(DialogContent), mergeProps({
|
|
84
89
|
ref_key: "contentRef",
|
|
85
90
|
ref: contentRef,
|
|
86
91
|
style: {
|
|
@@ -107,5 +112,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
107
112
|
};
|
|
108
113
|
}
|
|
109
114
|
});
|
|
110
|
-
//#endregion
|
|
111
115
|
export { _sfc_main as default };
|