@ark-ui/vue 5.22.0 → 5.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/components/accordion/accordion-item-content.vue.cjs +0 -1
- package/dist/components/accordion/accordion-item-content.vue.js +0 -1
- package/dist/components/anatomy.cjs +195 -0
- package/dist/components/anatomy.d.cts +45 -0
- package/dist/components/anatomy.d.ts +45 -0
- package/dist/components/anatomy.js +45 -0
- package/dist/components/checkbox/checkbox.anatomy.d.cts +1 -1
- package/dist/components/checkbox/checkbox.anatomy.d.ts +1 -1
- package/dist/components/color-picker/color-picker.anatomy.d.cts +1 -1
- package/dist/components/color-picker/color-picker.anatomy.d.ts +1 -1
- package/dist/components/combobox/combobox-root-provider.vue.d.cts +2 -0
- package/dist/components/combobox/combobox-root-provider.vue.d.ts +2 -0
- package/dist/components/combobox/combobox-root.vue.cjs +2 -0
- package/dist/components/combobox/combobox-root.vue.d.cts +2 -0
- package/dist/components/combobox/combobox-root.vue.d.ts +2 -0
- package/dist/components/combobox/combobox-root.vue.js +2 -0
- package/dist/components/combobox/combobox.anatomy.d.cts +1 -1
- package/dist/components/combobox/combobox.anatomy.d.ts +1 -1
- package/dist/components/combobox/combobox.d.cts +2 -2
- package/dist/components/combobox/combobox.d.ts +2 -2
- package/dist/components/combobox/combobox.types.d.cts +6 -0
- package/dist/components/combobox/combobox.types.d.ts +6 -0
- package/dist/components/combobox/index.d.cts +2 -2
- package/dist/components/combobox/index.d.ts +2 -2
- package/dist/components/date-picker/date-picker.anatomy.d.cts +1 -1
- package/dist/components/date-picker/date-picker.anatomy.d.ts +1 -1
- package/dist/components/factory.cjs +7 -6
- package/dist/components/factory.js +7 -6
- package/dist/components/field/field.anatomy.d.cts +2 -2
- package/dist/components/field/field.anatomy.d.ts +2 -2
- package/dist/components/field/use-field.cjs +1 -0
- package/dist/components/field/use-field.d.cts +1 -0
- package/dist/components/field/use-field.d.ts +1 -0
- package/dist/components/field/use-field.js +1 -0
- package/dist/components/fieldset/fieldset-legend.vue.cjs +1 -1
- package/dist/components/fieldset/fieldset-legend.vue.js +1 -1
- package/dist/components/fieldset/fieldset.anatomy.d.cts +2 -2
- package/dist/components/fieldset/fieldset.anatomy.d.ts +2 -2
- package/dist/components/file-upload/file-upload-item-group.vue.cjs +9 -3
- package/dist/components/file-upload/file-upload-item-group.vue.d.cts +2 -1
- package/dist/components/file-upload/file-upload-item-group.vue.d.ts +2 -1
- package/dist/components/file-upload/file-upload-item-group.vue.js +10 -4
- package/dist/components/file-upload/file-upload-item-preview-image.vue.cjs +1 -1
- package/dist/components/file-upload/file-upload-item-preview-image.vue.js +1 -1
- package/dist/components/file-upload/file-upload-item.vue.cjs +7 -3
- package/dist/components/file-upload/file-upload-item.vue.d.cts +1 -1
- package/dist/components/file-upload/file-upload-item.vue.d.ts +1 -1
- package/dist/components/file-upload/file-upload-item.vue.js +8 -4
- package/dist/components/file-upload/use-file-upload-item-group-props-context.cjs +10 -0
- package/dist/components/file-upload/use-file-upload-item-group-props-context.d.cts +5 -0
- package/dist/components/file-upload/use-file-upload-item-group-props-context.d.ts +5 -0
- package/dist/components/file-upload/use-file-upload-item-group-props-context.js +5 -0
- package/dist/components/file-upload/use-file-upload-item-props-context.d.cts +2 -1
- package/dist/components/file-upload/use-file-upload-item-props-context.d.ts +2 -1
- package/dist/components/frame/frame.vue.cjs +6 -4
- package/dist/components/frame/frame.vue.js +6 -4
- package/dist/components/index.cjs +0 -42
- package/dist/components/index.d.cts +0 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +0 -19
- package/dist/components/json-tree-view/json-tree-view-node.vue.cjs +2 -2
- package/dist/components/json-tree-view/json-tree-view-node.vue.js +2 -2
- package/dist/components/json-tree-view/json-tree-view-tree.vue.cjs +2 -2
- package/dist/components/json-tree-view/json-tree-view-tree.vue.js +2 -2
- package/dist/components/json-tree-view/json-tree-view-value-node.vue.cjs +2 -2
- package/dist/components/json-tree-view/json-tree-view-value-node.vue.js +2 -2
- package/dist/components/listbox/index.d.cts +2 -2
- package/dist/components/listbox/index.d.ts +2 -2
- package/dist/components/listbox/listbox-root-provider.vue.d.cts +2 -0
- package/dist/components/listbox/listbox-root-provider.vue.d.ts +2 -0
- package/dist/components/listbox/listbox-root.vue.d.cts +2 -0
- package/dist/components/listbox/listbox-root.vue.d.ts +2 -0
- package/dist/components/listbox/listbox.anatomy.d.cts +1 -1
- package/dist/components/listbox/listbox.anatomy.d.ts +1 -1
- package/dist/components/listbox/listbox.d.cts +2 -2
- package/dist/components/listbox/listbox.d.ts +2 -2
- package/dist/components/menu/menu-trigger-item.vue.cjs +2 -0
- package/dist/components/menu/menu-trigger-item.vue.js +3 -1
- package/dist/components/segment-group/segment-group.anatomy.d.cts +2 -2
- package/dist/components/segment-group/segment-group.anatomy.d.ts +2 -2
- package/dist/components/select/index.d.cts +2 -2
- package/dist/components/select/index.d.ts +2 -2
- package/dist/components/select/select-root-provider.vue.d.cts +2 -0
- package/dist/components/select/select-root-provider.vue.d.ts +2 -0
- package/dist/components/select/select-root.vue.d.cts +2 -0
- package/dist/components/select/select-root.vue.d.ts +2 -0
- package/dist/components/select/select.d.cts +2 -2
- package/dist/components/select/select.d.ts +2 -2
- package/dist/components/tabs/tabs.types.d.cts +2 -2
- package/dist/components/tabs/tabs.types.d.ts +2 -2
- package/dist/components/toast/toaster.vue.cjs +2 -2
- package/dist/components/toast/toaster.vue.js +2 -2
- package/dist/components/tour/tour.anatomy.d.cts +1 -1
- package/dist/components/tour/tour.anatomy.d.ts +1 -1
- package/dist/components/tree-view/index.d.cts +2 -2
- package/dist/components/tree-view/index.d.ts +2 -2
- package/dist/components/tree-view/tree-view-root-provider.vue.d.cts +2 -0
- package/dist/components/tree-view/tree-view-root-provider.vue.d.ts +2 -0
- package/dist/components/tree-view/tree-view-root.vue.d.cts +2 -0
- package/dist/components/tree-view/tree-view-root.vue.d.ts +2 -0
- package/dist/components/tree-view/tree-view.d.cts +2 -2
- package/dist/components/tree-view/tree-view.d.ts +2 -2
- package/dist/index.cjs +0 -42
- package/dist/index.js +0 -19
- package/package.json +68 -69
- package/dist/components/time-picker/index.cjs +0 -49
- package/dist/components/time-picker/index.d.cts +0 -19
- package/dist/components/time-picker/index.d.ts +0 -19
- package/dist/components/time-picker/index.js +0 -19
- package/dist/components/time-picker/time-picker-cell.vue.cjs +0 -40
- package/dist/components/time-picker/time-picker-cell.vue.d.cts +0 -23
- package/dist/components/time-picker/time-picker-cell.vue.d.ts +0 -23
- package/dist/components/time-picker/time-picker-cell.vue.js +0 -36
- package/dist/components/time-picker/time-picker-cell.vue2.cjs +0 -9
- package/dist/components/time-picker/time-picker-cell.vue2.js +0 -5
- package/dist/components/time-picker/time-picker-clear-trigger.vue.cjs +0 -29
- package/dist/components/time-picker/time-picker-clear-trigger.vue.d.cts +0 -19
- package/dist/components/time-picker/time-picker-clear-trigger.vue.d.ts +0 -19
- package/dist/components/time-picker/time-picker-clear-trigger.vue.js +0 -25
- package/dist/components/time-picker/time-picker-clear-trigger.vue2.cjs +0 -9
- package/dist/components/time-picker/time-picker-clear-trigger.vue2.js +0 -5
- package/dist/components/time-picker/time-picker-column.vue.cjs +0 -33
- package/dist/components/time-picker/time-picker-column.vue.d.cts +0 -20
- package/dist/components/time-picker/time-picker-column.vue.d.ts +0 -20
- package/dist/components/time-picker/time-picker-column.vue.js +0 -29
- package/dist/components/time-picker/time-picker-column.vue2.cjs +0 -9
- package/dist/components/time-picker/time-picker-column.vue2.js +0 -5
- package/dist/components/time-picker/time-picker-content.vue.cjs +0 -33
- package/dist/components/time-picker/time-picker-content.vue.d.cts +0 -19
- package/dist/components/time-picker/time-picker-content.vue.d.ts +0 -19
- package/dist/components/time-picker/time-picker-content.vue.js +0 -29
- package/dist/components/time-picker/time-picker-content.vue2.cjs +0 -9
- package/dist/components/time-picker/time-picker-content.vue2.js +0 -5
- package/dist/components/time-picker/time-picker-context.vue.cjs +0 -18
- package/dist/components/time-picker/time-picker-context.vue.d.cts +0 -17
- package/dist/components/time-picker/time-picker-context.vue.d.ts +0 -17
- package/dist/components/time-picker/time-picker-context.vue.js +0 -14
- package/dist/components/time-picker/time-picker-context.vue2.cjs +0 -9
- package/dist/components/time-picker/time-picker-context.vue2.js +0 -5
- package/dist/components/time-picker/time-picker-control.vue.cjs +0 -29
- package/dist/components/time-picker/time-picker-control.vue.d.cts +0 -19
- package/dist/components/time-picker/time-picker-control.vue.d.ts +0 -19
- package/dist/components/time-picker/time-picker-control.vue.js +0 -25
- package/dist/components/time-picker/time-picker-control.vue2.cjs +0 -9
- package/dist/components/time-picker/time-picker-control.vue2.js +0 -5
- package/dist/components/time-picker/time-picker-input.vue.cjs +0 -29
- package/dist/components/time-picker/time-picker-input.vue.d.cts +0 -19
- package/dist/components/time-picker/time-picker-input.vue.d.ts +0 -19
- package/dist/components/time-picker/time-picker-input.vue.js +0 -25
- package/dist/components/time-picker/time-picker-input.vue2.cjs +0 -9
- package/dist/components/time-picker/time-picker-input.vue2.js +0 -5
- package/dist/components/time-picker/time-picker-label.vue.cjs +0 -29
- package/dist/components/time-picker/time-picker-label.vue.d.cts +0 -19
- package/dist/components/time-picker/time-picker-label.vue.d.ts +0 -19
- package/dist/components/time-picker/time-picker-label.vue.js +0 -25
- package/dist/components/time-picker/time-picker-label.vue2.cjs +0 -9
- package/dist/components/time-picker/time-picker-label.vue2.js +0 -5
- package/dist/components/time-picker/time-picker-positioner.vue.cjs +0 -40
- package/dist/components/time-picker/time-picker-positioner.vue.d.cts +0 -19
- package/dist/components/time-picker/time-picker-positioner.vue.d.ts +0 -19
- package/dist/components/time-picker/time-picker-positioner.vue.js +0 -36
- package/dist/components/time-picker/time-picker-positioner.vue2.cjs +0 -9
- package/dist/components/time-picker/time-picker-positioner.vue2.js +0 -5
- package/dist/components/time-picker/time-picker-root-provider.vue.cjs +0 -36
- package/dist/components/time-picker/time-picker-root-provider.vue.d.cts +0 -24
- package/dist/components/time-picker/time-picker-root-provider.vue.d.ts +0 -24
- package/dist/components/time-picker/time-picker-root-provider.vue.js +0 -32
- package/dist/components/time-picker/time-picker-root-provider.vue2.cjs +0 -9
- package/dist/components/time-picker/time-picker-root-provider.vue2.js +0 -5
- package/dist/components/time-picker/time-picker-root.vue.cjs +0 -62
- package/dist/components/time-picker/time-picker-root.vue.d.cts +0 -44
- package/dist/components/time-picker/time-picker-root.vue.d.ts +0 -44
- package/dist/components/time-picker/time-picker-root.vue.js +0 -58
- package/dist/components/time-picker/time-picker-root.vue2.cjs +0 -9
- package/dist/components/time-picker/time-picker-root.vue2.js +0 -5
- package/dist/components/time-picker/time-picker-spacer.vue.cjs +0 -29
- package/dist/components/time-picker/time-picker-spacer.vue.d.cts +0 -19
- package/dist/components/time-picker/time-picker-spacer.vue.d.ts +0 -19
- package/dist/components/time-picker/time-picker-spacer.vue.js +0 -25
- package/dist/components/time-picker/time-picker-spacer.vue2.cjs +0 -9
- package/dist/components/time-picker/time-picker-spacer.vue2.js +0 -5
- package/dist/components/time-picker/time-picker-trigger.vue.cjs +0 -29
- package/dist/components/time-picker/time-picker-trigger.vue.d.cts +0 -19
- package/dist/components/time-picker/time-picker-trigger.vue.d.ts +0 -19
- package/dist/components/time-picker/time-picker-trigger.vue.js +0 -25
- package/dist/components/time-picker/time-picker-trigger.vue2.cjs +0 -9
- package/dist/components/time-picker/time-picker-trigger.vue2.js +0 -5
- package/dist/components/time-picker/time-picker.anatomy.d.cts +0 -1
- package/dist/components/time-picker/time-picker.anatomy.d.ts +0 -1
- package/dist/components/time-picker/time-picker.cjs +0 -33
- package/dist/components/time-picker/time-picker.d.cts +0 -14
- package/dist/components/time-picker/time-picker.d.ts +0 -14
- package/dist/components/time-picker/time-picker.js +0 -13
- package/dist/components/time-picker/time-picker.types.d.cts +0 -106
- package/dist/components/time-picker/time-picker.types.d.ts +0 -106
- package/dist/components/time-picker/use-time-picker-column-props-context.cjs +0 -10
- package/dist/components/time-picker/use-time-picker-column-props-context.d.cts +0 -5
- package/dist/components/time-picker/use-time-picker-column-props-context.d.ts +0 -5
- package/dist/components/time-picker/use-time-picker-column-props-context.js +0 -5
- package/dist/components/time-picker/use-time-picker-context.cjs +0 -10
- package/dist/components/time-picker/use-time-picker-context.d.cts +0 -4
- package/dist/components/time-picker/use-time-picker-context.d.ts +0 -4
- package/dist/components/time-picker/use-time-picker-context.js +0 -5
- package/dist/components/time-picker/use-time-picker.cjs +0 -64
- package/dist/components/time-picker/use-time-picker.d.cts +0 -14
- package/dist/components/time-picker/use-time-picker.d.ts +0 -14
- package/dist/components/time-picker/use-time-picker.js +0 -41
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
|
-
import { ark } from '../factory.js';
|
|
3
|
-
import { useTimePickerContext } from './use-time-picker-context.js';
|
|
4
|
-
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
5
|
-
import { TimePickerColumnPropsProvider } from './use-time-picker-column-props-context.js';
|
|
6
|
-
|
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
-
__name: "time-picker-column",
|
|
9
|
-
props: {
|
|
10
|
-
unit: {},
|
|
11
|
-
asChild: { type: Boolean }
|
|
12
|
-
},
|
|
13
|
-
setup(__props) {
|
|
14
|
-
const props = __props;
|
|
15
|
-
const timePicker = useTimePickerContext();
|
|
16
|
-
TimePickerColumnPropsProvider(props);
|
|
17
|
-
useForwardExpose();
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
return openBlock(), createBlock(unref(ark).div, mergeProps(unref(timePicker).getColumnProps(props), { "as-child": _ctx.asChild }), {
|
|
20
|
-
default: withCtx(() => [
|
|
21
|
-
renderSlot(_ctx.$slots, "default")
|
|
22
|
-
]),
|
|
23
|
-
_: 3
|
|
24
|
-
}, 16, ["as-child"]);
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
export { _sfc_main as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
-
|
|
5
|
-
const timePickerColumn_vue_vue_type_script_setup_true_lang = require('./time-picker-column.vue.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
exports.default = timePickerColumn_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
-
|
|
5
|
-
const vue = require('vue');
|
|
6
|
-
const factory = require('../factory.cjs');
|
|
7
|
-
const useTimePickerContext = require('./use-time-picker-context.cjs');
|
|
8
|
-
const useForwardExpose = require('../../utils/use-forward-expose.cjs');
|
|
9
|
-
const vue$1 = require('@zag-js/vue');
|
|
10
|
-
const usePresenceContext = require('../presence/use-presence-context.cjs');
|
|
11
|
-
|
|
12
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
13
|
-
__name: "time-picker-content",
|
|
14
|
-
props: {
|
|
15
|
-
asChild: { type: Boolean }
|
|
16
|
-
},
|
|
17
|
-
setup(__props) {
|
|
18
|
-
const timePicker = useTimePickerContext.useTimePickerContext();
|
|
19
|
-
const presence = usePresenceContext.usePresenceContext();
|
|
20
|
-
const mergedProps = vue.computed(() => vue$1.mergeProps(timePicker.value.getContentProps(), presence.value.presenceProps));
|
|
21
|
-
useForwardExpose.useForwardExpose();
|
|
22
|
-
return (_ctx, _cache) => {
|
|
23
|
-
return !vue.unref(presence).unmounted ? (vue.openBlock(), vue.createBlock(vue.unref(factory.ark).div, vue.mergeProps({ key: 0 }, mergedProps.value, { "as-child": _ctx.asChild }), {
|
|
24
|
-
default: vue.withCtx(() => [
|
|
25
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
26
|
-
]),
|
|
27
|
-
_: 3
|
|
28
|
-
}, 16, ["as-child"])) : vue.createCommentVNode("", true);
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
exports.default = _sfc_main;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { PolymorphicProps } from '../factory';
|
|
3
|
-
export interface TimePickerContentBaseProps extends PolymorphicProps {
|
|
4
|
-
}
|
|
5
|
-
export interface TimePickerContentProps extends TimePickerContentBaseProps,
|
|
6
|
-
/**
|
|
7
|
-
* @vue-ignore
|
|
8
|
-
*/
|
|
9
|
-
HTMLAttributes {
|
|
10
|
-
}
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<TimePickerContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimePickerContentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
12
|
-
default?(_: {}): any;
|
|
13
|
-
}>;
|
|
14
|
-
export default _default;
|
|
15
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
-
new (): {
|
|
17
|
-
$slots: S;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { PolymorphicProps } from '../factory';
|
|
3
|
-
export interface TimePickerContentBaseProps extends PolymorphicProps {
|
|
4
|
-
}
|
|
5
|
-
export interface TimePickerContentProps extends TimePickerContentBaseProps,
|
|
6
|
-
/**
|
|
7
|
-
* @vue-ignore
|
|
8
|
-
*/
|
|
9
|
-
HTMLAttributes {
|
|
10
|
-
}
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<TimePickerContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimePickerContentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
12
|
-
default?(_: {}): any;
|
|
13
|
-
}>;
|
|
14
|
-
export default _default;
|
|
15
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
-
new (): {
|
|
17
|
-
$slots: S;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, createBlock, createCommentVNode, unref, openBlock, mergeProps as mergeProps$1, withCtx, renderSlot } from 'vue';
|
|
2
|
-
import { ark } from '../factory.js';
|
|
3
|
-
import { useTimePickerContext } from './use-time-picker-context.js';
|
|
4
|
-
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
5
|
-
import { mergeProps } from '@zag-js/vue';
|
|
6
|
-
import { usePresenceContext } from '../presence/use-presence-context.js';
|
|
7
|
-
|
|
8
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "time-picker-content",
|
|
10
|
-
props: {
|
|
11
|
-
asChild: { type: Boolean }
|
|
12
|
-
},
|
|
13
|
-
setup(__props) {
|
|
14
|
-
const timePicker = useTimePickerContext();
|
|
15
|
-
const presence = usePresenceContext();
|
|
16
|
-
const mergedProps = computed(() => mergeProps(timePicker.value.getContentProps(), presence.value.presenceProps));
|
|
17
|
-
useForwardExpose();
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
return !unref(presence).unmounted ? (openBlock(), createBlock(unref(ark).div, mergeProps$1({ key: 0 }, mergedProps.value, { "as-child": _ctx.asChild }), {
|
|
20
|
-
default: withCtx(() => [
|
|
21
|
-
renderSlot(_ctx.$slots, "default")
|
|
22
|
-
]),
|
|
23
|
-
_: 3
|
|
24
|
-
}, 16, ["as-child"])) : createCommentVNode("", true);
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
export { _sfc_main as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
-
|
|
5
|
-
const timePickerContent_vue_vue_type_script_setup_true_lang = require('./time-picker-content.vue.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
exports.default = timePickerContent_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
-
|
|
5
|
-
const vue = require('vue');
|
|
6
|
-
const useTimePickerContext = require('./use-time-picker-context.cjs');
|
|
7
|
-
|
|
8
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
9
|
-
__name: "time-picker-context",
|
|
10
|
-
setup(__props) {
|
|
11
|
-
const TimePicker = useTimePickerContext.useTimePickerContext();
|
|
12
|
-
return (_ctx, _cache) => {
|
|
13
|
-
return vue.renderSlot(_ctx.$slots, "default", vue.normalizeProps(vue.guardReactiveProps(vue.unref(TimePicker))));
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
exports.default = _sfc_main;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SlotsType, UnwrapRef, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { UseTimePickerContext } from './use-time-picker-context';
|
|
3
|
-
export interface TimePickerContextProps extends SlotsType<{
|
|
4
|
-
default: UnwrapRef<UseTimePickerContext>;
|
|
5
|
-
}> {
|
|
6
|
-
}
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
8
|
-
default(TimePicker: UnwrapRef<UseTimePickerContext>): unknown;
|
|
9
|
-
}> & {
|
|
10
|
-
default(TimePicker: UnwrapRef<UseTimePickerContext>): unknown;
|
|
11
|
-
}>;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SlotsType, UnwrapRef, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { UseTimePickerContext } from './use-time-picker-context';
|
|
3
|
-
export interface TimePickerContextProps extends SlotsType<{
|
|
4
|
-
default: UnwrapRef<UseTimePickerContext>;
|
|
5
|
-
}> {
|
|
6
|
-
}
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
8
|
-
default(TimePicker: UnwrapRef<UseTimePickerContext>): unknown;
|
|
9
|
-
}> & {
|
|
10
|
-
default(TimePicker: UnwrapRef<UseTimePickerContext>): unknown;
|
|
11
|
-
}>;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { defineComponent, renderSlot, normalizeProps, guardReactiveProps, unref } from 'vue';
|
|
2
|
-
import { useTimePickerContext } from './use-time-picker-context.js';
|
|
3
|
-
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "time-picker-context",
|
|
6
|
-
setup(__props) {
|
|
7
|
-
const TimePicker = useTimePickerContext();
|
|
8
|
-
return (_ctx, _cache) => {
|
|
9
|
-
return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(TimePicker))));
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
export { _sfc_main as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
-
|
|
5
|
-
const timePickerContext_vue_vue_type_script_setup_true_lang = require('./time-picker-context.vue.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
exports.default = timePickerContext_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
-
|
|
5
|
-
const vue = require('vue');
|
|
6
|
-
const factory = require('../factory.cjs');
|
|
7
|
-
const useTimePickerContext = require('./use-time-picker-context.cjs');
|
|
8
|
-
const useForwardExpose = require('../../utils/use-forward-expose.cjs');
|
|
9
|
-
|
|
10
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
11
|
-
__name: "time-picker-control",
|
|
12
|
-
props: {
|
|
13
|
-
asChild: { type: Boolean }
|
|
14
|
-
},
|
|
15
|
-
setup(__props) {
|
|
16
|
-
const timePicker = useTimePickerContext.useTimePickerContext();
|
|
17
|
-
useForwardExpose.useForwardExpose();
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
return vue.openBlock(), vue.createBlock(vue.unref(factory.ark).div, vue.mergeProps(vue.unref(timePicker).getControlProps(), { "as-child": _ctx.asChild }), {
|
|
20
|
-
default: vue.withCtx(() => [
|
|
21
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
22
|
-
]),
|
|
23
|
-
_: 3
|
|
24
|
-
}, 16, ["as-child"]);
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
exports.default = _sfc_main;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { PolymorphicProps } from '../factory';
|
|
3
|
-
export interface TimePickerControlBaseProps extends PolymorphicProps {
|
|
4
|
-
}
|
|
5
|
-
export interface TimePickerControlProps extends TimePickerControlBaseProps,
|
|
6
|
-
/**
|
|
7
|
-
* @vue-ignore
|
|
8
|
-
*/
|
|
9
|
-
HTMLAttributes {
|
|
10
|
-
}
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<TimePickerControlProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimePickerControlProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
12
|
-
default?(_: {}): any;
|
|
13
|
-
}>;
|
|
14
|
-
export default _default;
|
|
15
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
-
new (): {
|
|
17
|
-
$slots: S;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { PolymorphicProps } from '../factory';
|
|
3
|
-
export interface TimePickerControlBaseProps extends PolymorphicProps {
|
|
4
|
-
}
|
|
5
|
-
export interface TimePickerControlProps extends TimePickerControlBaseProps,
|
|
6
|
-
/**
|
|
7
|
-
* @vue-ignore
|
|
8
|
-
*/
|
|
9
|
-
HTMLAttributes {
|
|
10
|
-
}
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<TimePickerControlProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimePickerControlProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
12
|
-
default?(_: {}): any;
|
|
13
|
-
}>;
|
|
14
|
-
export default _default;
|
|
15
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
-
new (): {
|
|
17
|
-
$slots: S;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
|
-
import { ark } from '../factory.js';
|
|
3
|
-
import { useTimePickerContext } from './use-time-picker-context.js';
|
|
4
|
-
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
5
|
-
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "time-picker-control",
|
|
8
|
-
props: {
|
|
9
|
-
asChild: { type: Boolean }
|
|
10
|
-
},
|
|
11
|
-
setup(__props) {
|
|
12
|
-
const timePicker = useTimePickerContext();
|
|
13
|
-
useForwardExpose();
|
|
14
|
-
return (_ctx, _cache) => {
|
|
15
|
-
return openBlock(), createBlock(unref(ark).div, mergeProps(unref(timePicker).getControlProps(), { "as-child": _ctx.asChild }), {
|
|
16
|
-
default: withCtx(() => [
|
|
17
|
-
renderSlot(_ctx.$slots, "default")
|
|
18
|
-
]),
|
|
19
|
-
_: 3
|
|
20
|
-
}, 16, ["as-child"]);
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export { _sfc_main as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
-
|
|
5
|
-
const timePickerControl_vue_vue_type_script_setup_true_lang = require('./time-picker-control.vue.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
exports.default = timePickerControl_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
-
|
|
5
|
-
const vue = require('vue');
|
|
6
|
-
const factory = require('../factory.cjs');
|
|
7
|
-
const useTimePickerContext = require('./use-time-picker-context.cjs');
|
|
8
|
-
const useForwardExpose = require('../../utils/use-forward-expose.cjs');
|
|
9
|
-
|
|
10
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
11
|
-
__name: "time-picker-input",
|
|
12
|
-
props: {
|
|
13
|
-
asChild: { type: Boolean }
|
|
14
|
-
},
|
|
15
|
-
setup(__props) {
|
|
16
|
-
const timePicker = useTimePickerContext.useTimePickerContext();
|
|
17
|
-
useForwardExpose.useForwardExpose();
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
return vue.openBlock(), vue.createBlock(vue.unref(factory.ark).input, vue.mergeProps(vue.unref(timePicker).getInputProps(), { "as-child": _ctx.asChild }), {
|
|
20
|
-
default: vue.withCtx(() => [
|
|
21
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
22
|
-
]),
|
|
23
|
-
_: 3
|
|
24
|
-
}, 16, ["as-child"]);
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
exports.default = _sfc_main;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { PolymorphicProps } from '../factory';
|
|
3
|
-
export interface TimePickerInputBaseProps extends PolymorphicProps {
|
|
4
|
-
}
|
|
5
|
-
export interface TimePickerInputProps extends TimePickerInputBaseProps,
|
|
6
|
-
/**
|
|
7
|
-
* @vue-ignore
|
|
8
|
-
*/
|
|
9
|
-
HTMLAttributes {
|
|
10
|
-
}
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<TimePickerInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimePickerInputProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
12
|
-
default?(_: {}): any;
|
|
13
|
-
}>;
|
|
14
|
-
export default _default;
|
|
15
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
-
new (): {
|
|
17
|
-
$slots: S;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { PolymorphicProps } from '../factory';
|
|
3
|
-
export interface TimePickerInputBaseProps extends PolymorphicProps {
|
|
4
|
-
}
|
|
5
|
-
export interface TimePickerInputProps extends TimePickerInputBaseProps,
|
|
6
|
-
/**
|
|
7
|
-
* @vue-ignore
|
|
8
|
-
*/
|
|
9
|
-
HTMLAttributes {
|
|
10
|
-
}
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<TimePickerInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimePickerInputProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
12
|
-
default?(_: {}): any;
|
|
13
|
-
}>;
|
|
14
|
-
export default _default;
|
|
15
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
-
new (): {
|
|
17
|
-
$slots: S;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
|
-
import { ark } from '../factory.js';
|
|
3
|
-
import { useTimePickerContext } from './use-time-picker-context.js';
|
|
4
|
-
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
5
|
-
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "time-picker-input",
|
|
8
|
-
props: {
|
|
9
|
-
asChild: { type: Boolean }
|
|
10
|
-
},
|
|
11
|
-
setup(__props) {
|
|
12
|
-
const timePicker = useTimePickerContext();
|
|
13
|
-
useForwardExpose();
|
|
14
|
-
return (_ctx, _cache) => {
|
|
15
|
-
return openBlock(), createBlock(unref(ark).input, mergeProps(unref(timePicker).getInputProps(), { "as-child": _ctx.asChild }), {
|
|
16
|
-
default: withCtx(() => [
|
|
17
|
-
renderSlot(_ctx.$slots, "default")
|
|
18
|
-
]),
|
|
19
|
-
_: 3
|
|
20
|
-
}, 16, ["as-child"]);
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export { _sfc_main as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
-
|
|
5
|
-
const timePickerInput_vue_vue_type_script_setup_true_lang = require('./time-picker-input.vue.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
exports.default = timePickerInput_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
-
|
|
5
|
-
const vue = require('vue');
|
|
6
|
-
const factory = require('../factory.cjs');
|
|
7
|
-
const useTimePickerContext = require('./use-time-picker-context.cjs');
|
|
8
|
-
const useForwardExpose = require('../../utils/use-forward-expose.cjs');
|
|
9
|
-
|
|
10
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
11
|
-
__name: "time-picker-label",
|
|
12
|
-
props: {
|
|
13
|
-
asChild: { type: Boolean }
|
|
14
|
-
},
|
|
15
|
-
setup(__props) {
|
|
16
|
-
const timePicker = useTimePickerContext.useTimePickerContext();
|
|
17
|
-
useForwardExpose.useForwardExpose();
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
return vue.openBlock(), vue.createBlock(vue.unref(factory.ark).label, vue.mergeProps(vue.unref(timePicker).getLabelProps(), { "as-child": _ctx.asChild }), {
|
|
20
|
-
default: vue.withCtx(() => [
|
|
21
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
22
|
-
]),
|
|
23
|
-
_: 3
|
|
24
|
-
}, 16, ["as-child"]);
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
exports.default = _sfc_main;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { PolymorphicProps } from '../factory';
|
|
3
|
-
export interface TimePickerLabelBaseProps extends PolymorphicProps {
|
|
4
|
-
}
|
|
5
|
-
export interface TimePickerLabelProps extends TimePickerLabelBaseProps,
|
|
6
|
-
/**
|
|
7
|
-
* @vue-ignore
|
|
8
|
-
*/
|
|
9
|
-
HTMLAttributes {
|
|
10
|
-
}
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<TimePickerLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimePickerLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
12
|
-
default?(_: {}): any;
|
|
13
|
-
}>;
|
|
14
|
-
export default _default;
|
|
15
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
-
new (): {
|
|
17
|
-
$slots: S;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { PolymorphicProps } from '../factory';
|
|
3
|
-
export interface TimePickerLabelBaseProps extends PolymorphicProps {
|
|
4
|
-
}
|
|
5
|
-
export interface TimePickerLabelProps extends TimePickerLabelBaseProps,
|
|
6
|
-
/**
|
|
7
|
-
* @vue-ignore
|
|
8
|
-
*/
|
|
9
|
-
HTMLAttributes {
|
|
10
|
-
}
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<TimePickerLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimePickerLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
12
|
-
default?(_: {}): any;
|
|
13
|
-
}>;
|
|
14
|
-
export default _default;
|
|
15
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
-
new (): {
|
|
17
|
-
$slots: S;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
|
-
import { ark } from '../factory.js';
|
|
3
|
-
import { useTimePickerContext } from './use-time-picker-context.js';
|
|
4
|
-
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
5
|
-
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "time-picker-label",
|
|
8
|
-
props: {
|
|
9
|
-
asChild: { type: Boolean }
|
|
10
|
-
},
|
|
11
|
-
setup(__props) {
|
|
12
|
-
const timePicker = useTimePickerContext();
|
|
13
|
-
useForwardExpose();
|
|
14
|
-
return (_ctx, _cache) => {
|
|
15
|
-
return openBlock(), createBlock(unref(ark).label, mergeProps(unref(timePicker).getLabelProps(), { "as-child": _ctx.asChild }), {
|
|
16
|
-
default: withCtx(() => [
|
|
17
|
-
renderSlot(_ctx.$slots, "default")
|
|
18
|
-
]),
|
|
19
|
-
_: 3
|
|
20
|
-
}, 16, ["as-child"]);
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export { _sfc_main as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
-
|
|
5
|
-
const timePickerLabel_vue_vue_type_script_setup_true_lang = require('./time-picker-label.vue.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
exports.default = timePickerLabel_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
-
|
|
5
|
-
const vue = require('vue');
|
|
6
|
-
const useRenderStrategy = require('../../utils/use-render-strategy.cjs');
|
|
7
|
-
const useForwardExpose = require('../../utils/use-forward-expose.cjs');
|
|
8
|
-
const usePresence = require('../presence/use-presence.cjs');
|
|
9
|
-
const usePresenceContext = require('../presence/use-presence-context.cjs');
|
|
10
|
-
const useTimePickerContext = require('./use-time-picker-context.cjs');
|
|
11
|
-
const factory = require('../factory.cjs');
|
|
12
|
-
|
|
13
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
14
|
-
__name: "time-picker-positioner",
|
|
15
|
-
props: {
|
|
16
|
-
asChild: { type: Boolean }
|
|
17
|
-
},
|
|
18
|
-
setup(__props) {
|
|
19
|
-
const timePicker = useTimePickerContext.useTimePickerContext();
|
|
20
|
-
const renderStrategy = useRenderStrategy.useRenderStrategyProps();
|
|
21
|
-
const presence = usePresence.usePresence(
|
|
22
|
-
vue.computed(() => ({
|
|
23
|
-
...renderStrategy.value,
|
|
24
|
-
present: timePicker.value.open
|
|
25
|
-
}))
|
|
26
|
-
);
|
|
27
|
-
usePresenceContext.PresenceProvider(presence);
|
|
28
|
-
useForwardExpose.useForwardExpose();
|
|
29
|
-
return (_ctx, _cache) => {
|
|
30
|
-
return !vue.unref(presence).unmounted ? (vue.openBlock(), vue.createBlock(vue.unref(factory.ark).div, vue.mergeProps({ key: 0 }, vue.unref(timePicker).getPositionerProps(), { "as-child": _ctx.asChild }), {
|
|
31
|
-
default: vue.withCtx(() => [
|
|
32
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
33
|
-
]),
|
|
34
|
-
_: 3
|
|
35
|
-
}, 16, ["as-child"])) : vue.createCommentVNode("", true);
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
exports.default = _sfc_main;
|