orion-design 0.1.40 → 0.1.42
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -5
- package/dist/Throne/hooks/use-throne-context.js.map +1 -1
- package/dist/components/Pagetable/index.js +48 -47
- package/dist/components/Pagetable/index.js.map +1 -1
- package/dist/components/Querytable/index.js +119 -118
- package/dist/components/Querytable/index.js.map +1 -1
- package/dist/components-Pdc4XEej.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/version/version.d.ts +1 -1
- package/dist/version/version.js +1 -1
- package/dist/version/version.js.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/Querytable/Querytable.tsx","../../../src/components/Querytable/columns/QuerytableColumnIndex.tsx","../../../src/components/Querytable/columns/QuerytableColumnString.tsx","../../../src/components/Querytable/columns/QuerytableColumnLink.tsx","../../../src/components/Querytable/columns/QuerytableColumnNumber.tsx","../../../src/components/Querytable/columns/QuerytableColumnDate.tsx","../../../src/components/Querytable/columns/QuerytableColumnSingleselect.tsx","../../../src/components/Querytable/columns/QuerytableColumnMultiselect.tsx","../../../src/components/Querytable/columns/QuerytableColumnButtongroup.tsx","../../../src/components/Querytable/columns/QuerytableCellButton.tsx","../../../src/components/Querytable/columns/QuerytableColumngroup.tsx","../../../src/components/Querytable/columns/QuerytableColumnDiy.tsx","../../../src/components/Querytable/index.ts"],"sourcesContent":["import { computed, defineComponent, ref } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../_util/classNames'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../_util/type'\r\nimport { ElTable, ElTableColumn } from 'element-plus'\r\n\r\nimport { formatDate, number2string, getSingleCodeContent, getMultiCodeContent } from './utils'\r\nimport dayjs from 'dayjs'\r\n\r\nimport Space from '../Space'\r\nimport OrionError from '../../error/OrionError'\r\n\r\nimport type { PageTableI } from './interface'\r\n\r\nimport useColumns from './hooks/useColumns'\r\nimport useCode from '../Pagetable/hooks/useCode'\r\n\r\ntype rowClassNameFn = (data: { rowData: any; rowIndex: number }) => string\r\ntype rowStyleFn = (data: { rowData: any; rowIndex: number }) => CSSProperties\r\ntype cellClassNameFn = (data: { rowData: any; column: { name: string; head: string }; rowIndex: number; columnIndex: number }) => string\r\ntype cellStyleFn = (data: { rowData: any; column: { name: string; head: string }; rowIndex: number; columnIndex: number }) => CSSProperties\r\n\r\nexport const querytableProps = () => ({\r\n data: arrayType<PageTableI['data']>(),\r\n showRowNumber: booleanType(true),\r\n selectionMode: booleanType(false),\r\n currentRowMode: booleanType(false),\r\n size: stringType<'' | 'large' | 'default' | 'small'>(),\r\n rowClassName: someType<string | rowClassNameFn>(),\r\n rowStyle: someType<CSSProperties | rowStyleFn>(),\r\n cellClassName: someType<string | cellClassNameFn>(),\r\n cellStyle: someType<CSSProperties | cellStyleFn>(),\r\n})\r\n\r\nexport type QuerytableProps = Partial<ExtractPropTypes<ReturnType<typeof querytableProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytable',\r\n inheritAttrs: false,\r\n props: querytableProps(),\r\n emits: ['selectionChange', 'currentRowChange', 'rowClick', 'rowDblclick', 'cellClick', 'cellDblclick'],\r\n setup(props, { slots, attrs, emit, expose }) {\r\n const elTableRef = ref()\r\n\r\n const style = computed(() => {\r\n const rowStyle: CSSProperties = {}\r\n\r\n return rowStyle\r\n })\r\n\r\n const columns = useColumns(slots)\r\n\r\n const clearSelection = () => {\r\n elTableRef.value.clearSelection()\r\n }\r\n\r\n const getSelectionRows = () => {\r\n return elTableRef.value.getSelectionRows()\r\n }\r\n\r\n const toggleRowSelection = (...args) => {\r\n return elTableRef.value.toggleRowSelection(...args)\r\n }\r\n\r\n const toggleAllSelection = () => {\r\n return elTableRef.value.toggleAllSelection()\r\n }\r\n\r\n const setCurrentRow = (...args) => {\r\n return elTableRef.value.setCurrentRow(...args)\r\n }\r\n\r\n const scrollTo = (...args) => {\r\n return elTableRef.value.scrollTo(...args)\r\n }\r\n\r\n expose({\r\n clearSelection,\r\n getSelectionRows,\r\n toggleRowSelection,\r\n toggleAllSelection,\r\n setCurrentRow,\r\n scrollTo,\r\n })\r\n\r\n return () => {\r\n const { data } = props\r\n const { selectionMode = false } = props\r\n const { showRowNumber = true } = props\r\n const { currentRowMode = false } = props\r\n const { size = 'default' } = props\r\n const { rowClassName, rowStyle, cellClassName, cellStyle } = props\r\n\r\n const cn = classNames('orion-querytable')\r\n\r\n const renderIndexColumn = () => {\r\n return (\r\n <ElTableColumn\r\n type={'index'}\r\n label=\"No\"\r\n headerAlign={'center'}\r\n align={'center'}\r\n width={56}\r\n fixed={'left'}\r\n showOverflowTooltip={true}\r\n index={(index: number) => {\r\n return index + 1\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderSelectionColumn = () => {\r\n return <ElTableColumn type={'selection'} align={'center'} width={40} fixed={'left'}></ElTableColumn>\r\n }\r\n\r\n const renderStringColumn = (column) => {\r\n const { name, head, headAlign, bodyAlign, width, fixed } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={bodyAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderLinkColumn = (column) => {\r\n const { name, head, headAlign, bodyAlign, width, fixed } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={bodyAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n v-slots={{\r\n default: (scope) => {\r\n const { row, column } = scope\r\n return <span class=\"cell-linkcolumn\">{row[column.property]}</span>\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderNumberColumn = (column) => {\r\n const { name, head, headAlign, bodyAlign = 'right', width, fixed } = column\r\n const { thousandsSeparator = true, precision = -1, percentage = false } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={bodyAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n v-slots={{\r\n default: (scope) => {\r\n const { row, column } = scope\r\n return (\r\n <span class=\"cell-numbercolumn\">\r\n {number2string(row[column.property], thousandsSeparator, precision, percentage === true || percentage === '')}\r\n </span>\r\n )\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderDateColumn = (column) => {\r\n const { name, head, headAlign, bodyAlign, width, fixed, sourceFormat, format = 'YYYYMMDDHHmmss' } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={bodyAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n v-slots={{\r\n default: (scope) => {\r\n const { row, column } = scope\r\n const cellValue = row[column.property]\r\n\r\n if (cellValue instanceof Date || dayjs.isDayjs(cellValue)) {\r\n return <div>{formatDate(cellValue, format)}</div>\r\n } else {\r\n if (sourceFormat && format) {\r\n return <div>{formatDate(cellValue, sourceFormat, format)}</div>\r\n } else {\r\n return <div>{cellValue}</div>\r\n }\r\n }\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderSingleSelectColumn = (column) => {\r\n const { name, head, headAlign, bodyAlign, width, fixed } = column\r\n const { code } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={bodyAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n v-slots={{\r\n default: (scope) => {\r\n const { row, column } = scope\r\n const cellValue = row[column.property]\r\n\r\n let codeContent\r\n const codeData = useCode(code)\r\n if (!codeData.value) {\r\n codeContent = null\r\n } else {\r\n codeContent = getSingleCodeContent(codeData.value, cellValue)\r\n }\r\n\r\n return <span class=\"cell-singleselect\">{codeContent}</span>\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderMultiSelectColumn = (column) => {\r\n const { name, head, headAlign, bodyAlign, width, fixed } = column\r\n const { code } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={bodyAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n v-slots={{\r\n default: (scope) => {\r\n const { row, column } = scope\r\n const cellValue = row[column.property]\r\n\r\n let codeContent\r\n const codeData = useCode(code)\r\n if (!codeData.value) {\r\n codeContent = null\r\n } else {\r\n codeContent = getMultiCodeContent(codeData.value, cellValue)\r\n }\r\n\r\n return <span class=\"cell-multiselect\">{codeContent}</span>\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderButtongroupColumn = (column) => {\r\n const { name, head, headAlign, bodyAlign, width, fixed } = column\r\n\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={bodyAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n v-slots={{\r\n default: (scope) => {\r\n // { row: any, column: any, $index: number }\r\n const children = column.children?.default?.({\r\n rowData: scope.row,\r\n column,\r\n rowIndex: scope.$index,\r\n })\r\n\r\n return (\r\n <div class=\"cell-buttongroup\">\r\n <Space>{children}</Space>\r\n </div>\r\n )\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderColumngroupColumn = (column) => {\r\n const { head, headAlign } = column\r\n const { children } = column\r\n\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n v-slots={{\r\n default: (scope) => {\r\n return renderColumns(children)\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderDiyColumn = (column) => {\r\n const { name, head, headAlign, width, fixed } = column\r\n\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n v-slots={{\r\n default: (scope) => {\r\n // { row: any, column: any, $index: number }\r\n const children = column.children?.default?.({\r\n rowData: scope.row,\r\n column,\r\n rowIndex: scope.$index,\r\n })\r\n\r\n return <div class=\"cell-diy\">{children} </div>\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderColumns = (columns) => {\r\n return columns?.map((c) => {\r\n if (c.type === 'OQuerytableColumnString') {\r\n return renderStringColumn(c)\r\n } else if (c.type === 'OQuerytableColumnLink') {\r\n return renderLinkColumn(c)\r\n } else if (c.type === 'OQuerytableColumnNumber') {\r\n return renderNumberColumn(c)\r\n } else if (c.type === 'OQuerytableColumnDate') {\r\n return renderDateColumn(c)\r\n } else if (c.type === 'OQuerytableColumnSingleselect') {\r\n return renderSingleSelectColumn(c)\r\n } else if (c.type === 'OQuerytableColumnMultiselect') {\r\n return renderMultiSelectColumn(c)\r\n } else if (c.type === 'OQuerytableColumnButtongroup') {\r\n return renderButtongroupColumn(c)\r\n } else if (c.type === 'OQuerytableColumngroup') {\r\n return renderColumngroupColumn(c)\r\n } else if (c.type === 'OQuerytableColumnDiy') {\r\n return renderDiyColumn(c)\r\n } else {\r\n throw new OrionError(`OQuerytable不能正确渲染'${c.type}'子组件。`)\r\n }\r\n })\r\n }\r\n\r\n return (\r\n <div class={[cn, attrs.class]} style={[style.value, attrs.style as CSSProperties]}>\r\n <ElTable\r\n ref={elTableRef}\r\n border\r\n data={data}\r\n height={'100%'}\r\n style={{ width: '100%' }}\r\n onSelection-change={(rows) => emit('selectionChange', rows)}\r\n highlight-current-row={currentRowMode}\r\n onCurrent-change={(currentRow, oldCurrentRow) => emit('currentRowChange', currentRow, oldCurrentRow)}\r\n onRow-click={(row: any, column: any, event: Event) => emit('rowClick', row, { name: column.property, head: column.label }, event)}\r\n onRow-dblclick={(row: any, column: any, event: Event) => emit('rowDblclick', row, { name: column.property, head: column.label }, event)}\r\n onCell-click={(row: any, column: any, cell: any, event: Event) =>\r\n emit('cellClick', row, { name: column.property, head: column.label }, cell, event)\r\n }\r\n onCell-dblclick={(row: any, column: any, cell: any, event: Event) =>\r\n emit('cellDblclick', row, { name: column.property, head: column.label }, cell, event)\r\n }\r\n size={size}\r\n rowClassName={(data: { row: any; rowIndex: number }) => {\r\n if (typeof rowClassName === 'string') {\r\n return rowClassName\r\n } else if (typeof rowClassName === 'function') {\r\n return rowClassName({ rowData: data.row, rowIndex: data.rowIndex })\r\n } else {\r\n return 'row-class-name_not_valid'\r\n }\r\n }}\r\n rowStyle={(data: { row: any; rowIndex: number }) => {\r\n if (typeof rowStyle === 'function') {\r\n return rowStyle({ rowData: data.row, rowIndex: data.rowIndex })\r\n } else if (typeof rowStyle === 'object') {\r\n return rowStyle\r\n } else {\r\n return {}\r\n }\r\n }}\r\n cellClassName={(data: { row: any; column: any; rowIndex: number; columnIndex: number }) => {\r\n if (typeof cellClassName === 'string') {\r\n return cellClassName\r\n } else if (typeof cellClassName === 'function') {\r\n return cellClassName({\r\n rowData: data.row,\r\n column: { name: data.column.property, head: data.column.label },\r\n rowIndex: data.rowIndex,\r\n columnIndex: data.columnIndex,\r\n })\r\n } else {\r\n return 'cell-class-name_not_valid'\r\n }\r\n }}\r\n cellStyle={(data: { row: any; column: any; rowIndex: number; columnIndex: number }) => {\r\n if (typeof cellStyle === 'function') {\r\n return cellStyle({\r\n rowData: data.row,\r\n column: { name: data.column.property, head: data.column.label },\r\n rowIndex: data.rowIndex,\r\n columnIndex: data.columnIndex,\r\n })\r\n } else if (typeof cellStyle === 'object') {\r\n return cellStyle\r\n } else {\r\n return {}\r\n }\r\n }}\r\n >\r\n {showRowNumber && renderIndexColumn()}\r\n {selectionMode && renderSelectionColumn()}\r\n {renderColumns(columns.value)}\r\n </ElTable>\r\n </div>\r\n )\r\n }\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnIndexProps = () => ({})\r\n\r\nexport type QuerytableColumnIndexProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnIndexProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnIndex',\r\n inheritAttrs: false,\r\n props: querytableColumnIndexProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnStringProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n bodyAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n})\r\n\r\nexport type QuerytableColumnStringProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnStringProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnString',\r\n inheritAttrs: false,\r\n props: querytableColumnStringProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnLinkProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n bodyAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n})\r\n\r\nexport type QuerytableColumnLinkProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnLinkProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnLink',\r\n inheritAttrs: false,\r\n props: querytableColumnLinkProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType, numberType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnNumberProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n bodyAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n\r\n thousandsSeparator: booleanType(true),\r\n precision: numberType(-1),\r\n percentage: booleanType(false),\r\n})\r\n\r\nexport type QuerytableColumnNumberProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnNumberProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnNumber',\r\n inheritAttrs: false,\r\n props: querytableColumnNumberProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnDateProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n bodyAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n\r\n // Date\r\n format: stringType(),\r\n sourceFormat: stringType(),\r\n})\r\n\r\nexport type QuerytableColumnDateProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnDateProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnDate',\r\n inheritAttrs: false,\r\n props: querytableColumnDateProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnSingleselectProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n bodyAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n\r\n code: someType<string | { value: string; content: string }[]>([String, Array]),\r\n})\r\n\r\nexport type QuerytableColumnSingleselectProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnSingleselectProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnSingleselect',\r\n inheritAttrs: false,\r\n props: querytableColumnSingleselectProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnMultiselectProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n bodyAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n\r\n code: someType<string | { value: string; content: string }[]>([String, Array]),\r\n})\r\n\r\nexport type QuerytableColumnMultiselectProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnMultiselectProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnMultiselect',\r\n inheritAttrs: false,\r\n props: querytableColumnMultiselectProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType, CustomSlotsType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnButtongroupProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n bodyAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n})\r\n\r\nexport type QuerytableColumnButtongroupProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnButtongroupProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnButtongroup',\r\n inheritAttrs: false,\r\n props: querytableColumnButtongroupProps(),\r\n slots: Object as CustomSlotsType<{\r\n default: any\r\n }>,\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElButton } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableCellButtonProps = () => ({\r\n type: stringType(),\r\n})\r\n\r\nexport type QuerytableCellButtonProps = Partial<ExtractPropTypes<ReturnType<typeof querytableCellButtonProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableCellButton',\r\n inheritAttrs: false,\r\n props: querytableCellButtonProps(),\r\n emits: ['click'],\r\n setup(props, { slots, attrs, emit, expose }) {\r\n const handleClick = (event: Event) => {\r\n emit('click', event)\r\n }\r\n\r\n return () => {\r\n const { type } = props\r\n const children = slots.default?.()\r\n\r\n return (\r\n <ElButton link type={type} size=\"small\" onClick={handleClick}>\r\n {children}\r\n </ElButton>\r\n )\r\n }\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElButton } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumngroupProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n})\r\n\r\nexport type QuerytableColumngroupProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumngroupProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumngroup',\r\n inheritAttrs: false,\r\n props: querytableColumngroupProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType, CustomSlotsType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnDiyProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n})\r\n\r\nexport type QuerytableColumnDiyProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnDiyProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnDiy',\r\n inheritAttrs: false,\r\n props: querytableColumnDiyProps(),\r\n slots: Object as CustomSlotsType<{\r\n default: any\r\n }>,\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { withInstall } from '../_util'\r\n\r\nimport Querytable from './Querytable'\r\nimport QuerytableColumnIndex from './columns/QuerytableColumnIndex'\r\nimport QuerytableColumnString from './columns/QuerytableColumnString'\r\nimport QuerytableColumnLink from './columns/QuerytableColumnLink'\r\nimport QuerytableColumnNumber from './columns/QuerytableColumnNumber'\r\nimport QuerytableColumnDate from './columns/QuerytableColumnDate'\r\nimport QuerytableColumnSingleselect from './columns/QuerytableColumnSingleselect'\r\nimport QuerytableColumnMultiselect from './columns/QuerytableColumnMultiselect'\r\nimport QuerytableColumnButtongroup from './columns/QuerytableColumnButtongroup'\r\nimport QuerytableCellButton from './columns/QuerytableCellButton'\r\nimport QuerytableColumngroup from './columns/QuerytableColumngroup'\r\nimport QuerytableColumnDiy from './columns/QuerytableColumnDiy'\r\n\r\nexport type { QuerytableProps } from './Querytable'\r\n\r\nexport default withInstall<\r\n typeof Querytable,\r\n {\r\n QuerytableColumnIndex: typeof QuerytableColumnIndex\r\n QuerytableColumnString: typeof QuerytableColumnString\r\n QuerytableColumnLink: typeof QuerytableColumnLink\r\n QuerytableColumnNumber: typeof QuerytableColumnNumber\r\n QuerytableColumnDate: typeof QuerytableColumnDate\r\n QuerytableColumnSingleselect: typeof QuerytableColumnSingleselect\r\n QuerytableColumnMultiselect: typeof QuerytableColumnMultiselect\r\n QuerytableColumnButtongroup: typeof QuerytableColumnButtongroup\r\n QuerytableCellButton: typeof QuerytableCellButton\r\n QuerytableColumngroup: typeof QuerytableColumngroup\r\n QuerytableColumnDiy: typeof QuerytableColumnDiy\r\n }\r\n>(Querytable, {\r\n QuerytableColumnIndex,\r\n QuerytableColumnString,\r\n QuerytableColumnLink,\r\n QuerytableColumnNumber,\r\n QuerytableColumnDate,\r\n QuerytableColumnSingleselect,\r\n QuerytableColumnMultiselect,\r\n QuerytableColumnButtongroup,\r\n QuerytableCellButton,\r\n QuerytableColumngroup,\r\n QuerytableColumnDiy,\r\n})\r\n"],"names":["_isSlot","s","Object","prototype","toString","call","_isVNode","querytableProps","data","arrayType","showRowNumber","booleanType","selectionMode","currentRowMode","size","stringType","rowClassName","someType","rowStyle","cellClassName","cellStyle","defineComponent","name","inheritAttrs","props","emits","setup","slots","attrs","emit","expose","elTableRef","ref","style","computed","columns","useColumns","clearSelection","value","getSelectionRows","toggleRowSelection","args","toggleAllSelection","setCurrentRow","scrollTo","cn","classNames","renderIndexColumn","_createVNode","ElTableColumn","index","renderSelectionColumn","renderStringColumn","column","head","headAlign","bodyAlign","width","fixed","renderLinkColumn","default","scope","row","property","renderNumberColumn","thousandsSeparator","precision","percentage","number2string","renderDateColumn","sourceFormat","format","cellValue","Date","dayjs","isDayjs","formatDate","renderSingleSelectColumn","code","codeContent","codeData","useCode","getSingleCodeContent","renderMultiSelectColumn","getMultiCodeContent","renderButtongroupColumn","children","rowData","rowIndex","$index","Space","renderColumngroupColumn","renderColumns","renderDiyColumn","_createTextVNode","map","c","type","OrionError","class","ElTable","rows","onCurrent-change","currentRow","oldCurrentRow","onRow-click","event","label","onRow-dblclick","onCell-click","cell","onCell-dblclick","columnIndex","querytableColumnIndexProps","querytableColumnStringProps","Boolean","String","querytableColumnLinkProps","querytableColumnNumberProps","numberType","querytableColumnDateProps","querytableColumnSingleselectProps","Array","querytableColumnMultiselectProps","querytableColumnButtongroupProps","querytableCellButtonProps","handleClick","ElButton","querytableColumngroupProps","querytableColumnDiyProps","Querytable","withInstall","QuerytableColumnIndex","QuerytableColumnString","QuerytableColumnLink","QuerytableColumnNumber","QuerytableColumnDate","QuerytableColumnSingleselect","QuerytableColumnMultiselect","QuerytableColumnButtongroup","QuerytableCellButton","QuerytableColumngroup","QuerytableColumnDiy"],"mappings":";;;;;;;;;;;;AAegD,SAAAA,GAAAC,GAAA;AAAA,SAAA,OAAAA,KAAA,cAAAC,OAAAC,UAAAC,SAAAC,KAAAJ,CAAA,MAAAK,qBAAAA,CAAAA,EAAAL,CAAA;AAAA;AAOzC,MAAMM,KAAkBA,OAAO;AAAA,EACpCC,MAAMC,GAA+B;AAAA,EACrCC,eAAeC,EAAY,EAAI;AAAA,EAC/BC,eAAeD,EAAY,EAAK;AAAA,EAChCE,gBAAgBF,EAAY,EAAK;AAAA,EACjCG,MAAMC,EAAgD;AAAA,EACtDC,cAAcC,EAAmC;AAAA,EACjDC,UAAUD,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AAM;AAAA,EACf;AACF,CAAC,GCdYmG,KAA2BA,OAAO;AAAA,EAC7C3E,MAAMvC,EAAY;AAAA,EAClBwC,WAAWxC,EAAyC;AAAA,EACpDO,MAAMP,EAAY;AAAA,EAClB0C,OAAOxC,EAA2B,CAACkG,SAASC,MAAM,CAAC;AAAA,EACnD1D,OAAOzC,EAAoB,CAACkG,SAASC,MAAM,CAAC;AAC9C,IAIe/F,uBAAgB;AAAA,EAC7BC,MAAM;AAAA,EACNC,cAAc;AAAA,EACdC,OAAOyG,GAA0B;AAAA,EACjCtG,OAAOzB;AAAAA,EAGPwB,MAAMF,GAAO;AAAA,IAAEG,OAAAA;AAAAA,IAAOC,OAAAA;AAAAA,IAAOC,MAAAA;AAAAA,IAAMC,QAAAA;AAAAA,EAAO,GAAG;AAC3C,WAAO,MAAM;AAAA,EACf;AACF,CAAC,GCZcoG,KAAAC,GAebD,IAAY;AAAA,EACZ,uBAAAE;AAAA,EACA,wBAAAC;AAAA,EACA,sBAAAC;AAAA,EACA,wBAAAC;AAAA,EACA,sBAAAC;AAAA,EACA,8BAAAC;AAAA,EACA,6BAAAC;AAAA,EACA,6BAAAC;AAAA,EACA,sBAAAC;AAAA,EACA,uBAAAC;AAAA,EACA,qBAAAC;AACF,CAAC;"}
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/Querytable/Querytable.tsx","../../../src/components/Querytable/columns/QuerytableColumnIndex.tsx","../../../src/components/Querytable/columns/QuerytableColumnString.tsx","../../../src/components/Querytable/columns/QuerytableColumnLink.tsx","../../../src/components/Querytable/columns/QuerytableColumnNumber.tsx","../../../src/components/Querytable/columns/QuerytableColumnDate.tsx","../../../src/components/Querytable/columns/QuerytableColumnSingleselect.tsx","../../../src/components/Querytable/columns/QuerytableColumnMultiselect.tsx","../../../src/components/Querytable/columns/QuerytableColumnButtongroup.tsx","../../../src/components/Querytable/columns/QuerytableCellButton.tsx","../../../src/components/Querytable/columns/QuerytableColumngroup.tsx","../../../src/components/Querytable/columns/QuerytableColumnDiy.tsx","../../../src/components/Querytable/index.ts"],"sourcesContent":["import { computed, defineComponent, ref } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../_util/classNames'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../_util/type'\r\nimport { ElTable, ElTableColumn } from 'element-plus'\r\n\r\nimport { formatDate, number2string, getSingleCodeContent, getMultiCodeContent } from './utils'\r\nimport dayjs from 'dayjs'\r\n\r\nimport Space from '../Space'\r\nimport OrionError from '../../error/OrionError'\r\n\r\nimport type { PageTableI } from './interface'\r\n\r\nimport useColumns from './hooks/useColumns'\r\nimport useCode from '../Pagetable/hooks/useCode'\r\n\r\ntype rowClassNameFn = (data: { rowData: any; rowIndex: number }) => string\r\ntype rowStyleFn = (data: { rowData: any; rowIndex: number }) => CSSProperties\r\ntype cellClassNameFn = (data: { rowData: any; column: { name: string; head: string }; rowIndex: number; columnIndex: number }) => string\r\ntype cellStyleFn = (data: { rowData: any; column: { name: string; head: string }; rowIndex: number; columnIndex: number }) => CSSProperties\r\n\r\nexport const querytableProps = () => ({\r\n data: arrayType<PageTableI['data']>(),\r\n showRowNumber: booleanType(true),\r\n selectionMode: booleanType(false),\r\n currentRowMode: booleanType(false),\r\n size: stringType<'' | 'large' | 'default' | 'small'>(),\r\n rowClassName: someType<string | rowClassNameFn>(),\r\n rowStyle: someType<CSSProperties | rowStyleFn>(),\r\n cellClassName: someType<string | cellClassNameFn>(),\r\n cellStyle: someType<CSSProperties | cellStyleFn>(),\r\n})\r\n\r\nexport type QuerytableProps = Partial<ExtractPropTypes<ReturnType<typeof querytableProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytable',\r\n inheritAttrs: false,\r\n props: querytableProps(),\r\n emits: ['selectionChange', 'currentRowChange', 'rowClick', 'rowDblclick', 'cellClick', 'cellDblclick'],\r\n setup(props, { slots, attrs, emit, expose }) {\r\n const elTableRef = ref()\r\n\r\n const style = computed(() => {\r\n const rowStyle: CSSProperties = {}\r\n\r\n return rowStyle\r\n })\r\n\r\n const columns = useColumns(slots)\r\n\r\n const clearSelection = () => {\r\n elTableRef.value.clearSelection()\r\n }\r\n\r\n const getSelectionRows = () => {\r\n return elTableRef.value.getSelectionRows()\r\n }\r\n\r\n const toggleRowSelection = (...args) => {\r\n return elTableRef.value.toggleRowSelection(...args)\r\n }\r\n\r\n const toggleAllSelection = () => {\r\n return elTableRef.value.toggleAllSelection()\r\n }\r\n\r\n const setCurrentRow = (...args) => {\r\n return elTableRef.value.setCurrentRow(...args)\r\n }\r\n\r\n const scrollTo = (...args) => {\r\n return elTableRef.value.scrollTo(...args)\r\n }\r\n\r\n expose({\r\n clearSelection,\r\n getSelectionRows,\r\n toggleRowSelection,\r\n toggleAllSelection,\r\n setCurrentRow,\r\n scrollTo,\r\n })\r\n\r\n return () => {\r\n const { data } = props\r\n const { selectionMode = false } = props\r\n const { showRowNumber = true } = props\r\n const { currentRowMode = false } = props\r\n const { size = 'default' } = props\r\n const { rowClassName, rowStyle, cellClassName, cellStyle } = props\r\n\r\n const cn = classNames('orion-querytable')\r\n\r\n const renderIndexColumn = () => {\r\n return (\r\n <ElTableColumn\r\n type={'index'}\r\n label=\"No\"\r\n headerAlign={'center'}\r\n align={'center'}\r\n width={56}\r\n fixed={'left'}\r\n showOverflowTooltip={true}\r\n index={(index: number) => {\r\n return index + 1\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderSelectionColumn = () => {\r\n return <ElTableColumn type={'selection'} headerAlign={'center'} align={'center'} width={40} fixed={'left'}></ElTableColumn>\r\n }\r\n\r\n const renderStringColumn = (column) => {\r\n const { name, head, headAlign = 'center', bodyAlign, width, fixed } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={bodyAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderLinkColumn = (column) => {\r\n const { name, head, headAlign = 'center', bodyAlign, width, fixed } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={bodyAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n v-slots={{\r\n default: (scope) => {\r\n const { row, column } = scope\r\n return <span class=\"cell-linkcolumn\">{row[column.property]}</span>\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderNumberColumn = (column) => {\r\n const { name, head, headAlign = 'center', bodyAlign = 'right', width, fixed } = column\r\n const { thousandsSeparator = true, precision = -1, percentage = false } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={bodyAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n v-slots={{\r\n default: (scope) => {\r\n const { row, column } = scope\r\n return (\r\n <span class=\"cell-numbercolumn\">\r\n {number2string(row[column.property], thousandsSeparator, precision, percentage === true || percentage === '')}\r\n </span>\r\n )\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderDateColumn = (column) => {\r\n const { name, head, headAlign = 'center', bodyAlign = 'center', width, fixed, sourceFormat, format = 'YYYYMMDDHHmmss' } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={bodyAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n v-slots={{\r\n default: (scope) => {\r\n const { row, column } = scope\r\n const cellValue = row[column.property]\r\n\r\n if (cellValue instanceof Date || dayjs.isDayjs(cellValue)) {\r\n return <div>{formatDate(cellValue, format)}</div>\r\n } else {\r\n if (sourceFormat && format) {\r\n return <div>{formatDate(cellValue, sourceFormat, format)}</div>\r\n } else {\r\n return <div>{cellValue}</div>\r\n }\r\n }\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderSingleSelectColumn = (column) => {\r\n const { name, head, headAlign = 'center', bodyAlign, width, fixed } = column\r\n const { code } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={bodyAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n v-slots={{\r\n default: (scope) => {\r\n const { row, column } = scope\r\n const cellValue = row[column.property]\r\n\r\n let codeContent\r\n const codeData = useCode(code)\r\n if (!codeData.value) {\r\n codeContent = null\r\n } else {\r\n codeContent = getSingleCodeContent(codeData.value, cellValue)\r\n }\r\n\r\n return <span class=\"cell-singleselect\">{codeContent}</span>\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderMultiSelectColumn = (column) => {\r\n const { name, head, headAlign = 'center', bodyAlign, width, fixed } = column\r\n const { code } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={bodyAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n v-slots={{\r\n default: (scope) => {\r\n const { row, column } = scope\r\n const cellValue = row[column.property]\r\n\r\n let codeContent\r\n const codeData = useCode(code)\r\n if (!codeData.value) {\r\n codeContent = null\r\n } else {\r\n codeContent = getMultiCodeContent(codeData.value, cellValue)\r\n }\r\n\r\n return <span class=\"cell-multiselect\">{codeContent}</span>\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderButtongroupColumn = (column) => {\r\n const { name, head, headAlign = 'center', bodyAlign, width, fixed } = column\r\n\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={bodyAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n v-slots={{\r\n default: (scope) => {\r\n // { row: any, column: any, $index: number }\r\n const children = column.children?.default?.({\r\n rowData: scope.row,\r\n column,\r\n rowIndex: scope.$index,\r\n })\r\n\r\n return (\r\n <div class=\"cell-buttongroup\">\r\n <Space>{children}</Space>\r\n </div>\r\n )\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderColumngroupColumn = (column) => {\r\n const { head, headAlign = 'center' } = column\r\n const { children } = column\r\n\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n v-slots={{\r\n default: (scope) => {\r\n return renderColumns(children)\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderDiyColumn = (column) => {\r\n const { name, head, headAlign = 'center', width, fixed } = column\r\n\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n v-slots={{\r\n default: (scope) => {\r\n // { row: any, column: any, $index: number }\r\n const children = column.children?.default?.({\r\n rowData: scope.row,\r\n column,\r\n rowIndex: scope.$index,\r\n })\r\n\r\n return <div class=\"cell-diy\">{children} </div>\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderColumns = (columns) => {\r\n return columns?.map((c) => {\r\n if (c.type === 'OQuerytableColumnString') {\r\n return renderStringColumn(c)\r\n } else if (c.type === 'OQuerytableColumnLink') {\r\n return renderLinkColumn(c)\r\n } else if (c.type === 'OQuerytableColumnNumber') {\r\n return renderNumberColumn(c)\r\n } else if (c.type === 'OQuerytableColumnDate') {\r\n return renderDateColumn(c)\r\n } else if (c.type === 'OQuerytableColumnSingleselect') {\r\n return renderSingleSelectColumn(c)\r\n } else if (c.type === 'OQuerytableColumnMultiselect') {\r\n return renderMultiSelectColumn(c)\r\n } else if (c.type === 'OQuerytableColumnButtongroup') {\r\n return renderButtongroupColumn(c)\r\n } else if (c.type === 'OQuerytableColumngroup') {\r\n return renderColumngroupColumn(c)\r\n } else if (c.type === 'OQuerytableColumnDiy') {\r\n return renderDiyColumn(c)\r\n } else {\r\n throw new OrionError(`OQuerytable不能正确渲染'${c.type}'子组件。`)\r\n }\r\n })\r\n }\r\n\r\n return (\r\n <div class={[cn, attrs.class]} style={[style.value, attrs.style as CSSProperties]}>\r\n <ElTable\r\n ref={elTableRef}\r\n border\r\n data={data}\r\n height={'100%'}\r\n style={{ width: '100%' }}\r\n onSelection-change={(rows) => emit('selectionChange', rows)}\r\n highlight-current-row={currentRowMode}\r\n onCurrent-change={(currentRow, oldCurrentRow) => emit('currentRowChange', currentRow, oldCurrentRow)}\r\n onRow-click={(row: any, column: any, event: Event) => emit('rowClick', row, { name: column.property, head: column.label }, event)}\r\n onRow-dblclick={(row: any, column: any, event: Event) => emit('rowDblclick', row, { name: column.property, head: column.label }, event)}\r\n onCell-click={(row: any, column: any, cell: any, event: Event) =>\r\n emit('cellClick', row, { name: column.property, head: column.label }, cell, event)\r\n }\r\n onCell-dblclick={(row: any, column: any, cell: any, event: Event) =>\r\n emit('cellDblclick', row, { name: column.property, head: column.label }, cell, event)\r\n }\r\n size={size}\r\n rowClassName={(data: { row: any; rowIndex: number }) => {\r\n if (typeof rowClassName === 'string') {\r\n return rowClassName\r\n } else if (typeof rowClassName === 'function') {\r\n return rowClassName({ rowData: data.row, rowIndex: data.rowIndex })\r\n } else {\r\n return 'row-class-name_not_valid'\r\n }\r\n }}\r\n rowStyle={(data: { row: any; rowIndex: number }) => {\r\n if (typeof rowStyle === 'function') {\r\n return rowStyle({ rowData: data.row, rowIndex: data.rowIndex })\r\n } else if (typeof rowStyle === 'object') {\r\n return rowStyle\r\n } else {\r\n return {}\r\n }\r\n }}\r\n cellClassName={(data: { row: any; column: any; rowIndex: number; columnIndex: number }) => {\r\n if (typeof cellClassName === 'string') {\r\n return cellClassName\r\n } else if (typeof cellClassName === 'function') {\r\n return cellClassName({\r\n rowData: data.row,\r\n column: { name: data.column.property, head: data.column.label },\r\n rowIndex: data.rowIndex,\r\n columnIndex: data.columnIndex,\r\n })\r\n } else {\r\n return 'cell-class-name_not_valid'\r\n }\r\n }}\r\n cellStyle={(data: { row: any; column: any; rowIndex: number; columnIndex: number }) => {\r\n if (typeof cellStyle === 'function') {\r\n return cellStyle({\r\n rowData: data.row,\r\n column: { name: data.column.property, head: data.column.label },\r\n rowIndex: data.rowIndex,\r\n columnIndex: data.columnIndex,\r\n })\r\n } else if (typeof cellStyle === 'object') {\r\n return cellStyle\r\n } else {\r\n return {}\r\n }\r\n }}\r\n >\r\n {showRowNumber && renderIndexColumn()}\r\n {selectionMode && renderSelectionColumn()}\r\n {renderColumns(columns.value)}\r\n </ElTable>\r\n </div>\r\n )\r\n }\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnIndexProps = () => ({})\r\n\r\nexport type QuerytableColumnIndexProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnIndexProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnIndex',\r\n inheritAttrs: false,\r\n props: querytableColumnIndexProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnStringProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n bodyAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n})\r\n\r\nexport type QuerytableColumnStringProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnStringProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnString',\r\n inheritAttrs: false,\r\n props: querytableColumnStringProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnLinkProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n bodyAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n})\r\n\r\nexport type QuerytableColumnLinkProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnLinkProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnLink',\r\n inheritAttrs: false,\r\n props: querytableColumnLinkProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType, numberType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnNumberProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n bodyAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n\r\n thousandsSeparator: booleanType(true),\r\n precision: numberType(-1),\r\n percentage: booleanType(false),\r\n})\r\n\r\nexport type QuerytableColumnNumberProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnNumberProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnNumber',\r\n inheritAttrs: false,\r\n props: querytableColumnNumberProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnDateProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n bodyAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n\r\n // Date\r\n format: stringType(),\r\n sourceFormat: stringType(),\r\n})\r\n\r\nexport type QuerytableColumnDateProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnDateProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnDate',\r\n inheritAttrs: false,\r\n props: querytableColumnDateProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnSingleselectProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n bodyAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n\r\n code: someType<string | { value: string; content: string }[]>([String, Array]),\r\n})\r\n\r\nexport type QuerytableColumnSingleselectProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnSingleselectProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnSingleselect',\r\n inheritAttrs: false,\r\n props: querytableColumnSingleselectProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnMultiselectProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n bodyAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n\r\n code: someType<string | { value: string; content: string }[]>([String, Array]),\r\n})\r\n\r\nexport type QuerytableColumnMultiselectProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnMultiselectProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnMultiselect',\r\n inheritAttrs: false,\r\n props: querytableColumnMultiselectProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType, CustomSlotsType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnButtongroupProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n bodyAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n})\r\n\r\nexport type QuerytableColumnButtongroupProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnButtongroupProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnButtongroup',\r\n inheritAttrs: false,\r\n props: querytableColumnButtongroupProps(),\r\n slots: Object as CustomSlotsType<{\r\n default: any\r\n }>,\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElButton } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableCellButtonProps = () => ({\r\n type: stringType(),\r\n})\r\n\r\nexport type QuerytableCellButtonProps = Partial<ExtractPropTypes<ReturnType<typeof querytableCellButtonProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableCellButton',\r\n inheritAttrs: false,\r\n props: querytableCellButtonProps(),\r\n emits: ['click'],\r\n setup(props, { slots, attrs, emit, expose }) {\r\n const handleClick = (event: Event) => {\r\n emit('click', event)\r\n }\r\n\r\n return () => {\r\n const { type } = props\r\n const children = slots.default?.()\r\n\r\n return (\r\n <ElButton link type={type} size=\"small\" onClick={handleClick}>\r\n {children}\r\n </ElButton>\r\n )\r\n }\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElButton } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumngroupProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n})\r\n\r\nexport type QuerytableColumngroupProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumngroupProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumngroup',\r\n inheritAttrs: false,\r\n props: querytableColumngroupProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType, CustomSlotsType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnDiyProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n})\r\n\r\nexport type QuerytableColumnDiyProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnDiyProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnDiy',\r\n inheritAttrs: false,\r\n props: querytableColumnDiyProps(),\r\n slots: Object as CustomSlotsType<{\r\n default: any\r\n }>,\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { withInstall } from '../_util'\r\n\r\nimport Querytable from './Querytable'\r\nimport QuerytableColumnIndex from './columns/QuerytableColumnIndex'\r\nimport QuerytableColumnString from './columns/QuerytableColumnString'\r\nimport QuerytableColumnLink from './columns/QuerytableColumnLink'\r\nimport QuerytableColumnNumber from './columns/QuerytableColumnNumber'\r\nimport QuerytableColumnDate from './columns/QuerytableColumnDate'\r\nimport QuerytableColumnSingleselect from './columns/QuerytableColumnSingleselect'\r\nimport QuerytableColumnMultiselect from './columns/QuerytableColumnMultiselect'\r\nimport QuerytableColumnButtongroup from './columns/QuerytableColumnButtongroup'\r\nimport QuerytableCellButton from './columns/QuerytableCellButton'\r\nimport QuerytableColumngroup from './columns/QuerytableColumngroup'\r\nimport QuerytableColumnDiy from './columns/QuerytableColumnDiy'\r\n\r\nexport type { QuerytableProps } from './Querytable'\r\n\r\nexport default withInstall<\r\n typeof Querytable,\r\n {\r\n QuerytableColumnIndex: typeof QuerytableColumnIndex\r\n QuerytableColumnString: typeof QuerytableColumnString\r\n QuerytableColumnLink: typeof QuerytableColumnLink\r\n QuerytableColumnNumber: typeof QuerytableColumnNumber\r\n QuerytableColumnDate: typeof QuerytableColumnDate\r\n QuerytableColumnSingleselect: typeof QuerytableColumnSingleselect\r\n QuerytableColumnMultiselect: typeof QuerytableColumnMultiselect\r\n QuerytableColumnButtongroup: typeof QuerytableColumnButtongroup\r\n QuerytableCellButton: typeof QuerytableCellButton\r\n QuerytableColumngroup: typeof QuerytableColumngroup\r\n QuerytableColumnDiy: typeof QuerytableColumnDiy\r\n }\r\n>(Querytable, {\r\n QuerytableColumnIndex,\r\n QuerytableColumnString,\r\n QuerytableColumnLink,\r\n QuerytableColumnNumber,\r\n QuerytableColumnDate,\r\n QuerytableColumnSingleselect,\r\n QuerytableColumnMultiselect,\r\n QuerytableColumnButtongroup,\r\n QuerytableCellButton,\r\n QuerytableColumngroup,\r\n QuerytableColumnDiy,\r\n})\r\n"],"names":["_isSlot","s","Object","prototype","toString","call","_isVNode","querytableProps","data","arrayType","showRowNumber","booleanType","selectionMode","currentRowMode","size","stringType","rowClassName","someType","rowStyle","cellClassName","cellStyle","defineComponent","name","inheritAttrs","props","emits","setup","slots","attrs","emit","expose","elTableRef","ref","style","computed","columns","useColumns","clearSelection","value","getSelectionRows","toggleRowSelection","args","toggleAllSelection","setCurrentRow","scrollTo","cn","classNames","renderIndexColumn","_createVNode","ElTableColumn","index","renderSelectionColumn","renderStringColumn","column","head","headAlign","bodyAlign","width","fixed","renderLinkColumn","default","scope","row","property","renderNumberColumn","thousandsSeparator","precision","percentage","number2string","renderDateColumn","sourceFormat","format","cellValue","Date","dayjs","isDayjs","formatDate","renderSingleSelectColumn","code","codeContent","codeData","useCode","getSingleCodeContent","renderMultiSelectColumn","getMultiCodeContent","renderButtongroupColumn","children","rowData","rowIndex","$index","Space","renderColumngroupColumn","renderColumns","renderDiyColumn","_createTextVNode","map","c","type","OrionError","class","ElTable","rows","onCurrent-change","currentRow","oldCurrentRow","onRow-click","event","label","onRow-dblclick","onCell-click","cell","onCell-dblclick","columnIndex","querytableColumnIndexProps","querytableColumnStringProps","Boolean","String","querytableColumnLinkProps","querytableColumnNumberProps","numberType","querytableColumnDateProps","querytableColumnSingleselectProps","Array","querytableColumnMultiselectProps","querytableColumnButtongroupProps","querytableCellButtonProps","handleClick","ElButton","querytableColumngroupProps","querytableColumnDiyProps","Querytable","withInstall","QuerytableColumnIndex","QuerytableColumnString","QuerytableColumnLink","QuerytableColumnNumber","QuerytableColumnDate","QuerytableColumnSingleselect","QuerytableColumnMultiselect","QuerytableColumnButtongroup","QuerytableCellButton","QuerytableColumngroup","QuerytableColumnDiy"],"mappings":";;;;;;;;;;;;AAegD,SAAAA,GAAAC,GAAA;AAAA,SAAA,OAAAA,KAAA,cAAAC,OAAAC,UAAAC,SAAAC,KAAAJ,CAAA,MAAAK,qBAAAA,CAAAA,EAAAL,CAAA;AAAA;AAOzC,MAAMM,KAAkBA,OAAO;AAAA,EACpCC,MAAMC,GAA+B;AAAA,EACrCC,eAAeC,EAAY,EAAI;AAAA,EAC/BC,eAAeD,EAAY,EAAK;AAAA,EAChCE,gBAAgBF,EAAY,EAAK;AAAA,EACjCG,MAAMC,EAAgD;AAAA,EACtDC,cAAcC,EAAmC;AAAA,EACjDC,UAAUD,EAAsC;AAAA,EAChDE,eAAeF,EAAoC;AAAA,EACnDG,WAAWH,EAAsC;AACnD,IAIeI,uBAAgB;AAAA,EAC7BC,MAAM;AAAA,EACNC,cAAc;AAAA,EACdC,OAAOjB,GAAiB;AAAA,EACxBkB,OAAO,CAAC,mBAAmB,oBAAoB,YAAY,eAAe,aAAa,cAAc;AAAA,EACrGC,MAAMF,GAAO;AAAA,IAAEG,OAAAA;AAAAA,IAAOC,OAAAA;AAAAA,IAAOC,MAAAA;AAAAA,IAAMC,QAAAA;AAAAA,EAAO,GAAG;AAC3C,UAAMC,IAAaC,MAEbC,IAAQC,GAAS,OACW,CAAA,EAGjC,GAEKC,IAAUC,GAAWT,CAAK;AA0BhCG,WAAAA,EAAO;AAAA,MACLO,gBAzBqBA,MAAM;AAC3BN,QAAAA,EAAWO,MAAMD;;MAyBjBE,kBAtBuBA,MAChBR,EAAWO,MAAMC;MAsBxBC,oBAnByBA,IAAIC,MACtBV,EAAWO,MAAME,mBAAmB,GAAGC,CAAI;AAAA,MAmBlDC,oBAhByBA,MAClBX,EAAWO,MAAMI;MAgBxBC,eAboBA,IAAIF,MACjBV,EAAWO,MAAMK,cAAc,GAAGF,CAAI;A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;AAAA,EACA,6BAAAC;AAAA,EACA,6BAAAC;AAAA,EACA,sBAAAC;AAAA,EACA,uBAAAC;AAAA,EACA,qBAAAC;AACF,CAAC;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"components-Pdc4XEej.js","sources":["../src/components/Throne/ThroneContextProvider.tsx"],"sourcesContent":["import { defineComponent, renderSlot, watch, provide, computed } from 'vue'\
|
1
|
+
{"version":3,"file":"components-Pdc4XEej.js","sources":["../src/components/Throne/ThroneContextProvider.tsx"],"sourcesContent":["import { defineComponent, renderSlot, watch, provide, computed } from 'vue'\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\n\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../_util/type'\n\nimport { provideThroneContext } from '../../Throne/hooks/use-throne-context'\n\nimport { withInstall } from '../_util'\n\nexport const throneContextProviderProps = () => ({\n context: objectType<Record<string, any>>(),\n})\n\nexport type ThroneContextProviderProps = Partial<ExtractPropTypes<ReturnType<typeof throneContextProviderProps>>>\n\nexport type ThroneContextProviderContext = Partial<ThroneContextProviderProps>\n\nconst ThroneContextProvider = defineComponent({\n name: 'OThroneContextProvider',\n inheritAttrs: false,\n props: throneContextProviderProps(),\n setup(props, { slots }) {\n provideThroneContext(props)\n return () => {\n return renderSlot(slots, 'default')\n }\n },\n})\n\nexport default withInstall<typeof ThroneContextProvider, {}>(ThroneContextProvider)\n"],"names":["throneContextProviderProps","context","objectType","ThroneContextProvider","defineComponent","name","inheritAttrs","props","setup","slots","provideThroneContext","renderSlot","withInstall"],"mappings":";;;;;;;;;;;;;;;;;;AASO,MAAMA,IAA6BA,OAAO;AAAA,EAC/CC,SAASC,EAAgC;AAC3C,IAMMC,IAAwBC,gBAAAA,EAAgB;AAAA,EAC5CC,MAAM;AAAA,EACNC,cAAc;AAAA,EACdC,OAAOP,EAA4B;AAAA,EACnCQ,MAAMD,GAAO;AAAA,IAAEE,OAAAA;AAAAA,EAAM,GAAG;AACtBC,WAAAA,EAAqBH,CAAK,GACnB,MACEI,EAAWF,GAAO,SAAS;AAAA,EAEtC;AACF,CAAC,GAEcG,IAAAA,EAA8CT,CAAqB;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
@charset "UTF-8";.orion-card[data-v-7d015909]{background-color:var(--orion-card-background-color);box-sizing:border-box;border:1px solid var(--orion-card-border-color);border-radius:4px;color:var(--orion-card-font-color);overflow:hidden;height:100%;display:flex;flex-direction:column}.orion-card .orion-card_header[data-v-7d015909]{display:flex;justify-content:space-between;align-items:center;padding:var(--orion-card-padding)}.orion-card .orion-card_header .title[data-v-7d015909]{font-size:18px;font-weight:700}.orion-card .orion-card_body[data-v-7d015909]{flex:1;padding:var(--orion-card-padding);overflow:auto}.orion-modal-locator[data-v-0fd5a1a9]{width:100%;height:100%;overflow:auto;box-sizing:border-box;position:relative}.orion-modal-locator[data-v-0fd5a1a9]>.el-overlay{position:absolute}.orion-modal-locator[data-v-0fd5a1a9]>.el-overlay>.el-overlay-dialog{position:absolute}:root{--orion-flex-gutter: 6px;--orion-space-gutter: 6px;--orion-form-validation-message-height: 14px;--orion-pagetable-header-bgcolor: #f2f2f3;--orion-pagetable-body-row-hover-bgcolor: #e4e7ef;--orion-pagetable-body-row-current-bgcolor: #dce8ff;--orion-querytable-header-bgcolor: #f2f2f3;--orion-querytable-body-row-hover-bgcolor: #e4e7ef;--orion-querytable-body-row-current-bgcolor: #dce8ff;--orion-card-background-color: #ffffff;--orion-card-border-color: #e4e7ed;--orion-card-font-color: #303133;--orion-card-padding: 8px}.orion-space{display:inline-flex;align-items:center;gap:var(--orion-space-gutter)}.orion-space.vertical{display:flex;flex-direction:column;align-items:center;gap:var(--orion-space-gutter)}.orion-space.vertical .orion-space-item{width:100%}.orion-flex{display:flex;outline:none}.orion-flex-row{flex-direction:row;width:100%;overflow:auto}.orion-flex-justify-start{justify-content:start}.orion-flex-column{width:100%;flex-direction:column;overflow:auto}.orion-flex>.orion-flexitem{overflow:auto;outline:none}.orion-flex>.orion-flexitem-auto{flex:0 0 auto}.orion-flex>.orion-flexitem-fixed{flex:none}.orion-flex>.orion-flexitem-fill{flex:1 1 0px}.orion-form .el-form-item{margin-bottom:var(--orion-form-validation-message-height)}.orion-form .el-form-item__error{padding-top:0}.orion-pagetbale{min-height:120px;height:100%;display:flex;flex-direction:column;gap:6px;background-color:#fff}.orion-pagetbale>.pagetable-wrapper{flex:1 1 0px;overflow:auto}.orion-pagetbale>.pagination-wrapper{flex:0 0 auto}.orion-pagetbale .el-table__cell{padding:5px 0}.orion-pagetbale .el-table--default .cell{padding:0 5px}.orion-pagetbale .el-table th.el-table__cell{background-color:var(--orion-pagetable-header-bgcolor)}.orion-pagetbale .el-table__body tr.hover-row.current-row>td.el-table__cell,.orion-pagetbale .el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.orion-pagetbale .el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.orion-pagetbale .el-table__body tr.hover-row>td.el-table__cell,.orion-pagetbale .el-table__body tr>td.hover-cell{background-color:var(--orion-pagetable-body-row-hover-bgcolor)}.orion-pagetbale .el-table__body tr.current-row>td.el-table__cell{background-color:var(--orion-pagetable-body-row-current-bgcolor)}.orion-pagetbale .cell-numbercolumn{text-align:right}.orion-pagetbale .cell-linkcolumn{color:#1296db;cursor:pointer}.orion-querytable{min-height:120px;height:100%;overflow:auto}.orion-querytable .el-table__cell{padding:5px 0}.orion-querytable .el-table--default .cell{padding:0 5px}.orion-querytable .el-table th.el-table__cell{background-color:var(--orion-querytable-header-bgcolor)}.orion-querytable .el-table__body tr.hover-row.current-row>td.el-table__cell,.orion-querytable .el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.orion-querytable .el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.orion-querytable .el-table__body tr.hover-row>td.el-table__cell,.orion-querytable .el-table__body tr>td.hover-cell{background-color:var(--orion-querytable-body-row-hover-bgcolor)}.orion-querytable .el-table__body tr.current-row>td.el-table__cell{background-color:var(--orion-querytable-body-row-current-bgcolor)}.orion-querytable .cell-numbercolumn{text-align:right}.orion-querytable .cell-linkcolumn{color:#1296db;cursor:pointer}.orion-tabs{--el-tabs-header-height: 40px;display:flex}.orion-tabs__header{align-items:center;display:flex;justify-content:space-between;margin:0;padding:0;position:relative}.orion-tabs__header-vertical{flex-direction:column}.orion-tabs__active-bar{background-color:var(--el-color-primary);bottom:0;height:2px;left:0;list-style:none;position:absolute;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);z-index:1}.orion-tabs__new-tab{align-items:center;border:1px solid var(--el-border-color);border-radius:3px;color:var(--el-text-color-primary);cursor:pointer;display:flex;font-size:12px;height:20px;justify-content:center;line-height:20px;margin:10px 0 10px 10px;text-align:center;transition:all .15s;width:20px}.orion-tabs__new-tab .is-icon-plus{height:inherit;transform:scale(.8);width:inherit}.orion-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.orion-tabs__new-tab:hover{color:var(--el-color-primary)}.orion-tabs__new-tab-vertical{margin-left:0}.orion-tabs__nav-wrap{flex:1 auto;margin-bottom:-1px;overflow:hidden;position:relative}.orion-tabs__nav-wrap:after{background-color:var(--el-border-color-light);bottom:0;content:"";height:2px;left:0;position:absolute;width:100%;z-index:var(--el-index-normal)}.orion-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.orion-tabs__nav-scroll{overflow:hidden}.orion-tabs__nav-next,.orion-tabs__nav-prev{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;line-height:44px;position:absolute;text-align:center;width:20px}.orion-tabs__nav-next{right:0}.orion-tabs__nav-prev{left:0}.orion-tabs__nav{display:flex;float:left;position:relative;transition:transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.orion-tabs__nav.is-stretch{display:flex;min-width:100%}.orion-tabs__nav.is-stretch>*{flex:1;text-align:center}.orion-tabs__item{align-items:center;box-sizing:border-box;color:var(--el-text-color-primary);display:flex;font-size:var(--el-font-size-base);font-weight:500;height:var(--el-tabs-header-height);justify-content:center;list-style:none;padding:0 20px;position:relative}.orion-tabs__item:focus,.orion-tabs__item:focus:active{outline:none}.orion-tabs__item:focus-visible{border-radius:3px;box-shadow:0 0 2px 2px var(--el-color-primary) inset}.orion-tabs__item .is-icon-close{border-radius:50%;margin-left:5px;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.orion-tabs__item .is-icon-close:before{display:inline-block;transform:scale(.9)}.orion-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.orion-tabs__item.is-active,.orion-tabs__item:hover{color:var(--el-color-primary)}.orion-tabs__item:hover{cursor:pointer}.orion-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.orion-tabs__content{flex-grow:1;overflow:hidden;position:relative}.orion-tabs--bottom>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--top>.orion-tabs__header .orion-tabs__item:nth-child(2){padding-left:0}.orion-tabs--bottom>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--top>.orion-tabs__header .orion-tabs__item:last-child{padding-right:0}.orion-tabs--bottom.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--bottom.orion-tabs--card>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--top.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--top.orion-tabs--card>.orion-tabs__header .orion-tabs__item:nth-child(2){padding-left:20px}.orion-tabs--bottom.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--bottom.orion-tabs--card>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--top.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--top.orion-tabs--card>.orion-tabs__header .orion-tabs__item:last-child{padding-right:20px}.orion-tabs--card>.orion-tabs__header{border-bottom:1px solid var(--el-border-color-light);height:var(--el-tabs-header-height)}.orion-tabs--card>.orion-tabs__header .orion-tabs__nav-wrap:after{content:none}.orion-tabs--card>.orion-tabs__header .orion-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.orion-tabs--card>.orion-tabs__header .orion-tabs__active-bar{display:none}.orion-tabs--card>.orion-tabs__header .orion-tabs__item .is-icon-close{font-size:12px;height:14px;overflow:hidden;position:relative;right:-2px;transform-origin:100% 50%;width:0}.orion-tabs--card>.orion-tabs__header .orion-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.orion-tabs--card>.orion-tabs__header .orion-tabs__item:first-child{border-left:none}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-closable:hover .is-icon-close{width:14px}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-active.is-closable .is-icon-close{width:14px}.orion-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.orion-tabs--border-card>.orion-tabs__content{padding:15px}.orion-tabs--border-card>.orion-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__nav-wrap:after{content:none}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item{border:1px solid transparent;color:var(--el-text-color-secondary);margin-top:-1px;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item+.orion-tabs__item,.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:first-child{margin-left:-1px}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item.is-active{background-color:var(--el-bg-color-overlay);border-left-color:var(--el-border-color);border-right-color:var(--el-border-color);color:var(--el-color-primary)}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.orion-tabs--border-card>.orion-tabs__header .is-scrollable .orion-tabs__item:first-child{margin-left:0}.orion-tabs--bottom{flex-direction:column}.orion-tabs--bottom .orion-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__nav-wrap.is-bottom{margin-bottom:0;margin-top:-1px}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__item.is-bottom{margin:0 -1px -1px}.orion-tabs--left,.orion-tabs--right{overflow:hidden}.orion-tabs--left .orion-tabs__header.is-left,.orion-tabs--left .orion-tabs__header.is-right,.orion-tabs--left .orion-tabs__nav-scroll,.orion-tabs--left .orion-tabs__nav-wrap.is-left,.orion-tabs--left .orion-tabs__nav-wrap.is-right,.orion-tabs--right .orion-tabs__header.is-left,.orion-tabs--right .orion-tabs__header.is-right,.orion-tabs--right .orion-tabs__nav-scroll,.orion-tabs--right .orion-tabs__nav-wrap.is-left,.orion-tabs--right .orion-tabs__nav-wrap.is-right{height:100%}.orion-tabs--left .orion-tabs__active-bar.is-left,.orion-tabs--left .orion-tabs__active-bar.is-right,.orion-tabs--right .orion-tabs__active-bar.is-left,.orion-tabs--right .orion-tabs__active-bar.is-right{bottom:auto;height:auto;top:0;width:2px}.orion-tabs--left .orion-tabs__nav-wrap.is-left,.orion-tabs--left .orion-tabs__nav-wrap.is-right,.orion-tabs--right .orion-tabs__nav-wrap.is-left,.orion-tabs--right .orion-tabs__nav-wrap.is-right{margin-bottom:0}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev{cursor:pointer;height:30px;line-height:30px;text-align:center;width:100%}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next i,.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev i,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next i,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev i,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next i,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev i,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next i,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev i{transform:rotate(90deg)}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev{left:auto;top:0}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next{bottom:0;right:auto}.orion-tabs--left .orion-tabs__nav-wrap.is-left.is-scrollable,.orion-tabs--left .orion-tabs__nav-wrap.is-right.is-scrollable,.orion-tabs--right .orion-tabs__nav-wrap.is-left.is-scrollable,.orion-tabs--right .orion-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.orion-tabs--left .orion-tabs__nav-wrap.is-left:after,.orion-tabs--left .orion-tabs__nav-wrap.is-right:after,.orion-tabs--right .orion-tabs__nav-wrap.is-left:after,.orion-tabs--right .orion-tabs__nav-wrap.is-right:after{bottom:auto;height:100%;top:0;width:2px}.orion-tabs--left .orion-tabs__nav.is-left,.orion-tabs--left .orion-tabs__nav.is-right,.orion-tabs--right .orion-tabs__nav.is-left,.orion-tabs--right .orion-tabs__nav.is-right{flex-direction:column}.orion-tabs--left .orion-tabs__item.is-left,.orion-tabs--right .orion-tabs__item.is-left{justify-content:flex-end}.orion-tabs--left .orion-tabs__item.is-right,.orion-tabs--right .orion-tabs__item.is-right{justify-content:flex-start}.orion-tabs--left{flex-direction:row-reverse}.orion-tabs--left .orion-tabs__header.is-left{margin-bottom:0;margin-right:10px}.orion-tabs--left .orion-tabs__nav-wrap.is-left{margin-right:-1px}.orion-tabs--left .orion-tabs__active-bar.is-left,.orion-tabs--left .orion-tabs__nav-wrap.is-left:after{left:auto;right:0}.orion-tabs--left .orion-tabs__item.is-left{text-align:right}.orion-tabs--left.orion-tabs--card .orion-tabs__active-bar.is-left{display:none}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left{border-bottom:none;border-left:none;border-right:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);text-align:left}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:none;border-right:1px solid #fff}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left.is-active:first-child{border-top:none}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left.is-active:last-child{border-bottom:none}.orion-tabs--left.orion-tabs--card .orion-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-radius:4px 0 0 4px;border-right:none}.orion-tabs--left.orion-tabs--card .orion-tabs__new-tab{float:none}.orion-tabs--left.orion-tabs--border-card .orion-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.orion-tabs--left.orion-tabs--border-card .orion-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.orion-tabs--left.orion-tabs--border-card .orion-tabs__item.is-left.is-active{border-color:rgb(209,219,229) transparent}.orion-tabs--right .orion-tabs__header.is-right{margin-bottom:0;margin-left:10px}.orion-tabs--right .orion-tabs__nav-wrap.is-right{margin-left:-1px}.orion-tabs--right .orion-tabs__nav-wrap.is-right:after{left:0;right:auto}.orion-tabs--right .orion-tabs__active-bar.is-right{left:0}.orion-tabs--right.orion-tabs--card .orion-tabs__active-bar.is-right{display:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:1px solid #fff;border-right:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right.is-active:first-child{border-top:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right.is-active:last-child{border-bottom:none}.orion-tabs--right.orion-tabs--card .orion-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.orion-tabs--right.orion-tabs--border-card .orion-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.orion-tabs--right.orion-tabs--border-card .orion-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.orion-tabs--right.orion-tabs--border-card .orion-tabs__item.is-right.is-active{border-color:rgb(209,219,229) transparent}.orion-tabs--top{flex-direction:column-reverse}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{animation:slideInRight-leave var(--el-transition-duration);left:0;position:absolute;right:0}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{animation:slideInLeft-leave var(--el-transition-duration);left:0;position:absolute;right:0}@keyframes slideInRight-enter{0%{opacity:0;transform:translate(100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInRight-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(100%);transform-origin:0 0}}@keyframes slideInLeft-enter{0%{opacity:0;transform:translate(-100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInLeft-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(-100%);transform-origin:0 0}}.orion-tabs{height:100%}.orion-tabs>.orion-tabs__content>.orion-tab-pane{height:100%;overflow:auto}.orion-tabs__extra-content-left,.orion-tabs__extra-content-right{flex:none}.orion-dialog{padding:0;max-height:100%;display:flex;flex-direction:column}.orion-dialog>.el-dialog__header{padding:12px 24px;border-bottom:1px solid #e4e5eb}.orion-dialog>.el-dialog__body{padding:16px 24px 24px;overflow:auto;box-sizing:border-box;flex:1}.orion-dialog.notitle>.el-dialog__header{border-bottom:none}.orion-rich-text-editor—wrapper{height:100%;display:flex;flex-direction:column;box-sizing:border-box}.orion-rich-text-editor—wrapper>.orion-rich-text-editor-container{flex:1 1 0px}
|
1
|
+
@charset "UTF-8";.orion-card[data-v-7d015909]{background-color:var(--orion-card-background-color);box-sizing:border-box;border:1px solid var(--orion-card-border-color);border-radius:4px;color:var(--orion-card-font-color);overflow:hidden;height:100%;display:flex;flex-direction:column}.orion-card .orion-card_header[data-v-7d015909]{display:flex;justify-content:space-between;align-items:center;padding:var(--orion-card-padding)}.orion-card .orion-card_header .title[data-v-7d015909]{font-size:18px;font-weight:700}.orion-card .orion-card_body[data-v-7d015909]{flex:1;padding:var(--orion-card-padding);overflow:auto}.orion-modal-locator[data-v-0fd5a1a9]{width:100%;height:100%;overflow:auto;box-sizing:border-box;position:relative}.orion-modal-locator[data-v-0fd5a1a9]>.el-overlay{position:absolute}.orion-modal-locator[data-v-0fd5a1a9]>.el-overlay>.el-overlay-dialog{position:absolute}:root{--orion-flex-gutter: 6px;--orion-space-gutter: 6px;--orion-form-validation-message-height: 14px;--orion-pagetable-header-bgcolor: #f2f2f3;--orion-pagetable-body-row-hover-bgcolor: #e4e7ef;--orion-pagetable-body-row-current-bgcolor: #dce8ff;--orion-pagetable-cell-link-color: var(--el-color-primary);--orion-querytable-header-bgcolor: #f2f2f3;--orion-querytable-body-row-hover-bgcolor: #e4e7ef;--orion-querytable-body-row-current-bgcolor: #dce8ff;--orion-querytable-cell-link-color: var(--el-color-primary);--orion-card-background-color: #ffffff;--orion-card-border-color: #e4e7ed;--orion-card-font-color: #303133;--orion-card-padding: 8px}.orion-space{display:inline-flex;align-items:center;gap:var(--orion-space-gutter)}.orion-space.vertical{display:flex;flex-direction:column;align-items:center;gap:var(--orion-space-gutter)}.orion-space.vertical .orion-space-item{width:100%}.orion-flex{display:flex;outline:none}.orion-flex-row{flex-direction:row;width:100%;overflow:auto}.orion-flex-justify-start{justify-content:start}.orion-flex-column{width:100%;flex-direction:column;overflow:auto}.orion-flex>.orion-flexitem{overflow:auto;outline:none}.orion-flex>.orion-flexitem-auto{flex:0 0 auto}.orion-flex>.orion-flexitem-fixed{flex:none}.orion-flex>.orion-flexitem-fill{flex:1 1 0px}.orion-form .el-form-item{margin-bottom:var(--orion-form-validation-message-height)}.orion-form .el-form-item__error{padding-top:0}.orion-pagetbale{min-height:120px;height:100%;display:flex;flex-direction:column;gap:6px;background-color:#fff}.orion-pagetbale>.pagetable-wrapper{flex:1 1 0px;overflow:auto}.orion-pagetbale>.pagination-wrapper{flex:0 0 auto}.orion-pagetbale .el-table__cell{padding:5px 0}.orion-pagetbale .el-table--default .cell{padding:0 5px}.orion-pagetbale .el-table th.el-table__cell{background-color:var(--orion-pagetable-header-bgcolor)}.orion-pagetbale .el-table__body tr.hover-row.current-row>td.el-table__cell,.orion-pagetbale .el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.orion-pagetbale .el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.orion-pagetbale .el-table__body tr.hover-row>td.el-table__cell,.orion-pagetbale .el-table__body tr>td.hover-cell{background-color:var(--orion-pagetable-body-row-hover-bgcolor)}.orion-pagetbale .el-table__body tr.current-row>td.el-table__cell{background-color:var(--orion-pagetable-body-row-current-bgcolor)}.orion-pagetbale .cell-numbercolumn{text-align:right}.orion-pagetbale .cell-linkcolumn{color:var(--orion-pagetable-cell-link-color);cursor:pointer}.orion-querytable{min-height:120px;height:100%;overflow:auto}.orion-querytable .el-table__cell{padding:5px 0}.orion-querytable .el-table--default .cell{padding:0 5px}.orion-querytable .el-table th.el-table__cell{background-color:var(--orion-querytable-header-bgcolor)}.orion-querytable .el-table__body tr.hover-row.current-row>td.el-table__cell,.orion-querytable .el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.orion-querytable .el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.orion-querytable .el-table__body tr.hover-row>td.el-table__cell,.orion-querytable .el-table__body tr>td.hover-cell{background-color:var(--orion-querytable-body-row-hover-bgcolor)}.orion-querytable .el-table__body tr.current-row>td.el-table__cell{background-color:var(--orion-querytable-body-row-current-bgcolor)}.orion-querytable .cell-numbercolumn{text-align:right}.orion-querytable .cell-linkcolumn{color:var(--orion-querytable-cell-link-color);cursor:pointer}.orion-tabs{--el-tabs-header-height: 40px;display:flex}.orion-tabs__header{align-items:center;display:flex;justify-content:space-between;margin:0;padding:0;position:relative}.orion-tabs__header-vertical{flex-direction:column}.orion-tabs__active-bar{background-color:var(--el-color-primary);bottom:0;height:2px;left:0;list-style:none;position:absolute;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);z-index:1}.orion-tabs__new-tab{align-items:center;border:1px solid var(--el-border-color);border-radius:3px;color:var(--el-text-color-primary);cursor:pointer;display:flex;font-size:12px;height:20px;justify-content:center;line-height:20px;margin:10px 0 10px 10px;text-align:center;transition:all .15s;width:20px}.orion-tabs__new-tab .is-icon-plus{height:inherit;transform:scale(.8);width:inherit}.orion-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.orion-tabs__new-tab:hover{color:var(--el-color-primary)}.orion-tabs__new-tab-vertical{margin-left:0}.orion-tabs__nav-wrap{flex:1 auto;margin-bottom:-1px;overflow:hidden;position:relative}.orion-tabs__nav-wrap:after{background-color:var(--el-border-color-light);bottom:0;content:"";height:2px;left:0;position:absolute;width:100%;z-index:var(--el-index-normal)}.orion-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.orion-tabs__nav-scroll{overflow:hidden}.orion-tabs__nav-next,.orion-tabs__nav-prev{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;line-height:44px;position:absolute;text-align:center;width:20px}.orion-tabs__nav-next{right:0}.orion-tabs__nav-prev{left:0}.orion-tabs__nav{display:flex;float:left;position:relative;transition:transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.orion-tabs__nav.is-stretch{display:flex;min-width:100%}.orion-tabs__nav.is-stretch>*{flex:1;text-align:center}.orion-tabs__item{align-items:center;box-sizing:border-box;color:var(--el-text-color-primary);display:flex;font-size:var(--el-font-size-base);font-weight:500;height:var(--el-tabs-header-height);justify-content:center;list-style:none;padding:0 20px;position:relative}.orion-tabs__item:focus,.orion-tabs__item:focus:active{outline:none}.orion-tabs__item:focus-visible{border-radius:3px;box-shadow:0 0 2px 2px var(--el-color-primary) inset}.orion-tabs__item .is-icon-close{border-radius:50%;margin-left:5px;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.orion-tabs__item .is-icon-close:before{display:inline-block;transform:scale(.9)}.orion-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.orion-tabs__item.is-active,.orion-tabs__item:hover{color:var(--el-color-primary)}.orion-tabs__item:hover{cursor:pointer}.orion-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.orion-tabs__content{flex-grow:1;overflow:hidden;position:relative}.orion-tabs--bottom>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--top>.orion-tabs__header .orion-tabs__item:nth-child(2){padding-left:0}.orion-tabs--bottom>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--top>.orion-tabs__header .orion-tabs__item:last-child{padding-right:0}.orion-tabs--bottom.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--bottom.orion-tabs--card>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--top.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--top.orion-tabs--card>.orion-tabs__header .orion-tabs__item:nth-child(2){padding-left:20px}.orion-tabs--bottom.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--bottom.orion-tabs--card>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--top.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--top.orion-tabs--card>.orion-tabs__header .orion-tabs__item:last-child{padding-right:20px}.orion-tabs--card>.orion-tabs__header{border-bottom:1px solid var(--el-border-color-light);height:var(--el-tabs-header-height)}.orion-tabs--card>.orion-tabs__header .orion-tabs__nav-wrap:after{content:none}.orion-tabs--card>.orion-tabs__header .orion-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.orion-tabs--card>.orion-tabs__header .orion-tabs__active-bar{display:none}.orion-tabs--card>.orion-tabs__header .orion-tabs__item .is-icon-close{font-size:12px;height:14px;overflow:hidden;position:relative;right:-2px;transform-origin:100% 50%;width:0}.orion-tabs--card>.orion-tabs__header .orion-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.orion-tabs--card>.orion-tabs__header .orion-tabs__item:first-child{border-left:none}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-closable:hover .is-icon-close{width:14px}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-active.is-closable .is-icon-close{width:14px}.orion-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.orion-tabs--border-card>.orion-tabs__content{padding:15px}.orion-tabs--border-card>.orion-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__nav-wrap:after{content:none}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item{border:1px solid transparent;color:var(--el-text-color-secondary);margin-top:-1px;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item+.orion-tabs__item,.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:first-child{margin-left:-1px}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item.is-active{background-color:var(--el-bg-color-overlay);border-left-color:var(--el-border-color);border-right-color:var(--el-border-color);color:var(--el-color-primary)}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.orion-tabs--border-card>.orion-tabs__header .is-scrollable .orion-tabs__item:first-child{margin-left:0}.orion-tabs--bottom{flex-direction:column}.orion-tabs--bottom .orion-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__nav-wrap.is-bottom{margin-bottom:0;margin-top:-1px}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__item.is-bottom{margin:0 -1px -1px}.orion-tabs--left,.orion-tabs--right{overflow:hidden}.orion-tabs--left .orion-tabs__header.is-left,.orion-tabs--left .orion-tabs__header.is-right,.orion-tabs--left .orion-tabs__nav-scroll,.orion-tabs--left .orion-tabs__nav-wrap.is-left,.orion-tabs--left .orion-tabs__nav-wrap.is-right,.orion-tabs--right .orion-tabs__header.is-left,.orion-tabs--right .orion-tabs__header.is-right,.orion-tabs--right .orion-tabs__nav-scroll,.orion-tabs--right .orion-tabs__nav-wrap.is-left,.orion-tabs--right .orion-tabs__nav-wrap.is-right{height:100%}.orion-tabs--left .orion-tabs__active-bar.is-left,.orion-tabs--left .orion-tabs__active-bar.is-right,.orion-tabs--right .orion-tabs__active-bar.is-left,.orion-tabs--right .orion-tabs__active-bar.is-right{bottom:auto;height:auto;top:0;width:2px}.orion-tabs--left .orion-tabs__nav-wrap.is-left,.orion-tabs--left .orion-tabs__nav-wrap.is-right,.orion-tabs--right .orion-tabs__nav-wrap.is-left,.orion-tabs--right .orion-tabs__nav-wrap.is-right{margin-bottom:0}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev{cursor:pointer;height:30px;line-height:30px;text-align:center;width:100%}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next i,.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev i,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next i,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev i,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next i,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev i,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next i,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev i{transform:rotate(90deg)}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev{left:auto;top:0}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next{bottom:0;right:auto}.orion-tabs--left .orion-tabs__nav-wrap.is-left.is-scrollable,.orion-tabs--left .orion-tabs__nav-wrap.is-right.is-scrollable,.orion-tabs--right .orion-tabs__nav-wrap.is-left.is-scrollable,.orion-tabs--right .orion-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.orion-tabs--left .orion-tabs__nav-wrap.is-left:after,.orion-tabs--left .orion-tabs__nav-wrap.is-right:after,.orion-tabs--right .orion-tabs__nav-wrap.is-left:after,.orion-tabs--right .orion-tabs__nav-wrap.is-right:after{bottom:auto;height:100%;top:0;width:2px}.orion-tabs--left .orion-tabs__nav.is-left,.orion-tabs--left .orion-tabs__nav.is-right,.orion-tabs--right .orion-tabs__nav.is-left,.orion-tabs--right .orion-tabs__nav.is-right{flex-direction:column}.orion-tabs--left .orion-tabs__item.is-left,.orion-tabs--right .orion-tabs__item.is-left{justify-content:flex-end}.orion-tabs--left .orion-tabs__item.is-right,.orion-tabs--right .orion-tabs__item.is-right{justify-content:flex-start}.orion-tabs--left{flex-direction:row-reverse}.orion-tabs--left .orion-tabs__header.is-left{margin-bottom:0;margin-right:10px}.orion-tabs--left .orion-tabs__nav-wrap.is-left{margin-right:-1px}.orion-tabs--left .orion-tabs__active-bar.is-left,.orion-tabs--left .orion-tabs__nav-wrap.is-left:after{left:auto;right:0}.orion-tabs--left .orion-tabs__item.is-left{text-align:right}.orion-tabs--left.orion-tabs--card .orion-tabs__active-bar.is-left{display:none}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left{border-bottom:none;border-left:none;border-right:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);text-align:left}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:none;border-right:1px solid #fff}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left.is-active:first-child{border-top:none}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left.is-active:last-child{border-bottom:none}.orion-tabs--left.orion-tabs--card .orion-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-radius:4px 0 0 4px;border-right:none}.orion-tabs--left.orion-tabs--card .orion-tabs__new-tab{float:none}.orion-tabs--left.orion-tabs--border-card .orion-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.orion-tabs--left.orion-tabs--border-card .orion-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.orion-tabs--left.orion-tabs--border-card .orion-tabs__item.is-left.is-active{border-color:rgb(209,219,229) transparent}.orion-tabs--right .orion-tabs__header.is-right{margin-bottom:0;margin-left:10px}.orion-tabs--right .orion-tabs__nav-wrap.is-right{margin-left:-1px}.orion-tabs--right .orion-tabs__nav-wrap.is-right:after{left:0;right:auto}.orion-tabs--right .orion-tabs__active-bar.is-right{left:0}.orion-tabs--right.orion-tabs--card .orion-tabs__active-bar.is-right{display:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:1px solid #fff;border-right:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right.is-active:first-child{border-top:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right.is-active:last-child{border-bottom:none}.orion-tabs--right.orion-tabs--card .orion-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.orion-tabs--right.orion-tabs--border-card .orion-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.orion-tabs--right.orion-tabs--border-card .orion-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.orion-tabs--right.orion-tabs--border-card .orion-tabs__item.is-right.is-active{border-color:rgb(209,219,229) transparent}.orion-tabs--top{flex-direction:column-reverse}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{animation:slideInRight-leave var(--el-transition-duration);left:0;position:absolute;right:0}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{animation:slideInLeft-leave var(--el-transition-duration);left:0;position:absolute;right:0}@keyframes slideInRight-enter{0%{opacity:0;transform:translate(100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInRight-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(100%);transform-origin:0 0}}@keyframes slideInLeft-enter{0%{opacity:0;transform:translate(-100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInLeft-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(-100%);transform-origin:0 0}}.orion-tabs{height:100%}.orion-tabs>.orion-tabs__content>.orion-tab-pane{height:100%;overflow:auto}.orion-tabs__extra-content-left,.orion-tabs__extra-content-right{flex:none}.orion-dialog{padding:0;max-height:100%;display:flex;flex-direction:column}.orion-dialog>.el-dialog__header{padding:12px 24px;border-bottom:1px solid #e4e5eb}.orion-dialog>.el-dialog__body{padding:16px 24px 24px;overflow:auto;box-sizing:border-box;flex:1}.orion-dialog.notitle>.el-dialog__header{border-bottom:none}.orion-rich-text-editor—wrapper{height:100%;display:flex;flex-direction:column;box-sizing:border-box}.orion-rich-text-editor—wrapper>.orion-rich-text-editor-container{flex:1 1 0px}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: "0.1.
|
1
|
+
declare const _default: "0.1.42";
|
2
2
|
export default _default;
|
package/dist/version/version.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.
|
1
|
+
{"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.42';"],"names":["version"],"mappings":"AAAA,MAAAA,IAAe;"}
|