dev: hotfix refactor
+ merged pub/custom-ui and pub/base into my-ui - droped pub/custom-ui
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { TreeItem } from '~/components/pub/base/select-tree/type'
|
import type { TreeItem } from '~/components/pub/my-ui/select-tree/type'
|
||||||
import type { FormErrors } from '~/types/error'
|
import type { FormErrors } from '~/types/error'
|
||||||
import { toTypedSchema } from '@vee-validate/zod'
|
import { toTypedSchema } from '@vee-validate/zod'
|
||||||
import TreeSelect from '~/components/pub/base/select-tree/tree-select.vue'
|
import TreeSelect from '~/components/pub/my-ui/select-tree/tree-select.vue'
|
||||||
import Combobox from '~/components/pub/custom-ui/form/combobox.vue'
|
import Combobox from '~/components/pub/my-ui/form/combobox.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
import { Form } from '~/components/pub/ui/form'
|
import { Form } from '~/components/pub/ui/form'
|
||||||
|
|
||||||
interface DivisionFormData {
|
interface DivisionFormData {
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// Components
|
// Components
|
||||||
import Block from '~/components/pub/custom-ui/doc-entry/block.vue'
|
import Block from '~/components/pub/my-ui/doc-entry/block.vue'
|
||||||
import Cell from '~/components/pub/custom-ui/doc-entry/cell.vue'
|
import Cell from '~/components/pub/my-ui/doc-entry/cell.vue'
|
||||||
import Field from '~/components/pub/custom-ui/doc-entry/field.vue'
|
import Field from '~/components/pub/my-ui/doc-entry/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/doc-entry/label.vue'
|
import Label from '~/components/pub/my-ui/doc-entry/label.vue'
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
import type { DivisionFormData } from '~/schemas/division.schema.ts'
|
import type { DivisionFormData } from '~/schemas/division.schema.ts'
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-ud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-ud.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [{ width: 100 }, {}, {}, { width: 50 }]
|
export const cols: Col[] = [{ width: 100 }, {}, {}, { width: 50 }]
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<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 PaginationView from '~/components/pub/custom-ui/pagination/pagination-view.vue'
|
import PaginationView from '~/components/pub/my-ui/pagination/pagination-view.vue'
|
||||||
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -21,7 +21,7 @@ function handlePageChange(page: number) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import TreeSelect from '~/components/pub/base/select-tree/tree-select.vue'
|
import TreeSelect from '~/components/pub/my-ui/select-tree/tree-select.vue'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DEMO COMPONENT - Tree Select dengan Lazy Loading
|
* DEMO COMPONENT - Tree Select dengan Lazy Loading
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
|
|
||||||
const props = defineProps<{ modelValue: any }>()
|
const props = defineProps<{ modelValue: any }>()
|
||||||
const emit = defineEmits(['update:modelValue', 'event'])
|
const emit = defineEmits(['update:modelValue', 'event'])
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
const statusBadge = defineAsyncComponent(() => import('./status-badge.vue'))
|
const statusBadge = defineAsyncComponent(() => import('./status-badge.vue'))
|
||||||
|
|
||||||
const _doctorStatus = {
|
const _doctorStatus = {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
|
|
||||||
const props = defineProps<{ modelValue: any; items: any[] }>()
|
const props = defineProps<{ modelValue: any; items: any[] }>()
|
||||||
const emit = defineEmits(['update:modelValue', 'event'])
|
const emit = defineEmits(['update:modelValue', 'event'])
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
const doctorStatus = {
|
const doctorStatus = {
|
||||||
0: 'Tidak Aktif',
|
0: 'Tidak Aktif',
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import type { Col, KeyLabel, RecComponent, RecStrFuncComponent, RecStrFuncUnknown, Th } from '~/components/pub/custom-ui/data/types'
|
import type { Col, KeyLabel, RecComponent, RecStrFuncComponent, RecStrFuncUnknown, Th } from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [
|
export const cols: Col[] = [
|
||||||
{},
|
{},
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { FormErrors } from '~/types/error'
|
import type { FormErrors } from '~/types/error'
|
||||||
import { toTypedSchema } from '@vee-validate/zod'
|
import { toTypedSchema } from '@vee-validate/zod'
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import Combobox from '~/components/pub/custom-ui/form/combobox.vue'
|
import Combobox from '~/components/pub/my-ui/form/combobox.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
import { Form } from '~/components/pub/ui/form'
|
import { Form } from '~/components/pub/ui/form'
|
||||||
import DatepickerSingle from '~/components/pub/custom-ui/form/datepicker-single.vue'
|
import DatepickerSingle from '~/components/pub/my-ui/form/datepicker-single.vue'
|
||||||
|
|
||||||
import { educationCodes, genderCodes, occupationCodes, religionCodes, relationshipCodes } from '~/lib/constants'
|
import { educationCodes, genderCodes, occupationCodes, religionCodes, relationshipCodes } from '~/lib/constants'
|
||||||
import { mapToComboboxOptList } from '~/lib/utils'
|
import { mapToComboboxOptList } from '~/lib/utils'
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { FormErrors } from '~/types/error'
|
import type { FormErrors } from '~/types/error'
|
||||||
import { toTypedSchema } from '@vee-validate/zod'
|
import { toTypedSchema } from '@vee-validate/zod'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
import Select from '~/components/pub/custom-ui/form/select.vue'
|
import Select from '~/components/pub/my-ui/form/select.vue'
|
||||||
import { Form } from '~/components/pub/ui/form'
|
import { Form } from '~/components/pub/ui/form'
|
||||||
|
|
||||||
interface InstallationFormData {
|
interface InstallationFormData {
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-pdud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-pdud.vue'))
|
||||||
const statusBadge = defineAsyncComponent(() => import('./status-badge.vue'))
|
const statusBadge = defineAsyncComponent(() => import('./status-badge.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [
|
export const cols: Col[] = [
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import * as DE from '~/components/pub/custom-ui/doc-entry';
|
import * as DE from '~/components/pub/my-ui/doc-entry';
|
||||||
|
|
||||||
defineProps<{
|
defineProps<{
|
||||||
data: any
|
data: any
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// Components
|
// Components
|
||||||
import Block from '~/components/pub/custom-ui/doc-entry/block.vue'
|
import Block from '~/components/pub/my-ui/doc-entry/block.vue'
|
||||||
import Cell from '~/components/pub/custom-ui/doc-entry/cell.vue'
|
import Cell from '~/components/pub/my-ui/doc-entry/cell.vue'
|
||||||
import Field from '~/components/pub/custom-ui/doc-entry/field.vue'
|
import Field from '~/components/pub/my-ui/doc-entry/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/doc-entry/label.vue'
|
import Label from '~/components/pub/my-ui/doc-entry/label.vue'
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
import type { MaterialFormData } from '~/schemas/material.schema.ts'
|
import type { MaterialFormData } from '~/schemas/material.schema.ts'
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import type { Col, KeyLabel, RecComponent, RecStrFuncComponent, Th } from '~/components/pub/custom-ui/data/types'
|
import type { Col, KeyLabel, RecComponent, RecStrFuncComponent, Th } from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [{ width: 100 }, { width: 250 }, { width: 100 }, { width: 100 }, { width: 50 }]
|
export const cols: Col[] = [{ width: 100 }, { width: 250 }, { width: 100 }, { width: 100 }, { width: 50 }]
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<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 PaginationView from '~/components/pub/custom-ui/pagination/pagination-view.vue'
|
import PaginationView from '~/components/pub/my-ui/pagination/pagination-view.vue'
|
||||||
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -21,7 +21,7 @@ function handlePageChange(page: number) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { FormErrors } from '~/types/error'
|
import type { FormErrors } from '~/types/error'
|
||||||
import { toTypedSchema } from '@vee-validate/zod'
|
import { toTypedSchema } from '@vee-validate/zod'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
import Select from '~/components/pub/custom-ui/form/select.vue'
|
import Select from '~/components/pub/my-ui/form/select.vue'
|
||||||
import { Form } from '~/components/pub/ui/form'
|
import { Form } from '~/components/pub/ui/form'
|
||||||
|
|
||||||
interface InstallationFormData {
|
interface InstallationFormData {
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-ud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-ud.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [{ width: 100 }, {}, {}, {}, { width: 50 }]
|
export const cols: Col[] = [{ width: 100 }, {}, {}, {}, { width: 50 }]
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<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 PaginationView from '~/components/pub/custom-ui/pagination/pagination-view.vue'
|
import PaginationView from '~/components/pub/my-ui/pagination/pagination-view.vue'
|
||||||
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -21,7 +21,7 @@ function handlePageChange(page: number) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data" :cols="cols" :header="header" :keys="keys" :func-parsed="funcParsed"
|
:rows="data" :cols="cols" :header="header" :keys="keys" :func-parsed="funcParsed"
|
||||||
:func-html="funcHtml" :func-component="funcComponent" :skeleton-size="paginationMeta?.pageSize"
|
:func-html="funcHtml" :func-component="funcComponent" :skeleton-size="paginationMeta?.pageSize"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
|
|
||||||
const props = defineProps<{ modelValue: any }>()
|
const props = defineProps<{ modelValue: any }>()
|
||||||
const emit = defineEmits(['update:modelValue', 'event'])
|
const emit = defineEmits(['update:modelValue', 'event'])
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
const _doctorStatus = {
|
const _doctorStatus = {
|
||||||
0: 'Tidak Aktif',
|
0: 'Tidak Aktif',
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
|
|
||||||
const props = defineProps<{ modelValue: any }>()
|
const props = defineProps<{ modelValue: any }>()
|
||||||
const emit = defineEmits(['update:modelValue', 'event'])
|
const emit = defineEmits(['update:modelValue', 'event'])
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
const _doctorStatus = {
|
const _doctorStatus = {
|
||||||
0: 'Tidak Aktif',
|
0: 'Tidak Aktif',
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
|
|
||||||
const props = defineProps<{ modelValue: any }>()
|
const props = defineProps<{ modelValue: any }>()
|
||||||
const emit = defineEmits(['update:modelValue', 'event'])
|
const emit = defineEmits(['update:modelValue', 'event'])
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
const statusBadge = defineAsyncComponent(() => import('./status-badge.vue'))
|
const statusBadge = defineAsyncComponent(() => import('./status-badge.vue'))
|
||||||
|
|
||||||
const _doctorStatus = {
|
const _doctorStatus = {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// Components
|
// Components
|
||||||
import Block from '~/components/pub/custom-ui/doc-entry/block.vue'
|
import Block from '~/components/pub/my-ui/doc-entry/block.vue'
|
||||||
import Cell from '~/components/pub/custom-ui/doc-entry/cell.vue'
|
import Cell from '~/components/pub/my-ui/doc-entry/cell.vue'
|
||||||
import Field from '~/components/pub/custom-ui/doc-entry/field.vue'
|
import Field from '~/components/pub/my-ui/doc-entry/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/doc-entry/label.vue'
|
import Label from '~/components/pub/my-ui/doc-entry/label.vue'
|
||||||
import Button from '~/components/pub/ui/button/Button.vue'
|
import Button from '~/components/pub/ui/button/Button.vue'
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
@@ -93,4 +93,4 @@ function onCancelForm() {
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [{}, {}, { width: 50 }]
|
export const cols: Col[] = [{}, {}, { width: 50 }]
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<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 PaginationView from '~/components/pub/custom-ui/pagination/pagination-view.vue'
|
import PaginationView from '~/components/pub/my-ui/pagination/pagination-view.vue'
|
||||||
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -21,7 +21,7 @@ function handlePageChange(page: number) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// Components
|
// Components
|
||||||
import Block from '~/components/pub/custom-ui/doc-entry/block.vue'
|
import Block from '~/components/pub/my-ui/doc-entry/block.vue'
|
||||||
import Cell from '~/components/pub/custom-ui/doc-entry/cell.vue'
|
import Cell from '~/components/pub/my-ui/doc-entry/cell.vue'
|
||||||
import Field from '~/components/pub/custom-ui/doc-entry/field.vue'
|
import Field from '~/components/pub/my-ui/doc-entry/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/doc-entry/label.vue'
|
import Label from '~/components/pub/my-ui/doc-entry/label.vue'
|
||||||
import Button from '~/components/pub/ui/button/Button.vue'
|
import Button from '~/components/pub/ui/button/Button.vue'
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [{}, {}, { width: 50 }]
|
export const cols: Col[] = [{}, {}, { width: 50 }]
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<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 PaginationView from '~/components/pub/custom-ui/pagination/pagination-view.vue'
|
import PaginationView from '~/components/pub/my-ui/pagination/pagination-view.vue'
|
||||||
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -21,7 +21,7 @@ function handlePageChange(page: number) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// Components
|
// Components
|
||||||
import Block from '~/components/pub/custom-ui/doc-entry/block.vue'
|
import Block from '~/components/pub/my-ui/doc-entry/block.vue'
|
||||||
import Cell from '~/components/pub/custom-ui/doc-entry/cell.vue'
|
import Cell from '~/components/pub/my-ui/doc-entry/cell.vue'
|
||||||
import Field from '~/components/pub/custom-ui/doc-entry/field.vue'
|
import Field from '~/components/pub/my-ui/doc-entry/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/doc-entry/label.vue'
|
import Label from '~/components/pub/my-ui/doc-entry/label.vue'
|
||||||
import Button from '~/components/pub/ui/button/Button.vue'
|
import Button from '~/components/pub/ui/button/Button.vue'
|
||||||
|
|
||||||
// Helpers
|
// Helpers
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [{}, {}, {}, {}, {}, {}, { width: 50 }]
|
export const cols: Col[] = [{}, {}, {}, {}, {}, {}, { width: 50 }]
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<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 PaginationView from '~/components/pub/custom-ui/pagination/pagination-view.vue'
|
import PaginationView from '~/components/pub/my-ui/pagination/pagination-view.vue'
|
||||||
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -21,7 +21,7 @@ function handlePageChange(page: number) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
|
|
||||||
const props = defineProps<{ modelValue: any }>()
|
const props = defineProps<{ modelValue: any }>()
|
||||||
const emit = defineEmits(['update:modelValue', 'event'])
|
const emit = defineEmits(['update:modelValue', 'event'])
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
const statusBadge = defineAsyncComponent(() => import('./status-badge.vue'))
|
const statusBadge = defineAsyncComponent(() => import('./status-badge.vue'))
|
||||||
|
|
||||||
const _doctorStatus = {
|
const _doctorStatus = {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
|
|
||||||
const props = defineProps<{ modelValue: any }>()
|
const props = defineProps<{ modelValue: any }>()
|
||||||
const emit = defineEmits(['update:modelValue', 'event'])
|
const emit = defineEmits(['update:modelValue', 'event'])
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
const statusBadge = defineAsyncComponent(() => import('./status-badge.vue'))
|
const statusBadge = defineAsyncComponent(() => import('./status-badge.vue'))
|
||||||
|
|
||||||
const _doctorStatus = {
|
const _doctorStatus = {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
import Action from '~/components/pub/custom-ui/nav-footer/ba-dr-su.vue'
|
import Action from '~/components/pub/my-ui/nav-footer/ba-dr-su.vue'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
const statusBadge = defineAsyncComponent(() => import('./status-badge.vue'))
|
const statusBadge = defineAsyncComponent(() => import('./status-badge.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [
|
export const cols: Col[] = [
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ const modelValue = defineModel<any | null>()
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
v-model="modelValue"
|
v-model="modelValue"
|
||||||
select-mode="single"
|
select-mode="single"
|
||||||
:rows="data"
|
:rows="data"
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { FormErrors } from '~/types/error'
|
import type { FormErrors } from '~/types/error'
|
||||||
import { toTypedSchema } from '@vee-validate/zod'
|
import { toTypedSchema } from '@vee-validate/zod'
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import Combobox from '~/components/pub/custom-ui/form/combobox.vue'
|
import Combobox from '~/components/pub/my-ui/form/combobox.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
import { educationCodes, genderCodes, occupationCodes, religionCodes } from '~/lib/constants'
|
import { educationCodes, genderCodes, occupationCodes, religionCodes } from '~/lib/constants'
|
||||||
import { mapToComboboxOptList } from '~/lib/utils'
|
import { mapToComboboxOptList } from '~/lib/utils'
|
||||||
import { Form } from '~/components/pub/ui/form'
|
import { Form } from '~/components/pub/ui/form'
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { FormErrors } from '~/types/error'
|
import type { FormErrors } from '~/types/error'
|
||||||
import { toTypedSchema } from '@vee-validate/zod'
|
import { toTypedSchema } from '@vee-validate/zod'
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import Combobox from '~/components/pub/custom-ui/form/combobox.vue'
|
import Combobox from '~/components/pub/my-ui/form/combobox.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
import { educationCodes, genderCodes, occupationCodes, religionCodes } from '~/lib/constants'
|
import { educationCodes, genderCodes, occupationCodes, religionCodes } from '~/lib/constants'
|
||||||
import { mapToComboboxOptList } from '~/lib/utils'
|
import { mapToComboboxOptList } from '~/lib/utils'
|
||||||
import { Form } from '~/components/pub/ui/form'
|
import { Form } from '~/components/pub/ui/form'
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { FormErrors } from '~/types/error'
|
import type { FormErrors } from '~/types/error'
|
||||||
import { toTypedSchema } from '@vee-validate/zod'
|
import { toTypedSchema } from '@vee-validate/zod'
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import Combobox from '~/components/pub/custom-ui/form/combobox.vue'
|
import Combobox from '~/components/pub/my-ui/form/combobox.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
import { educationCodes, genderCodes, occupationCodes, religionCodes, relationshipCodes } from '~/lib/constants'
|
import { educationCodes, genderCodes, occupationCodes, religionCodes, relationshipCodes } from '~/lib/constants'
|
||||||
import { mapToComboboxOptList } from '~/lib/utils'
|
import { mapToComboboxOptList } from '~/lib/utils'
|
||||||
import { Form } from '~/components/pub/ui/form'
|
import { Form } from '~/components/pub/ui/form'
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { FormErrors } from '~/types/error'
|
import type { FormErrors } from '~/types/error'
|
||||||
import { toTypedSchema } from '@vee-validate/zod'
|
import { toTypedSchema } from '@vee-validate/zod'
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import Combobox from '~/components/pub/custom-ui/form/combobox.vue'
|
import Combobox from '~/components/pub/my-ui/form/combobox.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
import { educationCodes, genderCodes, occupationCodes, religionCodes } from '~/lib/constants'
|
import { educationCodes, genderCodes, occupationCodes, religionCodes } from '~/lib/constants'
|
||||||
import { mapToComboboxOptList } from '~/lib/utils'
|
import { mapToComboboxOptList } from '~/lib/utils'
|
||||||
import { Form } from '~/components/pub/ui/form'
|
import { Form } from '~/components/pub/ui/form'
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
|
|
||||||
const props = defineProps<{ modelValue: any }>()
|
const props = defineProps<{ modelValue: any }>()
|
||||||
const emit = defineEmits(['update:modelValue', 'event'])
|
const emit = defineEmits(['update:modelValue', 'event'])
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
const statusBadge = defineAsyncComponent(() => import('./status-badge.vue'))
|
const statusBadge = defineAsyncComponent(() => import('./status-badge.vue'))
|
||||||
|
|
||||||
const _doctorStatus = {
|
const _doctorStatus = {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [{}, {}, {}, {}, {}, {}, { width: 50 }]
|
export const cols: Col[] = [{}, {}, {}, {}, {}, {}, { width: 50 }]
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,32 +1,32 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<PubCustomUiDocEntryBlock mode="preview" :colCount=3>
|
<PubMyUiDocEntryBlock mode="preview" :colCount=3>
|
||||||
<PubCustomUiDocEntryCell>
|
<PubMyUiDocEntryCell>
|
||||||
<PubCustomUiDocEntryLabel>DPJP</PubCustomUiDocEntryLabel>
|
<PubMyUiDocEntryLabel>DPJP</PubMyUiDocEntryLabel>
|
||||||
<PubCustomUiDocEntryField>
|
<PubMyUiDocEntryField>
|
||||||
<Input />
|
<Input />
|
||||||
</PubCustomUiDocEntryField>
|
</PubMyUiDocEntryField>
|
||||||
</PubCustomUiDocEntryCell>
|
</PubMyUiDocEntryCell>
|
||||||
<PubCustomUiDocEntryCell />
|
<PubMyUiDocEntryCell />
|
||||||
<PubCustomUiDocEntryCell>
|
<PubMyUiDocEntryCell>
|
||||||
<PubCustomUiDocEntryLabel>Tgl Order</PubCustomUiDocEntryLabel>
|
<PubMyUiDocEntryLabel>Tgl Order</PubMyUiDocEntryLabel>
|
||||||
<PubCustomUiDocEntryField>
|
<PubMyUiDocEntryField>
|
||||||
<Input />
|
<Input />
|
||||||
</PubCustomUiDocEntryField>
|
</PubMyUiDocEntryField>
|
||||||
</PubCustomUiDocEntryCell>
|
</PubMyUiDocEntryCell>
|
||||||
<PubCustomUiDocEntryCell>
|
<PubMyUiDocEntryCell>
|
||||||
<PubCustomUiDocEntryLabel>DPJP</PubCustomUiDocEntryLabel>
|
<PubMyUiDocEntryLabel>DPJP</PubMyUiDocEntryLabel>
|
||||||
<PubCustomUiDocEntryField>
|
<PubMyUiDocEntryField>
|
||||||
<Input />
|
<Input />
|
||||||
</PubCustomUiDocEntryField>
|
</PubMyUiDocEntryField>
|
||||||
</PubCustomUiDocEntryCell>
|
</PubMyUiDocEntryCell>
|
||||||
<PubCustomUiDocEntryCell />
|
<PubMyUiDocEntryCell />
|
||||||
<PubCustomUiDocEntryCell>
|
<PubMyUiDocEntryCell>
|
||||||
<PubCustomUiDocEntryLabel>Status</PubCustomUiDocEntryLabel>
|
<PubMyUiDocEntryLabel>Status</PubMyUiDocEntryLabel>
|
||||||
<PubCustomUiDocEntryField>
|
<PubMyUiDocEntryField>
|
||||||
<Input />
|
<Input />
|
||||||
</PubCustomUiDocEntryField>
|
</PubMyUiDocEntryField>
|
||||||
</PubCustomUiDocEntryCell>
|
</PubMyUiDocEntryCell>
|
||||||
</PubCustomUiDocEntryBlock>
|
</PubMyUiDocEntryBlock>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -10,33 +10,33 @@
|
|||||||
</div>
|
</div>
|
||||||
<Separator class="my-5" />
|
<Separator class="my-5" />
|
||||||
<div>
|
<div>
|
||||||
<PubCustomUiDocEntryBlock mode="preview" :colCount=3>
|
<PubMyUiDocEntryBlock mode="preview" :colCount=3>
|
||||||
<PubCustomUiDocEntryCell>
|
<PubMyUiDocEntryCell>
|
||||||
<PubCustomUiDocEntryLabel>DPJP</PubCustomUiDocEntryLabel>
|
<PubMyUiDocEntryLabel>DPJP</PubMyUiDocEntryLabel>
|
||||||
<PubCustomUiDocEntryField>
|
<PubMyUiDocEntryField>
|
||||||
<Input />
|
<Input />
|
||||||
</PubCustomUiDocEntryField>
|
</PubMyUiDocEntryField>
|
||||||
</PubCustomUiDocEntryCell>
|
</PubMyUiDocEntryCell>
|
||||||
<PubCustomUiDocEntryCell />
|
<PubMyUiDocEntryCell />
|
||||||
<PubCustomUiDocEntryCell>
|
<PubMyUiDocEntryCell>
|
||||||
<PubCustomUiDocEntryLabel>Tgl Order</PubCustomUiDocEntryLabel>
|
<PubMyUiDocEntryLabel>Tgl Order</PubMyUiDocEntryLabel>
|
||||||
<PubCustomUiDocEntryField>
|
<PubMyUiDocEntryField>
|
||||||
<Input />
|
<Input />
|
||||||
</PubCustomUiDocEntryField>
|
</PubMyUiDocEntryField>
|
||||||
</PubCustomUiDocEntryCell>
|
</PubMyUiDocEntryCell>
|
||||||
<PubCustomUiDocEntryCell>
|
<PubMyUiDocEntryCell>
|
||||||
<PubCustomUiDocEntryLabel>DPJP</PubCustomUiDocEntryLabel>
|
<PubMyUiDocEntryLabel>DPJP</PubMyUiDocEntryLabel>
|
||||||
<PubCustomUiDocEntryField>
|
<PubMyUiDocEntryField>
|
||||||
<Input />
|
<Input />
|
||||||
</PubCustomUiDocEntryField>
|
</PubMyUiDocEntryField>
|
||||||
</PubCustomUiDocEntryCell>
|
</PubMyUiDocEntryCell>
|
||||||
<PubCustomUiDocEntryCell />
|
<PubMyUiDocEntryCell />
|
||||||
<PubCustomUiDocEntryCell>
|
<PubMyUiDocEntryCell>
|
||||||
<PubCustomUiDocEntryLabel>Status</PubCustomUiDocEntryLabel>
|
<PubMyUiDocEntryLabel>Status</PubMyUiDocEntryLabel>
|
||||||
<PubCustomUiDocEntryField>
|
<PubMyUiDocEntryField>
|
||||||
<Input />
|
<Input />
|
||||||
</PubCustomUiDocEntryField>
|
</PubMyUiDocEntryField>
|
||||||
</PubCustomUiDocEntryCell>
|
</PubMyUiDocEntryCell>
|
||||||
</PubCustomUiDocEntryBlock>
|
</PubMyUiDocEntryBlock>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import type { Col, KeyLabel, RecComponent, RecStrFuncComponent, RecStrFuncUnknown, Th } from '~/components/pub/custom-ui/data/types'
|
import type { Col, KeyLabel, RecComponent, RecStrFuncComponent, RecStrFuncUnknown, Th } from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [
|
export const cols: Col[] = [
|
||||||
{},
|
{},
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { Summary } from '~/components/pub/base/summary-card/type'
|
import type { Summary } from '~/components/pub/my-ui/summary-card/type'
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
isLoading: boolean
|
isLoading: boolean
|
||||||
@@ -10,10 +10,10 @@ const props = defineProps<{
|
|||||||
<template>
|
<template>
|
||||||
<div class="grid gap-4 md:grid-cols-2 md:gap-8 lg:grid-cols-4">
|
<div class="grid gap-4 md:grid-cols-2 md:gap-8 lg:grid-cols-4">
|
||||||
<template v-if="props.isLoading">
|
<template v-if="props.isLoading">
|
||||||
<PubBaseSummaryCard v-for="n in 4" :key="n" is-skeleton :stat="summaryData[n]" />
|
<PubMyUiSummaryCard v-for="n in 4" :key="n" is-skeleton :stat="summaryData[n]" />
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<PubBaseSummaryCard v-for="card in summaryData" :key="card.title" :stat="card" />
|
<PubMyUiSummaryCard v-for="card in summaryData" :key="card.title" :stat="card" />
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data" :cols="cols" :header="header" :keys="keys" :func-parsed="funcParsed"
|
:rows="data" :cols="cols" :header="header" :keys="keys" :func-parsed="funcParsed"
|
||||||
:func-html="funcHtml" :func-component="funcComponent"
|
:func-html="funcHtml" :func-component="funcComponent"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import { Label } from '~/components/pub/ui/label'
|
|||||||
import { Select } from '~/components/pub/ui/select'
|
import { Select } from '~/components/pub/ui/select'
|
||||||
import { RadioGroup, RadioGroupItem } from '~/components/pub/ui/radio-group'
|
import { RadioGroup, RadioGroupItem } from '~/components/pub/ui/radio-group'
|
||||||
import { Textarea } from '~/components/pub/ui/textarea'
|
import { Textarea } from '~/components/pub/ui/textarea'
|
||||||
import DatepickerSingle from '~/components/pub/custom-ui/form/datepicker-single.vue'
|
import DatepickerSingle from '~/components/pub/my-ui/form/datepicker-single.vue'
|
||||||
|
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
(e: 'event', value: any): void
|
(e: 'event', value: any): void
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import type { Col, KeyLabel, RecComponent, RecStrFuncComponent, Th } from '~/components/pub/custom-ui/data/types'
|
import type { Col, KeyLabel, RecComponent, RecStrFuncComponent, Th } from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SepDto = any
|
type SepDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [
|
export const cols: Col[] = [
|
||||||
{ width: 120 }, // TGL. SEP
|
{ width: 120 }, // TGL. SEP
|
||||||
@@ -61,7 +61,7 @@ export const delKeyNames: KeyLabel[] = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
export const funcParsed: Record<string, (row: any, ...args: any[]) => any> = {
|
export const funcParsed: Record<string, (row: any, ...args: any[]) => any> = {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const funcComponent: RecStrFuncComponent = {
|
export const funcComponent: RecStrFuncComponent = {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ const props = defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
:keys="keys"
|
:keys="keys"
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { FormErrors } from '~/types/error'
|
import type { FormErrors } from '~/types/error'
|
||||||
import { toTypedSchema } from '@vee-validate/zod'
|
import { toTypedSchema } from '@vee-validate/zod'
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import Combobox from '~/components/pub/custom-ui/form/combobox.vue'
|
import Combobox from '~/components/pub/my-ui/form/combobox.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
import { Form } from '~/components/pub/ui/form'
|
import { Form } from '~/components/pub/ui/form'
|
||||||
import DatepickerSingle from '~/components/pub/custom-ui/form/datepicker-single.vue'
|
import DatepickerSingle from '~/components/pub/my-ui/form/datepicker-single.vue'
|
||||||
|
|
||||||
import { educationCodes, genderCodes, occupationCodes, religionCodes, relationshipCodes } from '~/lib/constants'
|
import { educationCodes, genderCodes, occupationCodes, religionCodes, relationshipCodes } from '~/lib/constants'
|
||||||
import { mapToComboboxOptList } from '~/lib/utils'
|
import { mapToComboboxOptList } from '~/lib/utils'
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { FormErrors } from '~/types/error'
|
import type { FormErrors } from '~/types/error'
|
||||||
import { toTypedSchema } from '@vee-validate/zod'
|
import { toTypedSchema } from '@vee-validate/zod'
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import Combobox from '~/components/pub/custom-ui/form/combobox.vue'
|
import Combobox from '~/components/pub/my-ui/form/combobox.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
import { educationCodes, genderCodes, occupationCodes, religionCodes, relationshipCodes } from '~/lib/constants'
|
import { educationCodes, genderCodes, occupationCodes, religionCodes, relationshipCodes } from '~/lib/constants'
|
||||||
import { mapToComboboxOptList } from '~/lib/utils'
|
import { mapToComboboxOptList } from '~/lib/utils'
|
||||||
import { Form } from '~/components/pub/ui/form'
|
import { Form } from '~/components/pub/ui/form'
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { FormErrors } from '~/types/error'
|
import type { FormErrors } from '~/types/error'
|
||||||
import { toTypedSchema } from '@vee-validate/zod'
|
import { toTypedSchema } from '@vee-validate/zod'
|
||||||
import Combobox from '~/components/pub/custom-ui/form/combobox.vue'
|
import Combobox from '~/components/pub/my-ui/form/combobox.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
|
|
||||||
interface SpecialistFormData {
|
interface SpecialistFormData {
|
||||||
name: string
|
name: string
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// Components
|
// Components
|
||||||
import Block from '~/components/pub/custom-ui/doc-entry/block.vue'
|
import Block from '~/components/pub/my-ui/doc-entry/block.vue'
|
||||||
import Cell from '~/components/pub/custom-ui/doc-entry/cell.vue'
|
import Cell from '~/components/pub/my-ui/doc-entry/cell.vue'
|
||||||
import Field from '~/components/pub/custom-ui/doc-entry/field.vue'
|
import Field from '~/components/pub/my-ui/doc-entry/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/doc-entry/label.vue'
|
import Label from '~/components/pub/my-ui/doc-entry/label.vue'
|
||||||
// import Combobox from '~/components/pub/custom-ui/form/combobox.vue'
|
// import Combobox from '~/components/pub/my-ui/form/combobox.vue'
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
import type { SpecialistFormData } from '~/schemas/specialist.schema.ts'
|
import type { SpecialistFormData } from '~/schemas/specialist.schema.ts'
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [{}, {}, {}, { width: 50 }]
|
export const cols: Col[] = [{}, {}, {}, { width: 50 }]
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<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 PaginationView from '~/components/pub/custom-ui/pagination/pagination-view.vue'
|
import PaginationView from '~/components/pub/my-ui/pagination/pagination-view.vue'
|
||||||
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -21,7 +21,7 @@ function handlePageChange(page: number) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { FormErrors } from '~/types/error'
|
import type { FormErrors } from '~/types/error'
|
||||||
import { toTypedSchema } from '@vee-validate/zod'
|
import { toTypedSchema } from '@vee-validate/zod'
|
||||||
import Combobox from '~/components/pub/custom-ui/form/combobox.vue'
|
import Combobox from '~/components/pub/my-ui/form/combobox.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
|
|
||||||
interface SubSpecialistFormData {
|
interface SubSpecialistFormData {
|
||||||
name: string
|
name: string
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// Components
|
// Components
|
||||||
import Block from '~/components/pub/custom-ui/doc-entry/block.vue'
|
import Block from '~/components/pub/my-ui/doc-entry/block.vue'
|
||||||
import Cell from '~/components/pub/custom-ui/doc-entry/cell.vue'
|
import Cell from '~/components/pub/my-ui/doc-entry/cell.vue'
|
||||||
import Field from '~/components/pub/custom-ui/doc-entry/field.vue'
|
import Field from '~/components/pub/my-ui/doc-entry/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/doc-entry/label.vue'
|
import Label from '~/components/pub/my-ui/doc-entry/label.vue'
|
||||||
// import Combobox from '~/components/pub/custom-ui/form/combobox.vue'
|
// import Combobox from '~/components/pub/my-ui/form/combobox.vue'
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
import type { SubspecialistFormData } from '~/schemas/subspecialist.schema.ts'
|
import type { SubspecialistFormData } from '~/schemas/subspecialist.schema.ts'
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [{}, {}, {}, { width: 50 }]
|
export const cols: Col[] = [{}, {}, {}, { width: 50 }]
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<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 PaginationView from '~/components/pub/custom-ui/pagination/pagination-view.vue'
|
import PaginationView from '~/components/pub/my-ui/pagination/pagination-view.vue'
|
||||||
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -21,7 +21,7 @@ function handlePageChange(page: number) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// Components
|
// Components
|
||||||
import Block from '~/components/pub/custom-ui/doc-entry/block.vue'
|
import Block from '~/components/pub/my-ui/doc-entry/block.vue'
|
||||||
import Cell from '~/components/pub/custom-ui/doc-entry/cell.vue'
|
import Cell from '~/components/pub/my-ui/doc-entry/cell.vue'
|
||||||
import Field from '~/components/pub/custom-ui/doc-entry/field.vue'
|
import Field from '~/components/pub/my-ui/doc-entry/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/doc-entry/label.vue'
|
import Label from '~/components/pub/my-ui/doc-entry/label.vue'
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
import type { DeviceFormData } from '~/schemas/device.schema.ts'
|
import type { DeviceFormData } from '~/schemas/device.schema.ts'
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [{ width: 100 }, { width: 250 }, { width: 100 }, { width: 50 }]
|
export const cols: Col[] = [{ width: 100 }, { width: 250 }, { width: 100 }, { width: 50 }]
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<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 PaginationView from '~/components/pub/custom-ui/pagination/pagination-view.vue'
|
import PaginationView from '~/components/pub/my-ui/pagination/pagination-view.vue'
|
||||||
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -21,7 +21,7 @@ function handlePageChange(page: number) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { FormErrors } from '~/types/error'
|
import type { FormErrors } from '~/types/error'
|
||||||
import { toTypedSchema } from '@vee-validate/zod'
|
import { toTypedSchema } from '@vee-validate/zod'
|
||||||
import Combobox from '~/components/pub/custom-ui/form/combobox.vue'
|
import Combobox from '~/components/pub/my-ui/form/combobox.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
|
|
||||||
interface UnitFormData {
|
interface UnitFormData {
|
||||||
name: string
|
name: string
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// Components
|
// Components
|
||||||
import Block from '~/components/pub/custom-ui/doc-entry/block.vue'
|
import Block from '~/components/pub/my-ui/doc-entry/block.vue'
|
||||||
import Cell from '~/components/pub/custom-ui/doc-entry/cell.vue'
|
import Cell from '~/components/pub/my-ui/doc-entry/cell.vue'
|
||||||
import Field from '~/components/pub/custom-ui/doc-entry/field.vue'
|
import Field from '~/components/pub/my-ui/doc-entry/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/doc-entry/label.vue'
|
import Label from '~/components/pub/my-ui/doc-entry/label.vue'
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
import type { UnitFormData } from '~/schemas/unit.schema.ts'
|
import type { UnitFormData } from '~/schemas/unit.schema.ts'
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
export const cols: Col[] = [{}, {}, {}, { width: 50 }]
|
export const cols: Col[] = [{}, {}, {}, { width: 50 }]
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<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 PaginationView from '~/components/pub/custom-ui/pagination/pagination-view.vue'
|
import PaginationView from '~/components/pub/my-ui/pagination/pagination-view.vue'
|
||||||
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -21,7 +21,7 @@ function handlePageChange(page: number) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// Components
|
// Components
|
||||||
import Block from '~/components/pub/custom-ui/doc-entry/block.vue'
|
import Block from '~/components/pub/my-ui/doc-entry/block.vue'
|
||||||
import Cell from '~/components/pub/custom-ui/doc-entry/cell.vue'
|
import Cell from '~/components/pub/my-ui/doc-entry/cell.vue'
|
||||||
import Field from '~/components/pub/custom-ui/doc-entry/field.vue'
|
import Field from '~/components/pub/my-ui/doc-entry/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/doc-entry/label.vue'
|
import Label from '~/components/pub/my-ui/doc-entry/label.vue'
|
||||||
import Button from '~/components/pub/ui/button/Button.vue'
|
import Button from '~/components/pub/ui/button/Button.vue'
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
const _doctorStatus = {
|
const _doctorStatus = {
|
||||||
0: 'Tidak Aktif',
|
0: 'Tidak Aktif',
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<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 PaginationView from '~/components/pub/custom-ui/pagination/pagination-view.vue'
|
import PaginationView from '~/components/pub/my-ui/pagination/pagination-view.vue'
|
||||||
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
import { cols, funcComponent, funcHtml, funcParsed, header, keys } from './list-cfg'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -21,7 +21,7 @@ function handlePageChange(page: number) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Block from '~/components/pub/custom-ui/form/block.vue'
|
import Block from '~/components/pub/my-ui/form/block.vue'
|
||||||
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'
|
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
||||||
import Field from '~/components/pub/custom-ui/form/field.vue'
|
import Field from '~/components/pub/my-ui/form/field.vue'
|
||||||
import Label from '~/components/pub/custom-ui/form/label.vue'
|
import Label from '~/components/pub/my-ui/form/label.vue'
|
||||||
|
|
||||||
const props = defineProps<{ modelValue: any }>()
|
const props = defineProps<{ modelValue: any }>()
|
||||||
const emit = defineEmits(['update:modelValue', 'event'])
|
const emit = defineEmits(['update:modelValue', 'event'])
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import type {
|
|||||||
RecStrFuncComponent,
|
RecStrFuncComponent,
|
||||||
RecStrFuncUnknown,
|
RecStrFuncUnknown,
|
||||||
Th,
|
Th,
|
||||||
} from '~/components/pub/custom-ui/data/types'
|
} from '~/components/pub/my-ui/data/types'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
type SmallDetailDto = any
|
type SmallDetailDto = any
|
||||||
|
|
||||||
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
|
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
|
||||||
|
|
||||||
const doctorStatus = {
|
const doctorStatus = {
|
||||||
0: 'Tidak Aktif',
|
0: 'Tidak Aktif',
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PubBaseDataTable
|
<PubMyUiDataTable
|
||||||
:rows="data"
|
:rows="data"
|
||||||
:cols="cols"
|
:cols="cols"
|
||||||
:header="header"
|
:header="header"
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ onMounted(() => {
|
|||||||
</div>
|
</div>
|
||||||
<main class="my-6 flex flex-1 flex-col gap-4 md:gap-8">
|
<main class="my-6 flex flex-1 flex-col gap-4 md:gap-8">
|
||||||
<div class="dashboard-grid">
|
<div class="dashboard-grid">
|
||||||
<PubBaseSummaryCard v-for="card in summaryData" :key="card.title" :stat="card" />
|
<PubMyUiSummaryCard v-for="card in summaryData" :key="card.title" :stat="card" />
|
||||||
</div>
|
</div>
|
||||||
<div class="dashboard-grid">
|
<div class="dashboard-grid">
|
||||||
<Card v-for="n in 3" :key="n">
|
<Card v-for="n in 3" :key="n">
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { TreeItem } from '~/components/pub/base/select-tree/type'
|
import type { TreeItem } from '~/components/pub/my-ui/select-tree/type'
|
||||||
import * as z from 'zod'
|
import * as z from 'zod'
|
||||||
|
|
||||||
export const divisionConf = {
|
export const divisionConf = {
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<script setup lang="ts">
|
<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 AppDivisionEntryForm from '~/components/app/division/entry-form.vue'
|
import AppDivisionEntryForm from '~/components/app/division/entry-form.vue'
|
||||||
import Dialog from '~/components/pub/base/modal/dialog.vue'
|
import Dialog from '~/components/pub/my-ui/modal/dialog.vue'
|
||||||
import RecordConfirmation from '~/components/pub/custom-ui/confirmation/record-confirmation.vue'
|
import RecordConfirmation from '~/components/pub/my-ui/confirmation/record-confirmation.vue'
|
||||||
import { ActionEvents } from '~/components/pub/custom-ui/data/types'
|
import { ActionEvents } from '~/components/pub/my-ui/data/types'
|
||||||
import Header from '~/components/pub/custom-ui/nav-header/header.vue'
|
import Header from '~/components/pub/my-ui/nav-header/header.vue'
|
||||||
import { usePaginatedList } from '~/composables/usePaginatedList'
|
import { usePaginatedList } from '~/composables/usePaginatedList'
|
||||||
import { divisionConf, divisionTreeConfig, schema } from './entry'
|
import { divisionConf, divisionTreeConfig, schema } from './entry'
|
||||||
// #region State & Computed
|
// #region State & Computed
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// Components
|
// Components
|
||||||
import Dialog from '~/components/pub/base/modal/dialog.vue'
|
import Dialog from '~/components/pub/my-ui/modal/dialog.vue'
|
||||||
import Header from '~/components/pub/custom-ui/nav-header/prep.vue'
|
import Header from '~/components/pub/my-ui/nav-header/prep.vue'
|
||||||
import RecordConfirmation from '~/components/pub/custom-ui/confirmation/record-confirmation.vue'
|
import RecordConfirmation from '~/components/pub/my-ui/confirmation/record-confirmation.vue'
|
||||||
import AppDivisionList from '~/components/app/division/list.vue'
|
import AppDivisionList from '~/components/app/division/list.vue'
|
||||||
import AppDivisionEntryForm from '~/components/app/division/entry-form.vue'
|
import AppDivisionEntryForm from '~/components/app/division/entry-form.vue'
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ import { usePaginatedList } from '~/composables/usePaginatedList'
|
|||||||
import { toast } from '~/components/pub/ui/toast'
|
import { toast } from '~/components/pub/ui/toast'
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
import { ActionEvents, type HeaderPrep } from '~/components/pub/custom-ui/data/types'
|
import { ActionEvents, type HeaderPrep } from '~/components/pub/my-ui/data/types'
|
||||||
import { DivisionSchema, type DivisionFormData } from '~/schemas/division.schema'
|
import { DivisionSchema, type DivisionFormData } from '~/schemas/division.schema'
|
||||||
|
|
||||||
// Handlers
|
// Handlers
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Action from '~/components/pub/custom-ui/nav-footer/ba-dr-su.vue'
|
import Action from '~/components/pub/my-ui/nav-footer/ba-dr-su.vue'
|
||||||
import { MaterialSchema, type MaterialFormData } from '~/schemas/material.schema'
|
import { MaterialSchema, type MaterialFormData } from '~/schemas/material.schema'
|
||||||
|
|
||||||
const data = ref({
|
const data = ref({
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { DataTableLoader } from '~/components/pub/base/data-table/type'
|
import type { DataTableLoader } from '~/components/pub/my-ui/data-table/type'
|
||||||
import type { HeaderPrep, RefSearchNav } from '~/components/pub/custom-ui/data/types'
|
import type { HeaderPrep, RefSearchNav } from '~/components/pub/my-ui/data/types'
|
||||||
import Header from '~/components/pub/custom-ui/nav-header/prep.vue'
|
import Header from '~/components/pub/my-ui/nav-header/prep.vue'
|
||||||
|
|
||||||
const data = ref([])
|
const data = ref([])
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { DataTableLoader } from '~/components/pub/base/data-table/type'
|
import type { DataTableLoader } from '~/components/pub/my-ui/data-table/type'
|
||||||
import type { HeaderPrep, RefSearchNav } from '~/components/pub/custom-ui/data/types'
|
import type { HeaderPrep, RefSearchNav } from '~/components/pub/my-ui/data/types'
|
||||||
import AssesmentFunctionList from '~/components/app/encounter/assesment-function/list.vue'
|
import AssesmentFunctionList from '~/components/app/encounter/assesment-function/list.vue'
|
||||||
import Header from '~/components/pub/custom-ui/nav-header/prep.vue'
|
import Header from '~/components/pub/my-ui/nav-header/prep.vue'
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
label: string
|
label: string
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user