@finema/core 2.15.0 → 2.15.2
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 +79 -79
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/DevToolsWindow/index.vue +95 -95
- package/dist/runtime/components/FlexDeck/index.vue +119 -37
- package/dist/runtime/components/FlexDeck/index.vue.d.ts +2 -1
- package/dist/runtime/components/FlexDeck/types.d.ts +1 -4
- package/dist/runtime/components/Form/FieldWrapper.vue +13 -13
- package/dist/runtime/components/Form/InputCheckbox/index.vue +18 -18
- package/dist/runtime/components/Form/InputNumber/index.vue +20 -20
- package/dist/runtime/components/Form/InputSelectMultiple/index.vue +43 -43
- package/dist/runtime/components/Form/InputText/index.vue +48 -48
- package/dist/runtime/components/Form/InputTextarea/index.vue +18 -18
- package/dist/runtime/components/Form/InputToggle/index.vue +17 -17
- 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.vue.d.ts +2 -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/ColumnNumber.vue +1 -1
- package/dist/runtime/components/Table/ColumnText.vue +1 -1
- package/dist/runtime/components/Table/index.vue +1 -21
- package/dist/runtime/server/tsconfig.json +3 -3
- package/package.json +1 -1
- package/dist/runtime/components/FlexDeck/Base.vue +0 -156
- package/dist/runtime/components/FlexDeck/Base.vue.d.ts +0 -103
|
@@ -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-disabled="incrementDisabled"
|
|
12
|
-
:decrement-disabled="decrementDisabled"
|
|
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-disabled="incrementDisabled"
|
|
12
|
+
:decrement-disabled="decrementDisabled"
|
|
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,57 +1,57 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<FieldWrapper v-bind="wrapperProps">
|
|
3
|
-
<SelectMenu
|
|
4
|
-
:model-value="value"
|
|
5
|
-
:items="options"
|
|
6
|
-
multiple
|
|
7
|
-
:placeholder="wrapperProps.placeholder"
|
|
8
|
-
:disabled="wrapperProps.disabled"
|
|
9
|
-
:loading="loading"
|
|
10
|
-
:search-input="searchInput"
|
|
11
|
-
:selected-icon="selectedIcon"
|
|
12
|
-
value-key="value"
|
|
13
|
-
label-key="label"
|
|
14
|
-
:icon="icon"
|
|
15
|
-
:ui="ui"
|
|
16
|
-
:ignore-filter="!!$attrs.onSearch"
|
|
17
|
-
@update:model-value="onChange"
|
|
18
|
-
@update:searchTerm="onSearch"
|
|
19
|
-
>
|
|
20
|
-
<template #default="{ modelValue }">
|
|
21
|
-
<div
|
|
22
|
-
v-if="!ArrayHelper.isEmpty(value)"
|
|
2
|
+
<FieldWrapper v-bind="wrapperProps">
|
|
3
|
+
<SelectMenu
|
|
4
|
+
:model-value="value"
|
|
5
|
+
:items="options"
|
|
6
|
+
multiple
|
|
7
|
+
:placeholder="wrapperProps.placeholder"
|
|
8
|
+
:disabled="wrapperProps.disabled"
|
|
9
|
+
:loading="loading"
|
|
10
|
+
:search-input="searchInput"
|
|
11
|
+
:selected-icon="selectedIcon"
|
|
12
|
+
value-key="value"
|
|
13
|
+
label-key="label"
|
|
14
|
+
:icon="icon"
|
|
15
|
+
:ui="ui"
|
|
16
|
+
:ignore-filter="!!$attrs.onSearch"
|
|
17
|
+
@update:model-value="onChange"
|
|
18
|
+
@update:searchTerm="onSearch"
|
|
19
|
+
>
|
|
20
|
+
<template #default="{ modelValue }">
|
|
21
|
+
<div
|
|
22
|
+
v-if="!ArrayHelper.isEmpty(value)"
|
|
23
23
|
:class="theme.tagsWrapper({
|
|
24
24
|
class: [ui?.tagsWrapper]
|
|
25
|
-
})"
|
|
26
|
-
>
|
|
27
|
-
<div
|
|
28
|
-
v-for="_value in ArrayHelper.toArray(modelValue)"
|
|
29
|
-
:key="_value"
|
|
25
|
+
})"
|
|
26
|
+
>
|
|
27
|
+
<div
|
|
28
|
+
v-for="_value in ArrayHelper.toArray(modelValue)"
|
|
29
|
+
:key="_value"
|
|
30
30
|
:class="theme.tagsItem({
|
|
31
31
|
class: [ui?.tagsItem]
|
|
32
|
-
})"
|
|
33
|
-
>
|
|
34
|
-
<div
|
|
32
|
+
})"
|
|
33
|
+
>
|
|
34
|
+
<div
|
|
35
35
|
:class="theme.tagsItemText({
|
|
36
36
|
class: [ui?.tagsItemText]
|
|
37
|
-
})"
|
|
38
|
-
>
|
|
39
|
-
{{ options.find((item) => item.value === _value)?.label || _value }}
|
|
40
|
-
<Icon
|
|
37
|
+
})"
|
|
38
|
+
>
|
|
39
|
+
{{ options.find((item) => item.value === _value)?.label || _value }}
|
|
40
|
+
<Icon
|
|
41
41
|
:name="theme.tagsItemDeleteIcon({
|
|
42
42
|
class: [ui?.tagsItemDeleteIcon]
|
|
43
|
-
})"
|
|
43
|
+
})"
|
|
44
44
|
:class="theme.tagsItemDelete({
|
|
45
45
|
class: [ui?.tagsItemDelete]
|
|
46
|
-
})"
|
|
47
|
-
@click.stop="handleDelete(_value)"
|
|
48
|
-
/>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
</template>
|
|
53
|
-
</SelectMenu>
|
|
54
|
-
</FieldWrapper>
|
|
46
|
+
})"
|
|
47
|
+
@click.stop="handleDelete(_value)"
|
|
48
|
+
/>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</template>
|
|
53
|
+
</SelectMenu>
|
|
54
|
+
</FieldWrapper>
|
|
55
55
|
</template>
|
|
56
56
|
|
|
57
57
|
<script setup>
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<FieldWrapper v-bind="wrapperProps">
|
|
3
|
-
<Input
|
|
4
|
-
v-if="type === 'password'"
|
|
5
|
-
v-maska="activeMaskOptions"
|
|
6
|
-
:model-value="value"
|
|
7
|
-
:disabled="wrapperProps.disabled"
|
|
8
|
-
:leading-icon="leadingIcon"
|
|
9
|
-
:trailing-icon="trailingIcon"
|
|
10
|
-
:loading="loading"
|
|
11
|
-
:loading-icon="loadingIcon"
|
|
12
|
-
:name="name"
|
|
13
|
-
:placeholder="wrapperProps.placeholder"
|
|
14
|
-
:type="isShowPassword ? 'text' : 'password'"
|
|
15
|
-
:autofocus="!!autoFocus"
|
|
16
|
-
:icon="icon"
|
|
17
|
-
:readonly="readonly"
|
|
18
|
-
:ui="defu(ui, { icon: { trailing: { pointer: '' } } })"
|
|
19
|
-
@update:model-value="onChange"
|
|
20
|
-
>
|
|
21
|
-
<template #trailing>
|
|
22
|
-
<Button
|
|
23
|
-
color="neutral"
|
|
24
|
-
variant="link"
|
|
25
|
-
:icon="isShowPassword ? 'i-heroicons-eye-slash' : 'i-heroicons-eye'"
|
|
26
|
-
:padded="false"
|
|
27
|
-
@click="isShowPassword = !isShowPassword"
|
|
28
|
-
/>
|
|
29
|
-
</template>
|
|
30
|
-
</Input>
|
|
31
|
-
<Input
|
|
32
|
-
v-else
|
|
33
|
-
v-maska="activeMaskOptions"
|
|
34
|
-
:model-value="value"
|
|
35
|
-
:disabled="wrapperProps.disabled"
|
|
36
|
-
:leading-icon="leadingIcon"
|
|
37
|
-
:trailing-icon="trailingIcon"
|
|
38
|
-
:loading="loading"
|
|
39
|
-
:loading-icon="loadingIcon"
|
|
40
|
-
:name="name"
|
|
41
|
-
:placeholder="wrapperProps.placeholder"
|
|
42
|
-
:type="type"
|
|
43
|
-
:autofocus="!!autoFocus"
|
|
44
|
-
:icon="icon"
|
|
45
|
-
:readonly="readonly"
|
|
46
|
-
:ui="ui"
|
|
47
|
-
@update:model-value="onChange"
|
|
48
|
-
/>
|
|
49
|
-
</FieldWrapper>
|
|
2
|
+
<FieldWrapper v-bind="wrapperProps">
|
|
3
|
+
<Input
|
|
4
|
+
v-if="type === 'password'"
|
|
5
|
+
v-maska="activeMaskOptions"
|
|
6
|
+
:model-value="value"
|
|
7
|
+
:disabled="wrapperProps.disabled"
|
|
8
|
+
:leading-icon="leadingIcon"
|
|
9
|
+
:trailing-icon="trailingIcon"
|
|
10
|
+
:loading="loading"
|
|
11
|
+
:loading-icon="loadingIcon"
|
|
12
|
+
:name="name"
|
|
13
|
+
:placeholder="wrapperProps.placeholder"
|
|
14
|
+
:type="isShowPassword ? 'text' : 'password'"
|
|
15
|
+
:autofocus="!!autoFocus"
|
|
16
|
+
:icon="icon"
|
|
17
|
+
:readonly="readonly"
|
|
18
|
+
:ui="defu(ui, { icon: { trailing: { pointer: '' } } })"
|
|
19
|
+
@update:model-value="onChange"
|
|
20
|
+
>
|
|
21
|
+
<template #trailing>
|
|
22
|
+
<Button
|
|
23
|
+
color="neutral"
|
|
24
|
+
variant="link"
|
|
25
|
+
:icon="isShowPassword ? 'i-heroicons-eye-slash' : 'i-heroicons-eye'"
|
|
26
|
+
:padded="false"
|
|
27
|
+
@click="isShowPassword = !isShowPassword"
|
|
28
|
+
/>
|
|
29
|
+
</template>
|
|
30
|
+
</Input>
|
|
31
|
+
<Input
|
|
32
|
+
v-else
|
|
33
|
+
v-maska="activeMaskOptions"
|
|
34
|
+
:model-value="value"
|
|
35
|
+
:disabled="wrapperProps.disabled"
|
|
36
|
+
:leading-icon="leadingIcon"
|
|
37
|
+
:trailing-icon="trailingIcon"
|
|
38
|
+
:loading="loading"
|
|
39
|
+
:loading-icon="loadingIcon"
|
|
40
|
+
:name="name"
|
|
41
|
+
:placeholder="wrapperProps.placeholder"
|
|
42
|
+
:type="type"
|
|
43
|
+
:autofocus="!!autoFocus"
|
|
44
|
+
:icon="icon"
|
|
45
|
+
:readonly="readonly"
|
|
46
|
+
:ui="ui"
|
|
47
|
+
@update:model-value="onChange"
|
|
48
|
+
/>
|
|
49
|
+
</FieldWrapper>
|
|
50
50
|
</template>
|
|
51
51
|
|
|
52
52
|
<script setup>
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<FieldWrapper v-bind="wrapperProps">
|
|
3
|
-
<Textarea
|
|
4
|
-
:model-value="value"
|
|
5
|
-
:disabled="wrapperProps.disabled"
|
|
6
|
-
:name="name"
|
|
7
|
-
:resize="resize"
|
|
8
|
-
:placeholder="wrapperProps.placeholder"
|
|
9
|
-
:autofocus="!!autoFocus"
|
|
10
|
-
:autoresize="autoresize"
|
|
11
|
-
:rows="rows"
|
|
12
|
-
:maxrows="maxrows"
|
|
13
|
-
:loading="loading"
|
|
14
|
-
:loading-icon="loadingIcon"
|
|
15
|
-
:readonly="readonly"
|
|
16
|
-
:ui="ui"
|
|
17
|
-
@update:model-value="onChange"
|
|
18
|
-
/>
|
|
19
|
-
</FieldWrapper>
|
|
2
|
+
<FieldWrapper v-bind="wrapperProps">
|
|
3
|
+
<Textarea
|
|
4
|
+
:model-value="value"
|
|
5
|
+
:disabled="wrapperProps.disabled"
|
|
6
|
+
:name="name"
|
|
7
|
+
:resize="resize"
|
|
8
|
+
:placeholder="wrapperProps.placeholder"
|
|
9
|
+
:autofocus="!!autoFocus"
|
|
10
|
+
:autoresize="autoresize"
|
|
11
|
+
:rows="rows"
|
|
12
|
+
:maxrows="maxrows"
|
|
13
|
+
:loading="loading"
|
|
14
|
+
:loading-icon="loadingIcon"
|
|
15
|
+
:readonly="readonly"
|
|
16
|
+
:ui="ui"
|
|
17
|
+
@update:model-value="onChange"
|
|
18
|
+
/>
|
|
19
|
+
</FieldWrapper>
|
|
20
20
|
</template>
|
|
21
21
|
|
|
22
22
|
<script setup>
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<FieldWrapper
|
|
3
|
-
v-bind="wrapperProps"
|
|
4
|
-
label=""
|
|
5
|
-
description=""
|
|
6
|
-
>
|
|
7
|
-
<Switch
|
|
8
|
-
:model-value="value"
|
|
9
|
-
:disabled="wrapperProps.disabled"
|
|
10
|
-
:name="name"
|
|
11
|
-
:ui="ui"
|
|
12
|
-
:label="label"
|
|
13
|
-
:description="description"
|
|
14
|
-
:loading="loading"
|
|
15
|
-
:loading-icon="loadingIcon"
|
|
16
|
-
@update:modelValue="onChange"
|
|
17
|
-
/>
|
|
18
|
-
</FieldWrapper>
|
|
2
|
+
<FieldWrapper
|
|
3
|
+
v-bind="wrapperProps"
|
|
4
|
+
label=""
|
|
5
|
+
description=""
|
|
6
|
+
>
|
|
7
|
+
<Switch
|
|
8
|
+
:model-value="value"
|
|
9
|
+
:disabled="wrapperProps.disabled"
|
|
10
|
+
:name="name"
|
|
11
|
+
:ui="ui"
|
|
12
|
+
:label="label"
|
|
13
|
+
:description="description"
|
|
14
|
+
:loading="loading"
|
|
15
|
+
:loading-icon="loadingIcon"
|
|
16
|
+
@update:modelValue="onChange"
|
|
17
|
+
/>
|
|
18
|
+
</FieldWrapper>
|
|
19
19
|
</template>
|
|
20
20
|
|
|
21
21
|
<script setup>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<form class="form">
|
|
3
|
-
<slot />
|
|
4
|
-
</form>
|
|
5
|
-
</template>
|
|
1
|
+
<template>
|
|
2
|
+
<form class="form">
|
|
3
|
+
<slot />
|
|
4
|
+
</form>
|
|
5
|
+
</template>
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<UseImage v-bind="$props">
|
|
3
|
-
<template #loading>
|
|
4
|
-
<slot name="loading">
|
|
5
|
-
<div
|
|
6
|
-
class="flex h-full w-full items-center justify-center"
|
|
7
|
-
>
|
|
8
|
-
<Loader
|
|
9
|
-
:loading="true"
|
|
10
|
-
/>
|
|
11
|
-
</div>
|
|
12
|
-
</slot>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<template #error>
|
|
16
|
-
<slot name="error">
|
|
17
|
-
<div
|
|
18
|
-
class="flex h-full w-full items-center justify-center"
|
|
19
|
-
>
|
|
20
|
-
<p class="text-error-400">
|
|
21
|
-
<Icon
|
|
22
|
-
name="i-heroicons:exclamation-circle-solid"
|
|
23
|
-
class="size-8 text-error-400"
|
|
24
|
-
/>
|
|
25
|
-
</p>
|
|
26
|
-
</div>
|
|
27
|
-
</slot>
|
|
28
|
-
</template>
|
|
29
|
-
</UseImage>
|
|
2
|
+
<UseImage v-bind="$props">
|
|
3
|
+
<template #loading>
|
|
4
|
+
<slot name="loading">
|
|
5
|
+
<div
|
|
6
|
+
class="flex h-full w-full items-center justify-center"
|
|
7
|
+
>
|
|
8
|
+
<Loader
|
|
9
|
+
:loading="true"
|
|
10
|
+
/>
|
|
11
|
+
</div>
|
|
12
|
+
</slot>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<template #error>
|
|
16
|
+
<slot name="error">
|
|
17
|
+
<div
|
|
18
|
+
class="flex h-full w-full items-center justify-center"
|
|
19
|
+
>
|
|
20
|
+
<p class="text-error-400">
|
|
21
|
+
<Icon
|
|
22
|
+
name="i-heroicons:exclamation-circle-solid"
|
|
23
|
+
class="size-8 text-error-400"
|
|
24
|
+
/>
|
|
25
|
+
</p>
|
|
26
|
+
</div>
|
|
27
|
+
</slot>
|
|
28
|
+
</template>
|
|
29
|
+
</UseImage>
|
|
30
30
|
</template>
|
|
31
31
|
|
|
32
32
|
<script setup>
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<DevOnly>
|
|
3
|
-
<TeleportSafe
|
|
4
|
-
to="#dev-logs"
|
|
5
|
-
>
|
|
6
|
-
<LogItem
|
|
7
|
-
v-if="typeof data !== 'undefined'"
|
|
8
|
-
:data="data"
|
|
9
|
-
:title="title"
|
|
10
|
-
/>
|
|
11
|
-
<LogItem
|
|
12
|
-
v-for="(item, index) in dataItems"
|
|
13
|
-
:key="index"
|
|
14
|
-
:data="item"
|
|
15
|
-
:title="`${title} #${index + 1}`"
|
|
16
|
-
/>
|
|
17
|
-
</TeleportSafe>
|
|
18
|
-
</DevOnly>
|
|
2
|
+
<DevOnly>
|
|
3
|
+
<TeleportSafe
|
|
4
|
+
to="#dev-logs"
|
|
5
|
+
>
|
|
6
|
+
<LogItem
|
|
7
|
+
v-if="typeof data !== 'undefined'"
|
|
8
|
+
:data="data"
|
|
9
|
+
:title="title"
|
|
10
|
+
/>
|
|
11
|
+
<LogItem
|
|
12
|
+
v-for="(item, index) in dataItems"
|
|
13
|
+
:key="index"
|
|
14
|
+
:data="item"
|
|
15
|
+
:title="`${title} #${index + 1}`"
|
|
16
|
+
/>
|
|
17
|
+
</TeleportSafe>
|
|
18
|
+
</DevOnly>
|
|
19
19
|
</template>
|
|
20
20
|
|
|
21
21
|
<script setup>
|
|
@@ -67,9 +67,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
67
67
|
}>> & Readonly<{
|
|
68
68
|
onPageChange?: ((...args: any[]) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
|
-
isHideCaption: boolean | undefined;
|
|
71
|
-
isSimplePagination: boolean | undefined;
|
|
72
70
|
isHidePagination: boolean | undefined;
|
|
71
|
+
isSimplePagination: boolean | undefined;
|
|
72
|
+
isHideCaption: boolean | undefined;
|
|
73
73
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
74
74
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
75
75
|
export default _default;
|
|
@@ -12,27 +12,6 @@
|
|
|
12
12
|
:placeholder="options.searchPlaceholder || '\u0E04\u0E49\u0E19\u0E2B\u0E32....'"
|
|
13
13
|
/>
|
|
14
14
|
</div>
|
|
15
|
-
<div
|
|
16
|
-
v-if="!options.isHideCaption || !options.isHidePagination"
|
|
17
|
-
:class="theme.captionContainer({
|
|
18
|
-
class: [ui?.captionContainer]
|
|
19
|
-
})"
|
|
20
|
-
>
|
|
21
|
-
<span
|
|
22
|
-
:class="theme.captionBoldText({
|
|
23
|
-
class: [ui?.captionBoldText]
|
|
24
|
-
})"
|
|
25
|
-
>
|
|
26
|
-
ผลลัพธ์ทั้งหมด:</span>
|
|
27
|
-
จำนวน
|
|
28
|
-
<span
|
|
29
|
-
:class="theme.captionBoldText({
|
|
30
|
-
class: [ui?.captionBoldText]
|
|
31
|
-
})"
|
|
32
|
-
>{{ options.pageOptions?.totalCount || 0 }}</span>
|
|
33
|
-
รายการ
|
|
34
|
-
</div>
|
|
35
|
-
|
|
36
15
|
<UTable
|
|
37
16
|
v-bind="$attrs"
|
|
38
17
|
:loading="options.status.isLoading"
|
|
@@ -104,6 +83,7 @@
|
|
|
104
83
|
{{ pageBetween }} รายการ จากทั้งหมด {{ totalCountWithComma }} รายการ
|
|
105
84
|
</p>
|
|
106
85
|
<Pagination
|
|
86
|
+
v-if="options.pageOptions.totalPage > 1"
|
|
107
87
|
v-model:page="page"
|
|
108
88
|
:default-page="options.pageOptions?.currentPage || 1"
|
|
109
89
|
:items-per-page="options.pageOptions.limit"
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../.nuxt/tsconfig.server.json",
|
|
3
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../.nuxt/tsconfig.server.json",
|
|
3
|
+
}
|