dev: hotfix refactor

+ merged pub/custom-ui and pub/base into my-ui
- droped pub/custom-ui
This commit is contained in:
2025-10-05 09:45:17 +07:00
parent 72627b8a37
commit 2da4e616ba
219 changed files with 474 additions and 474 deletions
@@ -133,5 +133,5 @@ async function handleConfirmAction(record, action) {
## Styling
Komponen menggunakan Tailwind CSS dan shadcn/ui components. Pastikan dependencies berikut tersedia:
- `~/components/pub/custom-ui/modal/dialog.vue`
- `~/components/pub/my-ui/modal/dialog.vue`
- `~/components/pub/ui/button`
@@ -1,5 +1,5 @@
<script setup lang="ts">
import Dialog from '~/components/pub/base/modal/dialog.vue'
import Dialog from '~/components/pub/my-ui/modal/dialog.vue'
import { Button } from '~/components/pub/ui/button'
interface ConfirmationProps {
@@ -1,5 +1,5 @@
<script setup lang="ts">
import Confirmation from '~/components/pub/custom-ui/confirmation/confirmation.vue'
import Confirmation from '~/components/pub/my-ui/confirmation/confirmation.vue'
interface RecordData {
id: number | string
@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { DataTableLoader } from './type'
import type { Col, RecStrFuncComponent, RecStrFuncUnknown, Th } from '~/components/pub/custom-ui/data/types'
import type { Col, RecStrFuncComponent, RecStrFuncUnknown, Th } from '~/components/pub/my-ui/data/types'
import { Info } from 'lucide-vue-next'
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '~/components/pub/ui/table'
@@ -5,7 +5,7 @@ import type { Ref } from 'vue'
import type { DateRange } from 'radix-vue'
import { CalendarDate, DateFormatter, getLocalTimeZone } from '@internationalized/date'
import { cn } from '~/lib/utils'
import type { HeaderPrep, RefSearchNav } from '~/components/pub/custom-ui/data/types'
import type { HeaderPrep, RefSearchNav } from '~/components/pub/my-ui/data/types'
const props = defineProps<{
prep: HeaderPrep
@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { HeaderPrep } from '~/components/pub/custom-ui/data/types'
import type { HeaderPrep } from '~/components/pub/my-ui/data/types'
import { refDebounced } from '@vueuse/core'
const props = defineProps<{
@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { HeaderPrep, RefSearchNav } from '~/components/pub/custom-ui/data/types'
import type { HeaderPrep, RefSearchNav } from '~/components/pub/my-ui/data/types'
const props = defineProps<{
prep: HeaderPrep
@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { HeaderPrep, RefSearchNav } from '~/components/pub/custom-ui/data/types'
import type { HeaderPrep, RefSearchNav } from '~/components/pub/my-ui/data/types'
const props = defineProps<{
prep: HeaderPrep
@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { PaginationMeta } from '~/components/pub/custom-ui/pagination/pagination.type'
import type { PaginationMeta } from '~/components/pub/my-ui/pagination/pagination.type'
import Pagination from './pagination.vue'
const props = defineProps<{