@finema/core 3.17.2 → 3.19.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/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/FlexDeck/index.vue +79 -79
- package/dist/runtime/components/Form/FieldWrapper.vue +13 -13
- package/dist/runtime/components/Form/Fields.vue +13 -13
- package/dist/runtime/components/Form/InputCheckbox/index.d.vue.ts +5 -1
- package/dist/runtime/components/Form/InputCheckbox/index.vue +18 -18
- package/dist/runtime/components/Form/InputCheckbox/index.vue.d.ts +5 -1
- package/dist/runtime/components/Form/InputCheckboxGroup/index.d.vue.ts +5 -1
- package/dist/runtime/components/Form/InputCheckboxGroup/index.vue +21 -21
- package/dist/runtime/components/Form/InputCheckboxGroup/index.vue.d.ts +5 -1
- package/dist/runtime/components/Form/InputCurrency/index.d.vue.ts +5 -1
- package/dist/runtime/components/Form/InputCurrency/index.vue +49 -49
- package/dist/runtime/components/Form/InputCurrency/index.vue.d.ts +5 -1
- package/dist/runtime/components/Form/InputDateTime/index.d.vue.ts +5 -1
- package/dist/runtime/components/Form/InputDateTime/index.vue +63 -63
- package/dist/runtime/components/Form/InputDateTime/index.vue.d.ts +5 -1
- package/dist/runtime/components/Form/InputDateTimeRange/index.d.vue.ts +5 -1
- package/dist/runtime/components/Form/InputDateTimeRange/index.vue +56 -56
- package/dist/runtime/components/Form/InputDateTimeRange/index.vue.d.ts +5 -1
- package/dist/runtime/components/Form/InputMonth/index.d.vue.ts +5 -1
- package/dist/runtime/components/Form/InputMonth/index.vue.d.ts +5 -1
- package/dist/runtime/components/Form/InputNumber/index.d.vue.ts +5 -1
- package/dist/runtime/components/Form/InputNumber/index.vue +20 -20
- package/dist/runtime/components/Form/InputNumber/index.vue.d.ts +5 -1
- package/dist/runtime/components/Form/InputSearch/index.d.vue.ts +9 -1
- package/dist/runtime/components/Form/InputSearch/index.vue.d.ts +9 -1
- package/dist/runtime/components/Form/InputSelect/index.d.vue.ts +7 -1
- package/dist/runtime/components/Form/InputSelect/index.vue +110 -110
- package/dist/runtime/components/Form/InputSelect/index.vue.d.ts +7 -1
- package/dist/runtime/components/Form/InputSelectMultiple/index.d.vue.ts +7 -1
- package/dist/runtime/components/Form/InputSelectMultiple/index.vue +118 -118
- package/dist/runtime/components/Form/InputSelectMultiple/index.vue.d.ts +7 -1
- package/dist/runtime/components/Form/InputTags/index.d.vue.ts +11 -1
- package/dist/runtime/components/Form/InputTags/index.vue +54 -54
- package/dist/runtime/components/Form/InputTags/index.vue.d.ts +11 -1
- package/dist/runtime/components/Form/InputText/index.d.vue.ts +7 -1
- package/dist/runtime/components/Form/InputText/index.vue +85 -85
- package/dist/runtime/components/Form/InputText/index.vue.d.ts +7 -1
- package/dist/runtime/components/Form/InputTextarea/index.d.vue.ts +5 -1
- package/dist/runtime/components/Form/InputTextarea/index.vue +18 -18
- package/dist/runtime/components/Form/InputTextarea/index.vue.d.ts +5 -1
- package/dist/runtime/components/Form/InputTime/index.d.vue.ts +5 -1
- package/dist/runtime/components/Form/InputTime/index.vue +38 -38
- package/dist/runtime/components/Form/InputTime/index.vue.d.ts +5 -1
- package/dist/runtime/components/Form/InputToggle/index.d.vue.ts +5 -1
- package/dist/runtime/components/Form/InputToggle/index.vue +17 -17
- package/dist/runtime/components/Form/InputToggle/index.vue.d.ts +5 -1
- package/dist/runtime/components/Form/InputUploadDropzone/index.vue +30 -30
- package/dist/runtime/components/Form/InputUploadDropzoneAuto/index.vue +50 -50
- package/dist/runtime/components/Form/InputUploadDropzoneAutoMultiple/index.vue +50 -50
- package/dist/runtime/components/Form/InputUploadImageAuto/index.vue +50 -50
- package/dist/runtime/components/Form/InputWYSIWYG/EditorImageUploadNode.vue +18 -18
- package/dist/runtime/components/Form/InputWYSIWYG/EditorLinkPopover.vue +65 -65
- package/dist/runtime/components/Form/InputWYSIWYG/README.md +96 -96
- package/dist/runtime/components/Form/InputWYSIWYG/index.vue +41 -41
- package/dist/runtime/components/Form/fileState/EmptyState.vue +21 -21
- package/dist/runtime/components/Form/fileState/FailedState.vue +33 -33
- package/dist/runtime/components/Form/fileState/LoadingState.vue +24 -24
- package/dist/runtime/components/Form/fileState/MultipleFilesState.vue +75 -75
- package/dist/runtime/components/Form/fileState/PreviewModal.vue +23 -23
- package/dist/runtime/components/Form/index.vue +5 -5
- package/dist/runtime/components/Image.vue +28 -28
- package/dist/runtime/components/Log/index.vue +17 -17
- package/dist/runtime/components/Table/Base.d.vue.ts +8 -2
- package/dist/runtime/components/Table/Base.vue +117 -117
- package/dist/runtime/components/Table/Base.vue.d.ts +8 -2
- package/dist/runtime/components/Table/ColumnDate.vue +1 -1
- package/dist/runtime/components/Table/ColumnDateTime.vue +1 -1
- package/dist/runtime/components/Table/ColumnImage.vue +4 -4
- package/dist/runtime/components/Table/ColumnText.vue +10 -10
- package/dist/runtime/components/Table/Pagination.vue +62 -62
- package/dist/runtime/components/Table/Simple.vue +19 -19
- package/dist/runtime/components/Table/index.vue +33 -33
- package/dist/runtime/composables/loaderList.js +38 -15
- package/dist/runtime/composables/loaderObject.js +49 -20
- package/dist/runtime/composables/loaderPage.js +300 -168
- package/dist/runtime/helpers/apiBaseHelper.d.ts +5 -2
- package/dist/runtime/helpers/apiBaseHelper.js +53 -3
- package/dist/runtime/helpers/apiCancelHelper.d.ts +6 -0
- package/dist/runtime/helpers/apiCancelHelper.js +22 -0
- package/dist/runtime/helpers/apiListHelper.js +6 -3
- package/dist/runtime/helpers/apiObjectHelper.d.ts +3 -1
- package/dist/runtime/helpers/apiObjectHelper.js +6 -3
- package/dist/runtime/helpers/apiPageHelper.d.ts +9 -3
- package/dist/runtime/helpers/apiPageHelper.js +29 -16
- package/dist/runtime/server/tsconfig.json +3 -3
- package/package.json +2 -2
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<FieldWrapper v-bind="wrapperProps">
|
|
3
|
-
<Datepicker
|
|
4
|
-
:model-value="innerValue"
|
|
5
|
-
:disabled="wrapperProps.disabled"
|
|
6
|
-
:cancel-text="appConfig.core?.locale === 'th' ? '\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01' : 'Cancel'"
|
|
7
|
-
:select-text="appConfig.core?.locale === 'th' ? '\u0E15\u0E01\u0E25\u0E07' : 'Select'"
|
|
8
|
-
:locale="appConfig.core?.locale"
|
|
9
|
-
:enable-time-picker="!disabledTime"
|
|
10
|
-
:auto-apply="autoApply && disabledTime"
|
|
11
|
-
:placeholder="wrapperProps.placeholder"
|
|
12
|
-
:format="format"
|
|
13
|
-
:min-date="minDate"
|
|
14
|
-
:max-date="maxDate"
|
|
15
|
-
:min-time="minTime"
|
|
16
|
-
:max-time="maxTime"
|
|
17
|
-
:six-weeks="true"
|
|
18
|
-
:start-time="startTime"
|
|
19
|
-
:teleport="teleport"
|
|
20
|
-
:required="required"
|
|
21
|
-
:flow="flowCalendar"
|
|
22
|
-
@update:model-value="onInput"
|
|
23
|
-
>
|
|
24
|
-
<template
|
|
25
|
-
v-if="appConfig.core?.locale === 'th' && appConfig.core?.is_thai_year"
|
|
26
|
-
#year="{ value }"
|
|
27
|
-
>
|
|
28
|
-
{{ value + 543 }}
|
|
29
|
-
</template>
|
|
30
|
-
<template
|
|
31
|
-
v-if="appConfig.core?.locale === 'th' && appConfig.core?.is_thai_year"
|
|
32
|
-
#year-overlay-value="{ value }"
|
|
33
|
-
>
|
|
34
|
-
{{ value + 543 }}
|
|
35
|
-
</template>
|
|
36
|
-
<template #dp-input="{ value: innerValue }">
|
|
37
|
-
<Input
|
|
38
|
-
v-if="!readMode"
|
|
39
|
-
:trailing-icon="innerValue ? void 0 : 'i-heroicons-calendar-days'"
|
|
40
|
-
type="text"
|
|
41
|
-
:disabled="wrapperProps.disabled"
|
|
42
|
-
:model-value="innerValue"
|
|
43
|
-
:placeholder="wrapperProps.placeholder"
|
|
44
|
-
:readonly="true"
|
|
2
|
+
<FieldWrapper v-bind="wrapperProps">
|
|
3
|
+
<Datepicker
|
|
4
|
+
:model-value="innerValue"
|
|
5
|
+
:disabled="wrapperProps.disabled"
|
|
6
|
+
:cancel-text="appConfig.core?.locale === 'th' ? '\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01' : 'Cancel'"
|
|
7
|
+
:select-text="appConfig.core?.locale === 'th' ? '\u0E15\u0E01\u0E25\u0E07' : 'Select'"
|
|
8
|
+
:locale="appConfig.core?.locale"
|
|
9
|
+
:enable-time-picker="!disabledTime"
|
|
10
|
+
:auto-apply="autoApply && disabledTime"
|
|
11
|
+
:placeholder="wrapperProps.placeholder"
|
|
12
|
+
:format="format"
|
|
13
|
+
:min-date="minDate"
|
|
14
|
+
:max-date="maxDate"
|
|
15
|
+
:min-time="minTime"
|
|
16
|
+
:max-time="maxTime"
|
|
17
|
+
:six-weeks="true"
|
|
18
|
+
:start-time="startTime"
|
|
19
|
+
:teleport="teleport"
|
|
20
|
+
:required="required"
|
|
21
|
+
:flow="flowCalendar"
|
|
22
|
+
@update:model-value="onInput"
|
|
23
|
+
>
|
|
24
|
+
<template
|
|
25
|
+
v-if="appConfig.core?.locale === 'th' && appConfig.core?.is_thai_year"
|
|
26
|
+
#year="{ value }"
|
|
27
|
+
>
|
|
28
|
+
{{ value + 543 }}
|
|
29
|
+
</template>
|
|
30
|
+
<template
|
|
31
|
+
v-if="appConfig.core?.locale === 'th' && appConfig.core?.is_thai_year"
|
|
32
|
+
#year-overlay-value="{ value }"
|
|
33
|
+
>
|
|
34
|
+
{{ value + 543 }}
|
|
35
|
+
</template>
|
|
36
|
+
<template #dp-input="{ value: innerValue }">
|
|
37
|
+
<Input
|
|
38
|
+
v-if="!readMode"
|
|
39
|
+
:trailing-icon="innerValue ? void 0 : 'i-heroicons-calendar-days'"
|
|
40
|
+
type="text"
|
|
41
|
+
:disabled="wrapperProps.disabled"
|
|
42
|
+
:model-value="innerValue"
|
|
43
|
+
:placeholder="wrapperProps.placeholder"
|
|
44
|
+
:readonly="true"
|
|
45
45
|
:ui="{
|
|
46
46
|
base: 'cursor-pointer select-none',
|
|
47
47
|
trailingIcon: 'cursor-pointer'
|
|
48
|
-
}"
|
|
49
|
-
/>
|
|
50
|
-
<div
|
|
51
|
-
v-else
|
|
52
|
-
class="cursor-pointer rounded-md px-2 py-1 hover:bg-gray-100"
|
|
53
|
-
:class="classReadMode"
|
|
54
|
-
>
|
|
55
|
-
{{ innerValue || "None" }}
|
|
56
|
-
</div>
|
|
57
|
-
</template>
|
|
58
|
-
<template #clear-icon="{ clear }">
|
|
59
|
-
<Icon
|
|
60
|
-
v-if="clearable"
|
|
61
|
-
:name="clearIcon"
|
|
48
|
+
}"
|
|
49
|
+
/>
|
|
50
|
+
<div
|
|
51
|
+
v-else
|
|
52
|
+
class="cursor-pointer rounded-md px-2 py-1 hover:bg-gray-100"
|
|
53
|
+
:class="classReadMode"
|
|
54
|
+
>
|
|
55
|
+
{{ innerValue || "None" }}
|
|
56
|
+
</div>
|
|
57
|
+
</template>
|
|
58
|
+
<template #clear-icon="{ clear }">
|
|
59
|
+
<Icon
|
|
60
|
+
v-if="clearable"
|
|
61
|
+
:name="clearIcon"
|
|
62
62
|
:class="
|
|
63
63
|
theme.clearIcon({
|
|
64
64
|
class: [ui?.clearIcon]
|
|
65
65
|
})
|
|
66
|
-
"
|
|
67
|
-
@click.stop="clear"
|
|
68
|
-
/>
|
|
69
|
-
</template>
|
|
70
|
-
</Datepicker>
|
|
71
|
-
</FieldWrapper>
|
|
66
|
+
"
|
|
67
|
+
@click.stop="clear"
|
|
68
|
+
/>
|
|
69
|
+
</template>
|
|
70
|
+
</Datepicker>
|
|
71
|
+
</FieldWrapper>
|
|
72
72
|
</template>
|
|
73
73
|
|
|
74
74
|
<script setup>
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import '@vuepic/vue-datepicker/dist/main.css';
|
|
2
2
|
import type { IDateTimeFieldProps } from '#core/components/Form/InputDateTime/date_time_field.types';
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<IDateTimeFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<IDateTimeFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
change: (...args: any[]) => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<IDateTimeFieldProps> & Readonly<{
|
|
6
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
}>, {
|
|
4
8
|
clearable: boolean;
|
|
5
9
|
clearIcon: string;
|
|
6
10
|
teleport: boolean | string | HTMLElement;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import '@vuepic/vue-datepicker/dist/main.css';
|
|
2
2
|
import type { IDateTimeRangeFieldProps } from './date_range_time_field.types.js';
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<IDateTimeRangeFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<IDateTimeRangeFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
change: (...args: any[]) => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<IDateTimeRangeFieldProps> & Readonly<{
|
|
6
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
}>, {
|
|
4
8
|
clearIcon: string;
|
|
5
9
|
teleport: boolean | string | HTMLElement;
|
|
6
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<FieldWrapper v-bind="wrapperProps">
|
|
3
|
-
<Datepicker
|
|
4
|
-
ref="datepicker"
|
|
5
|
-
v-model="innerValueRef"
|
|
6
|
-
:teleport="teleport"
|
|
7
|
-
:disabled="wrapperProps.disabled"
|
|
8
|
-
:cancel-text="appConfig.core?.locale === 'th' ? '\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01' : 'Cancel'"
|
|
9
|
-
:select-text="appConfig.core?.locale === 'th' ? '\u0E15\u0E01\u0E25\u0E07' : 'Select'"
|
|
10
|
-
:locale="appConfig.core?.locale"
|
|
11
|
-
:format="format"
|
|
12
|
-
:enable-time-picker="!disabledTime"
|
|
13
|
-
:placeholder="wrapperProps.placeholder"
|
|
14
|
-
:min-date="minDate"
|
|
15
|
-
:max-date="maxDate"
|
|
16
|
-
:min-time="minTime"
|
|
17
|
-
:max-time="maxTime"
|
|
18
|
-
:six-weeks="true"
|
|
19
|
-
:start-time="startTime"
|
|
20
|
-
:multi-calendars="!isDisabledMultiCalendar"
|
|
21
|
-
:required="required"
|
|
22
|
-
time-picker-inline
|
|
23
|
-
range
|
|
24
|
-
:flow="['calendar', 'time']"
|
|
25
|
-
@update:model-value="onInput"
|
|
26
|
-
>
|
|
27
|
-
<template
|
|
28
|
-
v-if="appConfig.core?.locale === 'th' && appConfig.core?.is_thai_year"
|
|
29
|
-
#year="{ value }"
|
|
30
|
-
>
|
|
31
|
-
{{ value + 543 }}
|
|
32
|
-
</template>
|
|
33
|
-
<template
|
|
34
|
-
v-if="appConfig.core?.locale === 'th' && appConfig.core?.is_thai_year"
|
|
35
|
-
#year-overlay-value="{ value }"
|
|
36
|
-
>
|
|
37
|
-
{{ value + 543 }}
|
|
38
|
-
</template>
|
|
39
|
-
<template #dp-input="{ value: innerValue }">
|
|
40
|
-
<Input
|
|
41
|
-
:trailing-icon="innerValue ? void 0 : 'i-heroicons-calendar-days'"
|
|
42
|
-
type="text"
|
|
43
|
-
:model-value="innerValue"
|
|
44
|
-
:placeholder="wrapperProps.placeholder"
|
|
45
|
-
:readonly="true"
|
|
2
|
+
<FieldWrapper v-bind="wrapperProps">
|
|
3
|
+
<Datepicker
|
|
4
|
+
ref="datepicker"
|
|
5
|
+
v-model="innerValueRef"
|
|
6
|
+
:teleport="teleport"
|
|
7
|
+
:disabled="wrapperProps.disabled"
|
|
8
|
+
:cancel-text="appConfig.core?.locale === 'th' ? '\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01' : 'Cancel'"
|
|
9
|
+
:select-text="appConfig.core?.locale === 'th' ? '\u0E15\u0E01\u0E25\u0E07' : 'Select'"
|
|
10
|
+
:locale="appConfig.core?.locale"
|
|
11
|
+
:format="format"
|
|
12
|
+
:enable-time-picker="!disabledTime"
|
|
13
|
+
:placeholder="wrapperProps.placeholder"
|
|
14
|
+
:min-date="minDate"
|
|
15
|
+
:max-date="maxDate"
|
|
16
|
+
:min-time="minTime"
|
|
17
|
+
:max-time="maxTime"
|
|
18
|
+
:six-weeks="true"
|
|
19
|
+
:start-time="startTime"
|
|
20
|
+
:multi-calendars="!isDisabledMultiCalendar"
|
|
21
|
+
:required="required"
|
|
22
|
+
time-picker-inline
|
|
23
|
+
range
|
|
24
|
+
:flow="['calendar', 'time']"
|
|
25
|
+
@update:model-value="onInput"
|
|
26
|
+
>
|
|
27
|
+
<template
|
|
28
|
+
v-if="appConfig.core?.locale === 'th' && appConfig.core?.is_thai_year"
|
|
29
|
+
#year="{ value }"
|
|
30
|
+
>
|
|
31
|
+
{{ value + 543 }}
|
|
32
|
+
</template>
|
|
33
|
+
<template
|
|
34
|
+
v-if="appConfig.core?.locale === 'th' && appConfig.core?.is_thai_year"
|
|
35
|
+
#year-overlay-value="{ value }"
|
|
36
|
+
>
|
|
37
|
+
{{ value + 543 }}
|
|
38
|
+
</template>
|
|
39
|
+
<template #dp-input="{ value: innerValue }">
|
|
40
|
+
<Input
|
|
41
|
+
:trailing-icon="innerValue ? void 0 : 'i-heroicons-calendar-days'"
|
|
42
|
+
type="text"
|
|
43
|
+
:model-value="innerValue"
|
|
44
|
+
:placeholder="wrapperProps.placeholder"
|
|
45
|
+
:readonly="true"
|
|
46
46
|
:ui="{
|
|
47
47
|
base: 'cursor-pointer select-none',
|
|
48
48
|
trailingIcon: 'cursor-pointer'
|
|
49
|
-
}"
|
|
50
|
-
/>
|
|
51
|
-
</template>
|
|
52
|
-
<template #clear-icon="{ clear }">
|
|
53
|
-
<Icon
|
|
54
|
-
:name="clearIcon"
|
|
49
|
+
}"
|
|
50
|
+
/>
|
|
51
|
+
</template>
|
|
52
|
+
<template #clear-icon="{ clear }">
|
|
53
|
+
<Icon
|
|
54
|
+
:name="clearIcon"
|
|
55
55
|
:class="theme.clearIcon({
|
|
56
56
|
class: [ui?.clearIcon]
|
|
57
|
-
})"
|
|
58
|
-
@click.stop="clear"
|
|
59
|
-
/>
|
|
60
|
-
</template>
|
|
61
|
-
</Datepicker>
|
|
62
|
-
</FieldWrapper>
|
|
57
|
+
})"
|
|
58
|
+
@click.stop="clear"
|
|
59
|
+
/>
|
|
60
|
+
</template>
|
|
61
|
+
</Datepicker>
|
|
62
|
+
</FieldWrapper>
|
|
63
63
|
</template>
|
|
64
64
|
|
|
65
65
|
<script setup>
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import '@vuepic/vue-datepicker/dist/main.css';
|
|
2
2
|
import type { IDateTimeRangeFieldProps } from './date_range_time_field.types.js';
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<IDateTimeRangeFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<IDateTimeRangeFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
change: (...args: any[]) => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<IDateTimeRangeFieldProps> & Readonly<{
|
|
6
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
}>, {
|
|
4
8
|
clearIcon: string;
|
|
5
9
|
teleport: boolean | string | HTMLElement;
|
|
6
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import '@vuepic/vue-datepicker/dist/main.css';
|
|
2
2
|
import type { IMonthFieldProps } from '#core/components/Form/InputMonth/types';
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<IMonthFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<IMonthFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
change: (...args: any[]) => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<IMonthFieldProps> & Readonly<{
|
|
6
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
}>, {
|
|
4
8
|
clearIcon: string;
|
|
5
9
|
teleport: boolean | string | HTMLElement;
|
|
6
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import '@vuepic/vue-datepicker/dist/main.css';
|
|
2
2
|
import type { IMonthFieldProps } from '#core/components/Form/InputMonth/types';
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<IMonthFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<IMonthFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
change: (...args: any[]) => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<IMonthFieldProps> & Readonly<{
|
|
6
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
}>, {
|
|
4
8
|
clearIcon: string;
|
|
5
9
|
teleport: boolean | string | HTMLElement;
|
|
6
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { INumberFieldProps } from '#core/components/Form/InputNumber/types';
|
|
2
|
-
declare const __VLS_export: import("vue").DefineComponent<INumberFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<INumberFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (...args: any[]) => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<INumberFieldProps> & Readonly<{
|
|
5
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
6
|
+
}>, {
|
|
3
7
|
orientation: "horizontal" | "vertical";
|
|
4
8
|
increment: boolean | Omit<import("@nuxt/ui").ButtonProps, import("@nuxt/ui").LinkPropsKeys>;
|
|
5
9
|
decrement: boolean | Omit<import("@nuxt/ui").ButtonProps, import("@nuxt/ui").LinkPropsKeys>;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<FieldWrapper v-bind="wrapperProps">
|
|
3
|
-
<InputNumber
|
|
4
|
-
:model-value="value"
|
|
5
|
-
:disabled="wrapperProps.disabled"
|
|
6
|
-
:name="name"
|
|
7
|
-
:placeholder="wrapperProps.placeholder"
|
|
8
|
-
:autofocus="!!autoFocus"
|
|
9
|
-
:readonly="readonly"
|
|
10
|
-
:orientation="orientation"
|
|
11
|
-
:increment="increment"
|
|
12
|
-
:decrement="decrement"
|
|
13
|
-
:min="min"
|
|
14
|
-
:max="max"
|
|
15
|
-
:step="step"
|
|
16
|
-
:disable-wheel-change="disableWheelChange"
|
|
17
|
-
:format-options="formatOptions"
|
|
18
|
-
:ui="ui"
|
|
19
|
-
@update:model-value="onChange"
|
|
20
|
-
/>
|
|
21
|
-
</FieldWrapper>
|
|
2
|
+
<FieldWrapper v-bind="wrapperProps">
|
|
3
|
+
<InputNumber
|
|
4
|
+
:model-value="value"
|
|
5
|
+
:disabled="wrapperProps.disabled"
|
|
6
|
+
:name="name"
|
|
7
|
+
:placeholder="wrapperProps.placeholder"
|
|
8
|
+
:autofocus="!!autoFocus"
|
|
9
|
+
:readonly="readonly"
|
|
10
|
+
:orientation="orientation"
|
|
11
|
+
:increment="increment"
|
|
12
|
+
:decrement="decrement"
|
|
13
|
+
:min="min"
|
|
14
|
+
:max="max"
|
|
15
|
+
:step="step"
|
|
16
|
+
:disable-wheel-change="disableWheelChange"
|
|
17
|
+
:format-options="formatOptions"
|
|
18
|
+
:ui="ui"
|
|
19
|
+
@update:model-value="onChange"
|
|
20
|
+
/>
|
|
21
|
+
</FieldWrapper>
|
|
22
22
|
</template>
|
|
23
23
|
|
|
24
24
|
<script setup>
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { INumberFieldProps } from '#core/components/Form/InputNumber/types';
|
|
2
|
-
declare const __VLS_export: import("vue").DefineComponent<INumberFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<INumberFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (...args: any[]) => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<INumberFieldProps> & Readonly<{
|
|
5
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
6
|
+
}>, {
|
|
3
7
|
orientation: "horizontal" | "vertical";
|
|
4
8
|
increment: boolean | Omit<import("@nuxt/ui").ButtonProps, import("@nuxt/ui").LinkPropsKeys>;
|
|
5
9
|
decrement: boolean | Omit<import("@nuxt/ui").ButtonProps, import("@nuxt/ui").LinkPropsKeys>;
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import type { ISearchFieldProps } from '#core/components/Form/InputSearch/types';
|
|
2
|
-
declare const __VLS_export: import("vue").DefineComponent<ISearchFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<ISearchFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
search: (...args: any[]) => void;
|
|
4
|
+
clear: (...args: any[]) => void;
|
|
5
|
+
change: (...args: any[]) => void;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<ISearchFieldProps> & Readonly<{
|
|
7
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
}>, {
|
|
3
11
|
clearable: boolean;
|
|
4
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
13
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import type { ISearchFieldProps } from '#core/components/Form/InputSearch/types';
|
|
2
|
-
declare const __VLS_export: import("vue").DefineComponent<ISearchFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<ISearchFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
search: (...args: any[]) => void;
|
|
4
|
+
clear: (...args: any[]) => void;
|
|
5
|
+
change: (...args: any[]) => void;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<ISearchFieldProps> & Readonly<{
|
|
7
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
}>, {
|
|
3
11
|
clearable: boolean;
|
|
4
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
13
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { ISelectFieldProps } from '#core/components/Form/InputSelect/types';
|
|
2
|
-
declare const __VLS_export: import("vue").DefineComponent<ISelectFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<ISelectFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
search: (...args: any[]) => void;
|
|
4
|
+
change: (...args: any[]) => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<ISelectFieldProps> & Readonly<{
|
|
6
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
}>, {
|
|
3
9
|
clearIcon: string;
|
|
4
10
|
componentPosition: "leading" | "trailing";
|
|
5
11
|
menuLabelLines: number;
|