nuxt-hs-ui 2.12.6 → 4.0.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 +202 -14
- package/dist/module.d.mts +3 -4
- package/dist/module.json +9 -6
- package/dist/module.mjs +109 -99
- package/dist/runtime/assets/flatpickr-dark.css +1 -1
- package/dist/runtime/assets/main.css +1 -0
- package/dist/runtime/assets/tabulator-custom.css +1 -1
- package/dist/runtime/components/form/_select/hidden-item-toggle.vue +28 -0
- package/dist/runtime/components/form/_select/hidden-item-toggle.vue.d.ts +10 -0
- package/dist/runtime/components/form/_select/item-container.vue +63 -0
- package/dist/runtime/components/form/_select/item-container.vue.d.ts +19 -0
- package/dist/runtime/components/form/_select/item-label.vue +31 -0
- package/dist/runtime/components/form/_select/item-label.vue.d.ts +13 -0
- package/dist/runtime/components/form/_select/item-row.vue +62 -0
- package/dist/runtime/components/form/_select/item-row.vue.d.ts +34 -0
- package/dist/runtime/components/form/btn-line-loading.vue +62 -81
- package/dist/runtime/components/form/btn-line-loading.vue.d.ts +14 -0
- package/dist/runtime/components/form/btn.vue +411 -494
- package/dist/runtime/components/form/btn.vue.d.ts +0 -0
- package/dist/runtime/components/form/check-box.vue +200 -315
- package/dist/runtime/components/form/check-box.vue.d.ts +71 -0
- package/dist/runtime/components/form/check-list.vue +234 -364
- package/dist/runtime/components/form/check-list.vue.d.ts +99 -0
- package/dist/runtime/components/form/combo-box.vue +340 -0
- package/dist/runtime/components/form/combo-box.vue.d.ts +69 -0
- package/dist/runtime/components/form/datepicker.vue +717 -883
- package/dist/runtime/components/form/datepicker.vue.d.ts +122 -0
- package/dist/runtime/components/form/input-frame.vue +174 -258
- package/dist/runtime/components/form/input-frame.vue.d.ts +88 -0
- package/dist/runtime/components/form/radio.vue +451 -614
- package/dist/runtime/components/form/radio.vue.d.ts +62 -0
- package/dist/runtime/components/form/select-img-icon.vue +38 -53
- package/dist/runtime/components/form/select-img-icon.vue.d.ts +15 -0
- package/dist/runtime/components/form/select.vue +733 -579
- package/dist/runtime/components/form/select.vue.d.ts +63 -0
- package/dist/runtime/components/form/text-box.vue +266 -365
- package/dist/runtime/components/form/text-box.vue.d.ts +105 -0
- package/dist/runtime/components/form/textarea.vue +338 -421
- package/dist/runtime/components/form/textarea.vue.d.ts +98 -0
- package/dist/runtime/components/form/value-box.vue +512 -641
- package/dist/runtime/components/form/value-box.vue.d.ts +128 -0
- package/dist/runtime/components/interactive/alert.vue +49 -113
- package/dist/runtime/components/interactive/alert.vue.d.ts +30 -0
- package/dist/runtime/components/interactive/block-loading.vue +91 -119
- package/dist/runtime/components/interactive/block-loading.vue.d.ts +22 -0
- package/dist/runtime/components/interactive/dialog.vue +252 -407
- package/dist/runtime/components/interactive/dialog.vue.d.ts +3 -0
- package/dist/runtime/components/interactive/modal-bg.vue +72 -82
- package/dist/runtime/components/interactive/modal-bg.vue.d.ts +11 -0
- package/dist/runtime/components/interactive/modal.vue +121 -169
- package/dist/runtime/components/interactive/modal.vue.d.ts +38 -0
- package/dist/runtime/components/interactive/toast.vue +164 -206
- package/dist/runtime/components/interactive/toast.vue.d.ts +3 -0
- package/dist/runtime/components/interactive/window-loader.vue +61 -84
- package/dist/runtime/components/interactive/window-loader.vue.d.ts +3 -0
- package/dist/runtime/components/layout/accordion-down.vue +72 -0
- package/dist/runtime/components/layout/accordion-down.vue.d.ts +26 -0
- package/dist/runtime/components/layout/accordion.vue +47 -78
- package/dist/runtime/components/layout/accordion.vue.d.ts +22 -0
- package/dist/runtime/components/layout/aspect-box.vue +29 -58
- package/dist/runtime/components/layout/aspect-box.vue.d.ts +29 -0
- package/dist/runtime/components/layout/card-item.vue +148 -193
- package/dist/runtime/components/layout/card-item.vue.d.ts +0 -0
- package/dist/runtime/components/layout/card.vue +27 -42
- package/dist/runtime/components/layout/card.vue.d.ts +23 -0
- package/dist/runtime/components/layout/container.vue +25 -40
- package/dist/runtime/components/layout/container.vue.d.ts +35 -0
- package/dist/runtime/components/layout/divider-h.vue +30 -50
- package/dist/runtime/components/layout/divider-h.vue.d.ts +18 -0
- package/dist/runtime/components/misc/breadcrumb.vue +47 -95
- package/dist/runtime/components/misc/breadcrumb.vue.d.ts +22 -0
- package/dist/runtime/components/misc/tabulator.vue +122 -190
- package/dist/runtime/components/misc/tabulator.vue.d.ts +28 -0
- package/dist/runtime/components/misc/view-name-display.vue +53 -68
- package/dist/runtime/components/misc/view-name-display.vue.d.ts +14 -0
- package/dist/runtime/components/test.vue +13 -0
- package/dist/runtime/components/test.vue.d.ts +3 -0
- package/dist/runtime/composables/test.d.ts +8 -0
- package/dist/runtime/composables/test.js +12 -0
- package/dist/runtime/composables/use-hs-dialog.d.ts +3 -20
- package/dist/runtime/composables/use-hs-dialog.js +3 -9
- package/dist/runtime/composables/use-hs-is-mobile.d.ts +8 -2
- package/dist/runtime/composables/use-hs-is-mobile.js +43 -26
- package/dist/runtime/composables/use-hs-misc.d.ts +8 -38
- package/dist/runtime/composables/use-hs-misc.js +9 -61
- package/dist/runtime/composables/use-hs-modal.js +1 -3
- package/dist/runtime/composables/use-hs-multi-lang.d.ts +23 -40
- package/dist/runtime/composables/use-hs-multi-lang.js +30 -74
- package/dist/runtime/composables/use-hs-scroll-lock.d.ts +1 -1
- package/dist/runtime/composables/use-hs-scroll-lock.js +2 -1
- package/dist/runtime/composables/use-hs-toast.d.ts +2 -2
- package/dist/runtime/composables/use-hs-toast.js +12 -4
- package/dist/runtime/composables/use-pinia.d.ts +1 -0
- package/dist/runtime/composables/use-pinia.js +2 -0
- package/dist/runtime/plugin.d.ts +2 -0
- package/dist/runtime/plugin.js +4 -0
- package/dist/runtime/server/tsconfig.json +3 -3
- package/dist/runtime/types/dialog.d.ts +11 -20
- package/dist/runtime/types/dialog.js +2 -1
- package/dist/runtime/types/flatpickr/default.js +2 -23
- package/dist/runtime/types/flatpickr/ja.js +3 -37
- package/dist/runtime/types/toast.d.ts +1 -1
- package/dist/runtime/utils/dayjs.d.ts +8 -6
- package/dist/runtime/utils/dayjs.js +12 -5
- package/dist/runtime/utils/modal.d.ts +9 -28
- package/dist/runtime/utils/modal.js +7 -36
- package/dist/runtime/utils/multi-lang-object.d.ts +2 -2
- package/dist/runtime/utils/multi-lang-object.js +1 -5
- package/dist/runtime/utils/multi-lang.js +12 -22
- package/dist/runtime/utils/object.js +1 -1
- package/dist/runtime/utils/select-item.d.ts +3 -1
- package/dist/runtime/utils/stop-watch.js +6 -4
- package/dist/runtime/utils/string.js +4 -4
- package/dist/runtime/utils/tabulator.d.ts +1 -42
- package/dist/runtime/utils/tabulator.js +2 -99
- package/dist/runtime/utils/theme.d.ts +20 -20
- package/dist/runtime/utils/theme.js +180 -30
- package/dist/runtime/utils/tv.d.ts +1 -101
- package/dist/runtime/utils/tv.js +0 -22
- package/dist/types.d.mts +3 -1
- package/package.json +61 -119
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -16
- package/dist/runtime/assets/vue-select.css +0 -1
- package/dist/runtime/components/misc/view-name-display-target.vue +0 -39
- package/dist/runtime/plugin/v-select.d.ts +0 -2
- package/dist/runtime/plugin/v-select.js +0 -5
- package/dist/runtime/style.css +0 -22
- package/dist/runtime/tailwind.css +0 -78
- package/dist/runtime/types/app.config.d.ts +0 -5
- package/dist/types.d.ts +0 -1
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type { ClassType } from '../../utils/class-style.js';
|
|
2
|
+
import type { MultiLang } from '../../utils/multi-lang.js';
|
|
3
|
+
type Props = {
|
|
4
|
+
rows?: number | string;
|
|
5
|
+
maxRows?: number;
|
|
6
|
+
maxLen?: number;
|
|
7
|
+
autosize?: boolean;
|
|
8
|
+
placeholder?: MultiLang;
|
|
9
|
+
data: string | null;
|
|
10
|
+
diff?: string | null | undefined;
|
|
11
|
+
tabindex?: string | undefined;
|
|
12
|
+
class?: ClassType;
|
|
13
|
+
classHeader?: ClassType;
|
|
14
|
+
classInput?: ClassType;
|
|
15
|
+
focusColor?: string;
|
|
16
|
+
changeColor?: string;
|
|
17
|
+
error?: boolean;
|
|
18
|
+
errorColor?: string;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
disabledColor?: string;
|
|
21
|
+
readonly?: boolean;
|
|
22
|
+
headerless?: boolean;
|
|
23
|
+
label?: MultiLang;
|
|
24
|
+
require?: boolean;
|
|
25
|
+
requireText?: MultiLang;
|
|
26
|
+
warn?: string;
|
|
27
|
+
warnTimeOut?: number;
|
|
28
|
+
size?: 's' | 'm' | 'l';
|
|
29
|
+
uiText?: {
|
|
30
|
+
rowsUnit: MultiLang;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Slots = {
|
|
34
|
+
default(props: {
|
|
35
|
+
msg: string;
|
|
36
|
+
}): any;
|
|
37
|
+
overlay?(): any;
|
|
38
|
+
'right-icons'?(): any;
|
|
39
|
+
'left-icons'?(): any;
|
|
40
|
+
'label-prepend'?(): any;
|
|
41
|
+
'label-append'?(): any;
|
|
42
|
+
'header-right'?(): any;
|
|
43
|
+
};
|
|
44
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {
|
|
45
|
+
el: import("vue").Ref<any, any>;
|
|
46
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
+
blur: (elm: HTMLElement) => any;
|
|
48
|
+
focus: (elm: HTMLElement) => any;
|
|
49
|
+
keydown: (event: KeyboardEvent) => any;
|
|
50
|
+
keyup: (event: KeyboardEvent) => any;
|
|
51
|
+
ref: (element: HTMLElement) => any;
|
|
52
|
+
"update:data": (value: string) => any;
|
|
53
|
+
"value-change": (after: string, before: string | null) => any;
|
|
54
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
55
|
+
onBlur?: ((elm: HTMLElement) => any) | undefined;
|
|
56
|
+
onFocus?: ((elm: HTMLElement) => any) | undefined;
|
|
57
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
58
|
+
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
59
|
+
onRef?: ((element: HTMLElement) => any) | undefined;
|
|
60
|
+
"onUpdate:data"?: ((value: string) => any) | undefined;
|
|
61
|
+
"onValue-change"?: ((after: string, before: string | null) => any) | undefined;
|
|
62
|
+
}>, {
|
|
63
|
+
error: boolean;
|
|
64
|
+
size: "s" | "m" | "l";
|
|
65
|
+
disabled: boolean;
|
|
66
|
+
warn: string;
|
|
67
|
+
class: ClassType;
|
|
68
|
+
diff: string | null;
|
|
69
|
+
tabindex: string;
|
|
70
|
+
label: MultiLang;
|
|
71
|
+
warnTimeOut: number;
|
|
72
|
+
uiText: {
|
|
73
|
+
rowsUnit: MultiLang;
|
|
74
|
+
};
|
|
75
|
+
classHeader: ClassType;
|
|
76
|
+
classInput: ClassType;
|
|
77
|
+
focusColor: string;
|
|
78
|
+
changeColor: string;
|
|
79
|
+
errorColor: string;
|
|
80
|
+
disabledColor: string;
|
|
81
|
+
readonly: boolean;
|
|
82
|
+
headerless: boolean;
|
|
83
|
+
require: boolean;
|
|
84
|
+
requireText: MultiLang;
|
|
85
|
+
maxLen: number;
|
|
86
|
+
placeholder: MultiLang;
|
|
87
|
+
rows: number | string;
|
|
88
|
+
maxRows: number;
|
|
89
|
+
autosize: boolean;
|
|
90
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
91
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
92
|
+
declare const _default: typeof __VLS_export;
|
|
93
|
+
export default _default;
|
|
94
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
95
|
+
new (): {
|
|
96
|
+
$slots: S;
|
|
97
|
+
};
|
|
98
|
+
};
|