@vinicunca/taman-ui 0.1.3 → 0.2.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/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 +2 -3
- 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/index.d.ts +1 -1
- package/dist/components/icon/index.mjs +1 -1
- package/dist/components/icon/{icon.mjs → taman-icon.mjs} +2 -3
- package/dist/components/icon/{icon.vue.d.ts → taman-icon.vue.d.ts} +0 -2
- package/dist/components/index.d.ts +1 -1
- 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 +5 -5
- 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 +5 -6
- package/dist/form/form-render/form-render-form.mjs +4 -5
- package/dist/form/form-render/form-render-group.mjs +4 -5
- 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 +3 -4
- 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.d.ts +1 -1
- package/dist/index.mjs +3 -3
- 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 +2 -3
- 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 +4 -5
- package/dist/menu/components/taman-menu-root.mjs +10 -10
- package/dist/menu/components/taman-menu-sub-menu-content.mjs +2 -3
- 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 +6 -4
- 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 +54 -61
- 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 +43 -33
- 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 +47 -32
- 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 +2 -3
- 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,8 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
// \0/plugin-vue/export-helper
|
|
2
2
|
var export_helper_default = (sfc, props) => {
|
|
3
3
|
const target = sfc.__vccOpts || sfc;
|
|
4
4
|
for (const [key, val] of props) target[key] = val;
|
|
5
5
|
return target;
|
|
6
6
|
};
|
|
7
|
-
//#endregion
|
|
8
7
|
export { export_helper_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeProps, openBlock, renderList, renderSlot, toDisplayString, useSlots } from "vue";
|
|
2
2
|
import PButton from "pohon-ui/components/Button.vue";
|
|
3
3
|
import PSeparator from "pohon-ui/components/Separator.vue";
|
|
4
|
-
|
|
4
|
+
// src/components/auth/taman-auth-form.vue
|
|
5
5
|
const _hoisted_1 = { class: "w-full space-y-6" };
|
|
6
6
|
const _hoisted_2 = {
|
|
7
7
|
key: 0,
|
|
@@ -63,5 +63,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
|
-
//#endregion
|
|
67
66
|
export { _sfc_main as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { VNode } from "vue";
|
|
2
2
|
import { ButtonProps, SeparatorProps } from "pohon-ui";
|
|
3
|
-
//#region src/components/auth/taman-auth-form.vue.d.ts
|
|
4
3
|
type __VLS_Props = {
|
|
5
4
|
title?: string;
|
|
6
5
|
description?: string;
|
|
@@ -27,5 +26,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
27
26
|
$slots: S;
|
|
28
27
|
};
|
|
29
28
|
};
|
|
30
|
-
//#endregion
|
|
31
29
|
export { _default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Transition, computed, createBlock, createCommentVNode, defineComponent, normalizeStyle, onMounted, openBlock, ref, shallowRef, withCtx } from "vue";
|
|
2
2
|
import PButton from "pohon-ui/components/Button.vue";
|
|
3
3
|
import { useEventListener, useThrottleFn } from "@vueuse/core";
|
|
4
|
-
|
|
4
|
+
// src/components/back-to-top/taman-back-to-top.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
__name: "taman-back-to-top",
|
|
7
7
|
props: {
|
|
@@ -66,5 +66,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
|
-
//#endregion
|
|
70
69
|
export { _sfc_main as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/components/back-to-top/taman-back-to-top.vue.d.ts
|
|
2
1
|
type __VLS_Props = {
|
|
3
2
|
bottom?: number;
|
|
4
3
|
isGroup?: boolean;
|
|
@@ -14,5 +13,4 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
14
13
|
visibilityHeight: number;
|
|
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,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/button/check-group-selection.ts
|
|
2
2
|
function toCheckGroupSelection(value, multiple) {
|
|
3
3
|
if (!Array.isArray(value)) return value === void 0 ? [] : [value];
|
|
4
4
|
const selection = value.filter((item) => item !== void 0);
|
|
@@ -13,5 +13,4 @@ function toggleCheckGroupSelection(selection, value, { allowClear, maxCount, mul
|
|
|
13
13
|
if (isChecked) return selection.filter((item) => item !== value);
|
|
14
14
|
return [...maxCount > 0 && selection.length >= maxCount ? selection.slice(0, maxCount - 1) : selection, value];
|
|
15
15
|
}
|
|
16
|
-
//#endregion
|
|
17
16
|
export { fromCheckGroupSelection, toCheckGroupSelection, toggleCheckGroupSelection };
|
|
@@ -4,7 +4,7 @@ import { fromCheckGroupSelection, toCheckGroupSelection, toggleCheckGroupSelecti
|
|
|
4
4
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeModels, normalizeClass, openBlock, ref, renderList, renderSlot, unref, useModel, useSlots, withCtx } from "vue";
|
|
5
5
|
import PButton from "pohon-ui/components/Button.vue";
|
|
6
6
|
import PFieldGroup from "pohon-ui/components/FieldGroup.vue";
|
|
7
|
-
|
|
7
|
+
// src/components/button/taman-button-check-group.vue
|
|
8
8
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
9
9
|
name: "TamanButtonCheckGroup",
|
|
10
10
|
__name: "taman-button-check-group",
|
|
@@ -128,5 +128,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
130
|
});
|
|
131
|
-
//#endregion
|
|
132
131
|
export { _sfc_main as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Component } from "vue";
|
|
2
2
|
import { FieldGroupProps } from "pohon-ui";
|
|
3
|
-
//#region src/components/button/taman-button-check-group.types.d.ts
|
|
4
3
|
export type TamanButtonCheckGroupValue = boolean | number | string;
|
|
5
4
|
export type TamanButtonCheckGroupModel = Array<TamanButtonCheckGroupValue> | TamanButtonCheckGroupValue | undefined;
|
|
6
5
|
export interface TamanButtonCheckGroupOption {
|
|
@@ -17,5 +16,4 @@ export interface TamanButtonCheckGroupProps {
|
|
|
17
16
|
options?: Array<TamanButtonCheckGroupOption>;
|
|
18
17
|
showIcon?: boolean;
|
|
19
18
|
size?: FieldGroupProps['size'];
|
|
20
|
-
}
|
|
21
|
-
//#endregion
|
|
19
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TamanButtonCheckGroupModel, TamanButtonCheckGroupOption, TamanButtonCheckGroupProps, TamanButtonCheckGroupValue } from "./taman-button-check-group.types.js";
|
|
2
|
-
//#region src/components/button/taman-button-check-group.vue.d.ts
|
|
3
2
|
type __VLS_Props = TamanButtonCheckGroupProps;
|
|
4
3
|
type __VLS_Slots = {
|
|
5
4
|
icon?: (props: {
|
|
@@ -37,5 +36,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
37
36
|
$slots: S;
|
|
38
37
|
};
|
|
39
38
|
};
|
|
40
|
-
//#endregion
|
|
41
39
|
export { _default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed, createBlock, createVNode, defineComponent, openBlock, withCtx } from "vue";
|
|
2
2
|
import PButton from "pohon-ui/components/Button.vue";
|
|
3
3
|
import PTooltip from "pohon-ui/components/Tooltip.vue";
|
|
4
|
-
|
|
4
|
+
// src/components/button/taman-button-icon.vue
|
|
5
5
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
6
|
name: "TamanButtonIcon",
|
|
7
7
|
__name: "taman-button-icon",
|
|
@@ -101,5 +101,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
});
|
|
104
|
-
//#endregion
|
|
105
104
|
export { _sfc_main as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ButtonProps } from "pohon-ui";
|
|
2
|
-
//#region src/components/button/taman-button-icon.vue.d.ts
|
|
3
2
|
type __VLS_Props = ButtonProps & {
|
|
4
3
|
showTooltip?: boolean;
|
|
5
4
|
tooltipText?: string;
|
|
@@ -13,5 +12,4 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
13
12
|
showTooltip: boolean;
|
|
14
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
14
|
declare const _default: typeof __VLS_export;
|
|
16
|
-
//#endregion
|
|
17
15
|
export { _default as default };
|
|
@@ -2,7 +2,7 @@ import _sfc_main$1 from "../render-content/render-content.mjs";
|
|
|
2
2
|
import "../render-content/index.mjs";
|
|
3
3
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, resolveDynamicComponent, unref, withCtx } from "vue";
|
|
4
4
|
import { isNumber } from "@vinicunca/taman-core/utils";
|
|
5
|
-
|
|
5
|
+
// src/components/descriptions/taman-description-cell.vue
|
|
6
6
|
const _hoisted_1 = { class: "flex" };
|
|
7
7
|
const COLON_CLASS = "after:content-[':']";
|
|
8
8
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
@@ -112,5 +112,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
|
-
//#endregion
|
|
116
115
|
export { _sfc_main as default };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.mjs";
|
|
2
2
|
import { createCommentVNode, createElementBlock, openBlock } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/components/descriptions/taman-description-item.vue
|
|
4
4
|
const _sfc_main = {};
|
|
5
5
|
function _sfc_render(_ctx, _cache) {
|
|
6
6
|
return openBlock(), createElementBlock("div", null, [createCommentVNode(" ")]);
|
|
7
7
|
}
|
|
8
8
|
var taman_description_item_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
9
|
-
//#endregion
|
|
10
9
|
export { taman_description_item_default as default };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
//#region src/components/descriptions/taman-description-item.vue.d.ts
|
|
2
1
|
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3
2
|
declare const _default: typeof __VLS_export;
|
|
4
|
-
//#endregion
|
|
5
3
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _sfc_main$1 from "./taman-description-cell.mjs";
|
|
2
2
|
import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, openBlock, renderList } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/components/descriptions/taman-description-row.vue
|
|
4
4
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "taman-description-row",
|
|
6
6
|
props: {
|
|
@@ -127,5 +127,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
|
-
//#endregion
|
|
131
130
|
export { _sfc_main as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main$1 from "./taman-description-row.mjs";
|
|
2
2
|
import { calcRows, normalizeItems, parseItemsFromSlot, resolveColumn, useScreens } from "./use-taman-description.mjs";
|
|
3
3
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, openBlock, renderList, renderSlot, toDisplayString, useSlots } from "vue";
|
|
4
|
-
|
|
4
|
+
// src/components/descriptions/taman-description.vue
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "mb-5 flex gap-4 items-center justify-between"
|
|
@@ -74,5 +74,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
|
-
//#endregion
|
|
78
77
|
export { _sfc_main as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CSSProperties, Component, HTMLAttributes } from "vue";
|
|
2
|
-
//#region src/components/descriptions/taman-description.types.d.ts
|
|
3
2
|
export type TamanDescriptionsBreakpoint = 'lg' | 'md' | 'sm' | 'xl' | 'xs' | 'xxl' | 'xxxl';
|
|
4
3
|
export type TamanScreenMap = Partial<Record<TamanDescriptionsBreakpoint, boolean>>;
|
|
5
4
|
export type TamanDescriptionsLayout = 'horizontal' | 'vertical';
|
|
@@ -46,5 +45,4 @@ export interface TamanInternalDescriptionsItem {
|
|
|
46
45
|
labelStyle?: CSSProperties;
|
|
47
46
|
span?: number;
|
|
48
47
|
style?: CSSProperties;
|
|
49
|
-
}
|
|
50
|
-
//#endregion
|
|
48
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { TamanDescriptionsLayout, TamanDescriptionsProps, TamanDescriptionsSize } from "./taman-description.types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
2
|
+
declare const __VLS_template: () => {
|
|
3
|
+
__VLS_Slots: {
|
|
4
|
+
title?: (props: {}) => any;
|
|
5
|
+
} & {
|
|
6
|
+
extra?: (props: {}) => any;
|
|
7
|
+
};
|
|
8
8
|
};
|
|
9
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
9
10
|
declare const __VLS_base: import("vue").DefineComponent<TamanDescriptionsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TamanDescriptionsProps> & Readonly<{}>, {
|
|
10
11
|
layout: TamanDescriptionsLayout;
|
|
11
12
|
size: TamanDescriptionsSize;
|
|
@@ -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 { Fragment, computed } from "vue";
|
|
2
2
|
import { useBreakpoints } from "@vueuse/core";
|
|
3
3
|
import { isNumber } from "@vinicunca/taman-core/utils";
|
|
4
|
-
|
|
4
|
+
// src/components/descriptions/use-taman-description.ts
|
|
5
5
|
/** Default column count mapping */
|
|
6
6
|
const DEFAULT_COLUMN_MAP = {
|
|
7
7
|
lg: 3,
|
|
@@ -157,5 +157,4 @@ function parseItemsFromSlot(nodes) {
|
|
|
157
157
|
};
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
-
//#endregion
|
|
161
160
|
export { DEFAULT_COLUMN_MAP, TAMAN_DESCRIPTIONS_ITEM_NAME, calcRows, matchScreen, normalizeItems, parseItemsFromSlot, resolveColumn, useScreens };
|
|
@@ -3,7 +3,7 @@ import PButton from "pohon-ui/components/Button.vue";
|
|
|
3
3
|
import { reactiveOmit } from "@vueuse/core";
|
|
4
4
|
import { useForwardProps } from "@vinicunca/taman-core/composables";
|
|
5
5
|
import PFileUpload from "pohon-ui/components/FileUpload.vue";
|
|
6
|
-
|
|
6
|
+
// src/components/file-upload/taman-file-upload.vue
|
|
7
7
|
const _hoisted_1 = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "mb-2 flex items-center justify-between"
|
|
@@ -22,7 +22,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
22
22
|
name: {},
|
|
23
23
|
icon: {
|
|
24
24
|
type: [String, Boolean],
|
|
25
|
-
default: "lucide:image"
|
|
25
|
+
default: "lucide:image-plus"
|
|
26
26
|
},
|
|
27
27
|
description: {},
|
|
28
28
|
color: {},
|
|
@@ -85,5 +85,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
|
-
//#endregion
|
|
89
88
|
export { _sfc_main as default };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { FileUploadProps } from "pohon-ui";
|
|
2
|
-
//#region src/components/file-upload/taman-file-upload.types.d.ts
|
|
3
2
|
export interface TamanFileUploadProps<Multiple extends boolean = false> extends FileUploadProps<Multiple> {
|
|
4
3
|
label?: string;
|
|
5
4
|
labelActions?: string;
|
|
6
5
|
labelPreview?: string;
|
|
7
6
|
labelAddMore?: string;
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
7
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TamanFileUploadProps } from "./taman-file-upload.types.js";
|
|
2
|
-
//#region src/components/file-upload/taman-file-upload.vue.d.ts
|
|
3
2
|
declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<(TamanFileUploadProps<M> & {
|
|
5
4
|
modelValue?: (M extends true ? Array<File> : File) | null;
|
|
@@ -17,5 +16,4 @@ declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable
|
|
|
17
16
|
};
|
|
18
17
|
declare const _default: typeof __VLS_export;
|
|
19
18
|
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
20
|
-
//#endregion
|
|
21
19
|
export { _default as default };
|
|
@@ -2,7 +2,7 @@ import _sfc_main$1 from "../button/taman-button-icon.mjs";
|
|
|
2
2
|
import "../button/index.mjs";
|
|
3
3
|
import { createBlock, defineComponent, openBlock, unref } from "vue";
|
|
4
4
|
import { useFullscreen } from "@vueuse/core";
|
|
5
|
-
|
|
5
|
+
// src/components/full-screen/full-screen.vue
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
name: "TamanFullScreen",
|
|
8
8
|
__name: "full-screen",
|
|
@@ -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,6 @@
|
|
|
1
|
-
//#region src/components/full-screen/full-screen.vue.d.ts
|
|
2
1
|
type __VLS_Props = {
|
|
3
2
|
tooltipText?: string;
|
|
4
3
|
};
|
|
5
4
|
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>;
|
|
6
5
|
declare const _default: typeof __VLS_export;
|
|
7
|
-
//#endregion
|
|
8
6
|
export { _default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import _default from "./icon.vue.js";
|
|
1
|
+
import _default from "./taman-icon.vue.js";
|
|
2
2
|
export { _default as TamanIcon };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as TamanIcon } from "./icon.mjs";
|
|
1
|
+
export { default as TamanIcon } from "./taman-icon.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { computed, createBlock, createElementBlock, defineComponent, mergeProps, openBlock } from "vue";
|
|
2
2
|
import { isHttpUrl, isString } from "@vinicunca/taman-core/utils";
|
|
3
3
|
import PIcon from "pohon-ui/components/Icon.vue";
|
|
4
|
-
|
|
4
|
+
// src/components/icon/taman-icon.vue
|
|
5
5
|
const _hoisted_1 = ["src"];
|
|
6
6
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
7
|
name: "TamanIcon",
|
|
8
|
-
__name: "icon",
|
|
8
|
+
__name: "taman-icon",
|
|
9
9
|
props: { icon: {} },
|
|
10
10
|
setup(__props) {
|
|
11
11
|
const props = __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,9 +1,7 @@
|
|
|
1
1
|
import { Component } from "vue";
|
|
2
|
-
//#region src/components/icon/icon.vue.d.ts
|
|
3
2
|
type __VLS_Props = {
|
|
4
3
|
icon?: Component | string;
|
|
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 };
|
|
@@ -13,7 +13,7 @@ import { TamanFileUploadProps } from "./file-upload/taman-file-upload.types.js";
|
|
|
13
13
|
import _default$6 from "./file-upload/taman-file-upload.vue.js";
|
|
14
14
|
import "./file-upload/index.js";
|
|
15
15
|
import _default$7 from "./full-screen/full-screen.vue.js";
|
|
16
|
-
import _default$8 from "./icon/icon.vue.js";
|
|
16
|
+
import _default$8 from "./icon/taman-icon.vue.js";
|
|
17
17
|
import "./icon/index.js";
|
|
18
18
|
import { PASSWORD_STRENGTH_CHECKS, PASSWORD_STRENGTH_MAX, isPasswordStrong, passwordStrengthScore } from "./input/password-strength.js";
|
|
19
19
|
import { TamanInputCurrencyProps } from "./input/taman-input-currency.types.js";
|
|
@@ -3,29 +3,29 @@ import "./auth/index.mjs";
|
|
|
3
3
|
import _sfc_main$1 from "./back-to-top/taman-back-to-top.mjs";
|
|
4
4
|
import "./back-to-top/index.mjs";
|
|
5
5
|
import _sfc_main$2 from "./render-content/render-content.mjs";
|
|
6
|
-
import "./
|
|
6
|
+
import "./button/index.mjs";
|
|
7
7
|
import _sfc_main$3 from "./button/taman-button-check-group.mjs";
|
|
8
8
|
import _sfc_main$4 from "./button/taman-button-icon.mjs";
|
|
9
|
-
import "./
|
|
9
|
+
import "./descriptions/index.mjs";
|
|
10
10
|
import taman_description_item_default from "./descriptions/taman-description-item.mjs";
|
|
11
11
|
import _sfc_main$5 from "./descriptions/taman-description.mjs";
|
|
12
|
-
import "./descriptions/index.mjs";
|
|
13
|
-
import _sfc_main$6 from "./file-upload/taman-file-upload.mjs";
|
|
14
12
|
import "./file-upload/index.mjs";
|
|
15
|
-
import _sfc_main$
|
|
13
|
+
import _sfc_main$6 from "./file-upload/taman-file-upload.mjs";
|
|
16
14
|
import "./full-screen/index.mjs";
|
|
17
|
-
import _sfc_main$
|
|
15
|
+
import _sfc_main$7 from "./full-screen/full-screen.mjs";
|
|
18
16
|
import "./icon/index.mjs";
|
|
17
|
+
import _sfc_main$8 from "./icon/taman-icon.mjs";
|
|
18
|
+
import "./input/index.mjs";
|
|
19
19
|
import { PASSWORD_STRENGTH_CHECKS, PASSWORD_STRENGTH_MAX, isPasswordStrong, passwordStrengthScore } from "./input/password-strength.mjs";
|
|
20
20
|
import _sfc_main$9 from "./input/taman-input-currency.mjs";
|
|
21
21
|
import _sfc_main$10 from "./input/taman-input-password.mjs";
|
|
22
|
-
import "./input/index.mjs";
|
|
23
|
-
import _sfc_main$11 from "./input-date/taman-input-date.mjs";
|
|
24
22
|
import "./input-date/index.mjs";
|
|
25
|
-
import _sfc_main$
|
|
23
|
+
import _sfc_main$11 from "./input-date/taman-input-date.mjs";
|
|
26
24
|
import "./loading/index.mjs";
|
|
27
|
-
import _sfc_main$
|
|
25
|
+
import _sfc_main$12 from "./loading/taman-loading.mjs";
|
|
28
26
|
import "./logo/index.mjs";
|
|
27
|
+
import _sfc_main$13 from "./logo/taman-logo.mjs";
|
|
28
|
+
import "./render-content/index.mjs";
|
|
29
29
|
import _sfc_main$14 from "./scrollbar/scrollbar.mjs";
|
|
30
30
|
import "./scrollbar/index.mjs";
|
|
31
31
|
export { PASSWORD_STRENGTH_CHECKS, PASSWORD_STRENGTH_MAX, _sfc_main as TamanAuthForm, _sfc_main$1 as TamanBackToTop, _sfc_main$3 as TamanButtonCheckGroup, _sfc_main$4 as TamanButtonIcon, _sfc_main$5 as TamanDescription, taman_description_item_default as TamanDescriptionItem, _sfc_main$6 as TamanFileUpload, _sfc_main$7 as TamanFullScreen, _sfc_main$8 as TamanIcon, _sfc_main$9 as TamanInputCurrency, _sfc_main$11 as TamanInputDate, _sfc_main$10 as TamanInputPassword, _sfc_main$12 as TamanLoading, _sfc_main$13 as TamanLogo, _sfc_main$2 as TamanRenderContent, _sfc_main$14 as TamanScrollbar, isPasswordStrong, passwordStrengthScore };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
//#region src/components/input/password-strength.d.ts
|
|
2
1
|
export declare const PASSWORD_STRENGTH_CHECKS: readonly [RegExp, RegExp, RegExp, RegExp, RegExp];
|
|
3
2
|
export declare const PASSWORD_STRENGTH_MAX: 5;
|
|
4
3
|
export declare function passwordStrengthScore(value?: string): number;
|
|
5
|
-
export declare function isPasswordStrong(value?: string): boolean;
|
|
6
|
-
//#endregion
|
|
4
|
+
export declare function isPasswordStrong(value?: string): boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/input/password-strength.ts
|
|
2
2
|
/**
|
|
3
3
|
* Shared password strength checks used by the strength meter and Zod schemas.
|
|
4
4
|
* Keep this list in sync across UI and form validation.
|
|
@@ -17,5 +17,4 @@ function passwordStrengthScore(value = "") {
|
|
|
17
17
|
function isPasswordStrong(value = "") {
|
|
18
18
|
return passwordStrengthScore(value) === PASSWORD_STRENGTH_MAX;
|
|
19
19
|
}
|
|
20
|
-
//#endregion
|
|
21
20
|
export { PASSWORD_STRENGTH_CHECKS, PASSWORD_STRENGTH_MAX, isPasswordStrong, passwordStrengthScore };
|
|
@@ -3,7 +3,7 @@ import { reactiveOmit } from "@vueuse/core";
|
|
|
3
3
|
import { useForwardProps } from "@vinicunca/taman-core/composables";
|
|
4
4
|
import { NumberFormatter, NumberParser } from "@internationalized/number";
|
|
5
5
|
import PInput from "pohon-ui/components/Input.vue";
|
|
6
|
-
|
|
6
|
+
// src/components/input/taman-input-currency.vue
|
|
7
7
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
8
8
|
inheritAttrs: false,
|
|
9
9
|
__name: "taman-input-currency",
|
|
@@ -72,5 +72,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
|
-
//#endregion
|
|
76
75
|
export { _sfc_main as default };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { InputProps } from "pohon-ui";
|
|
2
|
-
//#region src/components/input/taman-input-currency.types.d.ts
|
|
3
2
|
export interface TamanInputCurrencyProps extends Omit<InputProps, 'defaultValue'> {
|
|
4
3
|
defaultValue?: NonNullable<InputProps['defaultValue']>;
|
|
5
4
|
formatOptions?: Intl.NumberFormatOptions;
|
|
6
|
-
}
|
|
7
|
-
//#endregion
|
|
5
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TamanInputCurrencyProps } from "./taman-input-currency.types.js";
|
|
2
|
-
//#region src/components/input/taman-input-currency.vue.d.ts
|
|
3
2
|
type __VLS_Props = TamanInputCurrencyProps;
|
|
4
3
|
type __VLS_ModelProps = {
|
|
5
4
|
'modelValue'?: number | null;
|
|
@@ -11,5 +10,4 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
11
10
|
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
12
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
12
|
declare const _default: typeof __VLS_export;
|
|
14
|
-
//#endregion
|
|
15
13
|
export { _default as default };
|
|
@@ -5,7 +5,7 @@ import { reactiveOmit } from "@vueuse/core";
|
|
|
5
5
|
import { useForwardProps, useSimpleLocale } from "@vinicunca/taman-core/composables";
|
|
6
6
|
import PInput from "pohon-ui/components/Input.vue";
|
|
7
7
|
import PProgress from "pohon-ui/components/Progress.vue";
|
|
8
|
-
|
|
8
|
+
// src/components/input/taman-input-password.vue
|
|
9
9
|
const _hoisted_1 = { class: "flex flex-col gap-2 w-full" };
|
|
10
10
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
11
11
|
inheritAttrs: false,
|
|
@@ -95,5 +95,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
|
-
//#endregion
|
|
99
98
|
export { _sfc_main as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { InputProps } from "pohon-ui";
|
|
2
|
-
//#region src/components/input/taman-input-password.vue.d.ts
|
|
3
2
|
type __VLS_Props = InputProps & {
|
|
4
3
|
passwordStrength?: boolean;
|
|
5
4
|
};
|
|
@@ -13,5 +12,4 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
13
12
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
14
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
14
|
declare const _default: typeof __VLS_export;
|
|
16
|
-
//#endregion
|
|
17
15
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isDateValue } from "@vinicunca/taman-core/utils";
|
|
2
2
|
import { getLocalTimeZone } from "@internationalized/date";
|
|
3
|
-
|
|
3
|
+
// src/components/input-date/format-calendar-input-value.ts
|
|
4
4
|
function toDate(value) {
|
|
5
5
|
if ("timeZone" in value) return value.toDate();
|
|
6
6
|
return value.toDate(getLocalTimeZone());
|
|
@@ -22,5 +22,4 @@ function isCalendarInputComplete(value) {
|
|
|
22
22
|
if (!isDateRange(value)) return false;
|
|
23
23
|
return isDateValue(value.start) && isDateValue(value.end);
|
|
24
24
|
}
|
|
25
|
-
//#endregion
|
|
26
25
|
export { formatCalendarInputValue, isCalendarInputComplete };
|
|
@@ -7,7 +7,7 @@ import { useDateFormatter } from "akar";
|
|
|
7
7
|
import PCalendar from "pohon-ui/components/Calendar.vue";
|
|
8
8
|
import PInputDate from "pohon-ui/components/InputDate.vue";
|
|
9
9
|
import PPopover from "pohon-ui/components/Popover.vue";
|
|
10
|
-
|
|
10
|
+
// src/components/input-date/taman-input-date.vue
|
|
11
11
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
12
12
|
inheritAttrs: false,
|
|
13
13
|
__name: "taman-input-date",
|
|
@@ -112,5 +112,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
|
-
//#endregion
|
|
116
115
|
export { _sfc_main as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CalendarDate, CalendarDateTime, ZonedDateTime } from "@internationalized/date";
|
|
2
2
|
import { CalendarProps, InputDateProps } from "pohon-ui";
|
|
3
|
-
//#region src/components/input-date/taman-input-date.types.d.ts
|
|
4
3
|
export type DateValue = CalendarDate | CalendarDateTime | ZonedDateTime;
|
|
5
4
|
export interface DateRange {
|
|
6
5
|
start: DateValue | undefined;
|
|
@@ -9,5 +8,4 @@ export interface DateRange {
|
|
|
9
8
|
export type InputDateModelValue<R> = (R extends true ? DateRange : DateValue) | undefined;
|
|
10
9
|
export interface TamanInputDateProps<R extends boolean = false> extends InputDateProps<R> {
|
|
11
10
|
type?: CalendarProps['type'];
|
|
12
|
-
}
|
|
13
|
-
//#endregion
|
|
11
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { InputDateModelValue, TamanInputDateProps } from "./taman-input-date.types.js";
|
|
2
|
-
//#region src/components/input-date/taman-input-date.vue.d.ts
|
|
3
2
|
declare const __VLS_export: <R extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<(TamanInputDateProps<R> & {
|
|
5
4
|
modelValue?: InputDateModelValue<R>;
|
|
@@ -17,5 +16,4 @@ declare const __VLS_export: <R extends boolean = false>(__VLS_props: NonNullable
|
|
|
17
16
|
};
|
|
18
17
|
declare const _default: typeof __VLS_export;
|
|
19
18
|
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
20
|
-
//#endregion
|
|
21
19
|
export { _default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TamanLoadingIcon, TamanLoadingIconProps } from "./types.js";
|
|
2
1
|
import _default from "./taman-loading.vue.js";
|
|
2
|
+
import { TamanLoadingIcon, TamanLoadingIconProps } from "./types.js";
|
|
3
3
|
export { _default as TamanLoading, type TamanLoadingIcon, type TamanLoadingIconProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, mergeProps, normalizeClass, openBlock, ref, renderSlot, toDisplayString, watch } from "vue";
|
|
2
2
|
import { isString } from "@vinicunca/taman-core/utils";
|
|
3
3
|
import PIcon from "pohon-ui/components/Icon.vue";
|
|
4
|
-
|
|
4
|
+
// src/components/loading/taman-loading.vue
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
key: 1,
|
|
7
7
|
class: "text-xs mt-4"
|
|
@@ -60,5 +60,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
|
-
//#endregion
|
|
64
63
|
export { _sfc_main as default };
|