完全跑通1.0版本
This commit is contained in:
12
frontend/node_modules/element-plus/lib/components/descriptions/index.d.ts
generated
vendored
Normal file
12
frontend/node_modules/element-plus/lib/components/descriptions/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { SFCWithInstall } from "../../utils/vue/typescript.js";
|
||||
import { DescriptionInstance, DescriptionProps, DescriptionPropsPublic, descriptionProps } from "./src/description.js";
|
||||
import _default from "./src/description.vue.js";
|
||||
import DescriptionItem, { DescriptionItemProps, DescriptionItemPropsPublic, DescriptionItemVNode, descriptionItemProps } from "./src/description-item.js";
|
||||
|
||||
//#region ../../packages/components/descriptions/index.d.ts
|
||||
declare const ElDescriptions: SFCWithInstall<typeof _default> & {
|
||||
DescriptionsItem: typeof DescriptionItem;
|
||||
};
|
||||
declare const ElDescriptionsItem: SFCWithInstall<typeof DescriptionItem>;
|
||||
//#endregion
|
||||
export { DescriptionInstance, DescriptionItemProps, DescriptionItemPropsPublic, DescriptionItemVNode, DescriptionProps, DescriptionPropsPublic, ElDescriptions, ElDescriptions as default, ElDescriptionsItem, descriptionItemProps, descriptionProps };
|
||||
19
frontend/node_modules/element-plus/lib/components/descriptions/index.js
generated
vendored
Normal file
19
frontend/node_modules/element-plus/lib/components/descriptions/index.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
Object.defineProperties(exports, {
|
||||
__esModule: { value: true },
|
||||
[Symbol.toStringTag]: { value: "Module" }
|
||||
});
|
||||
const require_install = require("../../utils/vue/install.js");
|
||||
const require_description = require("./src/description.js");
|
||||
const require_description$1 = require("./src/description2.js");
|
||||
const require_description_item = require("./src/description-item.js");
|
||||
//#region ../../packages/components/descriptions/index.ts
|
||||
const ElDescriptions = require_install.withInstall(require_description$1.default, { DescriptionsItem: require_description_item.default });
|
||||
const ElDescriptionsItem = require_install.withNoopInstall(require_description_item.default);
|
||||
//#endregion
|
||||
exports.ElDescriptions = ElDescriptions;
|
||||
exports.default = ElDescriptions;
|
||||
exports.ElDescriptionsItem = ElDescriptionsItem;
|
||||
exports.descriptionItemProps = require_description_item.descriptionItemProps;
|
||||
exports.descriptionProps = require_description.descriptionProps;
|
||||
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/descriptions/index.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/descriptions/index.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","names":["withInstall","Descriptions","withNoopInstall","DescriptionsItem"],"sources":["../../../../../packages/components/descriptions/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from '@element-plus/utils'\nimport Descriptions from './src/description.vue'\nimport DescriptionsItem from './src/description-item'\n\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nexport const ElDescriptions: SFCWithInstall<typeof Descriptions> & {\n DescriptionsItem: typeof DescriptionsItem\n} = withInstall(Descriptions, {\n DescriptionsItem,\n})\n\nexport const ElDescriptionsItem: SFCWithInstall<typeof DescriptionsItem> =\n withNoopInstall(DescriptionsItem)\n\nexport default ElDescriptions\n\nexport * from './src/description'\nexport * from './src/description-item'\n"],"mappings":";;;;;;;;;AAMA,MAAa,iBAETA,gBAAAA,YAAYC,sBAAAA,SAAc,EAC5B,kBAAA,yBAAA,SACD,CAAC;AAEF,MAAa,qBACXC,gBAAAA,gBAAgBC,yBAAAA,QAAiB"}
|
||||
4
frontend/node_modules/element-plus/lib/components/descriptions/src/constants.d.ts
generated
vendored
Normal file
4
frontend/node_modules/element-plus/lib/components/descriptions/src/constants.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
//#region ../../packages/components/descriptions/src/constants.d.ts
|
||||
declare const COMPONENT_NAME = "ElDescriptionsItem";
|
||||
//#endregion
|
||||
export { COMPONENT_NAME };
|
||||
7
frontend/node_modules/element-plus/lib/components/descriptions/src/constants.js
generated
vendored
Normal file
7
frontend/node_modules/element-plus/lib/components/descriptions/src/constants.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
//#region ../../packages/components/descriptions/src/constants.ts
|
||||
const COMPONENT_NAME = "ElDescriptionsItem";
|
||||
//#endregion
|
||||
exports.COMPONENT_NAME = COMPONENT_NAME;
|
||||
|
||||
//# sourceMappingURL=constants.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/descriptions/src/constants.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/descriptions/src/constants.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"constants.js","names":[],"sources":["../../../../../../packages/components/descriptions/src/constants.ts"],"sourcesContent":["export const COMPONENT_NAME = 'ElDescriptionsItem'\n"],"mappings":";;AAAA,MAAa,iBAAiB"}
|
||||
89
frontend/node_modules/element-plus/lib/components/descriptions/src/description-item.d.ts
generated
vendored
Normal file
89
frontend/node_modules/element-plus/lib/components/descriptions/src/description-item.d.ts
generated
vendored
Normal file
@@ -0,0 +1,89 @@
|
||||
import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js";
|
||||
import * as _$vue from "vue";
|
||||
import { ExtractPropTypes, ExtractPublicPropTypes, Slot, VNode } from "vue";
|
||||
|
||||
//#region ../../packages/components/descriptions/src/description-item.d.ts
|
||||
declare const descriptionItemProps: {
|
||||
label: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
||||
span: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
||||
rowspan: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
||||
width: EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, string, boolean>;
|
||||
minWidth: EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, string, boolean>;
|
||||
labelWidth: {
|
||||
readonly type: _$vue.PropType<EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>>;
|
||||
readonly required: false;
|
||||
readonly validator: ((val: unknown) => boolean) | undefined;
|
||||
__epPropKey: true;
|
||||
};
|
||||
align: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, string, boolean>;
|
||||
labelAlign: {
|
||||
readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>>;
|
||||
readonly required: false;
|
||||
readonly validator: ((val: unknown) => boolean) | undefined;
|
||||
__epPropKey: true;
|
||||
};
|
||||
className: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
||||
labelClassName: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
||||
};
|
||||
declare const DescriptionItem: _$vue.DefineComponent<ExtractPropTypes<{
|
||||
label: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
||||
span: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
||||
rowspan: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
||||
width: EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, string, boolean>;
|
||||
minWidth: EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, string, boolean>;
|
||||
labelWidth: {
|
||||
readonly type: _$vue.PropType<EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>>;
|
||||
readonly required: false;
|
||||
readonly validator: ((val: unknown) => boolean) | undefined;
|
||||
__epPropKey: true;
|
||||
};
|
||||
align: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, string, boolean>;
|
||||
labelAlign: {
|
||||
readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>>;
|
||||
readonly required: false;
|
||||
readonly validator: ((val: unknown) => boolean) | undefined;
|
||||
__epPropKey: true;
|
||||
};
|
||||
className: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
||||
labelClassName: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
||||
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ExtractPropTypes<{
|
||||
label: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
||||
span: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
||||
rowspan: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
||||
width: EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, string, boolean>;
|
||||
minWidth: EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, string, boolean>;
|
||||
labelWidth: {
|
||||
readonly type: _$vue.PropType<EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>>;
|
||||
readonly required: false;
|
||||
readonly validator: ((val: unknown) => boolean) | undefined;
|
||||
__epPropKey: true;
|
||||
};
|
||||
align: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, string, boolean>;
|
||||
labelAlign: {
|
||||
readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>>;
|
||||
readonly required: false;
|
||||
readonly validator: ((val: unknown) => boolean) | undefined;
|
||||
__epPropKey: true;
|
||||
};
|
||||
className: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
||||
labelClassName: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
||||
}>> & Readonly<{}>, {
|
||||
label: string;
|
||||
className: string;
|
||||
minWidth: EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>;
|
||||
width: EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>;
|
||||
span: number;
|
||||
align: EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
|
||||
rowspan: number;
|
||||
labelClassName: string;
|
||||
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
||||
type DescriptionItemProps = ExtractPropTypes<typeof descriptionItemProps>;
|
||||
type DescriptionItemPropsPublic = ExtractPublicPropTypes<typeof descriptionItemProps>;
|
||||
type DescriptionItemVNode = VNode & {
|
||||
children: {
|
||||
[name: string]: Slot;
|
||||
} | null;
|
||||
props: Partial<DescriptionItemProps> | null;
|
||||
};
|
||||
//#endregion
|
||||
export { DescriptionItemProps, DescriptionItemPropsPublic, DescriptionItemVNode, DescriptionItem as default, descriptionItemProps };
|
||||
89
frontend/node_modules/element-plus/lib/components/descriptions/src/description-item.js
generated
vendored
Normal file
89
frontend/node_modules/element-plus/lib/components/descriptions/src/description-item.js
generated
vendored
Normal file
@@ -0,0 +1,89 @@
|
||||
Object.defineProperties(exports, {
|
||||
__esModule: { value: true },
|
||||
[Symbol.toStringTag]: { value: "Module" }
|
||||
});
|
||||
require("../../../_virtual/_rolldown/runtime.js");
|
||||
const require_column_alignment = require("../../../constants/column-alignment.js");
|
||||
const require_runtime$1 = require("../../../utils/vue/props/runtime.js");
|
||||
const require_constants = require("./constants.js");
|
||||
let vue = require("vue");
|
||||
//#region ../../packages/components/descriptions/src/description-item.ts
|
||||
const descriptionItemProps = require_runtime$1.buildProps({
|
||||
/**
|
||||
* @description label text
|
||||
*/
|
||||
label: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
/**
|
||||
* @description colspan of column
|
||||
*/
|
||||
span: {
|
||||
type: Number,
|
||||
default: 1
|
||||
},
|
||||
/**
|
||||
* @description the number of rows a cell should span
|
||||
*/
|
||||
rowspan: {
|
||||
type: Number,
|
||||
default: 1
|
||||
},
|
||||
/**
|
||||
* @description column width, the width of the same column in different rows is set by the max value (If no `border`, width contains label and content)
|
||||
*/
|
||||
width: {
|
||||
type: [String, Number],
|
||||
default: ""
|
||||
},
|
||||
/**
|
||||
* @description column minimum width, columns with `width` has a fixed width, while columns with `min-width` has a width that is distributed in proportion (If no`border`, width contains label and content)
|
||||
*/
|
||||
minWidth: {
|
||||
type: [String, Number],
|
||||
default: ""
|
||||
},
|
||||
/**
|
||||
* @description column label width, if not set, it will be the same as the width of the column. Higher priority than the `label-width` of `Descriptions`
|
||||
*/
|
||||
labelWidth: { type: [String, Number] },
|
||||
/**
|
||||
* @description column content alignment (If no `border`, effective for both label and content)
|
||||
*/
|
||||
align: {
|
||||
type: String,
|
||||
values: require_column_alignment.columnAlignment,
|
||||
default: "left"
|
||||
},
|
||||
/**
|
||||
* @description column label alignment, if omitted, the value of the above `align` attribute will be applied (If no `border`, please use `align` attribute)
|
||||
*/
|
||||
labelAlign: {
|
||||
type: String,
|
||||
values: require_column_alignment.columnAlignment
|
||||
},
|
||||
/**
|
||||
* @description column content custom class name
|
||||
*/
|
||||
className: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
/**
|
||||
* @description column label custom class name
|
||||
*/
|
||||
labelClassName: {
|
||||
type: String,
|
||||
default: ""
|
||||
}
|
||||
});
|
||||
const DescriptionItem = (0, vue.defineComponent)({
|
||||
name: require_constants.COMPONENT_NAME,
|
||||
props: descriptionItemProps
|
||||
});
|
||||
//#endregion
|
||||
exports.default = DescriptionItem;
|
||||
exports.descriptionItemProps = descriptionItemProps;
|
||||
|
||||
//# sourceMappingURL=description-item.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/descriptions/src/description-item.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/descriptions/src/description-item.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"description-item.js","names":["buildProps","columnAlignment","COMPONENT_NAME"],"sources":["../../../../../../packages/components/descriptions/src/description-item.ts"],"sourcesContent":["import { defineComponent } from 'vue'\nimport { columnAlignment } from '@element-plus/constants'\nimport { buildProps } from '@element-plus/utils'\nimport { COMPONENT_NAME } from './constants'\n\nimport type { ExtractPropTypes, ExtractPublicPropTypes, Slot, VNode } from 'vue'\n\nexport const descriptionItemProps = buildProps({\n /**\n * @description label text\n */\n label: {\n type: String,\n default: '',\n },\n /**\n * @description colspan of column\n */\n span: {\n type: Number,\n default: 1,\n },\n /**\n * @description the number of rows a cell should span\n */\n rowspan: {\n type: Number,\n default: 1,\n },\n /**\n * @description column width, the width of the same column in different rows is set by the max value (If no `border`, width contains label and content)\n */\n width: {\n type: [String, Number],\n default: '',\n },\n /**\n * @description column minimum width, columns with `width` has a fixed width, while columns with `min-width` has a width that is distributed in proportion (If no`border`, width contains label and content)\n */\n minWidth: {\n type: [String, Number],\n default: '',\n },\n /**\n * @description column label width, if not set, it will be the same as the width of the column. Higher priority than the `label-width` of `Descriptions`\n */\n labelWidth: {\n type: [String, Number],\n },\n /**\n * @description column content alignment (If no `border`, effective for both label and content)\n */\n align: {\n type: String,\n values: columnAlignment,\n default: 'left',\n },\n /**\n * @description column label alignment, if omitted, the value of the above `align` attribute will be applied (If no `border`, please use `align` attribute)\n */\n labelAlign: {\n type: String,\n values: columnAlignment,\n },\n /**\n * @description column content custom class name\n */\n className: {\n type: String,\n default: '',\n },\n /**\n * @description column label custom class name\n */\n labelClassName: {\n type: String,\n default: '',\n },\n})\n\nconst DescriptionItem = defineComponent({\n name: COMPONENT_NAME,\n props: descriptionItemProps,\n})\n\nexport default DescriptionItem\n\nexport type DescriptionItemProps = ExtractPropTypes<typeof descriptionItemProps>\nexport type DescriptionItemPropsPublic = ExtractPublicPropTypes<\n typeof descriptionItemProps\n>\nexport type DescriptionItemVNode = VNode & {\n children: { [name: string]: Slot } | null\n props: Partial<DescriptionItemProps> | null\n}\n"],"mappings":";;;;;;;;;;AAOA,MAAa,uBAAuBA,kBAAAA,WAAW;;;;CAI7C,OAAO;EACL,MAAM;EACN,SAAS;EACV;;;;CAID,MAAM;EACJ,MAAM;EACN,SAAS;EACV;;;;CAID,SAAS;EACP,MAAM;EACN,SAAS;EACV;;;;CAID,OAAO;EACL,MAAM,CAAC,QAAQ,OAAO;EACtB,SAAS;EACV;;;;CAID,UAAU;EACR,MAAM,CAAC,QAAQ,OAAO;EACtB,SAAS;EACV;;;;CAID,YAAY,EACV,MAAM,CAAC,QAAQ,OAAO,EACvB;;;;CAID,OAAO;EACL,MAAM;EACN,QAAQC,yBAAAA;EACR,SAAS;EACV;;;;CAID,YAAY;EACV,MAAM;EACN,QAAQA,yBAAAA;EACT;;;;CAID,WAAW;EACT,MAAM;EACN,SAAS;EACV;;;;CAID,gBAAgB;EACd,MAAM;EACN,SAAS;EACV;CACF,CAAC;AAEF,MAAM,mBAAA,GAAA,IAAA,iBAAkC;CACtC,MAAMC,kBAAAA;CACN,OAAO;CACR,CAAC"}
|
||||
72
frontend/node_modules/element-plus/lib/components/descriptions/src/description.d.ts
generated
vendored
Normal file
72
frontend/node_modules/element-plus/lib/components/descriptions/src/description.d.ts
generated
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js";
|
||||
import { ComponentSize } from "../../../constants/size.js";
|
||||
import _default from "./description.vue.js";
|
||||
import * as _$vue from "vue";
|
||||
import { ExtractPublicPropTypes } from "vue";
|
||||
|
||||
//#region ../../packages/components/descriptions/src/description.d.ts
|
||||
interface DescriptionProps {
|
||||
/**
|
||||
* @description with or without border
|
||||
* @default false
|
||||
*/
|
||||
border?: boolean;
|
||||
/**
|
||||
* @description numbers of `Descriptions Item` in one line
|
||||
* @default 3
|
||||
*/
|
||||
column?: number;
|
||||
/**
|
||||
* @description direction of list
|
||||
* @default 'horizontal'
|
||||
*/
|
||||
direction?: 'horizontal' | 'vertical';
|
||||
/**
|
||||
* @description size of list
|
||||
* @default ''
|
||||
*/
|
||||
size?: ComponentSize;
|
||||
/**
|
||||
* @description title text, display on the top left
|
||||
* @default ''
|
||||
*/
|
||||
title?: string;
|
||||
/**
|
||||
* @description extra text, display on the top right
|
||||
* @default ''
|
||||
*/
|
||||
extra?: string;
|
||||
/**
|
||||
* @description width of every label column
|
||||
*/
|
||||
labelWidth?: string | number;
|
||||
}
|
||||
/**
|
||||
* @deprecated Removed after 3.0.0, Use `DescriptionProps` instead.
|
||||
*/
|
||||
declare const descriptionProps: {
|
||||
readonly border: BooleanConstructor;
|
||||
readonly column: EpPropFinalized<NumberConstructor, unknown, unknown, 3, boolean>;
|
||||
readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
||||
readonly size: {
|
||||
readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
||||
readonly required: false;
|
||||
readonly validator: ((val: unknown) => boolean) | undefined;
|
||||
__epPropKey: true;
|
||||
};
|
||||
readonly title: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
||||
readonly extra: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
||||
readonly labelWidth: {
|
||||
readonly type: _$vue.PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
||||
readonly required: false;
|
||||
readonly validator: ((val: unknown) => boolean) | undefined;
|
||||
__epPropKey: true;
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @deprecated Removed after 3.0.0, Use `DescriptionProps` instead.
|
||||
*/
|
||||
type DescriptionPropsPublic = ExtractPublicPropTypes<typeof descriptionProps>;
|
||||
type DescriptionInstance = InstanceType<typeof _default> & unknown;
|
||||
//#endregion
|
||||
export { DescriptionInstance, DescriptionProps, DescriptionPropsPublic, descriptionProps };
|
||||
54
frontend/node_modules/element-plus/lib/components/descriptions/src/description.js
generated
vendored
Normal file
54
frontend/node_modules/element-plus/lib/components/descriptions/src/description.js
generated
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const require_runtime = require("../../../utils/vue/props/runtime.js");
|
||||
const require_index = require("../../../hooks/use-size/index.js");
|
||||
//#region ../../packages/components/descriptions/src/description.ts
|
||||
/**
|
||||
* @deprecated Removed after 3.0.0, Use `DescriptionProps` instead.
|
||||
*/
|
||||
const descriptionProps = require_runtime.buildProps({
|
||||
/**
|
||||
* @description with or without border
|
||||
*/
|
||||
border: Boolean,
|
||||
/**
|
||||
* @description numbers of `Descriptions Item` in one line
|
||||
*/
|
||||
column: {
|
||||
type: Number,
|
||||
default: 3
|
||||
},
|
||||
/**
|
||||
* @description direction of list
|
||||
*/
|
||||
direction: {
|
||||
type: String,
|
||||
values: ["horizontal", "vertical"],
|
||||
default: "horizontal"
|
||||
},
|
||||
/**
|
||||
* @description size of list
|
||||
*/
|
||||
size: require_index.useSizeProp,
|
||||
/**
|
||||
* @description title text, display on the top left
|
||||
*/
|
||||
title: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
/**
|
||||
* @description extra text, display on the top right
|
||||
*/
|
||||
extra: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
/**
|
||||
* @description width of every label column
|
||||
*/
|
||||
labelWidth: { type: [String, Number] }
|
||||
});
|
||||
//#endregion
|
||||
exports.descriptionProps = descriptionProps;
|
||||
|
||||
//# sourceMappingURL=description.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/descriptions/src/description.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/descriptions/src/description.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"description.js","names":["buildProps","useSizeProp"],"sources":["../../../../../../packages/components/descriptions/src/description.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport { useSizeProp } from '@element-plus/hooks'\n\nimport type { ExtractPublicPropTypes } from 'vue'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type Description from './description.vue'\n\nexport interface DescriptionProps {\n /**\n * @description with or without border\n * @default false\n */\n border?: boolean\n /**\n * @description numbers of `Descriptions Item` in one line\n * @default 3\n */\n column?: number\n /**\n * @description direction of list\n * @default 'horizontal'\n */\n direction?: 'horizontal' | 'vertical'\n /**\n * @description size of list\n * @default ''\n */\n size?: ComponentSize\n /**\n * @description title text, display on the top left\n * @default ''\n */\n title?: string\n /**\n * @description extra text, display on the top right\n * @default ''\n */\n extra?: string\n /**\n * @description width of every label column\n */\n labelWidth?: string | number\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `DescriptionProps` instead.\n */\nexport const descriptionProps = buildProps({\n /**\n * @description with or without border\n */\n border: Boolean,\n /**\n * @description numbers of `Descriptions Item` in one line\n */\n column: {\n type: Number,\n default: 3,\n },\n /**\n * @description direction of list\n */\n direction: {\n type: String,\n values: ['horizontal', 'vertical'],\n default: 'horizontal',\n },\n /**\n * @description size of list\n */\n size: useSizeProp,\n /**\n * @description title text, display on the top left\n */\n title: {\n type: String,\n default: '',\n },\n /**\n * @description extra text, display on the top right\n */\n extra: {\n type: String,\n default: '',\n },\n /**\n * @description width of every label column\n */\n labelWidth: {\n type: [String, Number],\n },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `DescriptionProps` instead.\n */\nexport type DescriptionPropsPublic = ExtractPublicPropTypes<\n typeof descriptionProps\n>\nexport type DescriptionInstance = InstanceType<typeof Description> & unknown\n"],"mappings":";;;;;;;AA+CA,MAAa,mBAAmBA,gBAAAA,WAAW;;;;CAIzC,QAAQ;;;;CAIR,QAAQ;EACN,MAAM;EACN,SAAS;EACV;;;;CAID,WAAW;EACT,MAAM;EACN,QAAQ,CAAC,cAAc,WAAW;EAClC,SAAS;EACV;;;;CAID,MAAMC,cAAAA;;;;CAIN,OAAO;EACL,MAAM;EACN,SAAS;EACV;;;;CAID,OAAO;EACL,MAAM;EACN,SAAS;EACV;;;;CAID,YAAY,EACV,MAAM,CAAC,QAAQ,OAAO,EACvB;CACF,CAAU"}
|
||||
25
frontend/node_modules/element-plus/lib/components/descriptions/src/description.vue.d.ts
generated
vendored
Normal file
25
frontend/node_modules/element-plus/lib/components/descriptions/src/description.vue.d.ts
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
import { DescriptionProps } from "./description.js";
|
||||
import * as _$vue from "vue";
|
||||
|
||||
//#region ../../packages/components/descriptions/src/description.vue.d.ts
|
||||
declare var __VLS_1: {}, __VLS_3: {};
|
||||
type __VLS_Slots = {} & {
|
||||
title?: (props: typeof __VLS_1) => any;
|
||||
} & {
|
||||
extra?: (props: typeof __VLS_3) => any;
|
||||
};
|
||||
declare const __VLS_base: _$vue.DefineComponent<DescriptionProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<DescriptionProps> & Readonly<{}>, {
|
||||
title: string;
|
||||
direction: "horizontal" | "vertical";
|
||||
column: number;
|
||||
extra: string;
|
||||
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
||||
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
||||
declare const _default: typeof __VLS_export;
|
||||
type __VLS_WithSlots<T, S> = T & {
|
||||
new (): {
|
||||
$slots: S;
|
||||
};
|
||||
};
|
||||
//#endregion
|
||||
export { _default as default };
|
||||
85
frontend/node_modules/element-plus/lib/components/descriptions/src/description.vue_vue_type_script_setup_true_lang.js
generated
vendored
Normal file
85
frontend/node_modules/element-plus/lib/components/descriptions/src/description.vue_vue_type_script_setup_true_lang.js
generated
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
require("../../../_virtual/_rolldown/runtime.js");
|
||||
const require_vnode = require("../../../utils/vue/vnode.js");
|
||||
const require_index = require("../../../hooks/use-namespace/index.js");
|
||||
const require_use_form_common_props = require("../../form/src/hooks/use-form-common-props.js");
|
||||
const require_description = require("./description.js");
|
||||
const require_token = require("./token.js");
|
||||
const require_descriptions_row = require("./descriptions-row2.js");
|
||||
const require_constants = require("./constants.js");
|
||||
let vue = require("vue");
|
||||
//#region ../../packages/components/descriptions/src/description.vue?vue&type=script&setup=true&lang.ts
|
||||
var description_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
||||
name: "ElDescriptions",
|
||||
__name: "description",
|
||||
props: require_description.descriptionProps,
|
||||
setup(__props) {
|
||||
const props = __props;
|
||||
const ns = require_index.useNamespace("descriptions");
|
||||
const descriptionsSize = require_use_form_common_props.useFormSize();
|
||||
const slots = (0, vue.useSlots)();
|
||||
(0, vue.provide)(require_token.descriptionsKey, props);
|
||||
const descriptionKls = (0, vue.computed)(() => [ns.b(), ns.m(descriptionsSize.value)]);
|
||||
const filledNode = (node, span, count, isLast = false) => {
|
||||
if (!node.props) node.props = {};
|
||||
if (span > count) node.props.span = count;
|
||||
if (isLast) node.props.span = span;
|
||||
return node;
|
||||
};
|
||||
const getRows = () => {
|
||||
if (!slots.default) return [];
|
||||
const children = require_vnode.flattedChildren(slots.default()).filter((node) => node?.type?.name === require_constants.COMPONENT_NAME);
|
||||
const rows = [];
|
||||
let temp = [];
|
||||
let count = props.column;
|
||||
let totalSpan = 0;
|
||||
const rowspanTemp = [];
|
||||
children.forEach((node, index) => {
|
||||
const span = node.props?.span || 1;
|
||||
const rowspan = node.props?.rowspan || 1;
|
||||
const rowNo = rows.length;
|
||||
rowspanTemp[rowNo] ||= 0;
|
||||
if (rowspan > 1) for (let i = 1; i < rowspan; i++) {
|
||||
rowspanTemp[rowNo + i] ||= 0;
|
||||
rowspanTemp[rowNo + i]++;
|
||||
totalSpan++;
|
||||
}
|
||||
if (rowspanTemp[rowNo] > 0) {
|
||||
count -= rowspanTemp[rowNo];
|
||||
rowspanTemp[rowNo] = 0;
|
||||
}
|
||||
if (index < children.length - 1) totalSpan += span > count ? count : span;
|
||||
if (index === children.length - 1) {
|
||||
const lastSpan = props.column - totalSpan % props.column;
|
||||
temp.push(filledNode(node, lastSpan, count, true));
|
||||
rows.push(temp);
|
||||
return;
|
||||
}
|
||||
if (span < count) {
|
||||
count -= span;
|
||||
temp.push(node);
|
||||
} else {
|
||||
temp.push(filledNode(node, span, count));
|
||||
rows.push(temp);
|
||||
count = props.column;
|
||||
temp = [];
|
||||
}
|
||||
});
|
||||
return rows;
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", { class: (0, vue.normalizeClass)(descriptionKls.value) }, [__props.title || __props.extra || _ctx.$slots.title || _ctx.$slots.extra ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
||||
key: 0,
|
||||
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("header"))
|
||||
}, [(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("title")) }, [(0, vue.renderSlot)(_ctx.$slots, "title", {}, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.title), 1)])], 2), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("extra")) }, [(0, vue.renderSlot)(_ctx.$slots, "extra", {}, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.extra), 1)])], 2)], 2)) : (0, vue.createCommentVNode)("v-if", true), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("body")) }, [(0, vue.createElementVNode)("table", { class: (0, vue.normalizeClass)([(0, vue.unref)(ns).e("table"), (0, vue.unref)(ns).is("bordered", __props.border)]) }, [(0, vue.createElementVNode)("tbody", null, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(getRows(), (row, _index) => {
|
||||
return (0, vue.openBlock)(), (0, vue.createBlock)(require_descriptions_row.default, {
|
||||
key: _index,
|
||||
row
|
||||
}, null, 8, ["row"]);
|
||||
}), 128))])], 2)], 2)], 2);
|
||||
};
|
||||
}
|
||||
});
|
||||
//#endregion
|
||||
exports.default = description_vue_vue_type_script_setup_true_lang_default;
|
||||
|
||||
//# sourceMappingURL=description.vue_vue_type_script_setup_true_lang.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/descriptions/src/description.vue_vue_type_script_setup_true_lang.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/descriptions/src/description.vue_vue_type_script_setup_true_lang.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
10
frontend/node_modules/element-plus/lib/components/descriptions/src/description2.js
generated
vendored
Normal file
10
frontend/node_modules/element-plus/lib/components/descriptions/src/description2.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
Object.defineProperties(exports, {
|
||||
__esModule: { value: true },
|
||||
[Symbol.toStringTag]: { value: "Module" }
|
||||
});
|
||||
//#region ../../packages/components/descriptions/src/description.vue
|
||||
var description_default = require("./description.vue_vue_type_script_setup_true_lang.js").default;
|
||||
//#endregion
|
||||
exports.default = description_default;
|
||||
|
||||
//# sourceMappingURL=description2.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/descriptions/src/description2.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/descriptions/src/description2.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"description2.js","names":[],"sources":["../../../../../../packages/components/descriptions/src/description.vue"],"sourcesContent":["<template>\n <div :class=\"descriptionKls\">\n <div\n v-if=\"title || extra || $slots.title || $slots.extra\"\n :class=\"ns.e('header')\"\n >\n <div :class=\"ns.e('title')\">\n <slot name=\"title\">{{ title }}</slot>\n </div>\n <div :class=\"ns.e('extra')\">\n <slot name=\"extra\">{{ extra }}</slot>\n </div>\n </div>\n\n <div :class=\"ns.e('body')\">\n <table :class=\"[ns.e('table'), ns.is('bordered', border)]\">\n <tbody>\n <template v-for=\"(row, _index) in getRows()\" :key=\"_index\">\n <el-descriptions-row :row=\"row\" />\n </template>\n </tbody>\n </table>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, provide, useSlots } from 'vue'\nimport { flattedChildren } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { useFormSize } from '@element-plus/components/form'\nimport ElDescriptionsRow from './descriptions-row.vue'\nimport { descriptionsKey } from './token'\nimport { COMPONENT_NAME } from './constants'\n\nimport type { DescriptionProps } from './description'\nimport type { IDescriptionsInject } from './descriptions.type'\nimport type { DescriptionItemVNode } from './description-item'\n\ndefineOptions({\n name: 'ElDescriptions',\n})\n\nconst props = withDefaults(defineProps<DescriptionProps>(), {\n column: 3,\n direction: 'horizontal',\n title: '',\n extra: '',\n})\n\nconst ns = useNamespace('descriptions')\n\nconst descriptionsSize = useFormSize()\n\nconst slots = useSlots()\n\nprovide(descriptionsKey, props as IDescriptionsInject)\n\nconst descriptionKls = computed(() => [ns.b(), ns.m(descriptionsSize.value)])\n\nconst filledNode = (\n node: DescriptionItemVNode,\n span: number,\n count: number,\n isLast = false\n) => {\n if (!node.props) {\n node.props = {}\n }\n if (span > count) {\n node.props.span = count\n }\n if (isLast) {\n // set the last span\n node.props.span = span\n }\n return node\n}\n\nconst getRows = () => {\n if (!slots.default) return []\n\n const children = flattedChildren(slots.default()).filter(\n (node): node is DescriptionItemVNode =>\n (node as any)?.type?.name === COMPONENT_NAME\n )\n const rows: DescriptionItemVNode[][] = []\n let temp: DescriptionItemVNode[] = []\n let count = props.column\n let totalSpan = 0 // all spans number of item\n const rowspanTemp: number[] = [] // the number of row spans\n\n children.forEach((node, index) => {\n const span = node.props?.span || 1\n const rowspan = node.props?.rowspan || 1\n const rowNo = rows.length\n rowspanTemp[rowNo] ||= 0\n\n if (rowspan > 1) {\n for (let i = 1; i < rowspan; i++) {\n rowspanTemp[rowNo + i] ||= 0\n rowspanTemp[rowNo + i]++\n totalSpan++\n }\n }\n if (rowspanTemp[rowNo] > 0) {\n count -= rowspanTemp[rowNo]\n rowspanTemp[rowNo] = 0\n }\n if (index < children.length - 1) {\n totalSpan += span > count ? count : span\n }\n\n if (index === children.length - 1) {\n // calculate the last item span\n const lastSpan = props.column - (totalSpan % props.column)\n temp.push(filledNode(node, lastSpan, count, true))\n rows.push(temp)\n return\n }\n\n if (span < count) {\n count -= span\n temp.push(node)\n } else {\n temp.push(filledNode(node, span, count))\n rows.push(temp)\n count = props.column\n temp = []\n }\n })\n\n return rows\n}\n</script>\n"],"mappings":""}
|
||||
35
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-cell.d.ts
generated
vendored
Normal file
35
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-cell.d.ts
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
import { DescriptionItemVNode } from "./description-item.js";
|
||||
import { IDescriptionsInject } from "./descriptions.type.js";
|
||||
import * as _$vue from "vue";
|
||||
import { PropType } from "vue";
|
||||
|
||||
//#region ../../packages/components/descriptions/src/descriptions-cell.d.ts
|
||||
declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
||||
cell: {
|
||||
type: PropType<DescriptionItemVNode>;
|
||||
};
|
||||
tag: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
type: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
}>, {
|
||||
descriptions: IDescriptionsInject;
|
||||
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<_$vue.ExtractPropTypes<{
|
||||
cell: {
|
||||
type: PropType<DescriptionItemVNode>;
|
||||
};
|
||||
tag: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
type: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
}>> & Readonly<{}>, {
|
||||
tag: string;
|
||||
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
||||
//#endregion
|
||||
export { _default as default };
|
||||
103
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-cell.js
generated
vendored
Normal file
103
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-cell.js
generated
vendored
Normal file
@@ -0,0 +1,103 @@
|
||||
Object.defineProperties(exports, {
|
||||
__esModule: { value: true },
|
||||
[Symbol.toStringTag]: { value: "Module" }
|
||||
});
|
||||
require("../../../_virtual/_rolldown/runtime.js");
|
||||
const require_style = require("../../../utils/dom/style.js");
|
||||
const require_vnode = require("../../../utils/vue/vnode.js");
|
||||
const require_index = require("../../../hooks/use-namespace/index.js");
|
||||
const require_token = require("./token.js");
|
||||
let lodash_unified = require("lodash-unified");
|
||||
let vue = require("vue");
|
||||
//#region ../../packages/components/descriptions/src/descriptions-cell.ts
|
||||
var descriptions_cell_default = (0, vue.defineComponent)({
|
||||
name: "ElDescriptionsCell",
|
||||
props: {
|
||||
cell: { type: Object },
|
||||
tag: {
|
||||
type: String,
|
||||
default: "td"
|
||||
},
|
||||
type: { type: String }
|
||||
},
|
||||
setup() {
|
||||
return { descriptions: (0, vue.inject)(require_token.descriptionsKey, {}) };
|
||||
},
|
||||
render() {
|
||||
const item = require_vnode.getNormalizedProps(this.cell);
|
||||
const directives = (this.cell?.dirs || []).map((dire) => {
|
||||
const { dir, arg, modifiers, value } = dire;
|
||||
return [
|
||||
dir,
|
||||
value,
|
||||
arg,
|
||||
modifiers
|
||||
];
|
||||
});
|
||||
const { border, direction } = this.descriptions;
|
||||
const isVertical = direction === "vertical";
|
||||
const renderLabel = () => this.cell?.children?.label?.() || item.label;
|
||||
const renderContent = () => this.cell?.children?.default?.();
|
||||
const span = item.span;
|
||||
const rowspan = item.rowspan;
|
||||
const align = item.align ? `is-${item.align}` : "";
|
||||
const labelAlign = item.labelAlign ? `is-${item.labelAlign}` : align;
|
||||
const className = item.className;
|
||||
const labelClassName = item.labelClassName;
|
||||
const style = {
|
||||
width: require_style.addUnit(this.type === "label" ? item.labelWidth ?? this.descriptions.labelWidth ?? item.width : item.width),
|
||||
minWidth: require_style.addUnit(item.minWidth)
|
||||
};
|
||||
const ns = require_index.useNamespace("descriptions");
|
||||
switch (this.type) {
|
||||
case "label": return (0, vue.withDirectives)((0, vue.h)(this.tag, {
|
||||
style,
|
||||
class: [
|
||||
ns.e("cell"),
|
||||
ns.e("label"),
|
||||
ns.is("bordered-label", border),
|
||||
ns.is("vertical-label", isVertical),
|
||||
labelAlign,
|
||||
labelClassName
|
||||
],
|
||||
colSpan: isVertical ? span : 1,
|
||||
rowspan: isVertical ? 1 : rowspan
|
||||
}, renderLabel()), directives);
|
||||
case "content": return (0, vue.withDirectives)((0, vue.h)(this.tag, {
|
||||
style,
|
||||
class: [
|
||||
ns.e("cell"),
|
||||
ns.e("content"),
|
||||
ns.is("bordered-content", border),
|
||||
ns.is("vertical-content", isVertical),
|
||||
align,
|
||||
className
|
||||
],
|
||||
colSpan: isVertical ? span : span * 2 - 1,
|
||||
rowspan: isVertical ? rowspan * 2 - 1 : rowspan
|
||||
}, renderContent()), directives);
|
||||
default: {
|
||||
const label = renderLabel();
|
||||
const labelStyle = {};
|
||||
const width = require_style.addUnit(item.labelWidth ?? this.descriptions.labelWidth);
|
||||
if (width) {
|
||||
labelStyle.width = width;
|
||||
labelStyle.display = "inline-block";
|
||||
}
|
||||
return (0, vue.withDirectives)((0, vue.h)("td", {
|
||||
style,
|
||||
class: [ns.e("cell"), align],
|
||||
colSpan: span,
|
||||
rowspan
|
||||
}, [!(0, lodash_unified.isNil)(label) ? (0, vue.h)("span", {
|
||||
style: labelStyle,
|
||||
class: [ns.e("label"), labelClassName]
|
||||
}, label) : void 0, (0, vue.h)("span", { class: [ns.e("content"), className] }, renderContent())]), directives);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
//#endregion
|
||||
exports.default = descriptions_cell_default;
|
||||
|
||||
//# sourceMappingURL=descriptions-cell.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-cell.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-cell.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
15
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row.d.ts
generated
vendored
Normal file
15
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import { EpPropFinalized } from "../../../utils/vue/props/types.js";
|
||||
import { DescriptionItemVNode } from "./description-item.js";
|
||||
|
||||
//#region ../../packages/components/descriptions/src/descriptions-row.d.ts
|
||||
interface DescriptionsRowProps {
|
||||
row?: DescriptionItemVNode[];
|
||||
}
|
||||
/**
|
||||
* @deprecated Removed after 3.0.0, Use `DescriptionsRowProps` instead.
|
||||
*/
|
||||
declare const descriptionsRowProps: {
|
||||
readonly row: EpPropFinalized<(new (...args: any[]) => DescriptionItemVNode[]) | (() => DescriptionItemVNode[]) | (((new (...args: any[]) => DescriptionItemVNode[]) | (() => DescriptionItemVNode[])) | null)[], unknown, unknown, () => never[], boolean>;
|
||||
};
|
||||
//#endregion
|
||||
export { DescriptionsRowProps, descriptionsRowProps };
|
||||
14
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row.js
generated
vendored
Normal file
14
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const require_runtime = require("../../../utils/vue/props/runtime.js");
|
||||
//#region ../../packages/components/descriptions/src/descriptions-row.ts
|
||||
/**
|
||||
* @deprecated Removed after 3.0.0, Use `DescriptionsRowProps` instead.
|
||||
*/
|
||||
const descriptionsRowProps = require_runtime.buildProps({ row: {
|
||||
type: require_runtime.definePropType(Array),
|
||||
default: () => []
|
||||
} });
|
||||
//#endregion
|
||||
exports.descriptionsRowProps = descriptionsRowProps;
|
||||
|
||||
//# sourceMappingURL=descriptions-row.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"descriptions-row.js","names":["buildProps","definePropType"],"sources":["../../../../../../packages/components/descriptions/src/descriptions-row.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { DescriptionItemVNode } from './description-item'\n\nexport interface DescriptionsRowProps {\n row?: DescriptionItemVNode[]\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `DescriptionsRowProps` instead.\n */\nexport const descriptionsRowProps = buildProps({\n row: {\n type: definePropType<DescriptionItemVNode[]>(Array),\n default: () => [],\n },\n} as const)\n"],"mappings":";;;;;;AAWA,MAAa,uBAAuBA,gBAAAA,WAAW,EAC7C,KAAK;CACH,MAAMC,gBAAAA,eAAuC,MAAM;CACnD,eAAe,EAAE;CAClB,EACF,CAAU"}
|
||||
11
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row.vue.d.ts
generated
vendored
Normal file
11
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row.vue.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { DescriptionItemVNode } from "./description-item.js";
|
||||
import { DescriptionsRowProps } from "./descriptions-row.js";
|
||||
import * as _$vue from "vue";
|
||||
|
||||
//#region ../../packages/components/descriptions/src/descriptions-row.vue.d.ts
|
||||
declare const __VLS_export: _$vue.DefineComponent<DescriptionsRowProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<DescriptionsRowProps> & Readonly<{}>, {
|
||||
row: DescriptionItemVNode[];
|
||||
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
||||
declare const _default: typeof __VLS_export;
|
||||
//#endregion
|
||||
export { _default as default };
|
||||
51
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row.vue_vue_type_script_setup_true_lang.js
generated
vendored
Normal file
51
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row.vue_vue_type_script_setup_true_lang.js
generated
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
require("../../../_virtual/_rolldown/runtime.js");
|
||||
const require_descriptions_row = require("./descriptions-row.js");
|
||||
const require_token = require("./token.js");
|
||||
const require_descriptions_cell = require("./descriptions-cell.js");
|
||||
let vue = require("vue");
|
||||
//#region ../../packages/components/descriptions/src/descriptions-row.vue?vue&type=script&setup=true&lang.ts
|
||||
const _hoisted_1 = { key: 1 };
|
||||
var descriptions_row_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
||||
name: "ElDescriptionsRow",
|
||||
__name: "descriptions-row",
|
||||
props: require_descriptions_row.descriptionsRowProps,
|
||||
setup(__props) {
|
||||
const descriptions = (0, vue.inject)(require_token.descriptionsKey, {});
|
||||
return (_ctx, _cache) => {
|
||||
return (0, vue.unref)(descriptions).direction === "vertical" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [(0, vue.createElementVNode)("tr", null, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(__props.row, (cell, _index) => {
|
||||
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_descriptions_cell.default), {
|
||||
key: `tr1-${_index}`,
|
||||
cell,
|
||||
tag: "th",
|
||||
type: "label"
|
||||
}, null, 8, ["cell"]);
|
||||
}), 128))]), (0, vue.createElementVNode)("tr", null, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(__props.row, (cell, _index) => {
|
||||
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_descriptions_cell.default), {
|
||||
key: `tr2-${_index}`,
|
||||
cell,
|
||||
tag: "td",
|
||||
type: "content"
|
||||
}, null, 8, ["cell"]);
|
||||
}), 128))])], 64)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("tr", _hoisted_1, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(__props.row, (cell, _index) => {
|
||||
return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: `tr3-${_index}` }, [(0, vue.unref)(descriptions).border ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [(0, vue.createVNode)((0, vue.unref)(require_descriptions_cell.default), {
|
||||
cell,
|
||||
tag: "td",
|
||||
type: "label"
|
||||
}, null, 8, ["cell"]), (0, vue.createVNode)((0, vue.unref)(require_descriptions_cell.default), {
|
||||
cell,
|
||||
tag: "td",
|
||||
type: "content"
|
||||
}, null, 8, ["cell"])], 64)) : ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_descriptions_cell.default), {
|
||||
key: 1,
|
||||
cell,
|
||||
tag: "td",
|
||||
type: "both"
|
||||
}, null, 8, ["cell"]))], 64);
|
||||
}), 128))]));
|
||||
};
|
||||
}
|
||||
});
|
||||
//#endregion
|
||||
exports.default = descriptions_row_vue_vue_type_script_setup_true_lang_default;
|
||||
|
||||
//# sourceMappingURL=descriptions-row.vue_vue_type_script_setup_true_lang.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row.vue_vue_type_script_setup_true_lang.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row.vue_vue_type_script_setup_true_lang.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"descriptions-row.vue_vue_type_script_setup_true_lang.js","names":[],"sources":["../../../../../../packages/components/descriptions/src/descriptions-row.vue"],"sourcesContent":["<template>\n <template v-if=\"descriptions.direction === 'vertical'\">\n <tr>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr1-${_index}`\">\n <el-descriptions-cell :cell=\"cell\" tag=\"th\" type=\"label\" />\n </template>\n </tr>\n <tr>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr2-${_index}`\">\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"content\" />\n </template>\n </tr>\n </template>\n <tr v-else>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr3-${_index}`\">\n <template v-if=\"descriptions.border\">\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"label\" />\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"content\" />\n </template>\n <el-descriptions-cell v-else :cell=\"cell\" tag=\"td\" type=\"both\" />\n </template>\n </tr>\n</template>\n\n<script lang=\"ts\" setup>\nimport { inject } from 'vue'\nimport ElDescriptionsCell from './descriptions-cell'\nimport { descriptionsKey } from './token'\n\nimport type { DescriptionsRowProps } from './descriptions-row'\nimport type { IDescriptionsInject } from './descriptions.type'\n\ndefineOptions({\n name: 'ElDescriptionsRow',\n})\n\nwithDefaults(defineProps<DescriptionsRowProps>(), {\n row: () => [],\n})\n\nconst descriptions = inject(descriptionsKey, {} as IDescriptionsInject)\n</script>\n"],"mappings":";;;;;;;;;;;;EAwCA,MAAM,gBAAA,GAAA,IAAA,QAAsB,cAAA,iBAAiB,EAAE,CAAuB;;yBAvCpD,aAAY,CAAC,cAAS,eAAA,GAAA,IAAA,YAAA,GAAA,GAAA,IAAA,oBAW3B,IAAA,UAAA,EAAA,KAAA,GAAA,EAAA,EAAA,GAAA,IAAA,oBANJ,MAAA,MAAA,GAAA,GAAA,IAAA,WAAA,KAAA,GAAA,GAAA,IAAA,oBADQ,IAAA,UAAA,OAAA,GAAA,IAAA,YAFwB,QAAA,MAAjB,MAAM,WAAM;qEAC+B,0BAAA,QAAA,EAAA;iBADR;KACtB;KAAM,KAAI;KAAK,MAAK;;4CAOhD,MAAA,MAAA,GAAA,GAAA,IAAA,WAAA,KAAA,GAAA,GAAA,IAAA,oBADQ,IAAA,UAAA,OAAA,GAAA,IAAA,YAFwB,QAAA,MAAjB,MAAM,WAAM;qEACiC,0BAAA,QAAA,EAAA;iBADV;KACtB;KAAM,KAAI;KAAK,MAAK;;2EAYlD,MAAA,YAAA,GAAA,GAAA,IAAA,WAAA,KAAA,GAAA,GAAA,IAAA,oBADQ,IAAA,UAAA,OAAA,GAAA,IAAA,YANwB,QAAA,MAAjB,MAAM,WAAM;yFAAuB,UAAA,EAAA,EAAA,GAAA,IAAA,OACnC,aAAY,CAAC,WAAA,GAAA,IAAA,YAAA,GAAA,GAAA,IAAA,oBAGlB,IAAA,UAAA,EAAA,KAAA,GAAA,EAAA,EAAA,GAAA,IAAA,cAAA,GAAA,IAAA,OAFkD,0BAAA,QAAA,EAAA;KAA9B;KAAM,KAAI;KAAK,MAAK;+DACY,0BAAA,QAAA,EAAA;KAAhC;KAAM,KAAI;KAAK,MAAK;8FAEc,0BAAA,QAAA,EAAA;;KAA7B;KAAM,KAAI;KAAK,MAAK"}
|
||||
10
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row2.js
generated
vendored
Normal file
10
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row2.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
Object.defineProperties(exports, {
|
||||
__esModule: { value: true },
|
||||
[Symbol.toStringTag]: { value: "Module" }
|
||||
});
|
||||
//#region ../../packages/components/descriptions/src/descriptions-row.vue
|
||||
var descriptions_row_default = require("./descriptions-row.vue_vue_type_script_setup_true_lang.js").default;
|
||||
//#endregion
|
||||
exports.default = descriptions_row_default;
|
||||
|
||||
//# sourceMappingURL=descriptions-row2.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row2.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions-row2.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"descriptions-row2.js","names":[],"sources":["../../../../../../packages/components/descriptions/src/descriptions-row.vue"],"sourcesContent":["<template>\n <template v-if=\"descriptions.direction === 'vertical'\">\n <tr>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr1-${_index}`\">\n <el-descriptions-cell :cell=\"cell\" tag=\"th\" type=\"label\" />\n </template>\n </tr>\n <tr>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr2-${_index}`\">\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"content\" />\n </template>\n </tr>\n </template>\n <tr v-else>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr3-${_index}`\">\n <template v-if=\"descriptions.border\">\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"label\" />\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"content\" />\n </template>\n <el-descriptions-cell v-else :cell=\"cell\" tag=\"td\" type=\"both\" />\n </template>\n </tr>\n</template>\n\n<script lang=\"ts\" setup>\nimport { inject } from 'vue'\nimport ElDescriptionsCell from './descriptions-cell'\nimport { descriptionsKey } from './token'\n\nimport type { DescriptionsRowProps } from './descriptions-row'\nimport type { IDescriptionsInject } from './descriptions.type'\n\ndefineOptions({\n name: 'ElDescriptionsRow',\n})\n\nwithDefaults(defineProps<DescriptionsRowProps>(), {\n row: () => [],\n})\n\nconst descriptions = inject(descriptionsKey, {} as IDescriptionsInject)\n</script>\n"],"mappings":""}
|
||||
27
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions.type.d.ts
generated
vendored
Normal file
27
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions.type.d.ts
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
import { ComponentSize } from "../../../constants/size.js";
|
||||
import { ColumnAlignment } from "../../../constants/column-alignment.js";
|
||||
|
||||
//#region ../../packages/components/descriptions/src/descriptions.type.d.ts
|
||||
interface IDescriptionsInject {
|
||||
border: boolean;
|
||||
column: number;
|
||||
direction: 'horizontal' | 'vertical';
|
||||
size: ComponentSize;
|
||||
title: string;
|
||||
extra: string;
|
||||
labelWidth: string | number;
|
||||
}
|
||||
interface IDescriptionsItemInject {
|
||||
label: string;
|
||||
span: number;
|
||||
rowspan: number;
|
||||
width: string | number;
|
||||
minWidth: string | number;
|
||||
labelWidth: string | number;
|
||||
align: ColumnAlignment;
|
||||
labelAlign?: ColumnAlignment;
|
||||
className: string;
|
||||
labelClassName: string;
|
||||
}
|
||||
//#endregion
|
||||
export { IDescriptionsInject, IDescriptionsItemInject };
|
||||
1
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions.type.js
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/descriptions/src/descriptions.type.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
7
frontend/node_modules/element-plus/lib/components/descriptions/src/token.d.ts
generated
vendored
Normal file
7
frontend/node_modules/element-plus/lib/components/descriptions/src/token.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { IDescriptionsInject } from "./descriptions.type.js";
|
||||
import { InjectionKey } from "vue";
|
||||
|
||||
//#region ../../packages/components/descriptions/src/token.d.ts
|
||||
declare const descriptionsKey: InjectionKey<IDescriptionsInject>;
|
||||
//#endregion
|
||||
export { descriptionsKey };
|
||||
7
frontend/node_modules/element-plus/lib/components/descriptions/src/token.js
generated
vendored
Normal file
7
frontend/node_modules/element-plus/lib/components/descriptions/src/token.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
//#region ../../packages/components/descriptions/src/token.ts
|
||||
const descriptionsKey = Symbol("elDescriptions");
|
||||
//#endregion
|
||||
exports.descriptionsKey = descriptionsKey;
|
||||
|
||||
//# sourceMappingURL=token.js.map
|
||||
1
frontend/node_modules/element-plus/lib/components/descriptions/src/token.js.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/lib/components/descriptions/src/token.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"token.js","names":[],"sources":["../../../../../../packages/components/descriptions/src/token.ts"],"sourcesContent":["import type { InjectionKey } from 'vue'\nimport type { IDescriptionsInject } from './descriptions.type'\n\nexport const descriptionsKey: InjectionKey<IDescriptionsInject> =\n Symbol('elDescriptions')\n"],"mappings":";;AAGA,MAAa,kBACX,OAAO,iBAAiB"}
|
||||
4
frontend/node_modules/element-plus/lib/components/descriptions/style/css.js
generated
vendored
Normal file
4
frontend/node_modules/element-plus/lib/components/descriptions/style/css.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
require("../../base/style/css.js");
|
||||
require("../../descriptions-item/style/css.js");
|
||||
require("element-plus/theme-chalk/el-descriptions.css");
|
||||
4
frontend/node_modules/element-plus/lib/components/descriptions/style/index.js
generated
vendored
Normal file
4
frontend/node_modules/element-plus/lib/components/descriptions/style/index.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
require("../../base/style/index.js");
|
||||
require("../../descriptions-item/style/index.js");
|
||||
require("element-plus/theme-chalk/src/descriptions.scss");
|
||||
Reference in New Issue
Block a user