@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
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { HTMLAttributes } from "vue";
|
|
2
2
|
import { DialogContent, DialogContentProps } from "akar";
|
|
3
|
-
//#region src/ui/dialog/dialog-content.vue.d.ts
|
|
4
3
|
type __VLS_Props = DialogContentProps & {
|
|
5
4
|
animationType?: 'scale' | 'slide';
|
|
6
5
|
appendTo?: HTMLElement | string;
|
|
7
6
|
class?: HTMLAttributes['class'];
|
|
7
|
+
inactive?: boolean;
|
|
8
8
|
modal?: boolean;
|
|
9
9
|
open?: boolean;
|
|
10
10
|
overlayBlur?: number;
|
|
11
11
|
zIndex?: number;
|
|
12
12
|
};
|
|
13
|
-
declare
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
declare const __VLS_template: () => {
|
|
14
|
+
__VLS_Slots: {
|
|
15
|
+
default?: (props: {}) => any;
|
|
16
|
+
};
|
|
16
17
|
};
|
|
18
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
17
19
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
18
20
|
getContentRef: () => InstanceType<typeof DialogContent> | null;
|
|
19
21
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -39,6 +41,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
39
41
|
}>, {
|
|
40
42
|
animationType: "scale" | "slide";
|
|
41
43
|
appendTo: string | HTMLElement;
|
|
44
|
+
inactive: boolean;
|
|
42
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
46
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
44
47
|
declare const _default: typeof __VLS_export;
|
|
@@ -47,5 +50,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
47
50
|
$slots: S;
|
|
48
51
|
};
|
|
49
52
|
};
|
|
50
|
-
//#endregion
|
|
51
53
|
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 { DialogDescription, useForwardProps } from "akar";
|
|
4
|
-
|
|
4
|
+
// src/ui/dialog/dialog-description.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
__name: "dialog-description",
|
|
7
7
|
props: {
|
|
@@ -27,5 +27,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
-
//#endregion
|
|
31
30
|
export { _sfc_main as default };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { HTMLAttributes } from "vue";
|
|
2
2
|
import { DialogDescriptionProps } from "akar";
|
|
3
|
-
//#region src/ui/dialog/dialog-description.vue.d.ts
|
|
4
3
|
type __VLS_Props = DialogDescriptionProps & {
|
|
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/dialog/dialog-footer.vue
|
|
4
4
|
const _sfc_main = {};
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
"data-slot": "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 dialog_footer_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
13
|
-
//#endregion
|
|
14
13
|
export { 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/dialog/dialog-header.vue
|
|
4
4
|
const _sfc_main = {};
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
"data-slot": "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 dialog_header_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
13
|
-
//#endregion
|
|
14
13
|
export { 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,7 +1,7 @@
|
|
|
1
1
|
import { createElementBlock, defineComponent, inject, normalizeStyle, openBlock, unref } from "vue";
|
|
2
2
|
import { useScrollLock } from "@vinicunca/taman-core/composables";
|
|
3
3
|
import { DISMISSABLE_DIALOG_ID } from "@vinicunca/taman-core/constants";
|
|
4
|
-
|
|
4
|
+
// src/ui/dialog/dialog-overlay.vue
|
|
5
5
|
const _hoisted_1 = ["data-dismissable-dialog", "data-state"];
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
__name: "dialog-overlay",
|
|
@@ -30,5 +30,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
|
-
//#endregion
|
|
34
33
|
export { _sfc_main as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/ui/dialog/dialog-overlay.vue.d.ts
|
|
2
1
|
type __VLS_Props = {
|
|
3
2
|
class?: any;
|
|
4
3
|
overlayBlur?: number;
|
|
@@ -10,5 +9,4 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
10
9
|
position: "fixed" | "absolute";
|
|
11
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
11
|
declare const _default: typeof __VLS_export;
|
|
13
|
-
//#endregion
|
|
14
12
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
2
2
|
import { DialogRoot, useForwardPropsEmits } from "akar";
|
|
3
|
-
|
|
3
|
+
// src/ui/dialog/dialog-root.vue
|
|
4
4
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "dialog-root",
|
|
6
6
|
props: {
|
|
@@ -20,5 +20,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
|
-
//#endregion
|
|
24
23
|
export { _sfc_main as default };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { DialogRootProps } 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<DialogRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
12
|
"update:open": (value: boolean) => any;
|
|
12
13
|
}, string, import("vue").PublicProps, Readonly<DialogRootProps> & 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 { DialogTitle, useForwardProps } from "akar";
|
|
4
|
-
|
|
4
|
+
// src/ui/dialog/dialog-title.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
__name: "dialog-title",
|
|
7
7
|
props: {
|
|
@@ -27,5 +27,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
-
//#endregion
|
|
31
30
|
export { _sfc_main as default };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { HTMLAttributes } from "vue";
|
|
2
2
|
import { DialogTitleProps } from "akar";
|
|
3
|
-
//#region src/ui/dialog/dialog-title.vue.d.ts
|
|
4
3
|
type __VLS_Props = DialogTitleProps & {
|
|
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 { DialogTrigger } from "akar";
|
|
3
|
-
|
|
3
|
+
// src/ui/dialog/dialog-trigger.vue
|
|
4
4
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "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 { DialogTriggerProps } 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<DialogTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DialogTriggerProps> & 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 };
|
package/dist/ui/dialog/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _sfc_main from "./dialog-close.mjs";
|
|
2
|
-
import _sfc_main$1 from "./dialog-
|
|
3
|
-
import _sfc_main$2 from "./dialog-
|
|
4
|
-
import _sfc_main$3 from "./dialog-description.mjs";
|
|
2
|
+
import _sfc_main$1 from "./dialog-content.mjs";
|
|
3
|
+
import _sfc_main$2 from "./dialog-description.mjs";
|
|
5
4
|
import dialog_footer_default from "./dialog-footer.mjs";
|
|
6
5
|
import dialog_header_default from "./dialog-header.mjs";
|
|
6
|
+
import _sfc_main$3 from "./dialog-overlay.mjs";
|
|
7
7
|
import _sfc_main$4 from "./dialog-root.mjs";
|
|
8
8
|
import _sfc_main$5 from "./dialog-title.mjs";
|
|
9
9
|
import _sfc_main$6 from "./dialog-trigger.mjs";
|
|
10
|
-
export { _sfc_main as DialogClose, _sfc_main$
|
|
10
|
+
export { _sfc_main as DialogClose, _sfc_main$1 as DialogContent, _sfc_main$2 as DialogDescription, dialog_footer_default as DialogFooter, dialog_header_default as DialogHeader, _sfc_main$3 as DialogOverlay, _sfc_main$4 as DialogRoot, _sfc_main$5 as DialogTitle, _sfc_main$6 as DialogTrigger };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { onScopeDispose, watch } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/ui/dialog/use-dialog-state-events.ts
|
|
3
3
|
/**
|
|
4
4
|
* The `closed`/`opened` events for the popup are determined by the content element's own exit animation (`animationend`).
|
|
5
5
|
* If the animation is skipped or cancelled (e.g., due to reduced motion settings, interruption, or class changes during closure),
|
|
@@ -56,5 +56,4 @@ function useDialogStateEvents({ contentRef, isOpen, onClosed, onOpened }) {
|
|
|
56
56
|
});
|
|
57
57
|
return { handleAnimationEvent };
|
|
58
58
|
}
|
|
59
|
-
//#endregion
|
|
60
59
|
export { useDialogStateEvents };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useFormField } from "./use-form-field.mjs";
|
|
2
2
|
import { createBlock, defineComponent, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
3
|
import { Slot } from "akar";
|
|
4
|
-
|
|
4
|
+
// src/ui/form/form-control.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
__name: "form-control",
|
|
7
7
|
setup(__props) {
|
|
@@ -23,5 +23,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
|
-
//#endregion
|
|
27
26
|
export { _sfc_main 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 { useFormField } from "./use-form-field.mjs";
|
|
2
2
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/ui/form/form-description.vue
|
|
4
4
|
const _hoisted_1 = ["id"];
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
__name: "form-description",
|
|
@@ -23,5 +23,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
|
-
//#endregion
|
|
27
26
|
export { _sfc_main as default };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from "vue";
|
|
2
|
-
//#region src/ui/form/form-description.vue.d.ts
|
|
3
2
|
type __VLS_Props = {
|
|
4
3
|
class?: HTMLAttributes['class'];
|
|
5
4
|
};
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
declare const __VLS_template: () => {
|
|
6
|
+
__VLS_Slots: {
|
|
7
|
+
default?: (props: {}) => any;
|
|
8
|
+
};
|
|
9
9
|
};
|
|
10
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
10
11
|
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>;
|
|
11
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
13
|
declare const _default: typeof __VLS_export;
|
|
@@ -15,5 +16,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
15
16
|
$slots: S;
|
|
16
17
|
};
|
|
17
18
|
};
|
|
18
|
-
//#endregion
|
|
19
19
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FORM_FIELD_INJECTION_KEY } from "./injection-keys.mjs";
|
|
2
2
|
import { defineComponent, provide, renderSlot, toRefs } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/ui/form/form-field.vue
|
|
4
4
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "form-field",
|
|
6
6
|
props: {
|
|
@@ -33,5 +33,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
|
-
//#endregion
|
|
37
36
|
export { _sfc_main as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/ui/form/form-field.vue.d.ts
|
|
2
1
|
type __VLS_Props = {
|
|
3
2
|
dirty?: boolean;
|
|
4
3
|
error?: string;
|
|
@@ -6,10 +5,12 @@ type __VLS_Props = {
|
|
|
6
5
|
touched?: boolean;
|
|
7
6
|
valid?: boolean;
|
|
8
7
|
};
|
|
9
|
-
declare
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
declare const __VLS_template: () => {
|
|
9
|
+
__VLS_Slots: {
|
|
10
|
+
default?: (props: {}) => any;
|
|
11
|
+
};
|
|
12
12
|
};
|
|
13
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
13
14
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
15
|
error: string;
|
|
15
16
|
valid: boolean;
|
|
@@ -23,5 +24,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
23
24
|
$slots: S;
|
|
24
25
|
};
|
|
25
26
|
};
|
|
26
|
-
//#endregion
|
|
27
27
|
export { _default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FORM_ITEM_INJECTION_KEY } from "./injection-keys.mjs";
|
|
2
2
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, provide, renderSlot } from "vue";
|
|
3
3
|
import { useId as useId$1 } from "akar";
|
|
4
|
-
|
|
4
|
+
// src/ui/form/form-item.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
__name: "form-item",
|
|
7
7
|
props: { class: { type: [
|
|
@@ -23,5 +23,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
|
-
//#endregion
|
|
27
26
|
export { _sfc_main as default };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from "vue";
|
|
2
|
-
//#region src/ui/form/form-item.vue.d.ts
|
|
3
2
|
type __VLS_Props = {
|
|
4
3
|
class?: HTMLAttributes['class'];
|
|
5
4
|
};
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
declare const __VLS_template: () => {
|
|
6
|
+
__VLS_Slots: {
|
|
7
|
+
default?: (props: {}) => any;
|
|
8
|
+
};
|
|
9
9
|
};
|
|
10
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
10
11
|
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>;
|
|
11
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
13
|
declare const _default: typeof __VLS_export;
|
|
@@ -15,5 +16,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
15
16
|
$slots: S;
|
|
16
17
|
};
|
|
17
18
|
};
|
|
18
|
-
//#endregion
|
|
19
19
|
export { _default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useFormField } from "./use-form-field.mjs";
|
|
2
|
-
import _sfc_main$1 from "../label/label.mjs";
|
|
3
1
|
import "../label/index.mjs";
|
|
2
|
+
import _sfc_main$1 from "../label/label.mjs";
|
|
3
|
+
import { useFormField } from "./use-form-field.mjs";
|
|
4
4
|
import { createBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
5
|
-
|
|
5
|
+
// src/ui/form/form-label.vue
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
__name: "form-label",
|
|
8
8
|
props: {
|
|
@@ -37,5 +37,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
|
-
//#endregion
|
|
41
40
|
export { _sfc_main as default };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { HTMLAttributes } from "vue";
|
|
2
2
|
import { LabelProps } from "akar";
|
|
3
|
-
//#region src/ui/form/form-label.vue.d.ts
|
|
4
3
|
type __VLS_Props = LabelProps & {
|
|
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 { useFormField } from "./use-form-field.mjs";
|
|
2
2
|
import { createCommentVNode, createElementBlock, defineComponent, normalizeClass, openBlock, toDisplayString, unref } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/ui/form/form-message.vue
|
|
4
4
|
const _hoisted_1 = ["id"];
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
__name: "form-message",
|
|
@@ -24,5 +24,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
|
-
//#endregion
|
|
28
27
|
export { _sfc_main as default };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes } from "vue";
|
|
2
|
-
//#region src/ui/form/form-message.vue.d.ts
|
|
3
2
|
type __VLS_Props = {
|
|
4
3
|
class?: HTMLAttributes['class'];
|
|
5
4
|
};
|
|
6
5
|
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>;
|
|
7
6
|
declare const _default: typeof __VLS_export;
|
|
8
|
-
//#endregion
|
|
9
7
|
export { _default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { InjectionKey, Ref } from "vue";
|
|
2
|
-
//#region src/ui/form/injection-keys.d.ts
|
|
3
2
|
export interface FormFieldContext {
|
|
4
3
|
dirty: Readonly<Ref<boolean>>;
|
|
5
4
|
error: Readonly<Ref<string | undefined>>;
|
|
@@ -8,5 +7,4 @@ export interface FormFieldContext {
|
|
|
8
7
|
valid: Readonly<Ref<boolean>>;
|
|
9
8
|
}
|
|
10
9
|
export declare const FORM_ITEM_INJECTION_KEY: InjectionKey<string>;
|
|
11
|
-
export declare const FORM_FIELD_INJECTION_KEY: InjectionKey<FormFieldContext>;
|
|
12
|
-
//#endregion
|
|
10
|
+
export declare const FORM_FIELD_INJECTION_KEY: InjectionKey<FormFieldContext>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/ui/form/injection-keys.ts
|
|
2
2
|
const FORM_ITEM_INJECTION_KEY = Symbol("FORM_ITEM_INJECTION_KEY");
|
|
3
3
|
const FORM_FIELD_INJECTION_KEY = Symbol("FORM_FIELD_INJECTION_KEY");
|
|
4
|
-
//#endregion
|
|
5
4
|
export { FORM_FIELD_INJECTION_KEY, FORM_ITEM_INJECTION_KEY };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FORM_FIELD_INJECTION_KEY, FORM_ITEM_INJECTION_KEY } from "./injection-keys.mjs";
|
|
2
2
|
import { computed, inject } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/ui/form/use-form-field.ts
|
|
4
4
|
function useFormField() {
|
|
5
5
|
const fieldContext = inject(FORM_FIELD_INJECTION_KEY);
|
|
6
6
|
const fieldItemContext = inject(FORM_ITEM_INJECTION_KEY);
|
|
@@ -23,5 +23,4 @@ function useFormField() {
|
|
|
23
23
|
...fieldState
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
-
//#endregion
|
|
27
26
|
export { useFormField };
|
package/dist/ui/index.mjs
CHANGED
|
@@ -24,10 +24,10 @@ import _sfc_main$15 from "./form/form-description.mjs";
|
|
|
24
24
|
import _sfc_main$16 from "./form/form-field.mjs";
|
|
25
25
|
import _sfc_main$17 from "./form/form-item.mjs";
|
|
26
26
|
import _sfc_main$18 from "./label/label.mjs";
|
|
27
|
-
import "./
|
|
27
|
+
import "./form/index.mjs";
|
|
28
28
|
import _sfc_main$19 from "./form/form-label.mjs";
|
|
29
29
|
import _sfc_main$20 from "./form/form-message.mjs";
|
|
30
|
-
import "./
|
|
30
|
+
import "./label/index.mjs";
|
|
31
31
|
import _sfc_main$21 from "./scroll-area/scroll-bar.mjs";
|
|
32
32
|
import _sfc_main$22 from "./scroll-area/scroll-area.mjs";
|
|
33
33
|
import "./scroll-area/index.mjs";
|
package/dist/ui/label/label.mjs
CHANGED
|
@@ -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 { Label } from "akar";
|
|
4
|
-
|
|
4
|
+
// src/ui/label/label.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
__name: "label",
|
|
7
7
|
props: {
|
|
@@ -27,5 +27,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
-
//#endregion
|
|
31
30
|
export { _sfc_main as default };
|