506f1ed272
Validators (Pushes and Pull Requests) / UI & Storage Validation (push) Failing after 11s
Validators (Pushes and Pull Requests) / Database & Schema Validation (push) Successful in 10s
Validators (Pushes and Pull Requests) / Core Validators & Database Setup (push) Failing after 19s
Validators (Pushes and Pull Requests) / CI Workflow Lint (push) Failing after 9s
Validators (Pushes and Pull Requests) / WBS & Audit Validations (push) Has been skipped
Validators (Pushes and Pull Requests) / .NET Contracts (push) Has been skipped
Validators (Pushes and Pull Requests) / Calibration & Performance (push) Has been skipped
Validators (Pushes and Pull Requests) / Operational Report & Decision Packet (push) Has been skipped
Validators (Pushes and Pull Requests) / Security & Secrets (push) Successful in 9s
Validators (Pushes and Pull Requests) / Notify PR Results (push) Has been skipped
34 lines
870 B
Vue
34 lines
870 B
Vue
<!-- PrimeVue Tree Transparent Adapter Wrapper: QuantTree -->
|
|
<template>
|
|
<div class="quant-tree-wrapper w-full border border-slate-300 rounded p-2 bg-white text-xs">
|
|
<Tree
|
|
v-bind="$attrs"
|
|
:value="value"
|
|
:selectionMode="selectionMode"
|
|
:selectionKeys="selectionKeys"
|
|
class="w-full text-xs"
|
|
@update:selectionKeys="$emit('update:selectionKeys', $event)"
|
|
>
|
|
<template v-for="(_, slotName) in $slots" :key="slotName" #[slotName]="slotProps">
|
|
<slot :name="slotName" v-bind="slotProps || {}"></slot>
|
|
</template>
|
|
</Tree>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import Tree from 'primevue/tree';
|
|
|
|
defineOptions({
|
|
inheritAttrs: false
|
|
});
|
|
|
|
defineProps<{
|
|
value?: any[];
|
|
selectionMode?: 'single' | 'multiple' | 'checkbox';
|
|
selectionKeys?: any;
|
|
}>();
|
|
|
|
defineEmits(['update:selectionKeys']);
|
|
</script>
|