claude-web/node_modules/primevue/organizationchart/index.mjs.map

1 line
31 KiB
Plaintext
Raw Normal View History

2026-02-23 02:23:38 +00:00
{"version":3,"file":"index.mjs","sources":["../../src/organizationchart/BaseOrganizationChart.vue","../../src/organizationchart/OrganizationChartNode.vue","../../src/organizationchart/OrganizationChartNode.vue?vue&type=template&id=0c60435f&lang.js","../../src/organizationchart/OrganizationChart.vue","../../src/organizationchart/OrganizationChart.vue?vue&type=template&id=2cf815ac&lang.js"],"sourcesContent":["<script>\nimport BaseComponent from '@primevue/core/basecomponent';\nimport OrganizationChartStyle from 'primevue/organizationchart/style';\n\nexport default {\n name: 'BaseOrganizationChart',\n extends: BaseComponent,\n props: {\n value: {\n type: null,\n default: null\n },\n selectionKeys: {\n type: null,\n default: null\n },\n selectionMode: {\n type: String,\n default: null\n },\n collapsible: {\n type: Boolean,\n default: false\n },\n collapsedKeys: {\n type: null,\n default: null\n }\n },\n style: OrganizationChartStyle,\n provide() {\n return {\n $pcOrganizationChart: this,\n $parentInstance: this\n };\n }\n};\n</script>\n","<template>\n <table :class=\"cx('table')\" v-bind=\"ptm('table')\">\n <tbody v-bind=\"ptm('body')\">\n <tr v-if=\"node\" v-bind=\"ptm('row')\">\n <td :colspan=\"colspan\" v-bind=\"ptm('cell')\">\n <div :class=\"[cx('node'), node.styleClass]\" @click=\"onNodeClick\" v-bind=\"getPTOptions('node')\">\n <component :is=\"templates[node.type] || templates['default']\" :node=\"node\" />\n <a v-if=\"toggleable\" tabindex=\"0\" :class=\"cx('nodeToggleButton')\" @click=\"toggleNode\" @keydown=\"onKeydown\" v-bind=\"getPTOptions('nodeToggleButton')\">\n <!--TODO: togglericon deprecated since v4.0-->\n <component v-if=\"templates.toggleicon || templates.togglericon\" :is=\"templates.toggleicon || templates.togglericon\" :expanded=\"expanded\" :class=\"cx('nodeToggleButtonIcon')\" v-bind=\"getPTOptions('nodeToggleButtonIcon')\" />\n <component v-else :is=\"expanded ? 'ChevronDownIcon' : 'ChevronUpIcon'\" :class=\"cx('nodeToggleButtonIcon')\" v-bind=\"getPTOptions('nodeToggleButtonIcon')\" />\n </a>\n </div>\n </td>\n </tr>\n <tr :style=\"childStyle\" :class=\"cx('connectors')\" v-bind=\"ptm('connectors')\">\n <td :colspan=\"colspan\" v-bind=\"ptm('lineCell')\">\n <div :class=\"cx('connectorDown')\" v-bind=\"ptm('connectorDown')\"></div>\n </td>\n </tr>\n <tr :style=\"childStyle\" :class=\"cx('connectors')\" v-bind=\"ptm('connectors')\">\n <template v-if=\"node.children && node.children.length === 1\">\n <td :colspan=\"colspan\" v-bind=\"ptm('lineCell')\">\n <div :class=\"cx('connectorDown')\" v-bind=\"ptm('connectorDown')\"></div>\n </td>\n </template>\n <template v-if=\"node.children && node.children.length > 1\">\n <template v-for=\"(child, i) of node.children\" :key=\"child.key\">\n <td :class=\"cx('connectorLeft', { index: i })\" v-bind=\"getNodeOptions(!(i === 0), 'connectorLeft')\">&nbsp;</td>\n <td :class=\"cx('connectorRight', { index: i })\" v-bind=\"getNodeOptions(!(i === node.children.length - 1), 'connectorRight')\">&nbsp;</td>\n </template>\n </template>\n </tr>\n <tr :style=\"childStyle\" :class=\"cx('nodeChildren')\" v-bind=\"ptm('nodeChildren')\">\n <td v-for=\"child of node.children\" :key=\"child.key\" colspan=\"2\" v-bind=\"ptm('nodeCell')\">\n <OrganizationChartNode\n